From 875cc4677a16c8760578f9bcf0e9c008127db253 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Wed, 20 Nov 2024 07:29:44 +0100 Subject: [PATCH 001/172] order talismn connection packages --- package.json | 3 +- yarn.lock | 2161 +++----------------------------------------------- 2 files changed, 116 insertions(+), 2048 deletions(-) diff --git a/package.json b/package.json index e459ece0..49cf8478 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,7 @@ "@reown/appkit-adapter-wagmi": "^1.3.1", "@sentry/react": "^8.36.0", "@sentry/vite-plugin": "^2.22.6", - "@talismn/connect-components": "^1.1.8", - "@talismn/connect-wallets": "^1.2.5", + "@talismn/connect-components": "^1.1.9", "@tanstack/react-query": "^5.45.1", "@walletconnect/modal": "^2.6.2", "@walletconnect/universal-provider": "^2.12.2", diff --git a/yarn.lock b/yarn.lock index 7fd71641..cf0b7510 100644 --- a/yarn.lock +++ b/yarn.lock @@ -53,7 +53,7 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.18.6, @babel/code-frame@npm:^7.21.4": +"@babel/code-frame@npm:^7.18.6, @babel/code-frame@npm:^7.21.4": version: 7.21.4 resolution: "@babel/code-frame@npm:7.21.4" dependencies: @@ -1686,7 +1686,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.20.6, @babel/runtime@npm:^7.8.4": +"@babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.8.4": version: 7.21.5 resolution: "@babel/runtime@npm:7.21.5" dependencies: @@ -2860,13 +2860,6 @@ __metadata: languageName: node linkType: hard -"@noble/hashes@npm:1.2.0": - version: 1.2.0 - resolution: "@noble/hashes@npm:1.2.0" - checksum: 10/c295684a2799f4ddad10a855efd9b82c70c27ac5f7437642df9700e120087c796851dd95b12d2e7596802303fe6afbfdf0f8733b5c7453f70c4c080746dde6ff - languageName: node - linkType: hard - "@noble/hashes@npm:1.3.2": version: 1.3.2 resolution: "@noble/hashes@npm:1.3.2" @@ -2895,13 +2888,6 @@ __metadata: languageName: node linkType: hard -"@noble/secp256k1@npm:1.7.1": - version: 1.7.1 - resolution: "@noble/secp256k1@npm:1.7.1" - checksum: 10/214d4756c20ed20809d948d0cc161e95664198cb127266faf747fd7deffe5444901f05fe9f833787738f2c6e60b09e544c2f737f42f73b3699e3999ba15b1b63 - languageName: node - linkType: hard - "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -3283,21 +3269,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:9.14.2": - version: 9.14.2 - resolution: "@polkadot/api-augment@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/api-base": "npm:9.14.2" - "@polkadot/rpc-augment": "npm:9.14.2" - "@polkadot/types": "npm:9.14.2" - "@polkadot/types-augment": "npm:9.14.2" - "@polkadot/types-codec": "npm:9.14.2" - "@polkadot/util": "npm:^10.4.2" - checksum: 10/9be92b0e30e9473453be37209547fd9cccd57d0a8baadf999d815eb58385933db656ee6e7ee24ee12059bdb2e6bff4045fa34912b06b14e93399333db14255a3 - languageName: node - linkType: hard - "@polkadot/api-base@npm:13.2.1, @polkadot/api-base@npm:^13.2.1": version: 13.2.1 resolution: "@polkadot/api-base@npm:13.2.1" @@ -3311,19 +3282,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-base@npm:9.14.2": - version: 9.14.2 - resolution: "@polkadot/api-base@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/rpc-core": "npm:9.14.2" - "@polkadot/types": "npm:9.14.2" - "@polkadot/util": "npm:^10.4.2" - rxjs: "npm:^7.8.0" - checksum: 10/ce04410bd9ac1416bd6a8f3d2e1c39ab2e11c632dffc72cdee8281f9385c9d3ecaa81b83bb26da534459368eaea86818f867c67f9d28933bd2b8e07b3be0dc30 - languageName: node - linkType: hard - "@polkadot/api-contract@npm:^13.2.1": version: 13.2.1 resolution: "@polkadot/api-contract@npm:13.2.1" @@ -3359,24 +3317,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-derive@npm:9.14.2": - version: 9.14.2 - resolution: "@polkadot/api-derive@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/api": "npm:9.14.2" - "@polkadot/api-augment": "npm:9.14.2" - "@polkadot/api-base": "npm:9.14.2" - "@polkadot/rpc-core": "npm:9.14.2" - "@polkadot/types": "npm:9.14.2" - "@polkadot/types-codec": "npm:9.14.2" - "@polkadot/util": "npm:^10.4.2" - "@polkadot/util-crypto": "npm:^10.4.2" - rxjs: "npm:^7.8.0" - checksum: 10/ef43cb39cdf38a68d956ee6b37036a83b580ac274a7d2f4fb68167ea2baac21d0e6078a57b28caff60838422e1b875698bfd2913f56f41bd4216c96649ae177d - languageName: node - linkType: hard - "@polkadot/api@npm:13.2.1, @polkadot/api@npm:^13.2.1": version: 13.2.1 resolution: "@polkadot/api@npm:13.2.1" @@ -3402,31 +3342,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/api@npm:9.14.2, @polkadot/api@npm:^9.3.3": - version: 9.14.2 - resolution: "@polkadot/api@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/api-augment": "npm:9.14.2" - "@polkadot/api-base": "npm:9.14.2" - "@polkadot/api-derive": "npm:9.14.2" - "@polkadot/keyring": "npm:^10.4.2" - "@polkadot/rpc-augment": "npm:9.14.2" - "@polkadot/rpc-core": "npm:9.14.2" - "@polkadot/rpc-provider": "npm:9.14.2" - "@polkadot/types": "npm:9.14.2" - "@polkadot/types-augment": "npm:9.14.2" - "@polkadot/types-codec": "npm:9.14.2" - "@polkadot/types-create": "npm:9.14.2" - "@polkadot/types-known": "npm:9.14.2" - "@polkadot/util": "npm:^10.4.2" - "@polkadot/util-crypto": "npm:^10.4.2" - eventemitter3: "npm:^5.0.0" - rxjs: "npm:^7.8.0" - checksum: 10/345c3c3dfaae317d218f7d4943da8c8ad7d4992c91cad75b6fc0b05bef7de22a87eab8d83aedb90f1286c0e9c272d8af8ed5a17d0c0971b9625374aacb035fcb - languageName: node - linkType: hard - "@polkadot/extension-dapp@npm:^0.53.1": version: 0.53.1 resolution: "@polkadot/extension-dapp@npm:0.53.1" @@ -3461,36 +3376,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/extension-inject@npm:^0.44.6": - version: 0.44.9 - resolution: "@polkadot/extension-inject@npm:0.44.9" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/rpc-provider": "npm:^9.14.2" - "@polkadot/types": "npm:^9.14.2" - "@polkadot/util": "npm:^10.4.2" - "@polkadot/util-crypto": "npm:^10.4.2" - "@polkadot/x-global": "npm:^10.4.2" - peerDependencies: - "@polkadot/api": "*" - checksum: 10/18bf202b4e1a8b07c62c477be3477ffa4acbb04f4a39e3236feb22026c2e9323bd1e72e0d463f892d47e6d78373d3ec86cf40ee20c1bfcb0d738d2acde173fa0 - languageName: node - linkType: hard - -"@polkadot/keyring@npm:^10.4.2": - version: 10.4.2 - resolution: "@polkadot/keyring@npm:10.4.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/util": "npm:10.4.2" - "@polkadot/util-crypto": "npm:10.4.2" - peerDependencies: - "@polkadot/util": 10.4.2 - "@polkadot/util-crypto": 10.4.2 - checksum: 10/002472ee0760923e6798b7981de3db6019aa8c36dabf134a0f9b90cd19fde32e271a2be382be67b37f3cc50f904685058f2bbda91cfaec7cbd50f572973cbbd6 - languageName: node - linkType: hard - "@polkadot/keyring@npm:^13.1.1": version: 13.1.1 resolution: "@polkadot/keyring@npm:13.1.1" @@ -3505,17 +3390,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/networks@npm:10.4.2, @polkadot/networks@npm:^10.4.2": - version: 10.4.2 - resolution: "@polkadot/networks@npm:10.4.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/util": "npm:10.4.2" - "@substrate/ss58-registry": "npm:^1.38.0" - checksum: 10/ff73e12d80dddb626fb442477581308892e7e4e23a375680624563e129e0d41c31557955fa3ffe06e5ccd6cc7173b9a51554a5f29e681347cb8c09399aa780ee - languageName: node - linkType: hard - "@polkadot/networks@npm:13.1.1, @polkadot/networks@npm:^13.1.1": version: 13.1.1 resolution: "@polkadot/networks@npm:13.1.1" @@ -3540,19 +3414,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-augment@npm:9.14.2": - version: 9.14.2 - resolution: "@polkadot/rpc-augment@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/rpc-core": "npm:9.14.2" - "@polkadot/types": "npm:9.14.2" - "@polkadot/types-codec": "npm:9.14.2" - "@polkadot/util": "npm:^10.4.2" - checksum: 10/5132c8e68f4d4575d5d3aafff439353e53eefaa67b2b93482506091c9521be6560fd01151060e5d135f6a84bb886548be9afee3445bb37271fdd0f71a1dca6d1 - languageName: node - linkType: hard - "@polkadot/rpc-core@npm:13.2.1, @polkadot/rpc-core@npm:^13.2.1": version: 13.2.1 resolution: "@polkadot/rpc-core@npm:13.2.1" @@ -3567,20 +3428,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-core@npm:9.14.2": - version: 9.14.2 - resolution: "@polkadot/rpc-core@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/rpc-augment": "npm:9.14.2" - "@polkadot/rpc-provider": "npm:9.14.2" - "@polkadot/types": "npm:9.14.2" - "@polkadot/util": "npm:^10.4.2" - rxjs: "npm:^7.8.0" - checksum: 10/2696bb3640beb730b8dc1a3d481b37421a139d49d45620f0078782f1acd1bc8cc4b857d4cf6f5b8e2b79af3d6cfcf555c742d2e7001af72eadca188531d15b90 - languageName: node - linkType: hard - "@polkadot/rpc-provider@npm:13.2.1, @polkadot/rpc-provider@npm:^13.2.1": version: 13.2.1 resolution: "@polkadot/rpc-provider@npm:13.2.1" @@ -3605,30 +3452,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-provider@npm:9.14.2, @polkadot/rpc-provider@npm:^9.14.2": - version: 9.14.2 - resolution: "@polkadot/rpc-provider@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/keyring": "npm:^10.4.2" - "@polkadot/types": "npm:9.14.2" - "@polkadot/types-support": "npm:9.14.2" - "@polkadot/util": "npm:^10.4.2" - "@polkadot/util-crypto": "npm:^10.4.2" - "@polkadot/x-fetch": "npm:^10.4.2" - "@polkadot/x-global": "npm:^10.4.2" - "@polkadot/x-ws": "npm:^10.4.2" - "@substrate/connect": "npm:0.7.19" - eventemitter3: "npm:^5.0.0" - mock-socket: "npm:^9.2.1" - nock: "npm:^13.3.0" - dependenciesMeta: - "@substrate/connect": - optional: true - checksum: 10/1d71fbb15c0fe13d1a73c911723c4485b9125add2f1838bc0e3bd3987eedb557921301f30e159f51c42fa6cfb0b40f8493aa1e3e107ac5dd7c011d674ddacdeb - languageName: node - linkType: hard - "@polkadot/types-augment@npm:13.2.1, @polkadot/types-augment@npm:^13.2.1": version: 13.2.1 resolution: "@polkadot/types-augment@npm:13.2.1" @@ -3641,18 +3464,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-augment@npm:9.14.2": - version: 9.14.2 - resolution: "@polkadot/types-augment@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/types": "npm:9.14.2" - "@polkadot/types-codec": "npm:9.14.2" - "@polkadot/util": "npm:^10.4.2" - checksum: 10/c620672250648269b5f0280f06edd3dde386bfd435dd5b1c27f41713b1c86facc02b0a2171ee78367aa8faf46314b2211c0d416faa9828563f49dfb234c498e4 - languageName: node - linkType: hard - "@polkadot/types-codec@npm:13.2.1, @polkadot/types-codec@npm:^13.2.1": version: 13.2.1 resolution: "@polkadot/types-codec@npm:13.2.1" @@ -3664,17 +3475,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-codec@npm:9.14.2": - version: 9.14.2 - resolution: "@polkadot/types-codec@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/util": "npm:^10.4.2" - "@polkadot/x-bigint": "npm:^10.4.2" - checksum: 10/cebcbb5ad7c3ccd94b06f355af4581cd9ae3d1b02a1ac4644f013e6ddcba34f5c04f3b799c1bd58528adf13d3c9092a554cceb4d32b871694e108830e0716413 - languageName: node - linkType: hard - "@polkadot/types-create@npm:13.2.1, @polkadot/types-create@npm:^13.2.1": version: 13.2.1 resolution: "@polkadot/types-create@npm:13.2.1" @@ -3686,17 +3486,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-create@npm:9.14.2": - version: 9.14.2 - resolution: "@polkadot/types-create@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/types-codec": "npm:9.14.2" - "@polkadot/util": "npm:^10.4.2" - checksum: 10/b60a0df3b7d4b0f9e3504ecb19faec7deb635689da536cffd0145bf725ec982fa30936cae79655f15b067e9b2bcc6599b75d818528bc223b93370297d5629b02 - languageName: node - linkType: hard - "@polkadot/types-known@npm:13.2.1, @polkadot/types-known@npm:^13.2.1": version: 13.2.1 resolution: "@polkadot/types-known@npm:13.2.1" @@ -3711,20 +3500,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-known@npm:9.14.2": - version: 9.14.2 - resolution: "@polkadot/types-known@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/networks": "npm:^10.4.2" - "@polkadot/types": "npm:9.14.2" - "@polkadot/types-codec": "npm:9.14.2" - "@polkadot/types-create": "npm:9.14.2" - "@polkadot/util": "npm:^10.4.2" - checksum: 10/78154acc8cfee4174e36e3832f85d0c491b7831854509b50a757f47864c3a65da028740f040f27596799275c85e3f260bcd772728e02272e4ab71e859e0ef9ef - languageName: node - linkType: hard - "@polkadot/types-support@npm:13.2.1": version: 13.2.1 resolution: "@polkadot/types-support@npm:13.2.1" @@ -3735,16 +3510,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-support@npm:9.14.2": - version: 9.14.2 - resolution: "@polkadot/types-support@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/util": "npm:^10.4.2" - checksum: 10/20d652fb010f4acbc846e3a427f8bb58d4147a3acff6d37c52c82b77206fcbf33733feef3159b91581c1351a07e99a587392c4f79acc544c99158418ab48346e - languageName: node - linkType: hard - "@polkadot/types@npm:13.2.1, @polkadot/types@npm:^13.2.1": version: 13.2.1 resolution: "@polkadot/types@npm:13.2.1" @@ -3761,43 +3526,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types@npm:9.14.2, @polkadot/types@npm:^9.14.2": - version: 9.14.2 - resolution: "@polkadot/types@npm:9.14.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/keyring": "npm:^10.4.2" - "@polkadot/types-augment": "npm:9.14.2" - "@polkadot/types-codec": "npm:9.14.2" - "@polkadot/types-create": "npm:9.14.2" - "@polkadot/util": "npm:^10.4.2" - "@polkadot/util-crypto": "npm:^10.4.2" - rxjs: "npm:^7.8.0" - checksum: 10/8bc908056a8f450b84d7e7c3e09fa0e0779a200c8f1240c9eeae88a922dc7acc496d066b88662220eafc5a1ad70051d761dc0b6ccc742f709af043c3ff6c03d5 - languageName: node - linkType: hard - -"@polkadot/util-crypto@npm:10.4.2, @polkadot/util-crypto@npm:^10.4.2": - version: 10.4.2 - resolution: "@polkadot/util-crypto@npm:10.4.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@noble/hashes": "npm:1.2.0" - "@noble/secp256k1": "npm:1.7.1" - "@polkadot/networks": "npm:10.4.2" - "@polkadot/util": "npm:10.4.2" - "@polkadot/wasm-crypto": "npm:^6.4.1" - "@polkadot/x-bigint": "npm:10.4.2" - "@polkadot/x-randomvalues": "npm:10.4.2" - "@scure/base": "npm:1.1.1" - ed2curve: "npm:^0.3.0" - tweetnacl: "npm:^1.0.3" - peerDependencies: - "@polkadot/util": 10.4.2 - checksum: 10/6faeb2026d9f455dd771b9c99590be1a08447337e6684b1a3dd77fe7c59661cb5ed65a95155f600d0b39bbe22332a02426da7d0849e3aeb92a478f2ff7069439 - languageName: node - linkType: hard - "@polkadot/util-crypto@npm:13.1.1, @polkadot/util-crypto@npm:^13.1.1": version: 13.1.1 resolution: "@polkadot/util-crypto@npm:13.1.1" @@ -3818,21 +3546,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/util@npm:10.4.2, @polkadot/util@npm:^10.4.2": - version: 10.4.2 - resolution: "@polkadot/util@npm:10.4.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/x-bigint": "npm:10.4.2" - "@polkadot/x-global": "npm:10.4.2" - "@polkadot/x-textdecoder": "npm:10.4.2" - "@polkadot/x-textencoder": "npm:10.4.2" - "@types/bn.js": "npm:^5.1.1" - bn.js: "npm:^5.2.1" - checksum: 10/bdecd8fdaabbff9dae0b317954c1b50b6001bf13c67633fbe753367f20d8a819dd332f55917286107b2cfdc9921e861232cb913c097fe89db258f8902741a677 - languageName: node - linkType: hard - "@polkadot/util@npm:13.1.1, @polkadot/util@npm:^13.1.1": version: 13.1.1 resolution: "@polkadot/util@npm:13.1.1" @@ -3848,18 +3561,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/wasm-bridge@npm:6.4.1": - version: 6.4.1 - resolution: "@polkadot/wasm-bridge@npm:6.4.1" - dependencies: - "@babel/runtime": "npm:^7.20.6" - peerDependencies: - "@polkadot/util": "*" - "@polkadot/x-randomvalues": "*" - checksum: 10/22dc70090e07f6a1a3b983c1233d691ec2c6543da08407cbd0117ea08c0a4043bf278c218ae17a23e742f1ea298768f303acf00f8ae0ad55612525ef22e66c8f - languageName: node - linkType: hard - "@polkadot/wasm-bridge@npm:7.3.2": version: 7.3.2 resolution: "@polkadot/wasm-bridge@npm:7.3.2" @@ -3873,17 +3574,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/wasm-crypto-asmjs@npm:6.4.1": - version: 6.4.1 - resolution: "@polkadot/wasm-crypto-asmjs@npm:6.4.1" - dependencies: - "@babel/runtime": "npm:^7.20.6" - peerDependencies: - "@polkadot/util": "*" - checksum: 10/81a9ae9207e067e319ac1329b70fdd06cd357c63c9b65bd2b8e93ed7f22a5ca576ca75fcb095a2e86d059680273383b175f293c31739a80ab8514e48729d90e8 - languageName: node - linkType: hard - "@polkadot/wasm-crypto-asmjs@npm:7.3.2": version: 7.3.2 resolution: "@polkadot/wasm-crypto-asmjs@npm:7.3.2" @@ -3895,21 +3585,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/wasm-crypto-init@npm:6.4.1": - version: 6.4.1 - resolution: "@polkadot/wasm-crypto-init@npm:6.4.1" - dependencies: - "@babel/runtime": "npm:^7.20.6" - "@polkadot/wasm-bridge": "npm:6.4.1" - "@polkadot/wasm-crypto-asmjs": "npm:6.4.1" - "@polkadot/wasm-crypto-wasm": "npm:6.4.1" - peerDependencies: - "@polkadot/util": "*" - "@polkadot/x-randomvalues": "*" - checksum: 10/f2e66fb612e2c3543847af4153faf8634003441be8e831c4df0e73b42e146124b9b13abdc05a53ec9c169315486c21783815270363bfc4762c10e5cd54d7ae81 - languageName: node - linkType: hard - "@polkadot/wasm-crypto-init@npm:7.3.2": version: 7.3.2 resolution: "@polkadot/wasm-crypto-init@npm:7.3.2" @@ -3926,18 +3601,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/wasm-crypto-wasm@npm:6.4.1": - version: 6.4.1 - resolution: "@polkadot/wasm-crypto-wasm@npm:6.4.1" - dependencies: - "@babel/runtime": "npm:^7.20.6" - "@polkadot/wasm-util": "npm:6.4.1" - peerDependencies: - "@polkadot/util": "*" - checksum: 10/39d2556438d6ad1c3c3d29f4521ae7e58749fc0218f7a83a0e2cb886619a71986676c69b7ae70c03e9c0b2d74be99c1cf0492bbabbabf64ee6451a353ca0ffda - languageName: node - linkType: hard - "@polkadot/wasm-crypto-wasm@npm:7.3.2": version: 7.3.2 resolution: "@polkadot/wasm-crypto-wasm@npm:7.3.2" @@ -3950,23 +3613,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/wasm-crypto@npm:^6.4.1": - version: 6.4.1 - resolution: "@polkadot/wasm-crypto@npm:6.4.1" - dependencies: - "@babel/runtime": "npm:^7.20.6" - "@polkadot/wasm-bridge": "npm:6.4.1" - "@polkadot/wasm-crypto-asmjs": "npm:6.4.1" - "@polkadot/wasm-crypto-init": "npm:6.4.1" - "@polkadot/wasm-crypto-wasm": "npm:6.4.1" - "@polkadot/wasm-util": "npm:6.4.1" - peerDependencies: - "@polkadot/util": "*" - "@polkadot/x-randomvalues": "*" - checksum: 10/2e3c4369b66b061450d72f36a33e2fb822d393472907ab314befa9aa9636ec2db99e3771656df7ffdfcdd92e92b54594855d61b34d97b256d562a3d6ce19a3cd - languageName: node - linkType: hard - "@polkadot/wasm-crypto@npm:^7.3.2": version: 7.3.2 resolution: "@polkadot/wasm-crypto@npm:7.3.2" @@ -3984,17 +3630,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/wasm-util@npm:6.4.1": - version: 6.4.1 - resolution: "@polkadot/wasm-util@npm:6.4.1" - dependencies: - "@babel/runtime": "npm:^7.20.6" - peerDependencies: - "@polkadot/util": "*" - checksum: 10/d2df5a14a3b75e2e91934676afe4fc34bac5580e22af20a416a13b98d596e5b9a9f87031b6f01d993f20fba595a249c112a6b520fcde08ed0f674350253632e1 - languageName: node - linkType: hard - "@polkadot/wasm-util@npm:7.3.2, @polkadot/wasm-util@npm:^7.3.2": version: 7.3.2 resolution: "@polkadot/wasm-util@npm:7.3.2" @@ -4006,16 +3641,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-bigint@npm:10.4.2, @polkadot/x-bigint@npm:^10.4.2": - version: 10.4.2 - resolution: "@polkadot/x-bigint@npm:10.4.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/x-global": "npm:10.4.2" - checksum: 10/a77565a3b397bc3bd4b3f7d4296941658f771dfff0ee38ba7325c6351ee84dffb522857613c6125e8b97d11699c80c621d5e208cbe2af3f18e663b6e6c03a407 - languageName: node - linkType: hard - "@polkadot/x-bigint@npm:13.1.1, @polkadot/x-bigint@npm:^13.1.1": version: 13.1.1 resolution: "@polkadot/x-bigint@npm:13.1.1" @@ -4026,18 +3651,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-fetch@npm:^10.4.2": - version: 10.4.2 - resolution: "@polkadot/x-fetch@npm:10.4.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/x-global": "npm:10.4.2" - "@types/node-fetch": "npm:^2.6.2" - node-fetch: "npm:^3.3.0" - checksum: 10/3695e3dbeea981ffdd1dcae1156115082c9089ffac8c010d79982cb335832e17b539c70eac5ab2a9c6cf39945ec02119a2164637c17f23db233d743749220983 - languageName: node - linkType: hard - "@polkadot/x-fetch@npm:^13.1.1": version: 13.1.1 resolution: "@polkadot/x-fetch@npm:13.1.1" @@ -4049,15 +3662,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-global@npm:10.4.2, @polkadot/x-global@npm:^10.4.2": - version: 10.4.2 - resolution: "@polkadot/x-global@npm:10.4.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - checksum: 10/2df4898cde8435bb32dcb7d67f43f33996443d609fa1651c19ad92c23331dc39f346e0addba2a9fbd1ddf27157465730420452e8da81e0579acef7feab443445 - languageName: node - linkType: hard - "@polkadot/x-global@npm:13.1.1, @polkadot/x-global@npm:^13.1.1": version: 13.1.1 resolution: "@polkadot/x-global@npm:13.1.1" @@ -4067,16 +3671,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:10.4.2": - version: 10.4.2 - resolution: "@polkadot/x-randomvalues@npm:10.4.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/x-global": "npm:10.4.2" - checksum: 10/85756dc61c389ece4dbcf6b93ac105bce03d4e40f25a88962721a3dbdeb2d5f5f3fd18d945c132b785c7865fdbb532a45091c9952447b673dd37a75958fd42b1 - languageName: node - linkType: hard - "@polkadot/x-randomvalues@npm:13.1.1": version: 13.1.1 resolution: "@polkadot/x-randomvalues@npm:13.1.1" @@ -4090,16 +3684,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:10.4.2": - version: 10.4.2 - resolution: "@polkadot/x-textdecoder@npm:10.4.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/x-global": "npm:10.4.2" - checksum: 10/92fd2da99baa8124a723de8a0523f20bef606351e5bd0e38a5f1635bef19ac1627b595d66726075a3ac85f65255a544a36443c596720f28cbaf70ba6eb654651 - languageName: node - linkType: hard - "@polkadot/x-textdecoder@npm:13.1.1": version: 13.1.1 resolution: "@polkadot/x-textdecoder@npm:13.1.1" @@ -4110,16 +3694,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-textencoder@npm:10.4.2": - version: 10.4.2 - resolution: "@polkadot/x-textencoder@npm:10.4.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/x-global": "npm:10.4.2" - checksum: 10/a9c73566175202b6423a431519fdf0ae7eb25fa41a6df9cd0d6e252ec104146530acce79eaf0aca515c4cfdad3c85335709be4181b09c21f43edc9658e46ef29 - languageName: node - linkType: hard - "@polkadot/x-textencoder@npm:13.1.1": version: 13.1.1 resolution: "@polkadot/x-textencoder@npm:13.1.1" @@ -4130,18 +3704,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-ws@npm:^10.4.2": - version: 10.4.2 - resolution: "@polkadot/x-ws@npm:10.4.2" - dependencies: - "@babel/runtime": "npm:^7.20.13" - "@polkadot/x-global": "npm:10.4.2" - "@types/websocket": "npm:^1.0.5" - websocket: "npm:^1.0.34" - checksum: 10/465279d7f186bc243ffc5ecd55839ee20e3e061d8c85a42c47fc50cb519ee2bd79d1106751f971f95124fd19ab9745be2f53535bfa79defe5bbf973bdfd56926 - languageName: node - linkType: hard - "@polkadot/x-ws@npm:^13.1.1": version: 13.1.1 resolution: "@polkadot/x-ws@npm:13.1.1" @@ -4390,7 +3952,7 @@ __metadata: languageName: node linkType: hard -"@rollup/pluginutils@npm:^4.1.1, @rollup/pluginutils@npm:^4.1.2, @rollup/pluginutils@npm:^4.2.1": +"@rollup/pluginutils@npm:^4.1.1, @rollup/pluginutils@npm:^4.2.1": version: 4.2.1 resolution: "@rollup/pluginutils@npm:4.2.1" dependencies: @@ -4555,13 +4117,6 @@ __metadata: languageName: node linkType: hard -"@scure/base@npm:1.1.1": - version: 1.1.1 - resolution: "@scure/base@npm:1.1.1" - checksum: 10/9aaa525ac25215cbe1bde00733a2fd25e99f03793aa1fd2961c567bb62b60c8a3a485a7cb5d748c41604fca79d149de19b05e64449b770c0a04b9ae38d0b5b2b - languageName: node - linkType: hard - "@scure/base@npm:^1.1.1": version: 1.1.6 resolution: "@scure/base@npm:1.1.6" @@ -5069,13 +4624,6 @@ __metadata: languageName: node linkType: hard -"@substrate/connect-extension-protocol@npm:^1.0.1": - version: 1.0.1 - resolution: "@substrate/connect-extension-protocol@npm:1.0.1" - checksum: 10/476e253f997ac3b00ada12becea390ef6566d2bb2b62a2d8ebe15d554faf5552d4c4a1a8be7324c1d95f673232638a19f5dd3fe7599a6287df4784f97d6dee47 - languageName: node - linkType: hard - "@substrate/connect-extension-protocol@npm:^2.0.0": version: 2.0.0 resolution: "@substrate/connect-extension-protocol@npm:2.0.0" @@ -5090,17 +4638,6 @@ __metadata: languageName: node linkType: hard -"@substrate/connect@npm:0.7.19": - version: 0.7.19 - resolution: "@substrate/connect@npm:0.7.19" - dependencies: - "@substrate/connect-extension-protocol": "npm:^1.0.1" - "@substrate/smoldot-light": "npm:0.7.9" - eventemitter3: "npm:^4.0.7" - checksum: 10/956558d26398947a3c6e6960c0bd612f917a83627338e40926d9f90c0a43dbe3ad3f4e4014f434d8d16e5ba13ca418a66c35d5e49b45ee20a9c0c8830a5f9415 - languageName: node - linkType: hard - "@substrate/connect@npm:0.8.11": version: 0.8.11 resolution: "@substrate/connect@npm:0.8.11" @@ -5130,23 +4667,6 @@ __metadata: languageName: node linkType: hard -"@substrate/smoldot-light@npm:0.7.9": - version: 0.7.9 - resolution: "@substrate/smoldot-light@npm:0.7.9" - dependencies: - pako: "npm:^2.0.4" - ws: "npm:^8.8.1" - checksum: 10/5e3628cfa24f0bd263e4c28d39e336a94a54e7182ff7895817f5d708a462077002b9e7bba2d1fcc87e2482ec242550d02a51c6f8c2d3e4e69824ab6fa37c7885 - languageName: node - linkType: hard - -"@substrate/ss58-registry@npm:^1.38.0": - version: 1.40.0 - resolution: "@substrate/ss58-registry@npm:1.40.0" - checksum: 10/9db760f57c7129e23fcd39f1ceb27cc03421228ebc7ed57c224d604a4d49967df3a9ef21efd8c8a83528dd2f3fa5c0e6586eb93e7eed8ad7fdc128fde08b6da5 - languageName: node - linkType: hard - "@substrate/ss58-registry@npm:^1.50.0": version: 1.50.0 resolution: "@substrate/ss58-registry@npm:1.50.0" @@ -5154,55 +4674,36 @@ __metadata: languageName: node linkType: hard -"@talismn/connect-components@npm:^1.1.8": - version: 1.1.8 - resolution: "@talismn/connect-components@npm:1.1.8" +"@talismn/connect-components@npm:^1.1.9": + version: 1.1.9 + resolution: "@talismn/connect-components@npm:1.1.9" dependencies: - "@talismn/connect-ui": "npm:^1.1.2" - "@talismn/connect-wallets": "npm:^1.2.3" - "@testing-library/react": "npm:^13.4.0" - "@types/react": "npm:^18.2.31" - "@types/react-dom": "npm:^18.2.0" - postcss: "npm:^8.4.31" - react: "npm:^18.2.0" - react-dom: "npm:^18.2.0" - typescript: "npm:^4.8.2" + "@talismn/connect-ui": "npm:1.1.4" + "@talismn/connect-wallets": "npm:1.2.8" peerDependencies: - "@types/react": ^18.2.31 - "@types/react-dom": ^18.2.0 - react: ^18.2.0 - react-dom: ^18.2.0 - checksum: 10/9f06e8152ca8cfca283812482da90555ff61e508fcc2320878b38ee1f029045c5409f901620f107e4a65eab949948a5f805778a86e83b8aa9e5915b18b6f55e0 + react: ">=18.2.0" + react-dom: ">=18.2.0" + checksum: 10/13a021d48b2ad0265f18c9d556c24709906cff54b5cc5f51f39efb6e34771b0b729715f849e93d612751c311ab3bf6ab6266bea950ae44e4f0b36597376bfc05 languageName: node linkType: hard -"@talismn/connect-ui@npm:^1.1.2": - version: 1.1.3 - resolution: "@talismn/connect-ui@npm:1.1.3" - dependencies: - postcss: "npm:^8.4.31" - rollup-plugin-postcss-modules: "npm:^2.0.2" - rollup-plugin-styles: "npm:^4.0.0" - typescript: "npm:^4.8.2" +"@talismn/connect-ui@npm:1.1.4": + version: 1.1.4 + resolution: "@talismn/connect-ui@npm:1.1.4" peerDependencies: - "@types/react": ^18.2.31 - "@types/react-dom": ^18.2.0 - react: ^18.2.0 - react-dom: ^18.2.0 - checksum: 10/3353ec2c6715cdbac340bfcff72f13ace3313c3da45f1fb7ff7d222c9a6669fe6ce788854d23c7e36dfc0d2d04a2913034021bce6c031b8be7f2f30b0f730113 + react: ">=18.2.0" + react-dom: ">=18.2.0" + checksum: 10/31e811673adeffb541899564f0692fdc31ce63e4b97bc67333b47ee6ff39d0160f99fc601f419cc67f5b3d5e564c7d8434bdf41e5bdb67a1a267d81c51269ffc languageName: node linkType: hard -"@talismn/connect-wallets@npm:^1.2.3, @talismn/connect-wallets@npm:^1.2.5": - version: 1.2.5 - resolution: "@talismn/connect-wallets@npm:1.2.5" - dependencies: - "@polkadot/api": "npm:^9.3.3" - "@polkadot/extension-inject": "npm:^0.44.6" +"@talismn/connect-wallets@npm:1.2.8": + version: 1.2.8 + resolution: "@talismn/connect-wallets@npm:1.2.8" peerDependencies: "@polkadot/api": ">=9.3.3" "@polkadot/extension-inject": ">=0.44.6" - checksum: 10/82c8e32d1062274ad538ac6302f6e29409d4babaa22bdb7b97a941a8100943a677daf271dba09c983f899cf2fc09858e8f71d9e719e0668757521385ecc42adc + checksum: 10/929ecdd2d57aa946bdea182e6c4c746853be982b4e67adc0b128aaf9754a09c640ba4bb157f95bebd6c144e8e01d1c235df1109b979a26625deff1fe4fd067fb languageName: node linkType: hard @@ -5224,36 +4725,6 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^8.5.0": - version: 8.20.1 - resolution: "@testing-library/dom@npm:8.20.1" - dependencies: - "@babel/code-frame": "npm:^7.10.4" - "@babel/runtime": "npm:^7.12.5" - "@types/aria-query": "npm:^5.0.1" - aria-query: "npm:5.1.3" - chalk: "npm:^4.1.0" - dom-accessibility-api: "npm:^0.5.9" - lz-string: "npm:^1.5.0" - pretty-format: "npm:^27.0.2" - checksum: 10/6c7a92fcc89931ef62a9a92dacec09b3e5ee5c3aba2171aa8de6c7504927b7c9364d73d2ed87b72447d6783108c1c92c207d16f788de64c69bc97059d7105e3c - languageName: node - linkType: hard - -"@testing-library/react@npm:^13.4.0": - version: 13.4.0 - resolution: "@testing-library/react@npm:13.4.0" - dependencies: - "@babel/runtime": "npm:^7.12.5" - "@testing-library/dom": "npm:^8.5.0" - "@types/react-dom": "npm:^18.0.0" - peerDependencies: - react: ^18.0.0 - react-dom: ^18.0.0 - checksum: 10/788249aad25a0161b197b7d387011e2578701ab18451b69a987eb073b2d24eb1041f242581c3dd4800f5abcf4f11811f5f6b1e682a45f1840a08fdde3ce559b7 - languageName: node - linkType: hard - "@tootallnate/once@npm:2": version: 2.0.0 resolution: "@tootallnate/once@npm:2.0.0" @@ -5261,13 +4732,6 @@ __metadata: languageName: node linkType: hard -"@trysound/sax@npm:0.2.0": - version: 0.2.0 - resolution: "@trysound/sax@npm:0.2.0" - checksum: 10/7379713eca480ac0d9b6c7b063e06b00a7eac57092354556c81027066eb65b61ea141a69d0cc2e15d32e05b2834d4c9c2184793a5e36bbf5daf05ee5676af18c - languageName: node - linkType: hard - "@tsconfig/node10@npm:^1.0.7": version: 1.0.9 resolution: "@tsconfig/node10@npm:1.0.9" @@ -5296,13 +4760,6 @@ __metadata: languageName: node linkType: hard -"@types/aria-query@npm:^5.0.1": - version: 5.0.1 - resolution: "@types/aria-query@npm:5.0.1" - checksum: 10/0635081bb506576b937899afa8e76e6b8d2faf5662f309d6fdc3fc89c749d63362cd8cb3baa0a6d786fe8664994fbffbb11461fcad62b5394f2663891e722b86 - languageName: node - linkType: hard - "@types/babel__core@npm:^7.1.12": version: 7.20.5 resolution: "@types/babel__core@npm:7.20.5" @@ -5360,24 +4817,6 @@ __metadata: languageName: node linkType: hard -"@types/bn.js@npm:^5.1.1": - version: 5.1.1 - resolution: "@types/bn.js@npm:5.1.1" - dependencies: - "@types/node": "npm:*" - checksum: 10/cf2c45833e67ecfc45e5336151965a47857431640b61708b6e4dc81d88ed53585c9b30be59abbbee609cdf7a63828e5b8a58c1a27eb4306e5cb7ddd9bad46650 - languageName: node - linkType: hard - -"@types/cssnano@npm:^5.0.0": - version: 5.0.0 - resolution: "@types/cssnano@npm:5.0.0" - dependencies: - postcss: "npm:^8" - checksum: 10/7d05401db3c419a0bdab9a2889e5a8568dca33b9fedb4cb0ba883d13d76f436cc99f0b25317630cd10d4f1700577a70b76e83a37684589e3541a05aa3b31662f - languageName: node - linkType: hard - "@types/debug@npm:^4.1.7": version: 4.1.12 resolution: "@types/debug@npm:4.1.12" @@ -5408,16 +4847,6 @@ __metadata: languageName: node linkType: hard -"@types/node-fetch@npm:^2.6.2": - version: 2.6.3 - resolution: "@types/node-fetch@npm:2.6.3" - dependencies: - "@types/node": "npm:*" - form-data: "npm:^3.0.0" - checksum: 10/ac85a5672f3cb7caf832bfe9026e17d0972eb619ea908357cd7fdf8d397eae64fd6d64e0a0b99bedf68e339acd400a74519d7ad50fb96c0efe39569a56a30c5f - languageName: node - linkType: hard - "@types/node@npm:*, @types/node@npm:^18.14.1": version: 18.16.3 resolution: "@types/node@npm:18.16.3" @@ -5425,13 +4854,6 @@ __metadata: languageName: node linkType: hard -"@types/parse-json@npm:^4.0.0": - version: 4.0.0 - resolution: "@types/parse-json@npm:4.0.0" - checksum: 10/4df9de98150d2978afc2161482a3a8e6617883effba3223324f079de97ba7eabd7d84b90ced11c3f82b0c08d4a8383f678c9f73e9c41258f769b3fa234a2bb4f - languageName: node - linkType: hard - "@types/prop-types@npm:*": version: 15.7.5 resolution: "@types/prop-types@npm:15.7.5" @@ -5439,36 +4861,6 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.0.0, @types/react-dom@npm:^18.2.0": - version: 18.2.25 - resolution: "@types/react-dom@npm:18.2.25" - dependencies: - "@types/react": "npm:*" - checksum: 10/0e45856a2fdbf09e74632b132b3af773c6b18fc2ab0bd04595c9f2bcc0bb04d5e732ac8156d145b712dedab7484a8fe9dce5cf720a5437b5d26099c7060c7ba4 - languageName: node - linkType: hard - -"@types/react@npm:*": - version: 18.2.5 - resolution: "@types/react@npm:18.2.5" - dependencies: - "@types/prop-types": "npm:*" - "@types/scheduler": "npm:*" - csstype: "npm:^3.0.2" - checksum: 10/dda71de3b6185ac1294bb83aed1ff542dbb7d842df662a377f6fc06e4fcb72df4b3847c72e28ab75027a3d7b26660685c73eaf032fbe32d7c639b233d53aa5a2 - languageName: node - linkType: hard - -"@types/react@npm:^18.2.31": - version: 18.2.79 - resolution: "@types/react@npm:18.2.79" - dependencies: - "@types/prop-types": "npm:*" - csstype: "npm:^3.0.2" - checksum: 10/2ef833e7d0a5c226beddbbe090811582371f6ae5e2f092a3d9f47cc6087c8bce0b96ee33e351de6d1d470f0a0ec5892d971933f841ef31538c1821681fc6569e - languageName: node - linkType: hard - "@types/react@npm:^18.3.10": version: 18.3.10 resolution: "@types/react@npm:18.3.10" @@ -5479,13 +4871,6 @@ __metadata: languageName: node linkType: hard -"@types/scheduler@npm:*": - version: 0.16.3 - resolution: "@types/scheduler@npm:0.16.3" - checksum: 10/2b0aec39c24268e3ce938c5db2f2e77f5c3dd280e05c262d9c2fe7d890929e4632a6b8e94334017b66b45e4f92a5aa42ba3356640c2a1175fa37bef2f5200767 - languageName: node - linkType: hard - "@types/semver@npm:^7.3.12": version: 7.3.13 resolution: "@types/semver@npm:7.3.13" @@ -5500,18 +4885,9 @@ __metadata: languageName: node linkType: hard -"@types/websocket@npm:^1.0.5": - version: 1.0.5 - resolution: "@types/websocket@npm:1.0.5" - dependencies: - "@types/node": "npm:*" - checksum: 10/5000bfaa63f069311c7b136423d30088b89448b504f86e97461c8cd5abff5294be1004302950ee951ae62f0a3690f36cb7f409fb9f5cf9792780a95201a9a48b - languageName: node - linkType: hard - -"@types/ws@npm:8.5.3": - version: 8.5.3 - resolution: "@types/ws@npm:8.5.3" +"@types/ws@npm:8.5.3": + version: 8.5.3 + resolution: "@types/ws@npm:8.5.3" dependencies: "@types/node": "npm:*" checksum: 10/08aac698ce6480b532d8311f790a8744ae489ccdd98f374cfe4b8245855439825c64b031abcbba4f30fb280da6cc2b02a4e261e16341d058ffaeecaa24ba2bd3 @@ -6473,13 +5849,6 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^5.0.0": - version: 5.2.0 - resolution: "ansi-styles@npm:5.2.0" - checksum: 10/d7f4e97ce0623aea6bc0d90dcd28881ee04cba06c570b97fd3391bd7a268eedfd9d5e2dd4fdcbdd82b8105df5faf6f24aaedc08eaf3da898e702db5948f63469 - languageName: node - linkType: hard - "ansi-styles@npm:^6.0.0, ansi-styles@npm:^6.1.0, ansi-styles@npm:^6.2.1": version: 6.2.1 resolution: "ansi-styles@npm:6.2.1" @@ -6549,15 +5918,6 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:5.1.3": - version: 5.1.3 - resolution: "aria-query@npm:5.1.3" - dependencies: - deep-equal: "npm:^2.0.5" - checksum: 10/e5da608a7c4954bfece2d879342b6c218b6b207e2d9e5af270b5e38ef8418f02d122afdc948b68e32649b849a38377785252059090d66fa8081da95d1609c0d2 - languageName: node - linkType: hard - "array-buffer-byte-length@npm:^1.0.0": version: 1.0.0 resolution: "array-buffer-byte-length@npm:1.0.0" @@ -7120,20 +6480,6 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.0.0, browserslist@npm:^4.21.4": - version: 4.23.0 - resolution: "browserslist@npm:4.23.0" - dependencies: - caniuse-lite: "npm:^1.0.30001587" - electron-to-chromium: "npm:^1.4.668" - node-releases: "npm:^2.0.14" - update-browserslist-db: "npm:^1.0.13" - bin: - browserslist: cli.js - checksum: 10/496c3862df74565dd942b4ae65f502c575cbeba1fa4a3894dad7aa3b16130dc3033bc502d8848147f7b625154a284708253d9598bcdbef5a1e34cf11dc7bad8e - languageName: node - linkType: hard - "browserslist@npm:^4.21.3, browserslist@npm:^4.21.5": version: 4.21.5 resolution: "browserslist@npm:4.21.5" @@ -7240,16 +6586,6 @@ __metadata: languageName: node linkType: hard -"bufferutil@npm:^4.0.1": - version: 4.0.7 - resolution: "bufferutil@npm:4.0.7" - dependencies: - node-gyp: "npm:latest" - node-gyp-build: "npm:^4.3.0" - checksum: 10/01e2144e88a6cb1cd8e4e0bb1ec622c6e400646fb451a672d20e7d40cdc7d4a82a64dbcda6f5f92b36eeca0d1e5290baf7af707994f7b7c87e911d51a265bf07 - languageName: node - linkType: hard - "bufferutil@npm:^4.0.8": version: 4.0.8 resolution: "bufferutil@npm:4.0.8" @@ -7345,32 +6681,6 @@ __metadata: languageName: node linkType: hard -"camelcase@npm:^6.0.0 || ^7.0.0": - version: 7.0.1 - resolution: "camelcase@npm:7.0.1" - checksum: 10/86ab8f3ebf08bcdbe605a211a242f00ed30d8bfb77dab4ebb744dd36efbc84432d1c4adb28975ba87a1b8be40a80fbd1e60e2f06565315918fa7350011a26d3d - languageName: node - linkType: hard - -"caniuse-api@npm:^3.0.0": - version: 3.0.0 - resolution: "caniuse-api@npm:3.0.0" - dependencies: - browserslist: "npm:^4.0.0" - caniuse-lite: "npm:^1.0.0" - lodash.memoize: "npm:^4.1.2" - lodash.uniq: "npm:^4.5.0" - checksum: 10/db2a229383b20d0529b6b589dde99d7b6cb56ba371366f58cbbfa2929c9f42c01f873e2b6ef641d4eda9f0b4118de77dbb2805814670bdad4234bf08e720b0b4 - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001587": - version: 1.0.30001612 - resolution: "caniuse-lite@npm:1.0.30001612" - checksum: 10/8fb95102aade9147694541a9e576ec16d8d455f37e1456f497403af45f1ddd24465a62057d619d57c052e9634e090e5115e383ab066f8f9f9b87d14f738f81df - languageName: node - linkType: hard - "caniuse-lite@npm:^1.0.30001449": version: 1.0.30001482 resolution: "caniuse-lite@npm:1.0.30001482" @@ -7471,7 +6781,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^4.0.0, chalk@npm:^4.1.0": +"chalk@npm:^4.0.0": version: 4.1.2 resolution: "chalk@npm:4.1.2" dependencies: @@ -7636,13 +6946,6 @@ __metadata: languageName: node linkType: hard -"colord@npm:^2.9.1": - version: 2.9.3 - resolution: "colord@npm:2.9.3" - checksum: 10/907a4506d7307e2f580b471b581e992181ed75ab0c6925ece9ca46d88161d2fc50ed15891cd0556d0d9321237ca75afc9d462e4c050b939ef88428517f047f30 - languageName: node - linkType: hard - "colorette@npm:^2.0.20": version: 2.0.20 resolution: "colorette@npm:2.0.20" @@ -7673,13 +6976,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:^7.2.0": - version: 7.2.0 - resolution: "commander@npm:7.2.0" - checksum: 10/9973af10727ad4b44f26703bf3e9fdc323528660a7590efe3aa9ad5042b4584c0deed84ba443f61c9d6f02dade54a5a5d3c95e306a1e1630f8374ae6db16c06d - languageName: node - linkType: hard - "commands-events@npm:1.0.4": version: 1.0.4 resolution: "commands-events@npm:1.0.4" @@ -7729,15 +7025,6 @@ __metadata: languageName: node linkType: hard -"concat-with-sourcemaps@npm:^1.1.0": - version: 1.1.0 - resolution: "concat-with-sourcemaps@npm:1.1.0" - dependencies: - source-map: "npm:^0.6.1" - checksum: 10/57faa6f4a6f38a1846a58f96b2745ec8435755e0021f069e89085c651d091b78d9bc20807ea76c38c85021acca80dc2fa4cedda666aade169b602604215d25b9 - languageName: node - linkType: hard - "confbox@npm:^0.1.7": version: 0.1.7 resolution: "confbox@npm:0.1.7" @@ -7862,19 +7149,6 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:^7.0.1": - version: 7.1.0 - resolution: "cosmiconfig@npm:7.1.0" - dependencies: - "@types/parse-json": "npm:^4.0.0" - import-fresh: "npm:^3.2.1" - parse-json: "npm:^5.0.0" - path-type: "npm:^4.0.0" - yaml: "npm:^1.10.0" - checksum: 10/03600bb3870c80ed151b7b706b99a1f6d78df8f4bdad9c95485072ea13358ef294b13dd99f9e7bf4cc0b43bcd3599d40df7e648750d21c2f6817ca2cd687e071 - languageName: node - linkType: hard - "crc-32@npm:^1.2.0, crc-32@npm:^1.2.2": version: 1.2.2 resolution: "crc-32@npm:1.2.2" @@ -7999,28 +7273,6 @@ __metadata: languageName: node linkType: hard -"css-declaration-sorter@npm:^6.3.1": - version: 6.4.1 - resolution: "css-declaration-sorter@npm:6.4.1" - peerDependencies: - postcss: ^8.0.9 - checksum: 10/06cbfd1f470b8accf5e235b0e658e2f82d33a1cea8c2a21b55dfef5280769b874a8979c50f2c035af9213836cf85fb7e4687748a9162d564d7638ed4a194888e - languageName: node - linkType: hard - -"css-select@npm:^4.1.3": - version: 4.3.0 - resolution: "css-select@npm:4.3.0" - dependencies: - boolbase: "npm:^1.0.0" - css-what: "npm:^6.0.1" - domhandler: "npm:^4.3.1" - domutils: "npm:^2.8.0" - nth-check: "npm:^2.0.1" - checksum: 10/8f7310c9af30ccaba8f72cb4a54d32232c53bf9ba05d019b693e16bfd7ba5df0affc1f4d74b1ee55923643d23b80a837eedcf60938c53356e479b04049ff9994 - languageName: node - linkType: hard - "css-select@npm:^5.1.0": version: 5.1.0 resolution: "css-select@npm:5.1.0" @@ -8044,17 +7296,7 @@ __metadata: languageName: node linkType: hard -"css-tree@npm:^1.1.2, css-tree@npm:^1.1.3": - version: 1.1.3 - resolution: "css-tree@npm:1.1.3" - dependencies: - mdn-data: "npm:2.0.14" - source-map: "npm:^0.6.1" - checksum: 10/29710728cc4b136f1e9b23ee1228ec403ec9f3d487bc94a9c5dbec563c1e08c59bc917dd6f82521a35e869ff655c298270f43ca673265005b0cd05b292eb05ab - languageName: node - linkType: hard - -"css-what@npm:^6.0.1, css-what@npm:^6.1.0": +"css-what@npm:^6.1.0": version: 6.1.0 resolution: "css-what@npm:6.1.0" checksum: 10/c67a3a2d0d81843af87f8bf0a4d0845b0f952377714abbb2884e48942409d57a2110eabee003609d02ee487b054614bdfcfc59ee265728ff105bd5aa221c1d0e @@ -8070,76 +7312,6 @@ __metadata: languageName: node linkType: hard -"cssnano-preset-default@npm:^5.2.14": - version: 5.2.14 - resolution: "cssnano-preset-default@npm:5.2.14" - dependencies: - css-declaration-sorter: "npm:^6.3.1" - cssnano-utils: "npm:^3.1.0" - postcss-calc: "npm:^8.2.3" - postcss-colormin: "npm:^5.3.1" - postcss-convert-values: "npm:^5.1.3" - postcss-discard-comments: "npm:^5.1.2" - postcss-discard-duplicates: "npm:^5.1.0" - postcss-discard-empty: "npm:^5.1.1" - postcss-discard-overridden: "npm:^5.1.0" - postcss-merge-longhand: "npm:^5.1.7" - postcss-merge-rules: "npm:^5.1.4" - postcss-minify-font-values: "npm:^5.1.0" - postcss-minify-gradients: "npm:^5.1.1" - postcss-minify-params: "npm:^5.1.4" - postcss-minify-selectors: "npm:^5.2.1" - postcss-normalize-charset: "npm:^5.1.0" - postcss-normalize-display-values: "npm:^5.1.0" - postcss-normalize-positions: "npm:^5.1.1" - postcss-normalize-repeat-style: "npm:^5.1.1" - postcss-normalize-string: "npm:^5.1.0" - postcss-normalize-timing-functions: "npm:^5.1.0" - postcss-normalize-unicode: "npm:^5.1.1" - postcss-normalize-url: "npm:^5.1.0" - postcss-normalize-whitespace: "npm:^5.1.1" - postcss-ordered-values: "npm:^5.1.3" - postcss-reduce-initial: "npm:^5.1.2" - postcss-reduce-transforms: "npm:^5.1.0" - postcss-svgo: "npm:^5.1.0" - postcss-unique-selectors: "npm:^5.1.1" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/4103f879a594e24eef7b2f175cd46b59d777982be23f0d1b84e962d044e0bea2f26aa107dea59a711e6394fdd77faf313cee6ae4be61d34656fdf33ff278f69d - languageName: node - linkType: hard - -"cssnano-utils@npm:^3.1.0": - version: 3.1.0 - resolution: "cssnano-utils@npm:3.1.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/975c84ce9174cf23bb1da1e9faed8421954607e9ea76440cd3bb0c1bea7e17e490d800fca5ae2812d1d9e9d5524eef23ede0a3f52497d7ccc628e5d7321536f2 - languageName: node - linkType: hard - -"cssnano@npm:^5.0.1, cssnano@npm:^5.0.15": - version: 5.1.15 - resolution: "cssnano@npm:5.1.15" - dependencies: - cssnano-preset-default: "npm:^5.2.14" - lilconfig: "npm:^2.0.3" - yaml: "npm:^1.10.2" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/8c5acbeabd10ffc05d01c63d3a82dcd8742299ead3f6da4016c853548b687d9b392de43e6d0f682dad1c2200d577c9360d8e709711c23721509aa4e55e052fb3 - languageName: node - linkType: hard - -"csso@npm:^4.2.0": - version: 4.2.0 - resolution: "csso@npm:4.2.0" - dependencies: - css-tree: "npm:^1.1.2" - checksum: 10/8b6a2dc687f2a8165dde13f67999d5afec63cb07a00ab100fbb41e4e8b28d986cfa0bc466b4f5ba5de7260c2448a64e6ad26ec718dd204d3a7d109982f0bf1aa - languageName: node - linkType: hard - "csstype@npm:^3.0.2": version: 3.1.2 resolution: "csstype@npm:3.1.2" @@ -8243,7 +7415,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:2.6.9, debug@npm:^2.2.0": +"debug@npm:2.6.9": version: 2.6.9 resolution: "debug@npm:2.6.9" dependencies: @@ -8321,32 +7493,6 @@ __metadata: languageName: node linkType: hard -"deep-equal@npm:^2.0.5": - version: 2.2.1 - resolution: "deep-equal@npm:2.2.1" - dependencies: - array-buffer-byte-length: "npm:^1.0.0" - call-bind: "npm:^1.0.2" - es-get-iterator: "npm:^1.1.3" - get-intrinsic: "npm:^1.2.0" - is-arguments: "npm:^1.1.1" - is-array-buffer: "npm:^3.0.2" - is-date-object: "npm:^1.0.5" - is-regex: "npm:^1.1.4" - is-shared-array-buffer: "npm:^1.0.2" - isarray: "npm:^2.0.5" - object-is: "npm:^1.1.5" - object-keys: "npm:^1.1.1" - object.assign: "npm:^4.1.4" - regexp.prototype.flags: "npm:^1.5.0" - side-channel: "npm:^1.0.4" - which-boxed-primitive: "npm:^1.0.2" - which-collection: "npm:^1.0.1" - which-typed-array: "npm:^1.1.9" - checksum: 10/c3a1a2c07f9b05c334e3a5e5173f61d024aae9030e725c182fde2e8c743cc8bfb80c5800eea5ad31423cd0d6ecd9f484f12792af9cfc46af898da26d2cba4200 - languageName: node - linkType: hard - "deep-is@npm:^0.1.3": version: 0.1.4 resolution: "deep-is@npm:0.1.4" @@ -8527,24 +7673,6 @@ __metadata: languageName: node linkType: hard -"dom-accessibility-api@npm:^0.5.9": - version: 0.5.16 - resolution: "dom-accessibility-api@npm:0.5.16" - checksum: 10/377b4a7f9eae0a5d72e1068c369c99e0e4ca17fdfd5219f3abd32a73a590749a267475a59d7b03a891f9b673c27429133a818c44b2e47e32fec024b34274e2ca - languageName: node - linkType: hard - -"dom-serializer@npm:^1.0.1": - version: 1.4.1 - resolution: "dom-serializer@npm:1.4.1" - dependencies: - domelementtype: "npm:^2.0.1" - domhandler: "npm:^4.2.0" - entities: "npm:^2.0.0" - checksum: 10/53b217bcfed4a0f90dd47f34f239b1c81fff53ffa39d164d722325817fdb554903b145c2d12c8421ce0df7d31c1b180caf7eacd3c86391dd925f803df8027dcc - languageName: node - linkType: hard - "dom-serializer@npm:^2.0.0": version: 2.0.0 resolution: "dom-serializer@npm:2.0.0" @@ -8563,22 +7691,13 @@ __metadata: languageName: node linkType: hard -"domelementtype@npm:^2.0.1, domelementtype@npm:^2.2.0, domelementtype@npm:^2.3.0": +"domelementtype@npm:^2.3.0": version: 2.3.0 resolution: "domelementtype@npm:2.3.0" checksum: 10/ee837a318ff702622f383409d1f5b25dd1024b692ef64d3096ff702e26339f8e345820f29a68bcdcea8cfee3531776b3382651232fbeae95612d6f0a75efb4f6 languageName: node linkType: hard -"domhandler@npm:^4.2.0, domhandler@npm:^4.3.1": - version: 4.3.1 - resolution: "domhandler@npm:4.3.1" - dependencies: - domelementtype: "npm:^2.2.0" - checksum: 10/e0d2af7403997a3ca040a9ace4a233b75ebe321e0ef628b417e46d619d65d47781b2f2038b6c2ef6e56e73e66aec99caf6a12c7e687ecff18ef74af6dfbde5de - languageName: node - linkType: hard - "domhandler@npm:^5.0.2, domhandler@npm:^5.0.3": version: 5.0.3 resolution: "domhandler@npm:5.0.3" @@ -8588,17 +7707,6 @@ __metadata: languageName: node linkType: hard -"domutils@npm:^2.8.0": - version: 2.8.0 - resolution: "domutils@npm:2.8.0" - dependencies: - dom-serializer: "npm:^1.0.1" - domelementtype: "npm:^2.2.0" - domhandler: "npm:^4.2.0" - checksum: 10/1f316a03f00b09a8893d4a25d297d5cbffd02c564509dede28ef72d5ce38d93f6d61f1de88d439f31b14a1d9b42f587ed711b9e8b1b4d3bf6001399832bfc4e0 - languageName: node - linkType: hard - "domutils@npm:^3.0.1": version: 3.1.0 resolution: "domutils@npm:3.1.0" @@ -8666,15 +7774,6 @@ __metadata: languageName: node linkType: hard -"ed2curve@npm:^0.3.0": - version: 0.3.0 - resolution: "ed2curve@npm:0.3.0" - dependencies: - tweetnacl: "npm:1.x.x" - checksum: 10/b5551bea14bd101a0d674114b1240abcdde11b475f48ab0b8d4d52452257f87ee27b1848d5760b8356224b6ef82b0746a9ac100f5090b4a4de00a3984526b61a - languageName: node - linkType: hard - "ee-first@npm:1.1.1": version: 1.1.1 resolution: "ee-first@npm:1.1.1" @@ -8689,13 +7788,6 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.4.668": - version: 1.4.745 - resolution: "electron-to-chromium@npm:1.4.745" - checksum: 10/790c04406e09529845f77f1dd946156ca0ff129a5fb713a0b798ba19952b8109ec8e9b3894160267357a03a3df8bd10c1bfece9bf4143a89acfbc6f202ce7f48 - languageName: node - linkType: hard - "electron-to-chromium@npm:^1.4.796": version: 1.4.811 resolution: "electron-to-chromium@npm:1.4.811" @@ -8835,13 +7927,6 @@ __metadata: languageName: node linkType: hard -"entities@npm:^2.0.0": - version: 2.2.0 - resolution: "entities@npm:2.2.0" - checksum: 10/2c765221ee324dbe25e1b8ca5d1bf2a4d39e750548f2e85cbf7ca1d167d709689ddf1796623e66666ae747364c11ed512c03b48c5bbe70968d30f2a4009509b7 - languageName: node - linkType: hard - "entities@npm:^4.2.0, entities@npm:^4.5.0": version: 4.5.0 resolution: "entities@npm:4.5.0" @@ -8863,15 +7948,6 @@ __metadata: languageName: node linkType: hard -"error-ex@npm:^1.3.1": - version: 1.3.2 - resolution: "error-ex@npm:1.3.2" - dependencies: - is-arrayish: "npm:^0.2.1" - checksum: 10/d547740aa29c34e753fb6fed2c5de81802438529c12b3673bd37b6bb1fe49b9b7abdc3c11e6062fe625d8a296b3cf769a80f878865e25e685f787763eede3ffb - languageName: node - linkType: hard - "es-abstract@npm:^1.19.0, es-abstract@npm:^1.20.4": version: 1.21.2 resolution: "es-abstract@npm:1.21.2" @@ -8991,23 +8067,6 @@ __metadata: languageName: node linkType: hard -"es-get-iterator@npm:^1.1.3": - version: 1.1.3 - resolution: "es-get-iterator@npm:1.1.3" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.1.3" - has-symbols: "npm:^1.0.3" - is-arguments: "npm:^1.1.1" - is-map: "npm:^2.0.2" - is-set: "npm:^2.0.2" - is-string: "npm:^1.0.7" - isarray: "npm:^2.0.5" - stop-iteration-iterator: "npm:^1.0.0" - checksum: 10/bc2194befbe55725f9489098626479deee3c801eda7e83ce0dff2eb266a28dc808edb9b623ff01d31ebc1328f09d661333d86b601036692c2e3c1a6942319433 - languageName: node - linkType: hard - "es-object-atoms@npm:^1.0.0": version: 1.0.0 resolution: "es-object-atoms@npm:1.0.0" @@ -9386,13 +8445,6 @@ __metadata: languageName: node linkType: hard -"estree-walker@npm:^0.6.1": - version: 0.6.1 - resolution: "estree-walker@npm:0.6.1" - checksum: 10/b8da7815030c4e0b735f5f8af370af09525e052ee14e539cecabc24ad6da1782448778361417e7c438091a59e7ca9f4a0c11642f7da4f2ebf1ba7a150a590bcc - languageName: node - linkType: hard - "estree-walker@npm:^2.0.1, estree-walker@npm:^2.0.2": version: 2.0.2 resolution: "estree-walker@npm:2.0.2" @@ -9511,20 +8563,13 @@ __metadata: languageName: node linkType: hard -"eventemitter3@npm:5.0.1, eventemitter3@npm:^5.0.0, eventemitter3@npm:^5.0.1": +"eventemitter3@npm:5.0.1, eventemitter3@npm:^5.0.1": version: 5.0.1 resolution: "eventemitter3@npm:5.0.1" checksum: 10/ac6423ec31124629c84c7077eed1e6987f6d66c31cf43c6fcbf6c87791d56317ce808d9ead483652436df171b526fc7220eccdc9f3225df334e81582c3cf7dd5 languageName: node linkType: hard -"eventemitter3@npm:^4.0.4, eventemitter3@npm:^4.0.7": - version: 4.0.7 - resolution: "eventemitter3@npm:4.0.7" - checksum: 10/8030029382404942c01d0037079f1b1bc8fed524b5849c237b80549b01e2fc49709e1d0c557fa65ca4498fc9e24cff1475ef7b855121fcc15f9d61f93e282346 - languageName: node - linkType: hard - "events@npm:3.3.0, events@npm:^3.0.0, events@npm:^3.3.0": version: 3.3.0 resolution: "events@npm:3.3.0" @@ -9870,17 +8915,6 @@ __metadata: languageName: node linkType: hard -"form-data@npm:^3.0.0": - version: 3.0.1 - resolution: "form-data@npm:3.0.1" - dependencies: - asynckit: "npm:^0.4.0" - combined-stream: "npm:^1.0.8" - mime-types: "npm:^2.1.12" - checksum: 10/944b40ff63b9cb1ca7a97e70f72104c548e0b0263e3e817e49919015a0d687453086259b93005389896dbffd3777cccea2e67c51f4e827590e5979b14ff91bf7 - languageName: node - linkType: hard - "form-data@npm:^4.0.0": version: 4.0.0 resolution: "form-data@npm:4.0.0" @@ -9949,17 +8983,6 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^10.0.0": - version: 10.1.0 - resolution: "fs-extra@npm:10.1.0" - dependencies: - graceful-fs: "npm:^4.2.0" - jsonfile: "npm:^6.0.1" - universalify: "npm:^2.0.0" - checksum: 10/05ce2c3b59049bcb7b52001acd000e44b3c4af4ec1f8839f383ef41ec0048e3cfa7fd8a637b1bddfefad319145db89be91f4b7c1db2908205d38bf91e7d1d3b7 - languageName: node - linkType: hard - "fs-minipass@npm:^2.0.0": version: 2.1.0 resolution: "fs-minipass@npm:2.1.0" @@ -10084,15 +9107,6 @@ __metadata: languageName: node linkType: hard -"generic-names@npm:^4.0.0": - version: 4.0.0 - resolution: "generic-names@npm:4.0.0" - dependencies: - loader-utils: "npm:^3.2.0" - checksum: 10/ef05166395a17fbdcc7ceaa59635318b6ae89125391780c4d4abbc1e7ae7a6e07a31602fbc785860cf701cee08f790f71e286676c80db634f56d3d1af2703319 - languageName: node - linkType: hard - "gensync@npm:^1.0.0-beta.2": version: 1.0.0-beta.2 resolution: "gensync@npm:1.0.0-beta.2" @@ -10310,7 +9324,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.6": +"graceful-fs@npm:^4.2.6": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 10/bf152d0ed1dc159239db1ba1f74fdbc40cb02f626770dcd5815c427ce0688c2635a06ed69af364396da4636d0408fcf7d4afdf7881724c3307e46aff30ca49e2 @@ -10648,22 +9662,6 @@ __metadata: languageName: node linkType: hard -"icss-replace-symbols@npm:^1.1.0": - version: 1.1.0 - resolution: "icss-replace-symbols@npm:1.1.0" - checksum: 10/24575b2c2f7e762bfc6f4beee31be9ba98a01cad521b5aa9954090a5de2b5e1bf67814c17e22f9e51b7d798238db8215a173d6c2b4726ce634ce06b68ece8045 - languageName: node - linkType: hard - -"icss-utils@npm:^5.0.0, icss-utils@npm:^5.1.0": - version: 5.1.0 - resolution: "icss-utils@npm:5.1.0" - peerDependencies: - postcss: ^8.1.0 - checksum: 10/5c324d283552b1269cfc13a503aaaa172a280f914e5b81544f3803bc6f06a3b585fb79f66f7c771a2c052db7982c18bf92d001e3b47282e3abbbb4c4cc488d68 - languageName: node - linkType: hard - "idb-keyval@npm:^6.2.1": version: 6.2.1 resolution: "idb-keyval@npm:6.2.1" @@ -10685,15 +9683,6 @@ __metadata: languageName: node linkType: hard -"import-cwd@npm:^3.0.0": - version: 3.0.0 - resolution: "import-cwd@npm:3.0.0" - dependencies: - import-from: "npm:^3.0.0" - checksum: 10/f2c4230e8389605154a390124381f9136811306ae4ba1c8017398c3c6926bc5cf75cf89350372b4938f79792ea373776b4efabd27506440ec301ce34c4e867eb - languageName: node - linkType: hard - "import-fresh@npm:^3.0.0, import-fresh@npm:^3.2.1": version: 3.3.0 resolution: "import-fresh@npm:3.3.0" @@ -10704,15 +9693,6 @@ __metadata: languageName: node linkType: hard -"import-from@npm:^3.0.0": - version: 3.0.0 - resolution: "import-from@npm:3.0.0" - dependencies: - resolve-from: "npm:^5.0.0" - checksum: 10/5040a7400e77e41e2c3bb6b1b123b52a15a284de1ffc03d605879942c00e3a87428499d8d031d554646108a0f77652549411167f6a7788e4fc7027eefccf3356 - languageName: node - linkType: hard - "imurmurhash@npm:^0.1.4": version: 0.1.4 resolution: "imurmurhash@npm:0.1.4" @@ -10751,7 +9731,7 @@ __metadata: languageName: node linkType: hard -"internal-slot@npm:^1.0.3, internal-slot@npm:^1.0.4, internal-slot@npm:^1.0.5": +"internal-slot@npm:^1.0.3, internal-slot@npm:^1.0.5": version: 1.0.5 resolution: "internal-slot@npm:1.0.5" dependencies: @@ -10803,7 +9783,7 @@ __metadata: languageName: node linkType: hard -"is-arguments@npm:^1.0.4, is-arguments@npm:^1.1.1": +"is-arguments@npm:^1.0.4": version: 1.1.1 resolution: "is-arguments@npm:1.1.1" dependencies: @@ -10834,13 +9814,6 @@ __metadata: languageName: node linkType: hard -"is-arrayish@npm:^0.2.1": - version: 0.2.1 - resolution: "is-arrayish@npm:0.2.1" - checksum: 10/73ced84fa35e59e2c57da2d01e12cd01479f381d7f122ce41dcbb713f09dbfc651315832cd2bf8accba7681a69e4d6f1e03941d94dd10040d415086360e7005e - languageName: node - linkType: hard - "is-bigint@npm:^1.0.1": version: 1.0.4 resolution: "is-bigint@npm:1.0.4" @@ -10903,7 +9876,7 @@ __metadata: languageName: node linkType: hard -"is-date-object@npm:^1.0.1, is-date-object@npm:^1.0.5": +"is-date-object@npm:^1.0.1": version: 1.0.5 resolution: "is-date-object@npm:1.0.5" dependencies: @@ -10987,13 +9960,6 @@ __metadata: languageName: node linkType: hard -"is-map@npm:^2.0.1, is-map@npm:^2.0.2": - version: 2.0.2 - resolution: "is-map@npm:2.0.2" - checksum: 10/60ba910f835f2eacb1fdf5b5a6c60fe1c702d012a7673e6546992bcc0c873f62ada6e13d327f9e48f1720d49c152d6cdecae1fa47a261ef3d247c3ce6f0e1d39 - languageName: node - linkType: hard - "is-nan@npm:^1.3.2": version: 1.3.2 resolution: "is-nan@npm:1.3.2" @@ -11072,13 +10038,6 @@ __metadata: languageName: node linkType: hard -"is-set@npm:^2.0.1, is-set@npm:^2.0.2": - version: 2.0.2 - resolution: "is-set@npm:2.0.2" - checksum: 10/d89e82acdc7760993474f529e043f9c4a1d63ed4774d21cc2e331d0e401e5c91c27743cd7c889137028f6a742234759a4bd602368fbdbf0b0321994aefd5603f - languageName: node - linkType: hard - "is-shared-array-buffer@npm:^1.0.2": version: 1.0.2 resolution: "is-shared-array-buffer@npm:1.0.2" @@ -11151,20 +10110,6 @@ __metadata: languageName: node linkType: hard -"is-typedarray@npm:^1.0.0": - version: 1.0.0 - resolution: "is-typedarray@npm:1.0.0" - checksum: 10/4b433bfb0f9026f079f4eb3fbaa4ed2de17c9995c3a0b5c800bec40799b4b2a8b4e051b1ada77749deb9ded4ae52fe2096973f3a93ff83df1a5a7184a669478c - languageName: node - linkType: hard - -"is-weakmap@npm:^2.0.1": - version: 2.0.1 - resolution: "is-weakmap@npm:2.0.1" - checksum: 10/289fa4e8ba1bdda40ca78481266f6925b7c46a85599e6a41a77010bf91e5a24dfb660db96863bbf655ecdbda0ab517204d6a4e0c151dbec9d022c556321f3776 - languageName: node - linkType: hard - "is-weakref@npm:^1.0.2": version: 1.0.2 resolution: "is-weakref@npm:1.0.2" @@ -11174,16 +10119,6 @@ __metadata: languageName: node linkType: hard -"is-weakset@npm:^2.0.1": - version: 2.0.2 - resolution: "is-weakset@npm:2.0.2" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.1.1" - checksum: 10/8f2ddb9639716fd7936784e175ea1183c5c4c05274c34f34f6a53175313cb1c9c35a8b795623306995e2f7cc8f25aa46302f15a2113e51c5052d447be427195c - languageName: node - linkType: hard - "is-wsl@npm:^3.1.0": version: 3.1.0 resolution: "is-wsl@npm:3.1.0" @@ -11367,13 +10302,6 @@ __metadata: languageName: node linkType: hard -"json-parse-even-better-errors@npm:^2.3.0": - version: 2.3.1 - resolution: "json-parse-even-better-errors@npm:2.3.1" - checksum: 10/5f3a99009ed5f2a5a67d06e2f298cc97bc86d462034173308156f15b43a6e850be8511dc204b9b94566305da2947f7d90289657237d210351a39059ff9d666cf - languageName: node - linkType: hard - "json-rpc-engine@npm:^6.1.0": version: 6.1.0 resolution: "json-rpc-engine@npm:6.1.0" @@ -11421,19 +10349,6 @@ __metadata: languageName: node linkType: hard -"jsonfile@npm:^6.0.1": - version: 6.1.0 - resolution: "jsonfile@npm:6.1.0" - dependencies: - graceful-fs: "npm:^4.1.6" - universalify: "npm:^2.0.0" - dependenciesMeta: - graceful-fs: - optional: true - checksum: 10/03014769e7dc77d4cf05fa0b534907270b60890085dd5e4d60a382ff09328580651da0b8b4cdf44d91e4c8ae64d91791d965f05707beff000ed494a38b6fec85 - languageName: node - linkType: hard - "jsonwebtoken@npm:8.5.0": version: 8.5.0 resolution: "jsonwebtoken@npm:8.5.0" @@ -11526,7 +10441,7 @@ __metadata: languageName: node linkType: hard -"lilconfig@npm:^2.0.3, lilconfig@npm:^2.0.5, lilconfig@npm:^2.1.0": +"lilconfig@npm:^2.1.0": version: 2.1.0 resolution: "lilconfig@npm:2.1.0" checksum: 10/b1314a2e55319013d5e7d7d08be39015829d2764a1eaee130129545d40388499d81b1c31b0f9b3417d4db12775a88008b72ec33dd06e0184cf7503b32ca7cc0b @@ -11682,13 +10597,6 @@ __metadata: languageName: node linkType: hard -"loader-utils@npm:^3.2.0": - version: 3.2.1 - resolution: "loader-utils@npm:3.2.1" - checksum: 10/177f5bb9b4c651263714fcd1b50682c1367b06893462529f510287775f9e461ca27a41bf364c8dffa9cd74ed9e8b1fdb30c03a526f6bcf12573bdc1a1644d086 - languageName: node - linkType: hard - "locate-path@npm:^5.0.0": version: 5.0.0 resolution: "locate-path@npm:5.0.0" @@ -11707,13 +10615,6 @@ __metadata: languageName: node linkType: hard -"lodash.camelcase@npm:^4.3.0": - version: 4.3.0 - resolution: "lodash.camelcase@npm:4.3.0" - checksum: 10/c301cc379310441dc73cd6cebeb91fb254bea74e6ad3027f9346fc43b4174385153df420ffa521654e502fd34c40ef69ca4e7d40ee7129a99e06f306032bfc65 - languageName: node - linkType: hard - "lodash.debounce@npm:^4.0.8": version: 4.0.8 resolution: "lodash.debounce@npm:4.0.8" @@ -11770,13 +10671,6 @@ __metadata: languageName: node linkType: hard -"lodash.memoize@npm:^4.1.2": - version: 4.1.2 - resolution: "lodash.memoize@npm:4.1.2" - checksum: 10/192b2168f310c86f303580b53acf81ab029761b9bd9caa9506a019ffea5f3363ea98d7e39e7e11e6b9917066c9d36a09a11f6fe16f812326390d8f3a54a1a6da - languageName: node - linkType: hard - "lodash.merge@npm:^4.6.2": version: 4.6.2 resolution: "lodash.merge@npm:4.6.2" @@ -11791,13 +10685,6 @@ __metadata: languageName: node linkType: hard -"lodash.uniq@npm:^4.5.0": - version: 4.5.0 - resolution: "lodash.uniq@npm:4.5.0" - checksum: 10/86246ca64ac0755c612e5df6d93cfe92f9ecac2e5ff054b965efbbb1d9a647b6310969e78545006f70f52760554b03233ad0103324121ae31474c20d5f7a2812 - languageName: node - linkType: hard - "lodash@npm:4.17.11": version: 4.17.11 resolution: "lodash@npm:4.17.11" @@ -11805,7 +10692,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:4.17.21, lodash@npm:^4.17.21": +"lodash@npm:4.17.21": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: 10/c08619c038846ea6ac754abd6dd29d2568aa705feb69339e836dfa8d8b09abbb2f859371e86863eda41848221f9af43714491467b5b0299122431e202bb0c532 @@ -11832,7 +10719,7 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0": +"loose-envify@npm:^1.0.0, loose-envify@npm:^1.4.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" dependencies: @@ -11916,15 +10803,6 @@ __metadata: languageName: node linkType: hard -"lz-string@npm:^1.5.0": - version: 1.5.0 - resolution: "lz-string@npm:1.5.0" - bin: - lz-string: bin/bin.js - checksum: 10/e86f0280e99a8d8cd4eef24d8601ddae15ce54e43ac9990dfcb79e1e081c255ad24424a30d78d2ad8e51a8ce82a66a930047fed4b4aa38c6f0b392ff9300edfc - languageName: node - linkType: hard - "magic-string@npm:0.30.5": version: 0.30.5 resolution: "magic-string@npm:0.30.5" @@ -12002,13 +10880,6 @@ __metadata: languageName: node linkType: hard -"mdn-data@npm:2.0.14": - version: 2.0.14 - resolution: "mdn-data@npm:2.0.14" - checksum: 10/64c629fcf14807e30d6dc79f97cbcafa16db066f53a294299f3932b3beb0eb0d1386d3a7fe408fc67348c449a4e0999360c894ba4c81eb209d7be4e36503de0e - languageName: node - linkType: hard - "media-typer@npm:0.3.0": version: 0.3.0 resolution: "media-typer@npm:0.3.0" @@ -12096,7 +10967,7 @@ __metadata: languageName: node linkType: hard -"mime-types@npm:^2.1.12, mime-types@npm:^2.1.34, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": +"mime-types@npm:^2.1.12, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": version: 2.1.35 resolution: "mime-types@npm:2.1.35" dependencies: @@ -12334,13 +11205,6 @@ __metadata: languageName: node linkType: hard -"mock-socket@npm:^9.2.1": - version: 9.2.1 - resolution: "mock-socket@npm:9.2.1" - checksum: 10/7c2da199dfa1400e394c7b55dc02f736a25c1388c848c5fc6321b4f4cb2a0d52263b44d3bad3b100653781497cb90b8c2cd18d7d42fe20b40e956bdc003576d1 - languageName: node - linkType: hard - "mock-socket@npm:^9.3.1": version: 9.3.1 resolution: "mock-socket@npm:9.3.1" @@ -12479,18 +11343,6 @@ __metadata: languageName: node linkType: hard -"nock@npm:^13.3.0": - version: 13.3.1 - resolution: "nock@npm:13.3.1" - dependencies: - debug: "npm:^4.1.0" - json-stringify-safe: "npm:^5.0.1" - lodash: "npm:^4.17.21" - propagate: "npm:^2.0.0" - checksum: 10/0177db9aa4fa1ab6825307130c4fe3ae03e3dd3000cfda1cb0f0c50b146e14448735080177f3ba655a2e5e0d340bfc539e38c20b8db7ae94e99c6b3988c39e32 - languageName: node - linkType: hard - "nock@npm:^13.5.4": version: 13.5.5 resolution: "nock@npm:13.5.5" @@ -12548,17 +11400,6 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^3.3.0": - version: 3.3.1 - resolution: "node-fetch@npm:3.3.1" - dependencies: - data-uri-to-buffer: "npm:^4.0.0" - fetch-blob: "npm:^3.1.4" - formdata-polyfill: "npm:^4.0.10" - checksum: 10/9fed9ed9ab83f719ffbe51b5029f32ee9820a725afc57a3e6a7e5742a05dd38b22d005f2d03d70e8e0924b497e513b08992843bb1bc7f0a15b72ad071d8c1271 - languageName: node - linkType: hard - "node-fetch@npm:^3.3.2": version: 3.3.2 resolution: "node-fetch@npm:3.3.2" @@ -12738,13 +11579,6 @@ __metadata: languageName: node linkType: hard -"normalize-url@npm:^6.0.1": - version: 6.1.0 - resolution: "normalize-url@npm:6.1.0" - checksum: 10/5ae699402c9d5ffa330adc348fcd6fc6e6a155ab7c811b96e30b7ecab60ceef821d8f86443869671dda71bbc47f4b9625739c82ad247e883e9aefe875bfb8659 - languageName: node - linkType: hard - "npm-run-path@npm:^5.1.0": version: 5.3.0 resolution: "npm-run-path@npm:5.3.0" @@ -13022,13 +11856,6 @@ __metadata: languageName: node linkType: hard -"p-finally@npm:^1.0.0": - version: 1.0.0 - resolution: "p-finally@npm:1.0.0" - checksum: 10/93a654c53dc805dd5b5891bab16eb0ea46db8f66c4bfd99336ae929323b1af2b70a8b0654f8f1eae924b2b73d037031366d645f1fd18b3d30cbd15950cc4b1d4 - languageName: node - linkType: hard - "p-limit@npm:^2.2.0": version: 2.3.0 resolution: "p-limit@npm:2.3.0" @@ -13074,25 +11901,6 @@ __metadata: languageName: node linkType: hard -"p-queue@npm:^6.6.2": - version: 6.6.2 - resolution: "p-queue@npm:6.6.2" - dependencies: - eventemitter3: "npm:^4.0.4" - p-timeout: "npm:^3.2.0" - checksum: 10/60fe227ffce59fbc5b1b081305b61a2f283ff145005853702b7d4d3f99a0176bd21bb126c99a962e51fe1e01cb8aa10f0488b7bbe73b5dc2e84b5cc650b8ffd2 - languageName: node - linkType: hard - -"p-timeout@npm:^3.2.0": - version: 3.2.0 - resolution: "p-timeout@npm:3.2.0" - dependencies: - p-finally: "npm:^1.0.0" - checksum: 10/3dd0eaa048780a6f23e5855df3dd45c7beacff1f820476c1d0d1bcd6648e3298752ba2c877aa1c92f6453c7dd23faaf13d9f5149fc14c0598a142e2c5e8d649c - languageName: node - linkType: hard - "p-try@npm:^2.0.0": version: 2.2.0 resolution: "p-try@npm:2.2.0" @@ -13107,13 +11915,6 @@ __metadata: languageName: node linkType: hard -"pako@npm:^2.0.4": - version: 2.1.0 - resolution: "pako@npm:2.1.0" - checksum: 10/38a04991d0ec4f4b92794a68b8c92bf7340692c5d980255c92148da96eb3e550df7a86a7128b5ac0c65ecddfe5ef3bbe9c6dab13e1bc315086e759b18f7c1401 - languageName: node - linkType: hard - "pako@npm:~1.0.5": version: 1.0.11 resolution: "pako@npm:1.0.11" @@ -13144,18 +11945,6 @@ __metadata: languageName: node linkType: hard -"parse-json@npm:^5.0.0": - version: 5.2.0 - resolution: "parse-json@npm:5.2.0" - dependencies: - "@babel/code-frame": "npm:^7.0.0" - error-ex: "npm:^1.3.1" - json-parse-even-better-errors: "npm:^2.3.0" - lines-and-columns: "npm:^1.1.6" - checksum: 10/62085b17d64da57f40f6afc2ac1f4d95def18c4323577e1eced571db75d9ab59b297d1d10582920f84b15985cbfc6b6d450ccbf317644cfa176f3ed982ad87e2 - languageName: node - linkType: hard - "parseurl@npm:~1.3.2": version: 1.3.3 resolution: "parseurl@npm:1.3.3" @@ -13361,492 +12150,112 @@ __metadata: quick-format-unescaped: "npm:^4.0.3" real-require: "npm:^0.1.0" safe-stable-stringify: "npm:^2.1.0" - sonic-boom: "npm:^2.2.1" - thread-stream: "npm:^0.15.1" - bin: - pino: bin.js - checksum: 10/1c7b4b52fea76e0bc5d8b1190a0fee24279cb16d76fdb5833b32b64256fd8a94d641574b850faba5be72514f04045206b6d902a9a3f5ceae2a4296687088e073 - languageName: node - linkType: hard - -"pirates@npm:^4.0.1": - version: 4.0.6 - resolution: "pirates@npm:4.0.6" - checksum: 10/d02dda76f4fec1cbdf395c36c11cf26f76a644f9f9a1bfa84d3167d0d3154d5289aacc72677aa20d599bb4a6937a471de1b65c995e2aea2d8687cbcd7e43ea5f - languageName: node - linkType: hard - -"pkg-dir@npm:^5.0.0": - version: 5.0.0 - resolution: "pkg-dir@npm:5.0.0" - dependencies: - find-up: "npm:^5.0.0" - checksum: 10/b167bb8dac7bbf22b1d5e30ec223e6b064b84b63010c9d49384619a36734caf95ed23ad23d4f9bd975e8e8082b60a83395f43a89bb192df53a7c25a38ecb57d9 - languageName: node - linkType: hard - -"pkg-types@npm:^1.0.3": - version: 1.1.0 - resolution: "pkg-types@npm:1.1.0" - dependencies: - confbox: "npm:^0.1.7" - mlly: "npm:^1.6.1" - pathe: "npm:^1.1.2" - checksum: 10/c1e32a54a1ae00205eb769f6cdae1f0ed4389c785963875b2d53ce7445ac8f762d0e837a84b1ab802375f1f8f7fd0639ceaf81fc9bb9be84c360a3a9ddbddbae - languageName: node - linkType: hard - -"pngjs@npm:^5.0.0": - version: 5.0.0 - resolution: "pngjs@npm:5.0.0" - checksum: 10/345781644740779752505af2fea3e9043f6c7cc349b18e1fb8842796360d1624791f0c24d33c0f27b05658373f90ffaa177a849e932e5fea1f540cef3975f3c9 - languageName: node - linkType: hard - -"pony-cause@npm:^2.1.10": - version: 2.1.11 - resolution: "pony-cause@npm:2.1.11" - checksum: 10/ed7d0bb6e3e69f753080bf736b71f40e6ae4c13ec0c8c473ff73345345c088819966fdd68a62ad7482d464bf41176cf9421f5f63715d1a4532005eedc099db55 - languageName: node - linkType: hard - -"possible-typed-array-names@npm:^1.0.0": - version: 1.0.0 - resolution: "possible-typed-array-names@npm:1.0.0" - checksum: 10/8ed3e96dfeea1c5880c1f4c9cb707e5fb26e8be22f14f82ef92df20fd2004e635c62ba47fbe8f2bb63bfd80dac1474be2fb39798da8c2feba2815435d1f749af - languageName: node - linkType: hard - -"postcss-calc@npm:^8.2.3": - version: 8.2.4 - resolution: "postcss-calc@npm:8.2.4" - dependencies: - postcss-selector-parser: "npm:^6.0.9" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.2 - checksum: 10/f34d0cbc5d2b02071cf4de9bacbb93681c22b29048726b500b5f5327e37b590d2552ba4d8ed179e2378037fd09cc6bf5ee3e25cbd8a803c57205795fa79479a8 - languageName: node - linkType: hard - -"postcss-colormin@npm:^5.3.1": - version: 5.3.1 - resolution: "postcss-colormin@npm:5.3.1" - dependencies: - browserslist: "npm:^4.21.4" - caniuse-api: "npm:^3.0.0" - colord: "npm:^2.9.1" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/e5778baab30877cd1f51e7dc9d2242a162aeca6360a52956acd7f668c5bc235c2ccb7e4df0370a804d65ebe00c5642366f061db53aa823f9ed99972cebd16024 - languageName: node - linkType: hard - -"postcss-convert-values@npm:^5.1.3": - version: 5.1.3 - resolution: "postcss-convert-values@npm:5.1.3" - dependencies: - browserslist: "npm:^4.21.4" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/dacb41296a4d730c9e84c1b6ba8a13f6515b65811689b8b62ad6c7174bb462b5c0bfa21803cc06d1d3af16dbc8f4be1e225970844297fab0bedfe2fef8dc603e - languageName: node - linkType: hard - -"postcss-discard-comments@npm:^5.1.2": - version: 5.1.2 - resolution: "postcss-discard-comments@npm:5.1.2" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/abfd064ebc27aeaf5037643dd51ffaff74d1fa4db56b0523d073ace4248cbb64ffd9787bd6924b0983a9d0bd0e9bf9f10d73b120e50391dc236e0d26c812fa2a - languageName: node - linkType: hard - -"postcss-discard-duplicates@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-discard-duplicates@npm:5.1.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/88d6964201b1f4ed6bf7a32cefe68e86258bb6e42316ca01d9b32bdb18e7887d02594f89f4a2711d01b51ea6e3fcca8c54be18a59770fe5f4521c61d3eb6ca35 - languageName: node - linkType: hard - -"postcss-discard-empty@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-discard-empty@npm:5.1.1" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/970adb12fae5c214c0768236ad9a821552626e77dedbf24a8213d19cc2c4a531a757cd3b8cdd3fc22fb1742471b8692a1db5efe436a71236dec12b1318ee8ff4 - languageName: node - linkType: hard - -"postcss-discard-overridden@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-discard-overridden@npm:5.1.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/d64d4a545aa2c81b22542895cfcddc787d24119f294d35d29b0599a1c818b3cc51f4ee80b80f5a0a09db282453dd5ac49f104c2117cc09112d0ac9b40b499a41 - languageName: node - linkType: hard - -"postcss-import@npm:^15.1.0": - version: 15.1.0 - resolution: "postcss-import@npm:15.1.0" - dependencies: - postcss-value-parser: "npm:^4.0.0" - read-cache: "npm:^1.0.0" - resolve: "npm:^1.1.7" - peerDependencies: - postcss: ^8.0.0 - checksum: 10/33c91b7e6b794b5c33d7d7d4730e5f0729c131d2de1ada7fcc116955625a78c3ce613983f019fa9447681795cf3f851e9c38dfbe3f48a2d08a8aef917c70a32a - languageName: node - linkType: hard - -"postcss-js@npm:^4, postcss-js@npm:^4.0.1": - version: 4.0.1 - resolution: "postcss-js@npm:4.0.1" - dependencies: - camelcase-css: "npm:^2.0.1" - peerDependencies: - postcss: ^8.4.21 - checksum: 10/ef2cfe8554daab4166cfcb290f376e7387964c36503f5bd42008778dba735685af8d4f5e0aba67cae999f47c855df40a1cd31ae840e0df320ded36352581045e - languageName: node - linkType: hard - -"postcss-load-config@npm:^3.0.0": - version: 3.1.4 - resolution: "postcss-load-config@npm:3.1.4" - dependencies: - lilconfig: "npm:^2.0.5" - yaml: "npm:^1.10.2" - peerDependencies: - postcss: ">=8.0.9" - ts-node: ">=9.0.0" - peerDependenciesMeta: - postcss: - optional: true - ts-node: - optional: true - checksum: 10/75fa409d77b96e6f53e99f680c550f25ca8922c1150d3d368ded1f6bd8e0d4d67a615fe1f1c5d409aefb6e66fb4b5e48e86856d581329913de84578def078b19 - languageName: node - linkType: hard - -"postcss-load-config@npm:^4.0.1": - version: 4.0.2 - resolution: "postcss-load-config@npm:4.0.2" - dependencies: - lilconfig: "npm:^3.0.0" - yaml: "npm:^2.3.4" - peerDependencies: - postcss: ">=8.0.9" - ts-node: ">=9.0.0" - peerDependenciesMeta: - postcss: - optional: true - ts-node: - optional: true - checksum: 10/e2c2ed9b7998a5b123e1ce0c124daf6504b1454c67dcc1c8fdbcc5ffb2597b7de245e3ac34f63afc928d3fd3260b1e36492ebbdb01a9ff63f16b3c8b7b925d1b - languageName: node - linkType: hard - -"postcss-merge-longhand@npm:^5.1.7": - version: 5.1.7 - resolution: "postcss-merge-longhand@npm:5.1.7" - dependencies: - postcss-value-parser: "npm:^4.2.0" - stylehacks: "npm:^5.1.1" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/9002696bb245634c0542af9356b44082a4c1453261a1daac6ea2f85055a5d6e14ac3ae2ba603f5eae767ebfe0e1ef50c40447b099520b8f5fa14b557da8074ad - languageName: node - linkType: hard - -"postcss-merge-rules@npm:^5.1.4": - version: 5.1.4 - resolution: "postcss-merge-rules@npm:5.1.4" - dependencies: - browserslist: "npm:^4.21.4" - caniuse-api: "npm:^3.0.0" - cssnano-utils: "npm:^3.1.0" - postcss-selector-parser: "npm:^6.0.5" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/659c3eaff9d573f07c227a7e4811159898f49a89b02bbd3a65a0ed7aaa434264443ab539bcbc273bf08986e6a185bd62af0847c9836f9e2901c5f07937c14f3f - languageName: node - linkType: hard - -"postcss-minify-font-values@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-minify-font-values@npm:5.1.0" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/27e7023f06149e14db6cd30b75d233c92d34609233775d8542fe1dc70fe53170a13188ba80847d6d4f6e272beb98b9888e0f73097757a95a968a0d526e3dd495 - languageName: node - linkType: hard - -"postcss-minify-gradients@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-minify-gradients@npm:5.1.1" - dependencies: - colord: "npm:^2.9.1" - cssnano-utils: "npm:^3.1.0" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/8afc4c2240c0ddeb37b18f34e6d47d374c500376342c509b0fe577c56f9e94315a42db99a9573159efaf8853c7a1b9fee83b2f6f890a49273f3556b1ba9dbdde - languageName: node - linkType: hard - -"postcss-minify-params@npm:^5.1.4": - version: 5.1.4 - resolution: "postcss-minify-params@npm:5.1.4" - dependencies: - browserslist: "npm:^4.21.4" - cssnano-utils: "npm:^3.1.0" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/bd63e2cc89edcf357bb5c2a16035f6d02ef676b8cede4213b2bddd42626b3d428403849188f95576fc9f03e43ebd73a29bf61d33a581be9a510b13b7f7f100d5 - languageName: node - linkType: hard - -"postcss-minify-selectors@npm:^5.2.1": - version: 5.2.1 - resolution: "postcss-minify-selectors@npm:5.2.1" - dependencies: - postcss-selector-parser: "npm:^6.0.5" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/59eca33eb9ce45b688cca33cf7bb96b07c874f6d2b90f4a3363bc95067c514825c61dd8775c9aa73a161c922333474e6f249cc58677cd77b2be8cc04019e0810 - languageName: node - linkType: hard - -"postcss-modules-extract-imports@npm:^3.0.0": - version: 3.1.0 - resolution: "postcss-modules-extract-imports@npm:3.1.0" - peerDependencies: - postcss: ^8.1.0 - checksum: 10/00bfd3aff045fc13ded8e3bbfd8dfc73eff9a9708db1b2a132266aef6544c8d2aee7a5d7e021885f6f9bbd5565a9a9ab52990316e21ad9468a2534f87df8e849 - languageName: node - linkType: hard - -"postcss-modules-local-by-default@npm:^4.0.0": - version: 4.0.5 - resolution: "postcss-modules-local-by-default@npm:4.0.5" - dependencies: - icss-utils: "npm:^5.0.0" - postcss-selector-parser: "npm:^6.0.2" - postcss-value-parser: "npm:^4.1.0" - peerDependencies: - postcss: ^8.1.0 - checksum: 10/b08b01aa7f3d1a80bb1a5508ba3a208578fdd2fb6e54e5613fac244a4e014aa7ca639a614859fec93b399e5a6f86938f7690ca60f7e57c4e35b75621d3c07734 - languageName: node - linkType: hard - -"postcss-modules-scope@npm:^3.0.0": - version: 3.2.0 - resolution: "postcss-modules-scope@npm:3.2.0" - dependencies: - postcss-selector-parser: "npm:^6.0.4" - peerDependencies: - postcss: ^8.1.0 - checksum: 10/17c293ad13355ba456498aa5815ddb7a4a736f7b781d89b294e1602a53b8d0e336131175f82460e290a0d672642f9039540042edc361d9000b682c44e766925b - languageName: node - linkType: hard - -"postcss-modules-values@npm:^4.0.0": - version: 4.0.0 - resolution: "postcss-modules-values@npm:4.0.0" - dependencies: - icss-utils: "npm:^5.0.0" - peerDependencies: - postcss: ^8.1.0 - checksum: 10/18021961a494e69e65da9e42b4436144c9ecee65845c9bfeff2b7a26ea73d60762f69e288be8bb645447965b8fd6b26a264771136810dc0172bd31b940aee4f2 - languageName: node - linkType: hard - -"postcss-modules@npm:^4.0.0": - version: 4.3.1 - resolution: "postcss-modules@npm:4.3.1" - dependencies: - generic-names: "npm:^4.0.0" - icss-replace-symbols: "npm:^1.1.0" - lodash.camelcase: "npm:^4.3.0" - postcss-modules-extract-imports: "npm:^3.0.0" - postcss-modules-local-by-default: "npm:^4.0.0" - postcss-modules-scope: "npm:^3.0.0" - postcss-modules-values: "npm:^4.0.0" - string-hash: "npm:^1.1.1" - peerDependencies: - postcss: ^8.0.0 - checksum: 10/014329db47cc6a283bd1e1ac3490170b28461e8772019fe3d53445c549efec8763cb9315fe60db25f046142947dace736dca92ad2dd5c98b9b6699d701d907fe - languageName: node - linkType: hard - -"postcss-modules@npm:^6.0.0": - version: 6.0.0 - resolution: "postcss-modules@npm:6.0.0" - dependencies: - generic-names: "npm:^4.0.0" - icss-utils: "npm:^5.1.0" - lodash.camelcase: "npm:^4.3.0" - postcss-modules-extract-imports: "npm:^3.0.0" - postcss-modules-local-by-default: "npm:^4.0.0" - postcss-modules-scope: "npm:^3.0.0" - postcss-modules-values: "npm:^4.0.0" - string-hash: "npm:^1.1.1" - peerDependencies: - postcss: ^8.0.0 - checksum: 10/1992d19894a29867363b07b4cc9b0b4b50f6ba4d83a042c435ff4a89d4b3826ee4b809f208c71dc323f38437833a029714f626f5f065e8bb68279763f1ec2a9e - languageName: node - linkType: hard - -"postcss-nested@npm:^6.0.1": - version: 6.0.1 - resolution: "postcss-nested@npm:6.0.1" - dependencies: - postcss-selector-parser: "npm:^6.0.11" - peerDependencies: - postcss: ^8.2.14 - checksum: 10/02aaac682f599879fae6aab3210aee59b8b5bde3ba242527f6fd103726955b74ffa05c2b765920be5f403e758045582534d11b1e19add01586c19743ed99e3fe - languageName: node - linkType: hard - -"postcss-normalize-charset@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-charset@npm:5.1.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/e79d92971fc05b8b3c9b72f3535a574e077d13c69bef68156a0965f397fdf157de670da72b797f57b0e3bac8f38155b5dd1735ecab143b9cc4032d72138193b4 - languageName: node - linkType: hard - -"postcss-normalize-display-values@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-display-values@npm:5.1.0" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/b6eb7b9b02c3bdd62bbc54e01e2b59733d73a1c156905d238e178762962efe0c6f5104544da39f32cade8a4fb40f10ff54b63a8ebfbdff51e8780afb9fbdcf86 + sonic-boom: "npm:^2.2.1" + thread-stream: "npm:^0.15.1" + bin: + pino: bin.js + checksum: 10/1c7b4b52fea76e0bc5d8b1190a0fee24279cb16d76fdb5833b32b64256fd8a94d641574b850faba5be72514f04045206b6d902a9a3f5ceae2a4296687088e073 languageName: node linkType: hard -"postcss-normalize-positions@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-normalize-positions@npm:5.1.1" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/d9afc233729c496463c7b1cdd06732469f401deb387484c3a2422125b46ec10b4af794c101f8c023af56f01970b72b535e88373b9058ecccbbf88db81662b3c4 +"pirates@npm:^4.0.1": + version: 4.0.6 + resolution: "pirates@npm:4.0.6" + checksum: 10/d02dda76f4fec1cbdf395c36c11cf26f76a644f9f9a1bfa84d3167d0d3154d5289aacc72677aa20d599bb4a6937a471de1b65c995e2aea2d8687cbcd7e43ea5f languageName: node linkType: hard -"postcss-normalize-repeat-style@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-normalize-repeat-style@npm:5.1.1" +"pkg-dir@npm:^5.0.0": + version: 5.0.0 + resolution: "pkg-dir@npm:5.0.0" dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/2c6ad2b0ae10a1fda156b948c34f78c8f1e185513593de4d7e2480973586675520edfec427645fa168c337b0a6b3ceca26f92b96149741ca98a9806dad30d534 + find-up: "npm:^5.0.0" + checksum: 10/b167bb8dac7bbf22b1d5e30ec223e6b064b84b63010c9d49384619a36734caf95ed23ad23d4f9bd975e8e8082b60a83395f43a89bb192df53a7c25a38ecb57d9 languageName: node linkType: hard -"postcss-normalize-string@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-string@npm:5.1.0" +"pkg-types@npm:^1.0.3": + version: 1.1.0 + resolution: "pkg-types@npm:1.1.0" dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/227ddf520266d2f9847e799b9977aaa444636ba94e473137739539ef02e7cb6302826585ffda9897cfe2a9953e65632a08279cb1f572ca95e53d8b3dd6ba737f + confbox: "npm:^0.1.7" + mlly: "npm:^1.6.1" + pathe: "npm:^1.1.2" + checksum: 10/c1e32a54a1ae00205eb769f6cdae1f0ed4389c785963875b2d53ce7445ac8f762d0e837a84b1ab802375f1f8f7fd0639ceaf81fc9bb9be84c360a3a9ddbddbae languageName: node linkType: hard -"postcss-normalize-timing-functions@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-timing-functions@npm:5.1.0" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/da550f50e90b0b23e17b67449a7d1efd1aa68288e66d4aa7614ca6f5cc012896be1972b7168eee673d27da36504faccf7b9f835c0f7e81243f966a42c8c030aa +"pngjs@npm:^5.0.0": + version: 5.0.0 + resolution: "pngjs@npm:5.0.0" + checksum: 10/345781644740779752505af2fea3e9043f6c7cc349b18e1fb8842796360d1624791f0c24d33c0f27b05658373f90ffaa177a849e932e5fea1f540cef3975f3c9 languageName: node linkType: hard -"postcss-normalize-unicode@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-normalize-unicode@npm:5.1.1" - dependencies: - browserslist: "npm:^4.21.4" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/4c24d26cc9f4b19a9397db4e71dd600dab690f1de8e14a3809e2aa1452dbc3791c208c38a6316bbc142f29e934fdf02858e68c94038c06174d78a4937e0f273c +"pony-cause@npm:^2.1.10": + version: 2.1.11 + resolution: "pony-cause@npm:2.1.11" + checksum: 10/ed7d0bb6e3e69f753080bf736b71f40e6ae4c13ec0c8c473ff73345345c088819966fdd68a62ad7482d464bf41176cf9421f5f63715d1a4532005eedc099db55 languageName: node linkType: hard -"postcss-normalize-url@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-url@npm:5.1.0" - dependencies: - normalize-url: "npm:^6.0.1" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/3bd4b3246d6600230bc827d1760b24cb3101827ec97570e3016cbe04dc0dd28f4dbe763245d1b9d476e182c843008fbea80823061f1d2219b96f0d5c724a24c0 +"possible-typed-array-names@npm:^1.0.0": + version: 1.0.0 + resolution: "possible-typed-array-names@npm:1.0.0" + checksum: 10/8ed3e96dfeea1c5880c1f4c9cb707e5fb26e8be22f14f82ef92df20fd2004e635c62ba47fbe8f2bb63bfd80dac1474be2fb39798da8c2feba2815435d1f749af languageName: node linkType: hard -"postcss-normalize-whitespace@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-normalize-whitespace@npm:5.1.1" +"postcss-import@npm:^15.1.0": + version: 15.1.0 + resolution: "postcss-import@npm:15.1.0" dependencies: - postcss-value-parser: "npm:^4.2.0" + postcss-value-parser: "npm:^4.0.0" + read-cache: "npm:^1.0.0" + resolve: "npm:^1.1.7" peerDependencies: - postcss: ^8.2.15 - checksum: 10/12d8fb6d1c1cba208cc08c1830959b7d7ad447c3f5581873f7e185f99a9a4230c43d3af21ca12c818e4690a5085a95b01635b762ad4a7bef69d642609b4c0e19 + postcss: ^8.0.0 + checksum: 10/33c91b7e6b794b5c33d7d7d4730e5f0729c131d2de1ada7fcc116955625a78c3ce613983f019fa9447681795cf3f851e9c38dfbe3f48a2d08a8aef917c70a32a languageName: node linkType: hard -"postcss-ordered-values@npm:^5.1.3": - version: 5.1.3 - resolution: "postcss-ordered-values@npm:5.1.3" +"postcss-js@npm:^4, postcss-js@npm:^4.0.1": + version: 4.0.1 + resolution: "postcss-js@npm:4.0.1" dependencies: - cssnano-utils: "npm:^3.1.0" - postcss-value-parser: "npm:^4.2.0" + camelcase-css: "npm:^2.0.1" peerDependencies: - postcss: ^8.2.15 - checksum: 10/53dd26f480a18ffb0c008ae956d8a7e11e43c37629d0fb17a7716ff3b0cd8585f97e80deac12e7f3fe129681a980d83d356217b0b8fffb70ff83859993d6d82a + postcss: ^8.4.21 + checksum: 10/ef2cfe8554daab4166cfcb290f376e7387964c36503f5bd42008778dba735685af8d4f5e0aba67cae999f47c855df40a1cd31ae840e0df320ded36352581045e languageName: node linkType: hard -"postcss-reduce-initial@npm:^5.1.2": - version: 5.1.2 - resolution: "postcss-reduce-initial@npm:5.1.2" +"postcss-load-config@npm:^4.0.1": + version: 4.0.2 + resolution: "postcss-load-config@npm:4.0.2" dependencies: - browserslist: "npm:^4.21.4" - caniuse-api: "npm:^3.0.0" + lilconfig: "npm:^3.0.0" + yaml: "npm:^2.3.4" peerDependencies: - postcss: ^8.2.15 - checksum: 10/6234a85dab32cc3ece384f62c761c5c0dd646e2c6a419d93ee7cdb78b657e43381df39bd4620dfbdc2157e44b51305e4ebe852259d12c8b435f1aa534548db3e + postcss: ">=8.0.9" + ts-node: ">=9.0.0" + peerDependenciesMeta: + postcss: + optional: true + ts-node: + optional: true + checksum: 10/e2c2ed9b7998a5b123e1ce0c124daf6504b1454c67dcc1c8fdbcc5ffb2597b7de245e3ac34f63afc928d3fd3260b1e36492ebbdb01a9ff63f16b3c8b7b925d1b languageName: node linkType: hard -"postcss-reduce-transforms@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-reduce-transforms@npm:5.1.0" +"postcss-nested@npm:^6.0.1": + version: 6.0.1 + resolution: "postcss-nested@npm:6.0.1" dependencies: - postcss-value-parser: "npm:^4.2.0" + postcss-selector-parser: "npm:^6.0.11" peerDependencies: - postcss: ^8.2.15 - checksum: 10/49fffd474070a154764934b42d7d875ceadf54219f8346b4cadf931728ffba6a2dea7532ced3d267fd42d81c102211a5bf957af3b63b1ac428d454fa6ec2dbf4 + postcss: ^8.2.14 + checksum: 10/02aaac682f599879fae6aab3210aee59b8b5bde3ba242527f6fd103726955b74ffa05c2b765920be5f403e758045582534d11b1e19add01586c19743ed99e3fe languageName: node linkType: hard @@ -13860,47 +12269,14 @@ __metadata: languageName: node linkType: hard -"postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.0.5, postcss-selector-parser@npm:^6.0.9": - version: 6.0.16 - resolution: "postcss-selector-parser@npm:6.0.16" - dependencies: - cssesc: "npm:^3.0.0" - util-deprecate: "npm:^1.0.2" - checksum: 10/9324f63992c6564d392f9f6b16c56c05f157256e3be2d55d1234f7728252257dfd6b870a65a5d04ee3ceb9d9e7b78c043f630a58c9869b4b0481d6e064edc2cf - languageName: node - linkType: hard - -"postcss-svgo@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-svgo@npm:5.1.0" - dependencies: - postcss-value-parser: "npm:^4.2.0" - svgo: "npm:^2.7.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/d86eb5213d9f700cf5efe3073799b485fb7cacae0c731db3d7749c9c2b1c9bc85e95e0baeca439d699ff32ea24815fc916c4071b08f67ed8219df229ce1129bd - languageName: node - linkType: hard - -"postcss-unique-selectors@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-unique-selectors@npm:5.1.1" - dependencies: - postcss-selector-parser: "npm:^6.0.5" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/637e7b786e8558265775c30400c54b6b3b24d4748923f4a39f16a65fd0e394f564ccc9f0a1d3c0e770618a7637a7502ea1d0d79f731d429cb202255253c23278 - languageName: node - linkType: hard - -"postcss-value-parser@npm:^4.0.0, postcss-value-parser@npm:^4.1.0, postcss-value-parser@npm:^4.2.0": +"postcss-value-parser@npm:^4.0.0, postcss-value-parser@npm:^4.2.0": version: 4.2.0 resolution: "postcss-value-parser@npm:4.2.0" checksum: 10/e4e4486f33b3163a606a6ed94f9c196ab49a37a7a7163abfcd469e5f113210120d70b8dd5e33d64636f41ad52316a3725655421eb9a1094f1bcab1db2f555c62 languageName: node linkType: hard -"postcss@npm:^8, postcss@npm:^8.4.23, postcss@npm:^8.4.31, postcss@npm:^8.4.38, postcss@npm:^8.4.5": +"postcss@npm:^8.4.23, postcss@npm:^8.4.38": version: 8.4.38 resolution: "postcss@npm:8.4.38" dependencies: @@ -13959,17 +12335,6 @@ __metadata: languageName: node linkType: hard -"pretty-format@npm:^27.0.2": - version: 27.5.1 - resolution: "pretty-format@npm:27.5.1" - dependencies: - ansi-regex: "npm:^5.0.1" - ansi-styles: "npm:^5.0.0" - react-is: "npm:^17.0.1" - checksum: 10/248990cbef9e96fb36a3e1ae6b903c551ca4ddd733f8d0912b9cc5141d3d0b3f9f8dfb4d799fb1c6723382c9c2083ffbfa4ad43ff9a0e7535d32d41fd5f01da6 - languageName: node - linkType: hard - "process-nextick-args@npm:~2.0.0": version: 2.0.1 resolution: "process-nextick-args@npm:2.0.1" @@ -14017,13 +12382,6 @@ __metadata: languageName: node linkType: hard -"promise.series@npm:^0.2.0": - version: 0.2.0 - resolution: "promise.series@npm:0.2.0" - checksum: 10/26b5956b5463d032b43d39fd8d34fdacf453ed3352462eed9626494a11d44beb385f86d6544dd12e51482a6ca8f303e0dfdee8653db4703213ba27dd2234754a - languageName: node - linkType: hard - "prop-types@npm:^15.8.1": version: 15.8.1 resolution: "prop-types@npm:15.8.1" @@ -14166,7 +12524,7 @@ __metadata: languageName: node linkType: hard -"query-string@npm:7.1.3, query-string@npm:^7.1.0": +"query-string@npm:7.1.3": version: 7.1.3 resolution: "query-string@npm:7.1.3" dependencies: @@ -14265,18 +12623,6 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^18.2.0": - version: 18.2.0 - resolution: "react-dom@npm:18.2.0" - dependencies: - loose-envify: "npm:^1.1.0" - scheduler: "npm:^0.23.0" - peerDependencies: - react: ^18.2.0 - checksum: 10/ca5e7762ec8c17a472a3605b6f111895c9f87ac7d43a610ab7024f68cd833d08eda0625ce02ec7178cc1f3c957cf0b9273cdc17aa2cd02da87544331c43b1d21 - languageName: node - linkType: hard - "react-hook-form@npm:^7.51.5": version: 7.52.0 resolution: "react-hook-form@npm:7.52.0" @@ -14293,13 +12639,6 @@ __metadata: languageName: node linkType: hard -"react-is@npm:^17.0.1": - version: 17.0.2 - resolution: "react-is@npm:17.0.2" - checksum: 10/73b36281e58eeb27c9cc6031301b6ae19ecdc9f18ae2d518bdb39b0ac564e65c5779405d623f1df9abf378a13858b79442480244bd579968afc1faf9a2ce5e05 - languageName: node - linkType: hard - "react-native-webview@npm:^11.26.0": version: 11.26.1 resolution: "react-native-webview@npm:11.26.1" @@ -14349,15 +12688,6 @@ __metadata: languageName: node linkType: hard -"react@npm:^18.2.0": - version: 18.2.0 - resolution: "react@npm:18.2.0" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10/b9214a9bd79e99d08de55f8bef2b7fc8c39630be97c4e29d7be173d14a9a10670b5325e94485f74cd8bff4966ef3c78ee53c79a7b0b9b70cba20aa8973acc694 - languageName: node - linkType: hard - "read-cache@npm:^1.0.0": version: 1.0.0 resolution: "read-cache@npm:1.0.0" @@ -14487,7 +12817,7 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.4.3, regexp.prototype.flags@npm:^1.5.0": +"regexp.prototype.flags@npm:^1.4.3": version: 1.5.0 resolution: "regexp.prototype.flags@npm:1.5.0" dependencies: @@ -14549,13 +12879,6 @@ __metadata: languageName: node linkType: hard -"reserved-words@npm:^0.1.2": - version: 0.1.2 - resolution: "reserved-words@npm:0.1.2" - checksum: 10/72e80f71dcde1e2d697e102473ad6d597e1659118836092c63cc4db68a64857f07f509176d239c8675b24f7f03574336bf202a780cc1adb39574e2884d1fd1fa - languageName: node - linkType: hard - "resolve-from@npm:^4.0.0": version: 4.0.0 resolution: "resolve-from@npm:4.0.0" @@ -14563,14 +12886,7 @@ __metadata: languageName: node linkType: hard -"resolve-from@npm:^5.0.0": - version: 5.0.0 - resolution: "resolve-from@npm:5.0.0" - checksum: 10/be18a5e4d76dd711778664829841cde690971d02b6cbae277735a09c1c28f407b99ef6ef3cd585a1e6546d4097b28df40ed32c4a287b9699dcf6d7f208495e23 - languageName: node - linkType: hard - -"resolve@npm:^1.1.7, resolve@npm:^1.17.0, resolve@npm:^1.21.0, resolve@npm:^1.22.2": +"resolve@npm:^1.1.7, resolve@npm:^1.17.0, resolve@npm:^1.22.2": version: 1.22.8 resolution: "resolve@npm:1.22.8" dependencies: @@ -14583,7 +12899,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.14.2, resolve@npm:^1.19.0": +"resolve@npm:^1.14.2": version: 1.22.2 resolution: "resolve@npm:1.22.2" dependencies: @@ -14609,7 +12925,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.1.7#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.21.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.2#optional!builtin": +"resolve@patch:resolve@npm%3A^1.1.7#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.2#optional!builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" dependencies: @@ -14622,7 +12938,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin": +"resolve@patch:resolve@npm%3A^1.14.2#optional!builtin": version: 1.22.2 resolution: "resolve@patch:resolve@npm%3A1.22.2#optional!builtin::version=1.22.2&hash=c3c19d" dependencies: @@ -14700,80 +13016,6 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-postcss-modules@npm:^2.0.2": - version: 2.1.1 - resolution: "rollup-plugin-postcss-modules@npm:2.1.1" - dependencies: - camelcase: "npm:^6.0.0 || ^7.0.0" - postcss-modules: "npm:^6.0.0" - reserved-words: "npm:^0.1.2" - rollup-plugin-postcss: "npm:^4.0.2" - peerDependencies: - postcss: ^8.0.0 - checksum: 10/ce7a98e25f5ffe7e92d036f9bb6961ca5458ec729db8ba73bd88c13f3b2b0d5e6ca070591f0ad4fbcf35d469e1647350ba9d6257e16a1cbec5f757076b71fab9 - languageName: node - linkType: hard - -"rollup-plugin-postcss@npm:^4.0.2": - version: 4.0.2 - resolution: "rollup-plugin-postcss@npm:4.0.2" - dependencies: - chalk: "npm:^4.1.0" - concat-with-sourcemaps: "npm:^1.1.0" - cssnano: "npm:^5.0.1" - import-cwd: "npm:^3.0.0" - p-queue: "npm:^6.6.2" - pify: "npm:^5.0.0" - postcss-load-config: "npm:^3.0.0" - postcss-modules: "npm:^4.0.0" - promise.series: "npm:^0.2.0" - resolve: "npm:^1.19.0" - rollup-pluginutils: "npm:^2.8.2" - safe-identifier: "npm:^0.4.2" - style-inject: "npm:^0.3.0" - peerDependencies: - postcss: 8.x - checksum: 10/ee9485265fe69fde54340d4a324c8de15185c730861176cfd947b34532dc63445da6788dc17f3c641708fa4a87fe832c534bfad678b413bb3b4e2b8bdd292850 - languageName: node - linkType: hard - -"rollup-plugin-styles@npm:^4.0.0": - version: 4.0.0 - resolution: "rollup-plugin-styles@npm:4.0.0" - dependencies: - "@rollup/pluginutils": "npm:^4.1.2" - "@types/cssnano": "npm:^5.0.0" - cosmiconfig: "npm:^7.0.1" - cssnano: "npm:^5.0.15" - fs-extra: "npm:^10.0.0" - icss-utils: "npm:^5.1.0" - mime-types: "npm:^2.1.34" - p-queue: "npm:^6.6.2" - postcss: "npm:^8.4.5" - postcss-modules-extract-imports: "npm:^3.0.0" - postcss-modules-local-by-default: "npm:^4.0.0" - postcss-modules-scope: "npm:^3.0.0" - postcss-modules-values: "npm:^4.0.0" - postcss-value-parser: "npm:^4.2.0" - query-string: "npm:^7.1.0" - resolve: "npm:^1.21.0" - source-map-js: "npm:^1.0.1" - tslib: "npm:^2.3.1" - peerDependencies: - rollup: ^2.63.0 - checksum: 10/3c817d9979b13751a4295f4a23d2977bbbd86f748d637661ea09ae5994a55d560b391100386c46a2f2e6bf53f83d8f4ce055bbed89299a195f674d6f8c67e8de - languageName: node - linkType: hard - -"rollup-pluginutils@npm:^2.8.2": - version: 2.8.2 - resolution: "rollup-pluginutils@npm:2.8.2" - dependencies: - estree-walker: "npm:^0.6.1" - checksum: 10/f3dc20a8731523aff43e07fa50ed84857e9dd3ab81e2cfb0351d517c46820e585bfbd1530a5dddec3ac14d61d41eb9bf50b38ded987e558292790331cc5b0628 - languageName: node - linkType: hard - "rollup@npm:^4.13.0": version: 4.19.2 resolution: "rollup@npm:4.19.2" @@ -14846,7 +13088,7 @@ __metadata: languageName: node linkType: hard -"rxjs@npm:^7.2.0, rxjs@npm:^7.8.0, rxjs@npm:^7.8.1": +"rxjs@npm:^7.2.0, rxjs@npm:^7.8.1": version: 7.8.1 resolution: "rxjs@npm:7.8.1" dependencies: @@ -14881,13 +13123,6 @@ __metadata: languageName: node linkType: hard -"safe-identifier@npm:^0.4.2": - version: 0.4.2 - resolution: "safe-identifier@npm:0.4.2" - checksum: 10/c2697c0d2fe128aa5f5faa7bd3ccf02d06ba937cdff9b2f65afb247e222a1505fc414a3b6a04d2a6a71bb5a84b8bc345edc408fabc8afc498f04e367ddc02366 - languageName: node - linkType: hard - "safe-regex-test@npm:^1.0.0": version: 1.0.0 resolution: "safe-regex-test@npm:1.0.0" @@ -14931,15 +13166,6 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.23.0": - version: 0.23.0 - resolution: "scheduler@npm:0.23.0" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10/0c4557aa37bafca44ff21dc0ea7c92e2dbcb298bc62eae92b29a39b029134f02fb23917d6ebc8b1fa536b4184934314c20d8864d156a9f6357f3398aaf7bfda8 - languageName: node - linkType: hard - "semver@npm:^5.6.0": version: 5.7.2 resolution: "semver@npm:5.7.2" @@ -15251,20 +13477,13 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.0": +"source-map-js@npm:^1.2.0": version: 1.2.0 resolution: "source-map-js@npm:1.2.0" checksum: 10/74f331cfd2d121c50790c8dd6d3c9de6be21926de80583b23b37029b0f37aefc3e019fa91f9a10a5e120c08135297e1ecf312d561459c45908cb1e0e365f49e5 languageName: node linkType: hard -"source-map@npm:^0.6.1": - version: 0.6.1 - resolution: "source-map@npm:0.6.1" - checksum: 10/59ef7462f1c29d502b3057e822cdbdae0b0e565302c4dd1a95e11e793d8d9d62006cdc10e0fd99163ca33ff2071360cf50ee13f90440806e7ed57d81cba2f7ff - languageName: node - linkType: hard - "source-map@npm:^0.7.4": version: 0.7.4 resolution: "source-map@npm:0.7.4" @@ -15304,13 +13523,6 @@ __metadata: languageName: node linkType: hard -"stable@npm:^0.1.8": - version: 0.1.8 - resolution: "stable@npm:0.1.8" - checksum: 10/2ff482bb100285d16dd75cd8f7c60ab652570e8952c0bfa91828a2b5f646a0ff533f14596ea4eabd48bb7f4aeea408dce8f8515812b975d958a4cc4fa6b9dfeb - languageName: node - linkType: hard - "stack-trace@npm:0.0.10": version: 0.0.10 resolution: "stack-trace@npm:0.0.10" @@ -15395,15 +13607,6 @@ __metadata: languageName: node linkType: hard -"stop-iteration-iterator@npm:^1.0.0": - version: 1.0.0 - resolution: "stop-iteration-iterator@npm:1.0.0" - dependencies: - internal-slot: "npm:^1.0.4" - checksum: 10/2a23a36f4f6bfa63f46ae2d53a3f80fe8276110b95a55345d8ed3d92125413494033bc8697eb774e8f7aeb5725f70e3d69753caa2ecacdac6258c16fa8aa8b0f - languageName: node - linkType: hard - "stream-browserify@npm:^3.0.0": version: 3.0.0 resolution: "stream-browserify@npm:3.0.0" @@ -15447,13 +13650,6 @@ __metadata: languageName: node linkType: hard -"string-hash@npm:^1.1.1": - version: 1.1.3 - resolution: "string-hash@npm:1.1.3" - checksum: 10/104b8667a5e0dc71bfcd29fee09cb88c6102e27bfb07c55f95535d90587d016731d52299380052e514266f4028a7a5172e0d9ac58e2f8f5001be61dc77c0754d - languageName: node - linkType: hard - "string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" @@ -15638,25 +13834,6 @@ __metadata: languageName: node linkType: hard -"style-inject@npm:^0.3.0": - version: 0.3.0 - resolution: "style-inject@npm:0.3.0" - checksum: 10/fa5f5f6730c3eb4ccc5735347935703c7c02759d4ddb5983d037ed0efda3c50a80640c2fed4f4d4c5ea600c97cdfdb45f79f734630324fa21a3a86723c0472da - languageName: node - linkType: hard - -"stylehacks@npm:^5.1.1": - version: 5.1.1 - resolution: "stylehacks@npm:5.1.1" - dependencies: - browserslist: "npm:^4.21.4" - postcss-selector-parser: "npm:^6.0.4" - peerDependencies: - postcss: ^8.2.15 - checksum: 10/bddce1f5a8ba5a129995fc5585fa59fda6c8c580a8b39631955ee03810957eea62d13c7711a61f3a4f3bc2f9a4a9e019846f73b669c4aa0b5c52cd0198824b5c - languageName: node - linkType: hard - "sucrase@npm:^3.32.0": version: 3.35.0 resolution: "sucrase@npm:3.35.0" @@ -15707,23 +13884,6 @@ __metadata: languageName: node linkType: hard -"svgo@npm:^2.7.0": - version: 2.8.0 - resolution: "svgo@npm:2.8.0" - dependencies: - "@trysound/sax": "npm:0.2.0" - commander: "npm:^7.2.0" - css-select: "npm:^4.1.3" - css-tree: "npm:^1.1.3" - csso: "npm:^4.2.0" - picocolors: "npm:^1.0.0" - stable: "npm:^0.1.8" - bin: - svgo: bin/svgo - checksum: 10/2b74544da1a9521852fe2784252d6083b336e32528d0e424ee54d1613f17312edc7020c29fa399086560e96cba42ede4a2205328a08edeefa26de84cd769a64a - languageName: node - linkType: hard - "system-architecture@npm:^0.1.0": version: 0.1.0 resolution: "system-architecture@npm:0.1.0" @@ -16078,7 +14238,7 @@ __metadata: languageName: node linkType: hard -"tweetnacl@npm:1.x.x, tweetnacl@npm:^1.0.3": +"tweetnacl@npm:^1.0.3": version: 1.0.3 resolution: "tweetnacl@npm:1.0.3" checksum: 10/ca122c2f86631f3c0f6d28efb44af2a301d4a557a62a3e2460286b08e97567b258c2212e4ad1cfa22bd6a57edcdc54ba76ebe946847450ab0999e6d48ccae332 @@ -16195,25 +14355,6 @@ __metadata: languageName: node linkType: hard -"typedarray-to-buffer@npm:^3.1.5": - version: 3.1.5 - resolution: "typedarray-to-buffer@npm:3.1.5" - dependencies: - is-typedarray: "npm:^1.0.0" - checksum: 10/7c850c3433fbdf4d04f04edfc751743b8f577828b8e1eb93b95a3bce782d156e267d83e20fb32b3b47813e69a69ab5e9b5342653332f7d21c7d1210661a7a72c - languageName: node - linkType: hard - -"typescript@npm:^4.8.2": - version: 4.9.5 - resolution: "typescript@npm:4.9.5" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10/458f7220ab11e0fc191514cc41be1707645ec9a8c2d609448a448e18c522cef9646f58728f6811185a4c35613dacdf6c98cf8965c88b3541d0288c47291e4300 - languageName: node - linkType: hard - "typescript@npm:^5.3.3": version: 5.4.5 resolution: "typescript@npm:5.4.5" @@ -16224,16 +14365,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^4.8.2#optional!builtin": - version: 4.9.5 - resolution: "typescript@patch:typescript@npm%3A4.9.5#optional!builtin::version=4.9.5&hash=289587" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10/5659316360b5cc2d6f5931b346401fa534107b68b60179cf14970e27978f0936c1d5c46f4b5b8175f8cba0430f522b3ce355b4b724c0ea36ce6c0347fab25afd - languageName: node - linkType: hard - "typescript@patch:typescript@npm%3A^5.3.3#optional!builtin": version: 5.4.5 resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c" @@ -16350,13 +14481,6 @@ __metadata: languageName: node linkType: hard -"universalify@npm:^2.0.0": - version: 2.0.1 - resolution: "universalify@npm:2.0.1" - checksum: 10/ecd8469fe0db28e7de9e5289d32bd1b6ba8f7183db34f3bfc4ca53c49891c2d6aa05f3fb3936a81285a905cc509fb641a0c3fc131ec786167eff41236ae32e60 - languageName: node - linkType: hard - "unpipe@npm:1.0.0, unpipe@npm:~1.0.0": version: 1.0.0 resolution: "unpipe@npm:1.0.0" @@ -16469,20 +14593,6 @@ __metadata: languageName: node linkType: hard -"update-browserslist-db@npm:^1.0.13": - version: 1.0.13 - resolution: "update-browserslist-db@npm:1.0.13" - dependencies: - escalade: "npm:^3.1.1" - picocolors: "npm:^1.0.0" - peerDependencies: - browserslist: ">= 4.21.0" - bin: - update-browserslist-db: cli.js - checksum: 10/9074b4ef34d2ed931f27d390aafdd391ee7c45ad83c508e8fed6aaae1eb68f81999a768ed8525c6f88d4001a4fbf1b8c0268f099d0e8e72088ec5945ac796acf - languageName: node - linkType: hard - "update-browserslist-db@npm:^1.0.16": version: 1.0.16 resolution: "update-browserslist-db@npm:1.0.16" @@ -16950,8 +15060,7 @@ __metadata: "@reown/appkit-adapter-wagmi": "npm:^1.3.1" "@sentry/react": "npm:^8.36.0" "@sentry/vite-plugin": "npm:^2.22.6" - "@talismn/connect-components": "npm:^1.1.8" - "@talismn/connect-wallets": "npm:^1.2.5" + "@talismn/connect-components": "npm:^1.1.9" "@tanstack/react-query": "npm:^5.45.1" "@types/big.js": "npm:^6" "@types/bn.js": "npm:^5" @@ -17341,20 +15450,6 @@ __metadata: languageName: node linkType: hard -"websocket@npm:^1.0.34": - version: 1.0.34 - resolution: "websocket@npm:1.0.34" - dependencies: - bufferutil: "npm:^4.0.1" - debug: "npm:^2.2.0" - es5-ext: "npm:^0.10.50" - typedarray-to-buffer: "npm:^3.1.5" - utf-8-validate: "npm:^5.0.2" - yaeti: "npm:^0.0.6" - checksum: 10/b72e3dcc3fa92b4a4511f0df89b25feed6ab06979cb9e522d2736f09855f4bf7588d826773b9405fcf3f05698200eb55ba9da7ef333584653d4912a5d3b13c18 - languageName: node - linkType: hard - "whatwg-mimetype@npm:^3.0.0": version: 3.0.0 resolution: "whatwg-mimetype@npm:3.0.0" @@ -17385,18 +15480,6 @@ __metadata: languageName: node linkType: hard -"which-collection@npm:^1.0.1": - version: 1.0.1 - resolution: "which-collection@npm:1.0.1" - dependencies: - is-map: "npm:^2.0.1" - is-set: "npm:^2.0.1" - is-weakmap: "npm:^2.0.1" - is-weakset: "npm:^2.0.1" - checksum: 10/85c95fcf92df7972ce66bed879e53d9dc752a30ef08e1ca4696df56bcf1c302e3b9965a39b04a20fa280a997fad6c170eb0b4d62435569b7f6c0bc7be910572b - languageName: node - linkType: hard - "which-module@npm:^2.0.0": version: 2.0.1 resolution: "which-module@npm:2.0.1" @@ -17611,13 +15694,6 @@ __metadata: languageName: node linkType: hard -"yaeti@npm:^0.0.6": - version: 0.0.6 - resolution: "yaeti@npm:0.0.6" - checksum: 10/6db12c152f7c363b80071086a3ebf5032e03332604eeda988872be50d6c8469e1f13316175544fa320f72edad696c2d83843ad0ff370659045c1a68bcecfcfea - languageName: node - linkType: hard - "yallist@npm:^3.0.2": version: 3.1.1 resolution: "yallist@npm:3.1.1" @@ -17639,13 +15715,6 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^1.10.0, yaml@npm:^1.10.2": - version: 1.10.2 - resolution: "yaml@npm:1.10.2" - checksum: 10/e088b37b4d4885b70b50c9fa1b7e54bd2e27f5c87205f9deaffd1fb293ab263d9c964feadb9817a7b129a5bf30a06582cb08750f810568ecc14f3cdbabb79cb3 - languageName: node - linkType: hard - "yaml@npm:^2.3.4": version: 2.4.5 resolution: "yaml@npm:2.4.5" From 4c2933e054da47ed7afe27fd98217f3c68742396 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Wed, 20 Nov 2024 07:31:29 +0100 Subject: [PATCH 002/172] order all assets --- src/assets/PendulumLogo.tsx | 45 ------------- src/assets/PendulumPay_Logo.png | Bin 9485 -> 0 bytes src/assets/PendulumPay_Logo.svg | 60 ------------------ src/assets/{coins => }/arrow.svg | 0 src/assets/chains/assetHub.svg | 22 +++++++ src/assets/chains/polygon.svg | 4 ++ src/assets/{ => offramp}/alchemypay.svg | 0 src/assets/{ => offramp}/moonpay.svg | 0 src/assets/{ => offramp}/transak.svg | 0 src/assets/pendulum-icon-loading.svg | 28 -------- src/assets/pendulum-icon.svg | 19 ------ src/assets/{ => socials}/socials-discord.tsx | 0 src/assets/{ => socials}/socials-github.tsx | 0 src/assets/{ => socials}/socials-linkedin.tsx | 0 src/assets/{ => socials}/socials-medium.tsx | 0 src/assets/{ => socials}/socials-reddit.tsx | 0 src/assets/{ => socials}/socials-telegram.tsx | 0 src/assets/{ => socials}/socials-twitter.tsx | 0 src/assets/{ => socials}/telegram.svg | 0 src/assets/{ => wallets}/metamask-wallet.png | Bin src/assets/{ => wallets}/wallet-connect.svg | 0 21 files changed, 26 insertions(+), 152 deletions(-) delete mode 100644 src/assets/PendulumLogo.tsx delete mode 100644 src/assets/PendulumPay_Logo.png delete mode 100644 src/assets/PendulumPay_Logo.svg rename src/assets/{coins => }/arrow.svg (100%) create mode 100644 src/assets/chains/assetHub.svg create mode 100644 src/assets/chains/polygon.svg rename src/assets/{ => offramp}/alchemypay.svg (100%) rename src/assets/{ => offramp}/moonpay.svg (100%) rename src/assets/{ => offramp}/transak.svg (100%) delete mode 100644 src/assets/pendulum-icon-loading.svg delete mode 100755 src/assets/pendulum-icon.svg rename src/assets/{ => socials}/socials-discord.tsx (100%) rename src/assets/{ => socials}/socials-github.tsx (100%) rename src/assets/{ => socials}/socials-linkedin.tsx (100%) rename src/assets/{ => socials}/socials-medium.tsx (100%) rename src/assets/{ => socials}/socials-reddit.tsx (100%) rename src/assets/{ => socials}/socials-telegram.tsx (100%) rename src/assets/{ => socials}/socials-twitter.tsx (100%) rename src/assets/{ => socials}/telegram.svg (100%) rename src/assets/{ => wallets}/metamask-wallet.png (100%) rename src/assets/{ => wallets}/wallet-connect.svg (100%) diff --git a/src/assets/PendulumLogo.tsx b/src/assets/PendulumLogo.tsx deleted file mode 100644 index d19f779b..00000000 --- a/src/assets/PendulumLogo.tsx +++ /dev/null @@ -1,45 +0,0 @@ -interface Props { - className?: string; - light?: boolean; -} - -const PendulumLogo = ({ className, light }: Props) => - light ? ( - - - - - ) : ( - - - - - ); - -export default PendulumLogo; diff --git a/src/assets/PendulumPay_Logo.png b/src/assets/PendulumPay_Logo.png deleted file mode 100644 index a197273d53eaef788a120abd531b5c79f51fd32b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9485 zcmc(FWmuHmyZtCAC83mpbhi>x!q6=xFu)MfAYB3jNE&nxA`T(l4AKpPG)Ol{H%K>} z{l34?|LcD~oO7K|`(c1RJMMekYpweUQCF46$ECo9Kp^;v3No4y$X!10T!noX0=YvI z;<*fg&_WbtB(*%h?V!|DD7#MfF2!f5UchfWk>MDk10@U-%>#0#jIk2*>NnW&tj}V? zjYtTGq7(w2X+E`4_)JpV<{p1)%0~QMCQapl0hjrXO?0U&8KI1AJ%WImrvyh&+-~fU zEFllR;ZSv{Rx!Kd1C_#_+Swd7^xf1#iMVe%`rVx8sJmW8y~TTjSIu$iU*|$t;RW*> zKT|ovn)J)E>$Wth)+j4BugXNUp>yZ8^C;g$#WnTK=BGO*Rm(hSh%I9~$Z(cATdZCu z*o=`cwyq7)g1-&6_bgm8yzYr^C9C%estYZBTBfw ze|G4_j<`Cn?;k?yP>0>5ZR5l$x25*|=;*Sc7^wB3RN#=rftSa>!Z#EzKu}yBw;g=l z7XO*}OQ2Ylo9-Q^IaW_S(hvCu+IT&1dv*fdpgEe?+`dVj$ERW`ygC()P!l+tzrB)O z8g9DQs~t$uH40PhFH=+4+SiJ1P}$XmhyB7~+EY3Yt-~%t&dT0blCwYgQhwCkFk)%A zP&^}TKc|gfNhYAHQOzXi4|l;3@Kk2PI+V^SF^4WsFgQF3%AL+?+&!c@OpWg_bcSv6 zq-YbRA88)IdQxRKYM+XaGOTM#fH0>!wYh?TM=*VJC zvsZ|3S1JZ5B#O^t?arm)0enfkPmnM*%aPFMUDQsd;_UkqqTS4%+7jLMBv(SKbxD`F z!o<)U%WEgz?#m0M21c`(L3AhUd2+S5!)$d=O7w(JjIPlZ%}b5^z_ZM@Je&(bVm(iBclQPt6#4b%xEN1^h+Jbl`dJBI%UIU|8Tr-}c9P(TsC z5g~xH*+rF>GIQrYL%{hPLG6w&eAi?G{tNGG`X?B)9vg>`#-&4^kLGJ4n+xQ6gN zVcg>vi}NS`H;?sPAD60i%Wpf{r=$CPF&Zoea(+8LEIGbTdMr#$q857|)^|Q0)l15p`uN!EvO=j+tyAUWIVZ~9x3l%7;i2TIW)Y6Ex%FC~>0yJAS)v`&D zf#^gX>ft8G`Q&a(mom2bGNO zoJto4&M-Wl$+UL}9DH9USI48LB95}wCjuwK4Ht9uKTs77u@f%fG|> zU{QbZ8jO)RQ3gK8HO#Gz}?IWBn&!?O)6vTJq23vV?I>rWhUk_4=` zaq{sdt!<7l*@rSF;xs+z;EX>*Wncy9`*kC{#P&yH!$ZTcGKR8t9rmIbRsE)?AuAQX z_g_;x8iIqO^&S)5FkSe}jmdzuH_&!b$AcY6TZyG(T(Z@qt_Ox;+Ygbc^nM*?coaR! ztly!JBf}LYwO+(!e3!FgnLJi#Z;ioO;e+-IpeK}q)|c&abNHAVGB`#87Zoqq^x%q- zaUQN48wJe97~bE=?UKNyUI=<|@e^IQgd~r5nzm*obi8W3?_yv^n)p8dO)6$m?K5TE z$))zz!L_*QCf(e)zU9s#D!m^zSW{773~}Xd-h4VQNNyS;{_2Cz|G_fvm2deVT+OY8 zi6hGngJBZ(a;{c0%hzFsB>CP3i5%2B30j?~ILPx1ZZ)36z+9YFH9M^9p(eN#n;z4q zvyIJ~_@m3tTQ6o^*!#(O?VBmfx0z>5(I1Wt%5aIYG(zQ{i1@aujC7p-ouxS|F|RG`J$hcs8!oWtf$Zy4Zp;VzSAsm2u z(++$GRZrcX(&>Ud5t?9vMBh+X1jr;QrT3nv(@6JtHyo#EuALI5{4QpcBx2W71Td;Y zGG5yBvIZ^Se9VGxG1SlUchq#ys>Q3JZtJClLyNB1z4o~FRt=X^u6apr)-XjsuY0`a zcgPy9vAqtk85%|3P_?0}F&d6ZBEu)x?z09dUIxE6{Lpe?-~qW@CQw(~g&hAshCfjd ze@g2U$e;ToI1mR3)PL_m&fR4fCopfi!O^c9ovcbU0&QK8H>R><$8m!V|VQXQ*T;?WB%lL zry4(jbtYx86P=HS1DW)oae99T8LVxwwWrLh_0^9H#I@N?GeT3&hUJxqkyF1dY?}3l zjneeSCExS!x73a(xlnJ|n=p}$@vOF0ytgzbhgi}%erd_p)&Q?gd27lPi<{0uzqbBn zj$8Kbm?%8>Ocek^GLV)LIo@dmDR!7TD~LH?$73np2$4<|%r) zy8Dy$-stpA%fO}5Z{?2EzMdEUAcIU76ppa;GL%@!BF#%4+K_af=O=S@kw{2?Dj?v1 zPD;jxcE6X=oV0>2U(^mz&W0#g3Q*ZQ$2Z(B>r2s;8l<`Ua_i>D%sibH@>c)eDqmA^ zE_N9Q>E+?Mr+M&8Tb)Eq$>_@AZ9-wzTziikyV!p!%d7d!oq->tg(1;T;?SMBe3!z! zdAedTzB2HxsB^W89zPOq`ir3Dn4!BN+=`R&Wmt1iPbqg6=7ZU+oRalnGRy!67X5&T zli;^{EIVAtP6x|(23j>H0YjJ%!)uwI@A3v0o<58WFWti^Ak2?POl1;3Zsb?hvW5Cd zj1J|uUHmCg-M2clm~Z#Alhj5X)s6oH!0Z#c=H=T22B4Z|-ZdvxQRFPq+u-|62d-tK z<`Z9;8acTU1=ruE;yFgYV1&pkW!co41gQramK>*%esK5WU&U=klXD0{uWJRYWZn9j zPf$1##&ad=Z7T2YumVSdf;@dZnM?R4JsC#NF8o>9n*3|>vAGue>S!ppNsqcZveiUm zRj%am3&creMTNp-yq%fZaP5fTZw`ysznRp@zAJ}0J{a)T%W=Wu2eeEXK_cglvyUqQ zHQ(hJ8O}R8((>QTyc#FK`zN8rsRD5CjGH8i#K=j#`)zOrU?t#oBBYvE8)Kr3#)UMD z`fl36-zrrE$*-hAeu!=+?sIScSbTqqpGb7v$AH$qI3v%%LM8-is2yja)N>jUO?T5Q zo9C(_PD@+*dzk)3{~eT~Wxop%Z|1+#jJ5s<;^WW#zy5IMtzE1y#K|r0o1|-W`Q^5a zdXI9Q>e9J2#VJJUWmT1cCb#P+rlU>wi0iRi&JRx(jb#SSUJ&kbrbVC^?8#H7d$0z0&Fl&RV_E0U;D$e|(HbisPJA7hZF zTw6;W2{2=@OK*^7W`ITuPF67S=#(gmYeIvwCD_q0$kWc`))=d5@0BwralDkJ-RU7# z*L>yYza><=X{6-7@=lxt$3Uvk7g-L$=}2z-(s(Z634OC z98j~BB?(4VIoPa_k5Wfg3QFaav|7_0owT1w9L`Mw0e_AshD^wjRf*7Jr7rH@74D-mJVT}F@UxyDTRXlybKZ#2bL3WtA{ z5;M&2ko8j+UIvlHcoF2CWRO?FT4b?)#x{BgK7Vnj!};{s!}v?JNYU$qP;}zCv}Jjh zE0NO7hjl_Sf-q+8k=bEc+#Gp8OM)X)V~ZHEjVWNNe7{m{YB)0DQbm>C5&ja|icNvd zEENqma-hZ3E2C#o^Z1`FFvp$&UGNJCS=7J+AB=yFG^$F~j*$PHV&YJs`_yv_>?~_- zDq0bRs@E=dDXjz^pTsBJUjhsB}oKupbV+H zeRkEFd*RvjdWUjdfG&Yf=yd<6e$fJDS*H4dedwM3=f^}Uq$?RY@)NtE6AvGUg%91R zfE{Zub)BqRH%So%!v%MT;JaJmB`Sav*V#FPYRlvTxi*~!|L zEN^wyDbvJBz&A3?Wbrzmkp1bCkPfnVaib}oT>pYfT;F<4F%Bh*rx`#PZDiy`kcoZY zKDC9(3Gud`=rZaq?wprww1up*rI&X;P1p-x1tn~~W<&-Li zpOhGC88fRcWQ<8xI8n_C4`fvS&vx7+>2Rs~QO={rcthv6+DE6&ASWdE8EqV_jlXL3 z{a*QzZ_Fkz#C*_6KdwNN;6||X(UnFmN>NYGD1*vC`-oF_h+8s2lUsDEe^4+@SBTz3 zDC?OZjqD|5mXxI`ValJ!_`UZcvig|w{nL(Oa2dr~5_e+cf?>HiuZ1hap{XphP1jd< zya;XLV3izg_xj%{Zl4uz3tJeIi*2DIE4rqYi9he$VN2#kKbl({Z7@3KKr}`QoOgHq z!*49eYe!x`!c5PTiF+lIRBkMfWk?n*AVInv`*+33;A6j&C@~lQmaw+{YiTjV%&(J! zFXY#IfYgWCyH!}RpYjTCabes4DEQnTV`A!66mP?RoQBkSzp>Xy>zV=MY_1YHRL)Wv z{=LEB^K(bHEfR9AAr{b>_u@QzBRS?eO@*&a7l653lLy}HXD z#AVCATcneW!Z$!%D2?rveX;C?@9Fs*ez`B*+0Ao2qd6qXu6ZJ@x@uRDPcOpfWtMeE!AT_+I=7AlrL8 z%`w@Mzh{sjft)K`+Y%ic`z|s)A^5vMqdNXo-bqVro#U}6{t;Z?Mzo>s@Dg1~ z#^K6rfa}Z&3KMUl?t=OwN>@Z)B**t3ahX9@4kHT_5|n?Qc7Ey34#CIY?u*LNddwk* z6N-5xF<0B&#C6io)3w{tt?h0l^l>?(nlO*mrU*642#`vptKG{oCYPro=lhD1($R|a4=+IB@DTnup%y>bs({Rq1yiNsXT_&d(D zDAe<= z93BL+z50)XY*k@Vde27mn)RfuoNegWQV}J!u%OTRx2ica`Ev;5ufS_tS9F7sPw`o!v!h_8X@(*V~th;ImhxK`anAgXkdiN!V3X3~w z-9Ej3p{o6%H*eHm)+Bam!@reKjW7E@7CDr54{GIl)X1MQ;j_?tryDqf;4Fv*OYoz< z6;yIU{|@zr&TdHB;cV>v(f%;r9%Eg;9f)^0ns&;Z-(#LoCpAu z5mQp(=0yCm1xfw-Y%vO0L{l0EYX=MrW-%IKR{0`gtGh2JdX^pLlNWiOK>C?Sh7)3I z|8)bPr~ZKN0yU?EfY}c=Y8t#rilv16z&LHJ?9(DH-`~(8mbg2v8QzKy7P_<2!F*aik~2$t+lT!dt_+RK7pv4a$Cc3ODfryArIZ-=@9QUCE$NiLSV>GIw0_a12?pK?E2{ZF!F7*s)*Ic5&v(3)*aO17h z6{>Y#Do$yfGGb1gnRtXLIi(8lwEo}VH@);I^9b=plyz`;mogg#HK-Jyjhm5U27ETj z#gtzN#KyM3cuV2h6Mn|My2AURnBq>lU$2Zt|6kiP3Eikq#jVpAgWj(xm}P|Bh^H}r zGFZ7AfuIY6-sZf&HT@Q3Q z>ZYVX@Ob0{9m=AekBTvNX5wr01@U#&2*yYWfpp?Pq^um^SoZto_$azPgsE3VQJ}io z+RV=3zz!d*pQFO|2WGVEyQDH3)lc?*V=ADq#RXq_f1;bu*}Z;wnSe? zzZ<$JNbbb~D6P!VWKEbJ-fhhJwA~DkRJD0s^9VLMgTiw4pgzJsqR0>1{$#LzmZ!vx ze}rh5Vu{yZ+HFK&!{*$8U==``JzO|1ZeQQIPu)=4_bAkIDYUH zkg-C&1JA7)2PEbioZ05mgL?%`tM8lOe!-?x=fBo7B-0_2m{x}FjXFM5R)4Zoes;uk4Y#{(MV1n41ef8UHiXzN z>0p)Q)kmv|psiDW1ssD7oaC=(sl(e%`)ju&;`5|JVsGo!S&>jhtg(!KPkgtseryFp z1JABnPS(O}WaY5Z4-ynAzKm@VrT+d}7v3|}y#$z@-xhgo?FGWn%C5Epo;c%MS9@M? z5CC+HrYCT-P6pdXle@n^>akV&!B~lvX_v2czQ1;;`GPbueElIQkwOAj(Mx0mPFrL% z5UBfBo7@%5#zFC~`o!W{k{IVh`&GO9jS&~2ZLE_@XNy90(a>(Uod4J!xsyOn02YGO z8L5+r2Y%FldTDE$bBKYVZl3L!^kFCoLB*7Wp0WMnYQ>bU__kY58yjtN=&%%(TlZc=;FE7VN>X z+gNWaVUG8qr-|=7E1uWypY0NBIe$Wq~ALNb&-%1%;%U*>?LdRENMCdYr-d$th-00lKUUY*#5-m9b&tbjX7VzvQ~VX0_IQw!~s*`df}p97p^j*B30C}+FX&lmD{ zzTWKr4a=_46~d*0W;M+Nk&+p@VG0TYE6dzv9Zzn5Y8NPV53&fU8#(u)Cmw#O_If4o zTMr6u?1k4~BWAEsv-X3;Q~aY^G%=#ENVYpWUYI02TS3UdZ{`y_;Pux*Eb*j$V(mY{ znn8efU$g`3tv{tKMTP8wNqFvIv@EHPZ0r;RU=%aHlz?`xc`BIVNfKS$M?`sGuFGui z_V0nxG+7F_>Lz_+9`hQIq!szW$u9jOHjnTmOv%U8!d4d7W^p9}hEU0|Xq_R>8bq5f z$e8$7vQ{h+wc6K3T)-*Oe4#B1JwsO_H{vunKB5ZrI!sPb-O0#}v3Zv!>z8@@3G3v_?tu7ENyQfGdqX4$cuKNE?k zhcCk8S?sowAP8P0gl(n5X?(nhMo5@MME8 zNLn8VeBPON_nXgS!39ywT8DT2W4D`6>}&dyjw$_4QHfwR2RpW$7~o!jQ=BMN?*3#z zb`hVsbF?^|n12`#yv^JkThHZhs`IF_+T)k3>^OQI8FXC}Q5hn})UMjuSICr}q%*Qh zQaFQ9{V{c|xhT3GIpf)scpl`N0USqQOdv_-Lp^~}k6)fQ3bugf64CP?H!aQYU2Ujk zmo={)1fnjxs^PKyBD3BpLNH1yc6j|rOKXr5ymyftJJ-T_2f`VvYh>1^iLb_^F(YVc zIyg6*rf=D`^Fs*&S(D)H8uDw3U2UI5hNRVccxv|!!48HX5cd0ZHgSb|1txD>cppxn z0@&@4V4tppd(F;RkUwE|iLIbCRxz5O6?Sy9H7Bf)Z70obZkYE0l|Ng|&UJS6+!X6J zH)RgveY_3SMl}E1GK+$nEW7h_2dFw1mfX!j4NE8fSS~;@o!T@Wb6Po2^ zfR!m+);*@Pm0<4N$EsB-Mm(R+?inRlfIrWLfS*C$KCnN_#-;DP15_;df1JS5qg8T_ zpcE%_Of*o3f9Pi(3UJ3y|CJ)On*r*}p-li80vd)u>~K&H5^ZjT_p6#ja6ur|4-@s6 z$zu5(p|{RZKd1U@(d)cJunM6k - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/coins/arrow.svg b/src/assets/arrow.svg similarity index 100% rename from src/assets/coins/arrow.svg rename to src/assets/arrow.svg diff --git a/src/assets/chains/assetHub.svg b/src/assets/chains/assetHub.svg new file mode 100644 index 00000000..322c339a --- /dev/null +++ b/src/assets/chains/assetHub.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + diff --git a/src/assets/chains/polygon.svg b/src/assets/chains/polygon.svg new file mode 100644 index 00000000..522d7d9b --- /dev/null +++ b/src/assets/chains/polygon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/alchemypay.svg b/src/assets/offramp/alchemypay.svg similarity index 100% rename from src/assets/alchemypay.svg rename to src/assets/offramp/alchemypay.svg diff --git a/src/assets/moonpay.svg b/src/assets/offramp/moonpay.svg similarity index 100% rename from src/assets/moonpay.svg rename to src/assets/offramp/moonpay.svg diff --git a/src/assets/transak.svg b/src/assets/offramp/transak.svg similarity index 100% rename from src/assets/transak.svg rename to src/assets/offramp/transak.svg diff --git a/src/assets/pendulum-icon-loading.svg b/src/assets/pendulum-icon-loading.svg deleted file mode 100644 index b849f913..00000000 --- a/src/assets/pendulum-icon-loading.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - diff --git a/src/assets/pendulum-icon.svg b/src/assets/pendulum-icon.svg deleted file mode 100755 index fa87046a..00000000 --- a/src/assets/pendulum-icon.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - diff --git a/src/assets/socials-discord.tsx b/src/assets/socials/socials-discord.tsx similarity index 100% rename from src/assets/socials-discord.tsx rename to src/assets/socials/socials-discord.tsx diff --git a/src/assets/socials-github.tsx b/src/assets/socials/socials-github.tsx similarity index 100% rename from src/assets/socials-github.tsx rename to src/assets/socials/socials-github.tsx diff --git a/src/assets/socials-linkedin.tsx b/src/assets/socials/socials-linkedin.tsx similarity index 100% rename from src/assets/socials-linkedin.tsx rename to src/assets/socials/socials-linkedin.tsx diff --git a/src/assets/socials-medium.tsx b/src/assets/socials/socials-medium.tsx similarity index 100% rename from src/assets/socials-medium.tsx rename to src/assets/socials/socials-medium.tsx diff --git a/src/assets/socials-reddit.tsx b/src/assets/socials/socials-reddit.tsx similarity index 100% rename from src/assets/socials-reddit.tsx rename to src/assets/socials/socials-reddit.tsx diff --git a/src/assets/socials-telegram.tsx b/src/assets/socials/socials-telegram.tsx similarity index 100% rename from src/assets/socials-telegram.tsx rename to src/assets/socials/socials-telegram.tsx diff --git a/src/assets/socials-twitter.tsx b/src/assets/socials/socials-twitter.tsx similarity index 100% rename from src/assets/socials-twitter.tsx rename to src/assets/socials/socials-twitter.tsx diff --git a/src/assets/telegram.svg b/src/assets/socials/telegram.svg similarity index 100% rename from src/assets/telegram.svg rename to src/assets/socials/telegram.svg diff --git a/src/assets/metamask-wallet.png b/src/assets/wallets/metamask-wallet.png similarity index 100% rename from src/assets/metamask-wallet.png rename to src/assets/wallets/metamask-wallet.png diff --git a/src/assets/wallet-connect.svg b/src/assets/wallets/wallet-connect.svg similarity index 100% rename from src/assets/wallet-connect.svg rename to src/assets/wallets/wallet-connect.svg From 8fa54dd36b30bc1ad2a983c1b33f47fa73ab2e47 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Wed, 20 Nov 2024 07:31:55 +0100 Subject: [PATCH 003/172] ignore img formats for prettier --- .prettierignore | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.prettierignore b/.prettierignore index 712a9294..18b27562 100644 --- a/.prettierignore +++ b/.prettierignore @@ -14,9 +14,15 @@ package-lock.json package.json yarn.lock favicon.png -.prettierignore +.prettierignore CHANGELOG.md **/*.svg .prettierignore -.gitignore \ No newline at end of file +.gitignore +*.png +*.svg +*.webp +*.jpg +*.jpeg +*.gif \ No newline at end of file From eb2c578133e2dd036fbde13733b086875c76204e Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Wed, 20 Nov 2024 07:32:59 +0100 Subject: [PATCH 004/172] rename useGetIcon to useGetAssetIcon --- src/hooks/useGetAssetIcon.tsx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/hooks/useGetAssetIcon.tsx diff --git a/src/hooks/useGetAssetIcon.tsx b/src/hooks/useGetAssetIcon.tsx new file mode 100644 index 00000000..52fc8173 --- /dev/null +++ b/src/hooks/useGetAssetIcon.tsx @@ -0,0 +1,23 @@ +import EURC from '../assets/coins/EURC.png'; +import EUR from '../assets/coins/EUR.svg'; +import USDC from '../assets/coins/USDC.png'; +import USDT from '../assets/coins/USDT.svg'; +import USDC_POLYGON from '../assets/coins/USDC_POLYGON.svg'; +import USDT_POLYGON from '../assets/coins/USDT_POLYGON.svg'; +import ARS from '../assets/coins/ARS.png'; + +const ICONS = { + eur: EUR, + eurc: EURC, + usdc: USDC, + usdt: USDT, + polygonUSDC: USDC_POLYGON, + polygonUSDT: USDT_POLYGON, + ars: ARS, +}; + +export type AssetIconType = keyof typeof ICONS; + +export function useGetAssetIcon(assetIcon: AssetIconType) { + return ICONS[assetIcon]; +} From 47b08ea2531fd7ffd47ecaa974658adcfe605e5b Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Wed, 20 Nov 2024 07:35:09 +0100 Subject: [PATCH 005/172] change useGetIcon imports to useGetAssetIcon --- src/components/AssetNumericInput/index.tsx | 2 +- .../InputKeys/PoolListItem/index.tsx | 4 ++-- src/components/InputKeys/SelectionModal.tsx | 2 +- src/components/buttons/AssetButton/index.tsx | 4 ++-- src/constants/tokenConfig.ts | 2 +- src/hooks/useGetIcon.tsx | 23 ------------------- 6 files changed, 7 insertions(+), 30 deletions(-) delete mode 100644 src/hooks/useGetIcon.tsx diff --git a/src/components/AssetNumericInput/index.tsx b/src/components/AssetNumericInput/index.tsx index 31493619..a21032bc 100644 --- a/src/components/AssetNumericInput/index.tsx +++ b/src/components/AssetNumericInput/index.tsx @@ -3,7 +3,7 @@ import { UseFormRegisterReturn } from 'react-hook-form'; import { AssetButton } from '../buttons/AssetButton'; import { SwapFormValues } from '../Nabla/schema'; import { NumericInput } from '../NumericInput'; -import { AssetIconType } from '../../hooks/useGetIcon'; +import { AssetIconType } from '../../hooks/useGetAssetIcon'; interface AssetNumericInputProps { assetIcon: AssetIconType; diff --git a/src/components/InputKeys/PoolListItem/index.tsx b/src/components/InputKeys/PoolListItem/index.tsx index fd6ec916..57e6fc01 100644 --- a/src/components/InputKeys/PoolListItem/index.tsx +++ b/src/components/InputKeys/PoolListItem/index.tsx @@ -1,6 +1,6 @@ import { Button } from 'react-daisyui'; import { CheckIcon } from '@heroicons/react/20/solid'; -import { AssetIconType, useGetIcon } from '../../../hooks/useGetIcon'; +import { AssetIconType, useGetAssetIcon } from '../../../hooks/useGetAssetIcon'; import { InputTokenType, OutputTokenType } from '../../../constants/tokenConfig'; interface PoolListItemProps { @@ -18,7 +18,7 @@ export function PoolListItem({ onSelect, assetIcon, }: PoolListItemProps) { - const tokenIcon = useGetIcon(assetIcon); + const tokenIcon = useGetAssetIcon(assetIcon); return ( + + + {Object.values(NetworkIcons).map((networkId) => ( + + ))} + + + ); +}; From 53b9bbe4f5be060ef996a2320024b655321ea87a Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Wed, 20 Nov 2024 07:43:27 +0100 Subject: [PATCH 013/172] add ChainSelector to the Navbar --- src/components/Navbar/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index a071027f..da6f5d02 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -1,10 +1,11 @@ +import { useState } from 'preact/hooks'; +import { FC } from 'preact/compat'; import { Bars4Icon, XMarkIcon } from '@heroicons/react/20/solid'; import { motion, AnimatePresence } from 'framer-motion'; import whiteLogo from '../../assets/logo/white.png'; import { ConnectWallet } from '../buttons/ConnectWallet'; -import { useState } from 'preact/hooks'; -import { FC } from 'preact/compat'; +import { NetworkSelector } from '../NetworkSelector'; const links = [ { title: 'Offramp', href: '/' }, @@ -105,6 +106,7 @@ export const Navbar = () => {
+ setShowMenu(true)} /> setShowMenu(false)} /> From 5e5321a58601dc16936277cb9520c193bfa154aa Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Wed, 20 Nov 2024 07:44:44 +0100 Subject: [PATCH 014/172] rename ChainSelector to NetworkSelector --- src/components/{ChainSelector => NetworkSelector}/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/components/{ChainSelector => NetworkSelector}/index.tsx (97%) diff --git a/src/components/ChainSelector/index.tsx b/src/components/NetworkSelector/index.tsx similarity index 97% rename from src/components/ChainSelector/index.tsx rename to src/components/NetworkSelector/index.tsx index 71675fe9..b120bd26 100644 --- a/src/components/ChainSelector/index.tsx +++ b/src/components/NetworkSelector/index.tsx @@ -7,7 +7,7 @@ import { useNetwork } from '../../contexts/network'; const capitalize = (str: string) => str.charAt(0).toUpperCase() + str.slice(1); -export const ChainSelector = () => { +export const NetworkSelector = () => { const [isOpen, setIsOpen] = useState(false); const { selectedNetwork, setSelectedNetwork } = useNetwork(); From cb37d559407e3d1ed262840126b584fdb79e0163 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Wed, 20 Nov 2024 07:45:52 +0100 Subject: [PATCH 015/172] add NetworkIcon component --- src/components/NetworkIcon/index.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/components/NetworkIcon/index.tsx diff --git a/src/components/NetworkIcon/index.tsx b/src/components/NetworkIcon/index.tsx new file mode 100644 index 00000000..2847f373 --- /dev/null +++ b/src/components/NetworkIcon/index.tsx @@ -0,0 +1,14 @@ +import { FC, HTMLAttributes } from 'preact/compat'; +import { useGetNetworkIcon, NetworkIconType } from '../../hooks/useGetNetworkIcon'; + +interface Props extends HTMLAttributes { + chainId: NetworkIconType; +} + +export const NetworkIcon: FC = ({ chainId, ...props }) => { + const iconSrc = useGetNetworkIcon(chainId); + + if (iconSrc) return {chainId}; + + return <>; +}; From beae194473a7fe4b6b4ab2736512db7582e9dda3 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:09:10 +0100 Subject: [PATCH 016/172] update packages --- package.json | 4 ++-- yarn.lock | 32 ++++++++++++++++---------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 49cf8478..8f1c8f36 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@sentry/react": "^8.36.0", "@sentry/vite-plugin": "^2.22.6", "@talismn/connect-components": "^1.1.9", - "@tanstack/react-query": "^5.45.1", + "@tanstack/react-query": "^5.61.0", "@walletconnect/modal": "^2.6.2", "@walletconnect/universal-provider": "^2.12.2", "autoprefixer": "^10.4.19", @@ -55,7 +55,7 @@ "react-dom": "npm:@preact/compat@18.3.1", "react-hook-form": "^7.51.5", "react-router-dom": "^6.8.1", - "react-toastify": "^10.0.5", + "react-toastify": "^10.0.6", "stellar-base": "^11.0.1", "stellar-sdk": "^11.3.0", "tailwind": "^4.0.0", diff --git a/yarn.lock b/yarn.lock index cf0b7510..7e0f01e3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4707,21 +4707,21 @@ __metadata: languageName: node linkType: hard -"@tanstack/query-core@npm:5.45.0": - version: 5.45.0 - resolution: "@tanstack/query-core@npm:5.45.0" - checksum: 10/c3fddeff856a18931a0e10bb73ce48ef80b4e901b4b5ca5b0316a1018c2f709ad792eb206baabc13828eeb20bc00812565ebeb5778d981f32615946bce7c92c6 +"@tanstack/query-core@npm:5.60.6": + version: 5.60.6 + resolution: "@tanstack/query-core@npm:5.60.6" + checksum: 10/a87613d85b3a280f2fef69037dd0ad512052d49b8dc979ed289ee538452d331926a720678bbd3b4485a8b38d5baf65c42869179f2fdeefa3f7b6dda04e878e56 languageName: node linkType: hard -"@tanstack/react-query@npm:^5.45.1": - version: 5.45.1 - resolution: "@tanstack/react-query@npm:5.45.1" +"@tanstack/react-query@npm:^5.61.0": + version: 5.61.0 + resolution: "@tanstack/react-query@npm:5.61.0" dependencies: - "@tanstack/query-core": "npm:5.45.0" + "@tanstack/query-core": "npm:5.60.6" peerDependencies: - react: ^18.0.0 - checksum: 10/570ac283d1a6b17114177464d8d233c02070cb276ca48bb8b3cb5cc87f0b08dec70a225ac73d1f18b563c06cabdfe75b22fa5c2d80c372b55400c6e64455c083 + react: ^18 || ^19 + checksum: 10/e98d1396cd157626f29fb0d0d10c75dbdde6e2efa55463540c9d8e33b58ec4b72eeb58b7d2eea6e625a8316235777f128222adeb10533ddfade77b23ec209872 languageName: node linkType: hard @@ -12676,15 +12676,15 @@ __metadata: languageName: node linkType: hard -"react-toastify@npm:^10.0.5": - version: 10.0.5 - resolution: "react-toastify@npm:10.0.5" +"react-toastify@npm:^10.0.6": + version: 10.0.6 + resolution: "react-toastify@npm:10.0.6" dependencies: clsx: "npm:^2.1.0" peerDependencies: react: ">=18" react-dom: ">=18" - checksum: 10/6630f4b6d6902d827efd5e66c09df693c7ab8abeeb6ef24d880080f47b636614ef9cc251dd5e6564d49fe2f6f25f720ce0f7ef72cd4b0cd58a65b7c4b8052fac + checksum: 10/60ec092f6b6ab4c6dd0a42e6207ce0d72af1f41a010ae8aa1b3de080697a3cdaa4d2249eb9092f9331bc17f155b1b45c681bd4a29dc698e20a6ac6fe79f967e6 languageName: node linkType: hard @@ -15061,7 +15061,7 @@ __metadata: "@sentry/react": "npm:^8.36.0" "@sentry/vite-plugin": "npm:^2.22.6" "@talismn/connect-components": "npm:^1.1.9" - "@tanstack/react-query": "npm:^5.45.1" + "@tanstack/react-query": "npm:^5.61.0" "@types/big.js": "npm:^6" "@types/bn.js": "npm:^5" "@types/node": "npm:^18.14.1" @@ -15091,7 +15091,7 @@ __metadata: react-dom: "npm:@preact/compat@18.3.1" react-hook-form: "npm:^7.51.5" react-router-dom: "npm:^6.8.1" - react-toastify: "npm:^10.0.5" + react-toastify: "npm:^10.0.6" stellar-base: "npm:^11.0.1" stellar-sdk: "npm:^11.3.0" tailwind: "npm:^4.0.0" From d83262b48cfad00697e8423e1496b88656b93712 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:10:16 +0100 Subject: [PATCH 017/172] remove GlobalStateProvider --- src/GlobalStateProvider.tsx | 52 ------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 src/GlobalStateProvider.tsx diff --git a/src/GlobalStateProvider.tsx b/src/GlobalStateProvider.tsx deleted file mode 100644 index 507547dc..00000000 --- a/src/GlobalStateProvider.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import { ComponentChildren, createContext } from 'preact'; -import { useCallback, useContext, useMemo } from 'preact/compat'; -import { useLocation } from 'react-router-dom'; -import { config } from './config'; -import { TenantName } from './models/Tenant'; -import { ThemeName } from './models/Theme'; - -export interface GlobalState { - dAppName: string; - tenantName: TenantName; - tenantRPC?: string; - getThemeName: () => ThemeName; -} - -export const defaultTenant = TenantName.Pendulum; -const GlobalStateContext = createContext(undefined); - -const GlobalStateProvider = ({ children }: { children: ComponentChildren }) => { - const { pathname } = useLocation(); - const network = pathname.split('/').filter(Boolean)[0]?.toLowerCase(); - - const tenantName = useMemo(() => { - return network && Object.values(TenantName).includes(network) ? (network as TenantName) : defaultTenant; - }, [network]); - - const dAppName = tenantName; - - const getThemeName = useCallback( - () => (tenantName ? config.tenants[tenantName]?.theme || ThemeName.Amplitude : ThemeName.Amplitude), - [tenantName], - ); - - const providerValue = useMemo( - () => ({ - tenantName: tenantName, - tenantRPC: config.tenants[tenantName].rpc, - getThemeName, - dAppName, - }), - [dAppName, getThemeName, tenantName], - ); - - return {children}; -}; - -const useGlobalState = () => { - const state = useContext(GlobalStateContext); - if (!state) throw 'GlobalStateProvider not defined!'; - return state; -}; - -export { GlobalStateContext, GlobalStateProvider, useGlobalState }; From b0ba7b4757b623d179e17aa8bc834f4ffe051b57 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:10:56 +0100 Subject: [PATCH 018/172] remove Tenant.ts and Theme.ts --- src/models/Tenant.ts | 6 ------ src/models/Theme.ts | 11 ----------- 2 files changed, 17 deletions(-) delete mode 100644 src/models/Tenant.ts delete mode 100644 src/models/Theme.ts diff --git a/src/models/Tenant.ts b/src/models/Tenant.ts deleted file mode 100644 index d6e0e98f..00000000 --- a/src/models/Tenant.ts +++ /dev/null @@ -1,6 +0,0 @@ -export enum TenantName { - Amplitude = 'amplitude', - Pendulum = 'pendulum', - Foucoco = 'foucoco', - Local = 'local', -} diff --git a/src/models/Theme.ts b/src/models/Theme.ts deleted file mode 100644 index 3cc16c25..00000000 --- a/src/models/Theme.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { TenantName } from './Tenant'; - -export const enum ThemeName { - Amplitude = TenantName.Amplitude, - Pendulum = TenantName.Pendulum, -} - -export const tenantTheme: Record = { - [ThemeName.Amplitude]: 'dark', - [ThemeName.Pendulum]: 'light', -}; From 948a5eb96d906536a0f226be8c32f94c0e3586b3 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:11:47 +0100 Subject: [PATCH 019/172] add close-icon.svg --- src/assets/CloseIcon.tsx | 11 ----------- src/assets/close-icon.svg | 6 ++++++ 2 files changed, 6 insertions(+), 11 deletions(-) delete mode 100644 src/assets/CloseIcon.tsx create mode 100644 src/assets/close-icon.svg diff --git a/src/assets/CloseIcon.tsx b/src/assets/CloseIcon.tsx deleted file mode 100644 index e1e640f8..00000000 --- a/src/assets/CloseIcon.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { FC } from 'preact/compat'; - -interface Props { - className?: string; -} - -export const CloseIcon: FC = ({ className = 'dark:fill-white fill-black' }) => ( - - - -); diff --git a/src/assets/close-icon.svg b/src/assets/close-icon.svg new file mode 100644 index 00000000..18157982 --- /dev/null +++ b/src/assets/close-icon.svg @@ -0,0 +1,6 @@ + + + From 9fe50e6416416b8f6d93dd2cf616a747f7b15342 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:12:01 +0100 Subject: [PATCH 020/172] add copy icon --- src/assets/copy-icon.svg | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/assets/copy-icon.svg diff --git a/src/assets/copy-icon.svg b/src/assets/copy-icon.svg new file mode 100644 index 00000000..b781f358 --- /dev/null +++ b/src/assets/copy-icon.svg @@ -0,0 +1,6 @@ + + + \ No newline at end of file From 1b18b1567ba04c291bb2853559aa67778fcd21b8 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:13:32 +0100 Subject: [PATCH 021/172] add AccountCard component --- src/components/AccountCard/index.tsx | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/components/AccountCard/index.tsx diff --git a/src/components/AccountCard/index.tsx b/src/components/AccountCard/index.tsx new file mode 100644 index 00000000..05c8b312 --- /dev/null +++ b/src/components/AccountCard/index.tsx @@ -0,0 +1,25 @@ +import { WalletAccount } from '@talismn/connect-wallets'; +import { trimAddress } from '../../helpers/addressFormatter'; +import { usePolkadotWalletState } from '../../contexts/polkadotWallet'; + +interface AccountProps { + account: WalletAccount; +} + +export const AccountCard = ({ account }: AccountProps) => { + const { setWalletAccount } = usePolkadotWalletState(); + + return ( +
  • + +
  • + ); +}; From 6bb38cfee3202fe7037c43570caf0d57fe383380 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:13:45 +0100 Subject: [PATCH 022/172] add PublicKey component --- .../PublicKey/ClickablePublicKey/index.tsx | 32 +++++++++++ .../PublicKey/CopyablePublicKey/index.tsx | 25 +++++++++ src/components/PublicKey/index.tsx | 55 +++++++++++++++++++ 3 files changed, 112 insertions(+) create mode 100644 src/components/PublicKey/ClickablePublicKey/index.tsx create mode 100644 src/components/PublicKey/CopyablePublicKey/index.tsx create mode 100644 src/components/PublicKey/index.tsx diff --git a/src/components/PublicKey/ClickablePublicKey/index.tsx b/src/components/PublicKey/ClickablePublicKey/index.tsx new file mode 100644 index 00000000..2503d471 --- /dev/null +++ b/src/components/PublicKey/ClickablePublicKey/index.tsx @@ -0,0 +1,32 @@ +import { CSSProperties } from 'react'; +import { Button } from 'react-daisyui'; +import { FormatPublicKeyVariant, PublicKey } from '..'; + +export interface ClickablePublicKeyProps { + publicKey: string; + variant?: FormatPublicKeyVariant; + inline?: boolean; + style?: CSSProperties; + className?: string; + icon?: JSX.Element; + onClick?: () => void; + wrap?: boolean; +} + +export const ClickablePublicKey = (props: ClickablePublicKeyProps) => ( + +); diff --git a/src/components/PublicKey/CopyablePublicKey/index.tsx b/src/components/PublicKey/CopyablePublicKey/index.tsx new file mode 100644 index 00000000..4d81e2dd --- /dev/null +++ b/src/components/PublicKey/CopyablePublicKey/index.tsx @@ -0,0 +1,25 @@ +import { ClickablePublicKey, ClickablePublicKeyProps } from '../ClickablePublicKey'; +import { useClipboard } from '../../../hooks/useClipboard'; +import CopyIcon from '../../../assets/copy-icon.svg'; + +interface CopyablePublicKeyProps extends ClickablePublicKeyProps { + onClick?: () => void; + publicKey: string; +} + +export const CopyablePublicKey = ({ onClick, publicKey, ...props }: CopyablePublicKeyProps) => { + const clipboard = useClipboard(); + + const handleClick = () => { + onClick && onClick(); + clipboard.copyToClipboard(publicKey); + }; + + return ( + } + /> + ); +}; diff --git a/src/components/PublicKey/index.tsx b/src/components/PublicKey/index.tsx new file mode 100644 index 00000000..033bf6e4 --- /dev/null +++ b/src/components/PublicKey/index.tsx @@ -0,0 +1,55 @@ +import { CSSProperties } from 'react'; + +export type FormatPublicKeyVariant = 'full' | 'short' | 'shorter' | 'hexa'; + +const digitCounts: Record = { + full: { leading: 4, trailing: 4 }, + shorter: { leading: 4, trailing: 4 }, + short: { leading: 6, trailing: 6 }, + hexa: { leading: 10, trailing: 10 }, +}; + +function getDigitCounts(variant: FormatPublicKeyVariant = 'full') { + return digitCounts[variant]; +} + +export function shortenName(name: string, intendedLength: number) { + if (name.length <= intendedLength) { + return name; + } + return ( + name.substring(0, intendedLength - 3).trim() + + '…' + + name + .substring(intendedLength - 3) + .slice(-3) + .trim() + ); +} + +interface PublicKeyProps { + publicKey: string; + variant?: FormatPublicKeyVariant; + style?: CSSProperties; + className?: string; + showRaw?: boolean; +} + +export function PublicKey({ publicKey, variant = 'full', style, className }: PublicKeyProps) { + const digits = getDigitCounts(variant); + + const spanStyle: CSSProperties = { + userSelect: 'text', + WebkitUserSelect: 'text', + whiteSpace: variant !== 'full' ? 'pre' : undefined, + ...style, + }; + + return ( + + {variant === 'full' + ? publicKey + : publicKey.substring(0, digits.leading) + '…' + publicKey.substring(publicKey.length - digits.trailing)} + + ); +} From 4392f0468784cfa92ec63618ddd1c16fc5aa5ba3 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:14:01 +0100 Subject: [PATCH 023/172] add SearchInput component --- src/components/SearchInput/index.tsx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/components/SearchInput/index.tsx diff --git a/src/components/SearchInput/index.tsx b/src/components/SearchInput/index.tsx new file mode 100644 index 00000000..a679eb51 --- /dev/null +++ b/src/components/SearchInput/index.tsx @@ -0,0 +1,23 @@ +import { MagnifyingGlassIcon } from '@heroicons/react/20/solid'; +import { Dispatch } from 'react'; + +interface SearchInputProps { + set: Dispatch; +} + +export const SearchInput = ({ set, ...p }: SearchInputProps) => ( + +); From 201692328fbe84a72a81662317a5adf4767b3056 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:14:32 +0100 Subject: [PATCH 024/172] update network context --- src/contexts/network.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/contexts/network.tsx b/src/contexts/network.tsx index 4882043f..40c7ca4b 100644 --- a/src/contexts/network.tsx +++ b/src/contexts/network.tsx @@ -1,23 +1,27 @@ import { createContext } from 'preact'; import { useContext, useState } from 'preact/hooks'; import { useSwitchChain } from 'wagmi'; -import { NetworkIconType, NetworkIcons } from '../hooks/useGetNetworkIcon'; +import { NetworkIconType, Networks } from '../hooks/useGetNetworkIcon'; import { useLocalStorage, LocalStorageKeys } from '../hooks/useLocalStorage'; +const assetHubId = 'polkadot:68d56f15f85d3136970ec16946040bc1'; + interface NetworkContextType { + polkadotSelectedNetworkId: string; selectedNetwork: NetworkIconType; setSelectedNetwork: (network: NetworkIconType) => void; } const NetworkContext = createContext({ - selectedNetwork: NetworkIcons.assetHub, + polkadotSelectedNetworkId: assetHubId, + selectedNetwork: Networks.assetHub, setSelectedNetwork: () => null, }); export const NetworkProvider = ({ children }: { children: preact.ComponentChildren }) => { const { state: selectedNetworkLocalStorage, set: setSelectedNetworkLocalStorage } = useLocalStorage({ key: LocalStorageKeys.SELECTED_NETWORK, - defaultValue: NetworkIcons.assetHub, + defaultValue: Networks.assetHub, }); const [selectedNetwork, setSelectedNetworkState] = useState(selectedNetworkLocalStorage); @@ -35,6 +39,7 @@ export const NetworkProvider = ({ children }: { children: preact.ComponentChildr return ( Date: Thu, 21 Nov 2024 14:15:04 +0100 Subject: [PATCH 025/172] add SELECTED_POLKADOT_WALLET and ACCOUNT key to useLocalStorage hook --- src/hooks/useLocalStorage.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hooks/useLocalStorage.ts b/src/hooks/useLocalStorage.ts index b6f6c3b8..19c8a179 100644 --- a/src/hooks/useLocalStorage.ts +++ b/src/hooks/useLocalStorage.ts @@ -116,4 +116,6 @@ export const useLocalStorage = ({ export enum LocalStorageKeys { RATING = 'RATING', SELECTED_NETWORK = 'SELECTED_NETWORK', + SELECTED_POLKADOT_WALLET = 'SELECTED_POLKADOT_WALLET', + ACCOUNT = 'ACCOUNT', } From e1bf060de4e676e1ae10081e58d507bb070dfdbc Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:17:11 +0100 Subject: [PATCH 026/172] change ACCOUNT to SELECTED_POLKADOT_ACCOUNT in useLocalStorage hook --- src/hooks/useLocalStorage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useLocalStorage.ts b/src/hooks/useLocalStorage.ts index 19c8a179..4e45cc43 100644 --- a/src/hooks/useLocalStorage.ts +++ b/src/hooks/useLocalStorage.ts @@ -117,5 +117,5 @@ export enum LocalStorageKeys { RATING = 'RATING', SELECTED_NETWORK = 'SELECTED_NETWORK', SELECTED_POLKADOT_WALLET = 'SELECTED_POLKADOT_WALLET', - ACCOUNT = 'ACCOUNT', + SELECTED_POLKADOT_ACCOUNT = 'SELECTED_POLKADOT_ACCOUNT', } From 1edc8307ca7b80cebd6042561cecb192f86c2241 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:18:07 +0100 Subject: [PATCH 027/172] implement useConnectPolkadotWallet hook --- src/hooks/useConnectPolkadotWallet/index.tsx | 40 ++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/hooks/useConnectPolkadotWallet/index.tsx diff --git a/src/hooks/useConnectPolkadotWallet/index.tsx b/src/hooks/useConnectPolkadotWallet/index.tsx new file mode 100644 index 00000000..75752317 --- /dev/null +++ b/src/hooks/useConnectPolkadotWallet/index.tsx @@ -0,0 +1,40 @@ +import { useState } from 'preact/hooks'; +import { Wallet, getWallets } from '@talismn/connect-wallets'; +import { useMutation } from '@tanstack/react-query'; + +import { ToastMessage, showToast } from '../../helpers/notifications'; +import { storageService } from '../../services/storage/local'; +import { LocalStorageKeys } from '../useLocalStorage'; + +const alwaysShowWallets = ['talisman', 'subwallet-js', 'polkadot-js']; + +export const useConnectPolkadotWallet = () => { + const [selectedWallet, setSelectedWallet] = useState(); + + const wallets = getWallets().filter((wallet) => alwaysShowWallets.includes(wallet.extensionName) || wallet.installed); + + const { + mutate: selectWallet, + data: accounts, + isPending: loading, + } = useMutation({ + mutationFn: async (wallet: Wallet | undefined) => { + setSelectedWallet(wallet); + if (!wallet) return []; + try { + await wallet.enable('Vortex'); + + if (wallet.installed) { + storageService.set(LocalStorageKeys.SELECTED_POLKADOT_WALLET, wallet.extensionName); + } + + return wallet.getAccounts(); + } catch { + showToast(ToastMessage.POLKADOT_WALLET_ALREADY_OPEN_PENDING_CONNECTION); + return []; + } + }, + }); + + return { accounts, wallets, selectWallet, loading, selectedWallet }; +}; From 3dbfc9507327062db6d36086acc5771c26eb66fe Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:18:58 +0100 Subject: [PATCH 028/172] implement polkadotWallet context for managing polkadot wallet connection state --- src/contexts/polkadotWallet/helpers.ts | 41 +++++++++++++ src/contexts/polkadotWallet/index.tsx | 81 ++++++++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100644 src/contexts/polkadotWallet/helpers.ts create mode 100644 src/contexts/polkadotWallet/index.tsx diff --git a/src/contexts/polkadotWallet/helpers.ts b/src/contexts/polkadotWallet/helpers.ts new file mode 100644 index 00000000..a3db2691 --- /dev/null +++ b/src/contexts/polkadotWallet/helpers.ts @@ -0,0 +1,41 @@ +import { getWalletBySource, WalletAccount } from '@talismn/connect-wallets'; +import { getSdkError } from '@walletconnect/utils'; + +import { LocalStorageKeys } from '../../hooks/useLocalStorage'; +import { walletConnectService } from '../../components/PolkadotWalletSelectorDialog/WalletConnect/WalletConnectService'; +import { storageService } from '../../services/storage/local'; + +const initTalisman = async (dAppName: string, selected?: string) => { + const name = storageService.get(LocalStorageKeys.SELECTED_POLKADOT_WALLET); + if (!name?.length) return; + const wallet = getWalletBySource(name); + if (!wallet) return; + await wallet.enable(dAppName); + const accounts = await wallet.getAccounts(); + return accounts.find((a) => a.address === selected) || accounts[0]; +}; + +const initWalletConnect = async (chainId: string) => { + const provider = await walletConnectService.getProvider(); + if (!provider?.session) return; + return await walletConnectService.init(provider?.session, chainId); +}; + +export const initSelectedWallet = async (storageAddress: string) => { + const appName = 'Vortex'; + + const assetHubId = 'polkadot:68d56f15f85d3136970ec16946040bc1'; //@todo + return (await initTalisman(appName, storageAddress)) || (await initWalletConnect(assetHubId)); +}; + +export const handleWalletConnectDisconnect = async (walletAccount: WalletAccount | undefined) => { + if (walletAccount?.wallet?.extensionName === 'WalletConnect') { + const topic = walletConnectService.session?.topic; + if (topic) { + await walletConnectService.provider?.client.disconnect({ + topic, + reason: getSdkError('USER_DISCONNECTED'), + }); + } + } +}; diff --git a/src/contexts/polkadotWallet/index.tsx b/src/contexts/polkadotWallet/index.tsx new file mode 100644 index 00000000..b1781318 --- /dev/null +++ b/src/contexts/polkadotWallet/index.tsx @@ -0,0 +1,81 @@ +import { createContext, useCallback, useContext, useEffect, useMemo, useState } from 'preact/compat'; +import { WalletAccount } from '@talismn/connect-wallets'; +import { LocalStorageKeys, useLocalStorage } from '../../hooks/useLocalStorage'; +import { handleWalletConnectDisconnect, initSelectedWallet } from './helpers'; +import { storageService } from '../../services/storage/local'; + +export interface PolkadotWalletState { + tenantRPC?: string; + walletAccount?: WalletAccount; + setWalletAccount: (data: WalletAccount) => void; + removeWalletAccount: () => void; +} + +const PolkadotWalletStateContext = createContext(undefined); + +const PolkadotWalletStateProvider = ({ children }: { children: JSX.Element }) => { + const [walletAccount, setWallet] = useState(undefined); + + const { + state: storageAddress, + set, + clear, + } = useLocalStorage({ + key: `${LocalStorageKeys.SELECTED_POLKADOT_ACCOUNT}`, + }); + + const clearLocalStorageWallets = () => { + storageService.remove(LocalStorageKeys.SELECTED_POLKADOT_WALLET); + }; + + const removeWalletAccount = useCallback(async () => { + await handleWalletConnectDisconnect(walletAccount); + clear(); + clearLocalStorageWallets(); + setWallet(undefined); + }, [clear, walletAccount]); + + const setWalletAccount = useCallback( + (newWalletAccount: WalletAccount | undefined) => { + set(newWalletAccount?.address); + setWallet(newWalletAccount); + }, + [set], + ); + + useEffect(() => { + const delayWalletInitialization = async (address: string) => { + setTimeout(async () => { + const selectedWallet = await initSelectedWallet(address); + if (selectedWallet) setWallet(selectedWallet); + }, 400); + }; + + const initializeWallet = () => { + if (!storageAddress) { + return; + } + delayWalletInitialization(storageAddress).catch(console.error); + }; + initializeWallet(); + }, [storageAddress]); + + const providerValue = useMemo( + () => ({ + walletAccount, + setWalletAccount, + removeWalletAccount, + }), + [removeWalletAccount, setWalletAccount, walletAccount], + ); + + return {children}; +}; + +const usePolkadotWalletState = () => { + const state = useContext(PolkadotWalletStateContext); + if (!state) throw 'PolkadotWalletStateProvider not defined!'; + return state; +}; + +export { PolkadotWalletStateContext, PolkadotWalletStateProvider, usePolkadotWalletState }; From c59ba2d2862d747c479c77fd17268ad6871d1b98 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:19:39 +0100 Subject: [PATCH 029/172] implement PolkadotWalletButton for connect and disconnect states --- .../PolkadotConnectWallet/index.tsx | 28 ++++++++ .../PolkadotDisconnectWallet/index.tsx | 64 +++++++++++++++++++ .../buttons/PolkadotWalletButton/index.tsx | 9 +++ 3 files changed, 101 insertions(+) create mode 100644 src/components/buttons/PolkadotWalletButton/PolkadotConnectWallet/index.tsx create mode 100644 src/components/buttons/PolkadotWalletButton/PolkadotDisconnectWallet/index.tsx create mode 100644 src/components/buttons/PolkadotWalletButton/index.tsx diff --git a/src/components/buttons/PolkadotWalletButton/PolkadotConnectWallet/index.tsx b/src/components/buttons/PolkadotWalletButton/PolkadotConnectWallet/index.tsx new file mode 100644 index 00000000..bf85448e --- /dev/null +++ b/src/components/buttons/PolkadotWalletButton/PolkadotConnectWallet/index.tsx @@ -0,0 +1,28 @@ +import { useState } from 'preact/hooks'; +import { PlayCircleIcon } from '@heroicons/react/20/solid'; +import { PolkadotWalletSelectorDialog } from '../../../PolkadotWalletSelectorDialog'; +import { useEventsContext } from '../../../../contexts/events'; + +export const PolkadotConnectWallet = () => { + const [showPolkadotDialog, setShowPolkadotDialog] = useState(false); + const { handleUserClickWallet } = useEventsContext(); + + return ( + <> + + setShowPolkadotDialog(false)} /> + + ); +}; diff --git a/src/components/buttons/PolkadotWalletButton/PolkadotDisconnectWallet/index.tsx b/src/components/buttons/PolkadotWalletButton/PolkadotDisconnectWallet/index.tsx new file mode 100644 index 00000000..c9095157 --- /dev/null +++ b/src/components/buttons/PolkadotWalletButton/PolkadotDisconnectWallet/index.tsx @@ -0,0 +1,64 @@ +import { Wallet, WalletAccount } from '@talismn/connect-wallets'; +import { ArrowLeftEndOnRectangleIcon } from '@heroicons/react/20/solid'; +import { Button, Dropdown } from 'react-daisyui'; + +import accountBalanceWalletIcon from '../../../../assets/account-balance-wallet.svg'; +import accountBalanceWalletIconPink from '../../../../assets/account-balance-wallet-pink.svg'; +import { getAddressForFormat, trimAddress } from '../../../../helpers/addressFormatter'; +import { CopyablePublicKey } from '../../../PublicKey/CopyablePublicKey'; +import { usePolkadotWalletState } from '../../../../contexts/polkadotWallet'; + +interface WalletButtonProps { + wallet?: Wallet; + balance?: string; + tokenSymbol?: string; + walletAccount?: WalletAccount; +} + +const WalletButton = ({ walletAccount }: WalletButtonProps) => ( + +); + +interface WalletDropdownMenuProps { + address: string; + balance?: string; + tokenSymbol?: string; + walletAccount?: WalletAccount; + ss58Format?: number; + removeWalletAccount: () => void; +} + +const WalletDropdownMenu = ({ walletAccount, ss58Format, address, removeWalletAccount }: WalletDropdownMenuProps) => ( + +
    {walletAccount?.name}
    +
    + +
    + +
    +); + +export const DisconnectModal = () => { + const { walletAccount, removeWalletAccount } = usePolkadotWalletState(); + const { wallet, address } = walletAccount || {}; + + if (!address) return <>; + + return ( + + + + + ); +}; diff --git a/src/components/buttons/PolkadotWalletButton/index.tsx b/src/components/buttons/PolkadotWalletButton/index.tsx new file mode 100644 index 00000000..63270c7c --- /dev/null +++ b/src/components/buttons/PolkadotWalletButton/index.tsx @@ -0,0 +1,9 @@ +import { usePolkadotWalletState } from '../../../contexts/polkadotWallet'; +import { PolkadotConnectWallet } from './PolkadotConnectWallet'; +import { DisconnectModal } from './PolkadotDisconnectWallet'; + +export function PolkadotWalletButton() { + const { walletAccount } = usePolkadotWalletState(); + + return walletAccount ? : ; +} From 4c2cfd0b2895f78fddc90780df472af981bfed85 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:20:14 +0100 Subject: [PATCH 030/172] add POLKADOT_WALLET_ALREADY_OPEN_PENDING_CONNECTION and ERROR notifications --- src/helpers/notifications.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/helpers/notifications.ts b/src/helpers/notifications.ts index 39fdcab3..42f654c0 100644 --- a/src/helpers/notifications.ts +++ b/src/helpers/notifications.ts @@ -4,7 +4,8 @@ export enum ToastMessage { AMOUNT_MISMATCH = 'AMOUNT_MISMATCH', KYC_COMPLETED = 'KYC_COMPLETED', SIGNING_FAILED = 'SIGNING_FAILED', - SUBSTRATE_WALLET_ALREADY_OPEN_PENDING_CONNECTION = 'SUBSTRATE_WALLET_ALREADY_OPEN_PENDING_CONNECTION', + POLKADOT_WALLET_ALREADY_OPEN_PENDING_CONNECTION = 'POLKADOT_WALLET_ALREADY_OPEN_PENDING_CONNECTION', + ERROR = 'ERROR', } type ToastSettings = { @@ -34,10 +35,16 @@ const ToastProperties: Record = { type: 'error', }, }, - [ToastMessage.SUBSTRATE_WALLET_ALREADY_OPEN_PENDING_CONNECTION]: { + [ToastMessage.POLKADOT_WALLET_ALREADY_OPEN_PENDING_CONNECTION]: { message: 'Wallet already open pending connection. Please try again.', options: { - toastId: ToastMessage.SUBSTRATE_WALLET_ALREADY_OPEN_PENDING_CONNECTION, + toastId: ToastMessage.POLKADOT_WALLET_ALREADY_OPEN_PENDING_CONNECTION, + type: 'error', + }, + }, + [ToastMessage.ERROR]: { + message: 'An error occurred', + options: { type: 'error', }, }, From a0213133198bdde19ccb6c2a3af9f85e8e7b01e2 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:20:52 +0100 Subject: [PATCH 031/172] change useGetNetworkIcon enum name from NetworkIcons to Networks --- src/hooks/useGetNetworkIcon.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hooks/useGetNetworkIcon.tsx b/src/hooks/useGetNetworkIcon.tsx index e4f10b8b..a452e9b6 100644 --- a/src/hooks/useGetNetworkIcon.tsx +++ b/src/hooks/useGetNetworkIcon.tsx @@ -1,14 +1,14 @@ import ASSET_HUB from '../assets/chains/assetHub.svg'; import POLYGON from '../assets/chains/polygon.svg'; -export enum NetworkIcons { +export enum Networks { assetHub = 'assetHub', polygon = 'polygon', } export const NETWORK_ICONS = { - [NetworkIcons.assetHub]: ASSET_HUB, - [NetworkIcons.polygon]: POLYGON, + [Networks.assetHub]: ASSET_HUB, + [Networks.polygon]: POLYGON, }; export type NetworkIconType = keyof typeof NETWORK_ICONS; From 4a4ca3b8ab7d71e314ed991cdd0cabed00b41fda Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:21:19 +0100 Subject: [PATCH 032/172] remove unused config related with pendulum-portal --- src/config/index.ts | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/src/config/index.ts b/src/config/index.ts index 68ae70f8..bff227ed 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -1,16 +1,3 @@ -import { TenantName } from '../models/Tenant'; -import { ThemeName } from '../models/Theme'; - -type TenantConfig = Record< - TenantName, - { - name: string; - rpc: string; - theme: ThemeName; - explorer: string; - } ->; - type Environment = 'development' | 'staging' | 'production'; const nodeEnv = process.env.NODE_ENV as Environment; const maybeSignerServiceUrl = import.meta.env.VITE_SIGNING_SERVICE_URL; @@ -24,33 +11,6 @@ export const config = { isDev: env === 'development', maybeSignerServiceUrl, alchemyApiKey, - defaultPage: '/pendulum/dashboard', - tenants: { - [TenantName.Amplitude]: { - name: 'Amplitude', - rpc: 'wss://rpc-amplitude.pendulumchain.tech', - theme: ThemeName.Amplitude, - explorer: 'https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc-foucoco.pendulumchain.tech#/explorer/query', - }, - [TenantName.Pendulum]: { - name: 'Pendulum', - rpc: 'wss://rpc-pendulum.prd.pendulumchain.tech', - theme: ThemeName.Pendulum, - explorer: 'https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc-foucoco.pendulumchain.tech#/explorer/query', - }, - [TenantName.Foucoco]: { - name: 'Foucoco', - rpc: 'wss://rpc-foucoco.pendulumchain.tech', - theme: ThemeName.Amplitude, - explorer: 'https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc-foucoco.pendulumchain.tech#/explorer/query', - }, - [TenantName.Local]: { - name: 'Local', - rpc: 'ws://localhost:9944', - theme: ThemeName.Amplitude, - explorer: 'https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc-foucoco.pendulumchain.tech#/explorer/query', - }, - } satisfies TenantConfig, swap: { deadlineMinutes: 60 * 24 * 7, // 1 week }, From d5a85c1f6572fdf94adbd594acfd9069cea9519b Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:21:48 +0100 Subject: [PATCH 033/172] implement PolkadotWalletSelectorDialog --- .../AccountsList/index.tsx | 29 +++++ .../index.tsx | 13 ++ .../WalletConnect/WalletConnectService.ts | 86 +++++++++++++ .../WalletConnect/index.tsx | 114 ++++++++++++++++++ .../WalletsList/WalletsListItem/index.tsx | 24 ++++ .../WalletsList/index.tsx | 24 ++++ .../PolkadotWalletSelectorDialog/index.tsx | 76 ++++++++++++ 7 files changed, 366 insertions(+) create mode 100644 src/components/PolkadotWalletSelectorDialog/AccountsList/index.tsx create mode 100644 src/components/PolkadotWalletSelectorDialog/PolkadotWalletSelectorDialogLoading/index.tsx create mode 100644 src/components/PolkadotWalletSelectorDialog/WalletConnect/WalletConnectService.ts create mode 100644 src/components/PolkadotWalletSelectorDialog/WalletConnect/index.tsx create mode 100644 src/components/PolkadotWalletSelectorDialog/WalletsList/WalletsListItem/index.tsx create mode 100644 src/components/PolkadotWalletSelectorDialog/WalletsList/index.tsx create mode 100644 src/components/PolkadotWalletSelectorDialog/index.tsx diff --git a/src/components/PolkadotWalletSelectorDialog/AccountsList/index.tsx b/src/components/PolkadotWalletSelectorDialog/AccountsList/index.tsx new file mode 100644 index 00000000..7ff0e122 --- /dev/null +++ b/src/components/PolkadotWalletSelectorDialog/AccountsList/index.tsx @@ -0,0 +1,29 @@ +import { WalletAccount } from '@talismn/connect-wallets'; +import { useDeferredValue, useState } from 'preact/compat'; + +import { SearchInput } from '../../SearchInput'; +import { AccountCard } from '../../AccountCard'; + +interface ConnectModalAccountsListProps { + accounts: WalletAccount[]; +} + +export const ConnectModalAccountsList = ({ accounts }: ConnectModalAccountsListProps) => { + const [inputSearchValue, setInputSearchValue] = useState(''); + const deferredInputSearchValue = useDeferredValue(inputSearchValue); + + const filteredAccounts = deferredInputSearchValue.length + ? accounts.filter((account) => account.address.toLowerCase().includes(deferredInputSearchValue.toLowerCase())) + : accounts; + + return ( +
    + +
      + {filteredAccounts.map((account: WalletAccount) => ( + + ))} +
    +
    + ); +}; diff --git a/src/components/PolkadotWalletSelectorDialog/PolkadotWalletSelectorDialogLoading/index.tsx b/src/components/PolkadotWalletSelectorDialog/PolkadotWalletSelectorDialogLoading/index.tsx new file mode 100644 index 00000000..fd00a91c --- /dev/null +++ b/src/components/PolkadotWalletSelectorDialog/PolkadotWalletSelectorDialogLoading/index.tsx @@ -0,0 +1,13 @@ +import { Loading } from 'react-daisyui'; + +interface PolkadotWalletSelectorDialogLoadingProps { + selectedWallet: string; +} + +export const PolkadotWalletSelectorDialogLoading = ({ selectedWallet }: PolkadotWalletSelectorDialogLoadingProps) => ( +
    + +

    Connecting wallet

    +

    Please approve {selectedWallet} and approve transaction.

    +
    +); diff --git a/src/components/PolkadotWalletSelectorDialog/WalletConnect/WalletConnectService.ts b/src/components/PolkadotWalletSelectorDialog/WalletConnect/WalletConnectService.ts new file mode 100644 index 00000000..eeb5e0e1 --- /dev/null +++ b/src/components/PolkadotWalletSelectorDialog/WalletConnect/WalletConnectService.ts @@ -0,0 +1,86 @@ +import { Signer } from '@polkadot/types/types'; +import { WalletAccount } from '@talismn/connect-wallets'; +import type { SessionTypes } from '@walletconnect/types/dist/types/sign-client/session'; +import UniversalProvider, { UniversalProviderOpts } from '@walletconnect/universal-provider'; +import logo from '../../../assets/wallets/wallet-connect.svg'; +import { config } from '../../../config'; + +export const walletConnectService = { + provider: undefined as UniversalProvider | undefined, + session: undefined as { topic: string } | undefined, + getProvider: async function getProvider(): Promise { + this.provider = + this.provider || + (await UniversalProvider.init({ + projectId: config.walletConnect.projectId, + relayUrl: config.walletConnect.url, + metadata: { + name: 'Pendulum Portal', + description: + 'The Pendulum Portal allows users to interact with all features of the Pendulum-related parachains.', + url: 'https://portal.pendulumchain.org', + icons: ['https://portal.pendulumchain.org/assets/favicon.7ffed586.png'], + }, + } as UniversalProviderOpts)); + return this.provider; + }, + init: async function init(session: SessionTypes.Struct, chainId: string): Promise { + const provider = await this.getProvider(); + + this.session = { + topic: session.topic, + }; + + const wcAccounts = Object.values(session.namespaces) + .map((namespace) => namespace.accounts) + .flat(); + // grab account addresses from CAIP account formatted accounts + const accounts = wcAccounts.map((wcAccount) => { + const address = wcAccount.split(':')[2]; + return address; + }); + + const signer: Signer = { + signPayload: async (data) => { + const { address } = data; + return provider.client.request({ + chainId, + topic: session.topic, + request: { + method: 'polkadot_signTransaction', + params: { + address, + transactionPayload: data, + }, + }, + }); + }, + }; + return { + address: accounts[0], + source: 'walletConnect', + name: 'WalletConnect', + signer: signer as WalletAccount['signer'], // TODO: improve - not type safe + wallet: { + enable: () => undefined, + extensionName: 'WalletConnect', + title: 'Wallet Connect', + installUrl: 'https://walletconnect.com/', + logo: { + src: logo, + alt: 'WalletConnect', + }, + installed: true, + extension: undefined, + signer, + /** + * The following methods are tagged as 'Unused' since they are only required by the @talisman package, + * which we are not using to handle this wallet connection. + */ + getAccounts: () => Promise.resolve([]), // Unused + subscribeAccounts: () => undefined, // Unused + transformError: (err: Error) => err, // Unused + }, + }; + }, +}; diff --git a/src/components/PolkadotWalletSelectorDialog/WalletConnect/index.tsx b/src/components/PolkadotWalletSelectorDialog/WalletConnect/index.tsx new file mode 100644 index 00000000..3e9baf70 --- /dev/null +++ b/src/components/PolkadotWalletSelectorDialog/WalletConnect/index.tsx @@ -0,0 +1,114 @@ +import { WalletConnectModal } from '@walletconnect/modal'; +import UniversalProvider from '@walletconnect/universal-provider'; +import { SessionTypes } from '@walletconnect/types'; +import { Button } from 'react-daisyui'; +import { useCallback, useEffect, useState } from 'preact/hooks'; + +import logo from '../../../assets/wallets/wallet-connect.svg'; +import { config } from '../../../config'; +import { walletConnectService } from '../../../services/walletConnect'; +import { showToast, ToastMessage } from '../../../helpers/notifications'; +import { usePolkadotWalletState } from '../../../contexts/polkadotWallet'; +import { useNetwork } from '../../../contexts/network'; + +const assetHubId = 'polkadot:68d56f15f85d3136970ec16946040bc1'; //@todo + +export const walletConnectConfig = { + requiredNamespaces: { + polkadot: { + methods: ['polkadot_signTransaction', 'polkadot_signMessage'], + events: ['chainChanged', 'accountsChanged'], + chains: [assetHubId], + }, + }, + optionalNamespaces: { + polkadot: { + methods: ['polkadot_signTransaction', 'polkadot_signMessage'], + events: ['chainChanged', 'accountsChanged'], + chains: [assetHubId], + }, + }, +}; + +interface WalletConnectProps { + onClick: () => void; +} + +export const WalletConnect = ({ onClick }: WalletConnectProps) => { + const [loading, setLoading] = useState(false); + const [provider, setProvider] = useState | undefined>(); + const [modal, setModal] = useState(); + const { setWalletAccount, removeWalletAccount } = usePolkadotWalletState(); + const { polkadotSelectedNetworkId } = useNetwork(); + + const setupClientDisconnectListener = useCallback( + async (provider: Promise) => { + (await provider).client.on('session_delete', () => { + removeWalletAccount(); + }); + }, + [removeWalletAccount], + ); + + const handleModal = useCallback( + (uri?: string) => { + if (uri) { + modal?.openModal({ uri, onclose: () => setLoading(false) }); + } + }, + [modal], + ); + + const handleSession = useCallback( + async (approval: () => Promise, chainId: string) => { + const session = await approval(); + setWalletAccount(await walletConnectService.init(session, chainId)); + modal?.closeModal(); + }, + [setWalletAccount, modal], + ); + + const handleConnect = useCallback(async () => { + if (!provider || !polkadotSelectedNetworkId) return; + + const wcProvider = await provider; + const { uri, approval } = await wcProvider.client.connect(walletConnectConfig); + + handleModal(uri); + handleSession(approval, polkadotSelectedNetworkId); + await setupClientDisconnectListener(provider); + }, [provider, polkadotSelectedNetworkId, setupClientDisconnectListener, handleModal, handleSession]); + + const walletConnectClick = useCallback(async () => { + setLoading(true); + try { + await handleConnect(); + } catch (error: unknown) { + showToast(ToastMessage.ERROR, error as string); + } finally { + setLoading(false); + onClick(); + } + }, [handleConnect, onClick]); + + useEffect(() => { + if (provider) return; + setProvider(walletConnectService.getProvider()); + setModal( + new WalletConnectModal({ + projectId: config.walletConnect.projectId, + }), + ); + }, [provider]); + + return ( + + ); +}; diff --git a/src/components/PolkadotWalletSelectorDialog/WalletsList/WalletsListItem/index.tsx b/src/components/PolkadotWalletSelectorDialog/WalletsList/WalletsListItem/index.tsx new file mode 100644 index 00000000..44b57b95 --- /dev/null +++ b/src/components/PolkadotWalletSelectorDialog/WalletsList/WalletsListItem/index.tsx @@ -0,0 +1,24 @@ +import { Wallet } from '@talismn/connect-wallets'; +import { Button } from 'react-daisyui'; + +interface WalletsListItemProps { + wallet: Wallet; + onClick: (wallet: Wallet) => void; +} + +function buttonOnClick(props: WalletsListItemProps) { + const { wallet, onClick } = props; + + return wallet.installed ? onClick?.(wallet) : window.open(wallet.installUrl, '_blank', 'noopener,noreferrer'); +} + +export const WalletsListItem = (props: WalletsListItemProps) => ( + +); diff --git a/src/components/PolkadotWalletSelectorDialog/WalletsList/index.tsx b/src/components/PolkadotWalletSelectorDialog/WalletsList/index.tsx new file mode 100644 index 00000000..3dc5a84c --- /dev/null +++ b/src/components/PolkadotWalletSelectorDialog/WalletsList/index.tsx @@ -0,0 +1,24 @@ +import { Wallet } from '@talismn/connect-wallets'; +import { WalletsListItem } from './WalletsListItem'; +import { WalletConnect } from '../WalletConnect'; + +interface ConnectWalletListProps { + wallets?: Wallet[]; + onClick: (wallet: Wallet) => void; + onClose: () => void; +} + +export function ConnectModalWalletsList({ wallets, onClick, onClose }: ConnectWalletListProps) { + if (!wallets?.length) { + return

    No wallet installed

    ; + } + + return ( +
    + {wallets.map((wallet: Wallet) => ( + + ))} + +
    + ); +} diff --git a/src/components/PolkadotWalletSelectorDialog/index.tsx b/src/components/PolkadotWalletSelectorDialog/index.tsx new file mode 100644 index 00000000..138654ce --- /dev/null +++ b/src/components/PolkadotWalletSelectorDialog/index.tsx @@ -0,0 +1,76 @@ +import { Wallet } from '@talismn/connect-wallets'; +import { Collapse } from 'react-daisyui'; +import { useState } from 'preact/hooks'; + +import { useConnectPolkadotWallet } from '../../hooks/useConnectPolkadotWallet'; +import { ConnectModalAccountsList } from './AccountsList'; +import { PolkadotWalletSelectorDialogLoading } from './PolkadotWalletSelectorDialogLoading'; +import { ConnectModalWalletsList } from './WalletsList'; +import { Dialog } from '../Dialog'; + +interface PolkadotWalletSelectorDialogProps { + visible: boolean; + onClose: () => void; +} + +export const PolkadotWalletSelectorDialog = ({ visible, onClose }: PolkadotWalletSelectorDialogProps) => { + const { accounts, wallets, selectWallet, loading, selectedWallet } = useConnectPolkadotWallet(); + const [isAccountsCollapseOpen, setIsAccountsCollapseOpen] = useState(false); + + const accountsContent = ( + + setIsAccountsCollapseOpen((state) => !state)}>Choose Account + + + + + ); + + const walletsContent = ( + + Select Wallet + + { + selectWallet(wallet); + setIsAccountsCollapseOpen(true); + }} + onClose={onClose} + /> + + + ); + + const content = ( +
    + {walletsContent} + {accounts?.length ? accountsContent : <>} +
    + ); + + return loading ? ( + + } + onClose={() => { + selectWallet(undefined); + onClose(); + }} + /> + ) : ( + { + selectWallet(undefined); + onClose(); + }} + content={content} + /> + ); +}; From 0cf6bd4f7e980c6f943b1b41b2eb15520ef78e7c Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:22:54 +0100 Subject: [PATCH 034/172] extract EVM button to EVMWalletButton component --- .../buttons/EVMWalletButton/index.tsx | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 src/components/buttons/EVMWalletButton/index.tsx diff --git a/src/components/buttons/EVMWalletButton/index.tsx b/src/components/buttons/EVMWalletButton/index.tsx new file mode 100644 index 00000000..368f074d --- /dev/null +++ b/src/components/buttons/EVMWalletButton/index.tsx @@ -0,0 +1,80 @@ +import { PlayCircleIcon } from '@heroicons/react/20/solid'; +import { useEventsContext } from '../../../contexts/events'; +import accountBalanceWalletIcon from '../../../assets/account-balance-wallet.svg'; +import accountBalanceWalletIconPink from '../../../assets/account-balance-wallet-pink.svg'; +import { useAppKit, useAppKitAccount, useAppKitNetwork } from '@reown/appkit/react'; +import { useMemo } from 'preact/hooks'; +import { useAccount } from 'wagmi'; +import { wagmiConfig } from '../../../wagmiConfig'; +import { trimAddress } from '../../../helpers/addressFormatter'; + +export function EVMWalletButton() { + const { handleUserClickWallet } = useEventsContext(); + + // walletChainId is the chainId available on the wallet level + const { address, chainId: walletChainId } = useAccount(); + const { isConnected } = useAppKitAccount(); + // appkitNetwork contains the chainId currently configured on the app level + const { caipNetwork: appkitNetwork, switchNetwork } = useAppKitNetwork(); + const { open } = useAppKit(); + + // Check if the network selected in the wallet extension is enabled in our wagmi config + const isOnSupportedNetwork = wagmiConfig.chains.find((chain) => chain.id === walletChainId) !== undefined; + + const ConnectButton = useMemo(() => { + if (!isConnected) { + return ( + + ); + } else if (!isOnSupportedNetwork) { + return ( + + ); + } else { + return ( + + ); + } + }, [address, appkitNetwork, handleUserClickWallet, isConnected, isOnSupportedNetwork, open, switchNetwork]); + + return <>{ConnectButton}; +} From d007edf9e3433e7d44907aeb49dc71a42c6d19a4 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:27:08 +0100 Subject: [PATCH 035/172] add ConnectWalletButton --- .../buttons/ConnectWalletButton/index.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/components/buttons/ConnectWalletButton/index.tsx diff --git a/src/components/buttons/ConnectWalletButton/index.tsx b/src/components/buttons/ConnectWalletButton/index.tsx new file mode 100644 index 00000000..3815a87b --- /dev/null +++ b/src/components/buttons/ConnectWalletButton/index.tsx @@ -0,0 +1,14 @@ +import { Networks } from '../../../hooks/useGetNetworkIcon'; +import { useNetwork } from '../../../contexts/network'; +import { EVMWalletButton } from '../EVMWalletButton'; +import { PolkadotWalletButton } from '../PolkadotWalletButton'; + +export const ConnectWalletButton = () => { + const { selectedNetwork } = useNetwork(); + + if (selectedNetwork === Networks.assetHub) { + return ; + } + + return ; +}; From c5c71567dffefb4bed4edd9adfb6bb1214feb84f Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:27:42 +0100 Subject: [PATCH 036/172] update enum name in NetworkSelector from NetworkIcons to Networks --- src/components/NetworkSelector/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/NetworkSelector/index.tsx b/src/components/NetworkSelector/index.tsx index b120bd26..6c6a3f0b 100644 --- a/src/components/NetworkSelector/index.tsx +++ b/src/components/NetworkSelector/index.tsx @@ -2,7 +2,7 @@ import { motion } from 'framer-motion'; import { useState } from 'preact/hooks'; import { NetworkIcon } from '../NetworkIcon'; -import { NetworkIcons, NetworkIconType } from '../../hooks/useGetNetworkIcon'; +import { Networks, NetworkIconType } from '../../hooks/useGetNetworkIcon'; import { useNetwork } from '../../contexts/network'; const capitalize = (str: string) => str.charAt(0).toUpperCase() + str.slice(1); @@ -28,7 +28,7 @@ export const NetworkSelector = () => { transition={{ duration: 0.2 }} className="absolute w-48 mt-2 overflow-hidden bg-white rounded-lg shadow-lg top-full dark:bg-gray-800" > - {Object.values(NetworkIcons).map((networkId) => ( + {Object.values(Networks).map((networkId) => ( ); From 702a7e964ec42440ad3d08928a05ac4eaac8d133 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:28:25 +0100 Subject: [PATCH 038/172] remove unnecessary components --- .../buttons/ConnectWallet/index.tsx | 80 ------------------- src/config/walletConnect.ts | 26 ------ 2 files changed, 106 deletions(-) delete mode 100644 src/components/buttons/ConnectWallet/index.tsx delete mode 100644 src/config/walletConnect.ts diff --git a/src/components/buttons/ConnectWallet/index.tsx b/src/components/buttons/ConnectWallet/index.tsx deleted file mode 100644 index dd62f4b4..00000000 --- a/src/components/buttons/ConnectWallet/index.tsx +++ /dev/null @@ -1,80 +0,0 @@ -import { PlayCircleIcon } from '@heroicons/react/20/solid'; -import { useEventsContext } from '../../../contexts/events'; -import accountBalanceWalletIcon from '../../../assets/account-balance-wallet.svg'; -import accountBalanceWalletIconPink from '../../../assets/account-balance-wallet-pink.svg'; -import { useAppKit, useAppKitAccount, useAppKitNetwork } from '@reown/appkit/react'; -import { useMemo } from 'preact/hooks'; -import { useAccount } from 'wagmi'; -import { wagmiConfig } from '../../../wagmiConfig'; -import { trimAddress } from '../../../helpers/addressFormatter'; - -export function ConnectWallet() { - const { handleUserClickWallet } = useEventsContext(); - - // walletChainId is the chainId available on the wallet level - const { address, chainId: walletChainId } = useAccount(); - const { isConnected } = useAppKitAccount(); - // appkitNetwork contains the chainId currently configured on the app level - const { caipNetwork: appkitNetwork, switchNetwork } = useAppKitNetwork(); - const { open } = useAppKit(); - - // Check if the network selected in the wallet extension is enabled in our wagmi config - const isOnSupportedNetwork = wagmiConfig.chains.find((chain) => chain.id === walletChainId) !== undefined; - - const ConnectButton = useMemo(() => { - if (!isConnected) { - return ( - - ); - } else if (!isOnSupportedNetwork) { - return ( - - ); - } else { - return ( - - ); - } - }, [address, appkitNetwork, handleUserClickWallet, isConnected, isOnSupportedNetwork, open, switchNetwork]); - - return
    {ConnectButton}
    ; -} diff --git a/src/config/walletConnect.ts b/src/config/walletConnect.ts deleted file mode 100644 index 58fad9da..00000000 --- a/src/config/walletConnect.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { TenantName } from '../models/Tenant'; - -export const chainIds: Record = { - polkadot: 'polkadot:91b171bb158e2d3848fa23a9f1c25182', - foucoco: 'polkadot:67221cd96c1551b72d55f65164d6a39f', // foucoco, - amplitude: 'polkadot:cceae7f3b9947cdb67369c026ef78efa', // amplitude - pendulum: 'polkadot:5d3c298622d5634ed019bf61ea4b7165', // pendulum - local: 'polkadot:67221cd96c1551b72d55f65164d6a39f', // foucoco -}; - -export const walletConnectConfig = { - requiredNamespaces: { - polkadot: { - methods: ['polkadot_signTransaction', 'polkadot_signMessage'], - events: ['chainChanged', 'accountsChanged'], - chains: [chainIds.polkadot], - }, - }, - optionalNamespaces: { - polkadot: { - methods: ['polkadot_signTransaction', 'polkadot_signMessage'], - events: ['chainChanged', 'accountsChanged'], - chains: [chainIds.foucoco, chainIds.amplitude, chainIds.pendulum], - }, - }, -}; From 2aa356f050c6dede80d909ad397b87d8015b3e71 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:28:54 +0100 Subject: [PATCH 039/172] update component name in Navbar --- src/components/Navbar/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index da6f5d02..beef4569 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -4,7 +4,7 @@ import { Bars4Icon, XMarkIcon } from '@heroicons/react/20/solid'; import { motion, AnimatePresence } from 'framer-motion'; import whiteLogo from '../../assets/logo/white.png'; -import { ConnectWallet } from '../buttons/ConnectWallet'; +import { ConnectWalletButton } from '../buttons/ConnectWalletButton'; import { NetworkSelector } from '../NetworkSelector'; const links = [ @@ -107,7 +107,7 @@ export const Navbar = () => {
    - + setShowMenu(true)} /> setShowMenu(false)} />
    From 7ab8a9fdcbfb39b3ff8cd19cf3cedd6ab9e64842 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:29:11 +0100 Subject: [PATCH 040/172] update context providers --- src/main.tsx | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/main.tsx b/src/main.tsx index 57e0f7e8..a2028882 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -9,12 +9,12 @@ import * as Sentry from '@sentry/react'; import { WagmiProvider } from 'wagmi'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; -import { GlobalStateContext, GlobalStateProvider } from './GlobalStateProvider'; import { EventsProvider } from './contexts/events'; import { NetworkProvider } from './contexts/network'; import { wagmiConfig } from './wagmiConfig'; import { config } from './config'; import { App } from './app'; +import { PolkadotWalletStateProvider } from './contexts/polkadotWallet'; const queryClient = new QueryClient(); @@ -40,15 +40,11 @@ render( - - - - {() => { - return ; - }} - - - + + + + + From a89876ffc2da078222af760267a494fa664d0015 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Thu, 21 Nov 2024 14:29:32 +0100 Subject: [PATCH 041/172] fix path --- src/services/walletConnect/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/walletConnect/index.ts b/src/services/walletConnect/index.ts index 52869091..dd89793a 100644 --- a/src/services/walletConnect/index.ts +++ b/src/services/walletConnect/index.ts @@ -2,7 +2,7 @@ import { Signer } from '@polkadot/types/types'; import { WalletAccount } from '@talismn/connect-wallets'; import type { SessionTypes } from '@walletconnect/types/dist/types/sign-client/session'; import UniversalProvider from '@walletconnect/universal-provider'; -import logo from '../../assets/wallet-connect.svg'; +import logo from '../../assets/wallets/wallet-connect.svg'; import { config } from '../../config'; export const walletConnectService = { From 8cae03a441de587a6bc950dc208ca34140ec47fa Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Fri, 22 Nov 2024 12:52:43 +0100 Subject: [PATCH 042/172] update types and build command --- package.json | 2 +- src/components/PublicKey/ClickablePublicKey/index.tsx | 2 +- src/components/PublicKey/index.tsx | 2 +- src/components/SearchInput/index.tsx | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 8f1c8f36..d95265c6 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "packageManager": "yarn@4.5.0+sha512.837566d24eec14ec0f5f1411adb544e892b3454255e61fdef8fd05f3429480102806bac7446bc9daff3896b01ae4b62d00096c7e989f1596f2af10b927532f39", "scripts": { "dev": "vite --host", - "build": "tsc && vite build && cp -R src/assets/coins dist/assets/coins && echo '/* /index.html 200' | cat > dist/_redirects", + "build": "NODE_OPTIONS='--max_old_space_size=8192' tsc && NODE_OPTIONS='--max_old_space_size=8192' vite build && cp -R src/assets/coins dist/assets/coins && echo '/* /index.html 200' | cat > dist/_redirects", "preview": "vite preview", "lint": "eslint . --ext .ts,.tsx", "lint:fix": "eslint . --ext .ts,.tsx --fix", diff --git a/src/components/PublicKey/ClickablePublicKey/index.tsx b/src/components/PublicKey/ClickablePublicKey/index.tsx index 2503d471..257bbda1 100644 --- a/src/components/PublicKey/ClickablePublicKey/index.tsx +++ b/src/components/PublicKey/ClickablePublicKey/index.tsx @@ -1,4 +1,4 @@ -import { CSSProperties } from 'react'; +import { CSSProperties } from 'preact/compat'; import { Button } from 'react-daisyui'; import { FormatPublicKeyVariant, PublicKey } from '..'; diff --git a/src/components/PublicKey/index.tsx b/src/components/PublicKey/index.tsx index 033bf6e4..0da0f83b 100644 --- a/src/components/PublicKey/index.tsx +++ b/src/components/PublicKey/index.tsx @@ -1,4 +1,4 @@ -import { CSSProperties } from 'react'; +import { CSSProperties } from 'preact/compat'; export type FormatPublicKeyVariant = 'full' | 'short' | 'shorter' | 'hexa'; diff --git a/src/components/SearchInput/index.tsx b/src/components/SearchInput/index.tsx index a679eb51..77544e8a 100644 --- a/src/components/SearchInput/index.tsx +++ b/src/components/SearchInput/index.tsx @@ -1,12 +1,12 @@ import { MagnifyingGlassIcon } from '@heroicons/react/20/solid'; -import { Dispatch } from 'react'; +import { StateUpdater } from 'preact/compat'; interface SearchInputProps { - set: Dispatch; + set: StateUpdater; } export const SearchInput = ({ set, ...p }: SearchInputProps) => ( -