Skip to content

Commit

Permalink
ci(release): publish latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-happy-puppy committed Dec 17, 2024
1 parent 77b4d91 commit b616f6a
Show file tree
Hide file tree
Showing 242 changed files with 5,488 additions and 16,365 deletions.
23 changes: 23 additions & 0 deletions .yarn/patches/@wagmi-core-npm-2.6.16-1baef7c190.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
diff --git a/dist/esm/connectors/injected.js b/dist/esm/connectors/injected.js
index 26f420d68ed9a12deea30a3dca195e2bcf3b3c44..70fc93a7db7b9f4db10e71edd73ee81bd0e28f1e 100644
--- a/dist/esm/connectors/injected.js
+++ b/dist/esm/connectors/injected.js
@@ -405,6 +405,18 @@ export function injected(parameters = {}) {
onChainChanged(chain) {
console.log('[injected] onChainChanged', chain);
const chainId = Number(chain);
+ if (this.id === 'io.metamask')
+ this.getProvider()
+ .then((provider) =>
+ provider
+ ?.request({
+ method: 'wallet_switchEthereumChain',
+ params: [{ chainId: numberToHex(chainId) }],
+ })
+ .then(() => {})
+ .catch(() => {}),
+ )
+ .catch(() => {})
config.emitter.emit('change', { chainId });
},
async onConnect(connectInfo) {
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/dist/index.js b/dist/index.js
index f38d06e2de52b5035560d63d6889dc54d5ca021b..4f8fa194b60c73a901dbce4a742f598b1c95c026 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -62,7 +62,7 @@ class CoinbaseWallet extends types_1.Connector {
return __awaiter(this, void 0, void 0, function* () {
if (this.eagerConnection)
return;
- yield (this.eagerConnection = Promise.resolve().then(() => __importStar(require('@coinbase/wallet-sdk'))).then((m) => {
+ yield (this.eagerConnection = Promise.resolve().then(async () => __importStar(await import('@coinbase/wallet-sdk'))).then((m) => {
const _a = this.options, { url } = _a, options = __rest(_a, ["url"]);
this.coinbaseWallet = new m.default(options);
this.provider = this.coinbaseWallet.makeWeb3Provider(url);
15 changes: 15 additions & 0 deletions .yarn/patches/@web3-react-gnosis-safe-npm-8.2.4-a7e2850335.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/dist/index.js b/dist/index.js
index 015a33c37fe87f13f31559d462351acd7ae9bac7..4cd7cdeb4437f30c1c063c0ffb8fd5692a399dbf 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -68,8 +68,8 @@ class GnosisSafe extends types_1.Connector {
if (this.eagerConnection)
return;
// kick off import early to minimize waterfalls
- const SafeAppProviderPromise = Promise.resolve().then(() => __importStar(require('@safe-global/safe-apps-provider'))).then(({ SafeAppProvider }) => SafeAppProvider);
- yield (this.eagerConnection = Promise.resolve().then(() => __importStar(require('@safe-global/safe-apps-sdk'))).then((m) => __awaiter(this, void 0, void 0, function* () {
+ const SafeAppProviderPromise = Promise.resolve().then(async () => __importStar(await import('@safe-global/safe-apps-provider'))).then(({ SafeAppProvider }) => SafeAppProvider);
+ yield (this.eagerConnection = Promise.resolve().then(async () => __importStar(await import('@safe-global/safe-apps-sdk'))).then((m) => __awaiter(this, void 0, void 0, function* () {
this.sdk = new m.default(this.options);
const safe = yield Promise.race([
this.sdk.safe.getInfo(),
13 changes: 13 additions & 0 deletions .yarn/patches/@web3-react-metamask-npm-8.2.4-84b10de2d2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/dist/index.js b/dist/index.js
index c8476dd9b01c0599dfc545f4c86432081bd0fcec..c0bfce759654232df771724e59a650c92b392f78 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -54,7 +54,7 @@ class MetaMask extends types_1.Connector {
return __awaiter(this, void 0, void 0, function* () {
if (this.eagerConnection)
return;
- return (this.eagerConnection = Promise.resolve().then(() => __importStar(require('@metamask/detect-provider'))).then((m) => __awaiter(this, void 0, void 0, function* () {
+ return (this.eagerConnection = Promise.resolve().then(async () => __importStar(await import('@metamask/detect-provider'))).then((m) => __awaiter(this, void 0, void 0, function* () {
var _a, _b;
const provider = yield m.default(this.options);
if (provider) {
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
diff --git a/dist/index.js b/dist/index.js
index 1a36d14c5d7c9ee55b2eccd11216c8adb6839daf..908b8c57a2d8cd565030e34e15c56caf7d182cfd 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -84,7 +84,7 @@ class WalletConnect extends types_1.Connector {
return __awaiter(this, void 0, void 0, function* () {
const rpcMap = this.rpcMap ? (0, utils_1.getBestUrlMap)(this.rpcMap, this.timeout) : undefined;
const chainProps = this.getChainProps(this.chains, this.optionalChains, desiredChainId);
- const ethProviderModule = yield Promise.resolve().then(() => __importStar(require('@walletconnect/ethereum-provider')));
+ const ethProviderModule = yield Promise.resolve().then(async () => __importStar(await import('@walletconnect/ethereum-provider')));
this.provider = yield ethProviderModule.default.init(Object.assign(Object.assign(Object.assign({}, this.options), chainProps), { rpcMap: yield rpcMap }));
return this.provider
.on('disconnect', this.disconnectListener)
diff --git a/dist/utils.js b/dist/utils.js
index 17539b6f910e65aeaebcc116395dce56ae4ce193..9ea637118844ebbdc55db71009b44849992603d2 100644
--- a/dist/utils.js
+++ b/dist/utils.js
@@ -62,8 +62,8 @@ function getBestUrl(urls, timeout) {
if (urls.length === 1)
return urls[0];
const [HttpConnection, JsonRpcProvider] = yield Promise.all([
- Promise.resolve().then(() => __importStar(require('@walletconnect/jsonrpc-http-connection'))).then(({ HttpConnection }) => HttpConnection),
- Promise.resolve().then(() => __importStar(require('@walletconnect/jsonrpc-provider'))).then(({ JsonRpcProvider }) => JsonRpcProvider),
+ Promise.resolve().then(async () => __importStar(await import('@walletconnect/jsonrpc-http-connection'))).then(({ HttpConnection }) => HttpConnection),
+ Promise.resolve().then(async () => __importStar(await import('@walletconnect/jsonrpc-provider'))).then(({ JsonRpcProvider }) => JsonRpcProvider),
]);
// the below returns the first url for which there's been a successful call, prioritized by index
return new Promise((resolve) => {
12 changes: 12 additions & 0 deletions .yarn/patches/cypress-hardhat-npm-2.5.0-9b9b7d7a28.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/lib/browser/eip1193.js b/lib/browser/eip1193.js
index ce028c25a164d8af8d513bc0eae4cf104234f6e8..81ba2f29d379f18c04c57b5a560cc6c4f4b57e0d 100644
--- a/lib/browser/eip1193.js
+++ b/lib/browser/eip1193.js
@@ -70,6 +70,7 @@ class Eip1193 extends eip1193_bridge_1.Eip1193Bridge {
yield _super.send.call(this, method, params);
// Providers will not "rewind" to an older block number nor notice chain changes, so they must be reset.
this.utils.providers.forEach((provider) => provider.reset());
+ this.emit('chainChanged', params[0].chainId);
break;
default:
result = yield _super.send.call(this, method, params);
1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

33 changes: 9 additions & 24 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
IPFS hash of the deployment:
- CIDv0: `QmbFgzr9RodJzRaqSY5enQfpZhKsNg5TJjRMpjwkVg2nEK`
- CIDv1: `bafybeif74kosbexaqxwr65grk72zr55nec3ztvt5e4phcwuh64gf3milga`

The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).

You can also access the Uniswap Interface from an IPFS gateway.
**BEWARE**: The Uniswap interface uses [`localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) to remember your settings, such as which tokens you have imported.
**You should always use an IPFS gateway that enforces origin separation**, or our hosted deployment of the latest release at [app.uniswap.org](https://app.uniswap.org).
Your Uniswap settings are never remembered across different URLs.

IPFS gateways:
- https://bafybeif74kosbexaqxwr65grk72zr55nec3ztvt5e4phcwuh64gf3milga.ipfs.dweb.link/
- https://bafybeif74kosbexaqxwr65grk72zr55nec3ztvt5e4phcwuh64gf3milga.ipfs.cf-ipfs.com/
- [ipfs://QmbFgzr9RodJzRaqSY5enQfpZhKsNg5TJjRMpjwkVg2nEK/](ipfs://QmbFgzr9RodJzRaqSY5enQfpZhKsNg5TJjRMpjwkVg2nEK/)

### 5.63.1 (2024-12-17)


### Bug Fixes

* **web:** Fix/prod web modal (#14601) 7e6c3f1


We are back with some new updates! Here’s the latest:

Token Warnings: See more information about the tokens you’re attempting to swap, enriched with data from Blockaid.

Transaction Failure improvements: See more granular warnings when your slippage is too low, and increase it straight from the swap review screen.

Other changes:

- Various bug fixes and performance improvements
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.63.1
extension/1.12.0
22 changes: 10 additions & 12 deletions apps/extension/.depcheckrc
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
ignores: [
# Dependencies that depcheck thinks are unused but are actually used
'react-native-web',
'jest-environment-jsdom',
'webpack-cli',
"react-native-web",
"jest-environment-jsdom",
"webpack-cli",
# Dependencies that depcheck thinks are missing but are actually present or never used
## Internal packages / workspaces
'src',
'tsconfig',
"src",
"tsconfig",
# Webpack plugins
'@svgr/webpack',
'tamagui-loader',
'esbuild-loader',
'style-loader',
'css-loader',
'swc-loader',
"@svgr/webpack",
"tamagui-loader",
"esbuild-loader",
"swc-loader",
## Testing
'@testing-library/dom',
"@testing-library/dom",
]
2 changes: 0 additions & 2 deletions apps/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"clean-webpack-plugin": "4.0.0",
"concurrently": "8.2.2",
"copy-webpack-plugin": "11.0.0",
"css-loader": "6.11.0",
"esbuild-loader": "3.2.0",
"eslint": "8.44.0",
"jest": "29.7.0",
Expand All @@ -78,7 +77,6 @@
"react-refresh": "0.14.0",
"serve": "14.2.4",
"statsig-js": "4.41.0",
"style-loader": "3.3.2",
"swc-loader": "0.2.6",
"tamagui-loader": "1.114.4",
"typescript": "5.3.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "Uniswap Extension",
"description": "The Uniswap Extension is a self-custody crypto wallet that's built for swapping.",
"version": "1.13.0",
"version": "1.12.0",
"minimum_chrome_version": "116",
"icons": {
"16": "assets/icon16.png",
Expand Down
13 changes: 0 additions & 13 deletions apps/mobile/.storybook/storybook.requires.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,6 @@ const normalizedStories = [
/^\.(?:(?:^|\/|(?:(?:(?!(?:^|\/)\.).)*?)\/)(?!\.)(?=.)[^/]*?\.stories\.(?:ts|tsx|js|jsx)?)$/
),
},
{
titlePrefix: "",
directory: "../../packages/ui/src",
files: "**/*.mdx",
importPathMatcher:
/^\.(?:(?:^|\/|(?:(?:(?!(?:^|\/)\.).)*?)\/)(?!\.)(?=.)[^/]*?\.mdx)$/,
// @ts-ignore
req: require.context(
"../../../packages/ui/src",
true,
/^\.(?:(?:^|\/|(?:(?:(?!(?:^|\/)\.).)*?)\/)(?!\.)(?=.)[^/]*?\.mdx)$/
),
},
];

declare global {
Expand Down
6 changes: 3 additions & 3 deletions apps/mobile/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ if (isCI && datadogPropertiesAvailable && !isDetox) {
apply from: "../../../../node_modules/@datadog/mobile-react-native/datadog-sourcemaps.gradle"
}

def devVersionName = "1.43"
def betaVersionName = "1.43"
def prodVersionName = "1.43"
def devVersionName = "1.42"
def betaVersionName = "1.42"
def prodVersionName = "1.42"

android {
ndkVersion rootProject.ext.ndkVersion
Expand Down
Loading

0 comments on commit b616f6a

Please sign in to comment.