diff --git a/package.json b/package.json index 84c5cf2c..a41d2fd3 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ ] }, "dependencies": { - "@lifi/types": "^11.1.0", + "@lifi/types": "^11.2.0", "@solana/wallet-adapter-base": "^0.9.23", "@solana/web3.js": "^1.89.1", "eth-rpc-errors": "^4.0.3", @@ -114,7 +114,7 @@ "eslint-plugin-jsdoc": "^48.0.4", "eslint-plugin-prettier": "^5.1.3", "fs-extra": "^11.2.0", - "husky": "^9.0.7", + "husky": "^9.0.10", "lint-staged": "^15.2.1", "madge": "^6.1.0", "msw": "^2.1.5", diff --git a/src/createConfig.ts b/src/createConfig.ts index d9c79202..a0dc7843 100644 --- a/src/createConfig.ts +++ b/src/createConfig.ts @@ -18,7 +18,7 @@ function createBaseConfig(options: SDKConfig) { } export async function createChainsConfig() { - config.loading = getChains({ chainTypes: Object.values(ChainType) }) + config.loading = getChains({ chainTypes: [ChainType.EVM, ChainType.SVM] }) .then((chains) => config.setChains(chains)) .catch() await config.loading diff --git a/yarn.lock b/yarn.lock index 0031466b..1b2717c0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -664,7 +664,7 @@ __metadata: dependencies: "@commitlint/cli": "npm:^18.6.0" "@commitlint/config-conventional": "npm:^18.6.0" - "@lifi/types": "npm:^11.1.0" + "@lifi/types": "npm:^11.2.0" "@solana/wallet-adapter-base": "npm:^0.9.23" "@solana/web3.js": "npm:^1.89.1" "@types/fs-extra": "npm:^11.0.4" @@ -679,7 +679,7 @@ __metadata: eslint-plugin-prettier: "npm:^5.1.3" eth-rpc-errors: "npm:^4.0.3" fs-extra: "npm:^11.2.0" - husky: "npm:^9.0.7" + husky: "npm:^9.0.10" lint-staged: "npm:^15.2.1" madge: "npm:^6.1.0" msw: "npm:^2.1.5" @@ -693,10 +693,10 @@ __metadata: languageName: unknown linkType: soft -"@lifi/types@npm:^11.1.0": - version: 11.1.0 - resolution: "@lifi/types@npm:11.1.0" - checksum: ecc6a4a7b3cf0e113794a0d21f9d6b4ce3cede7cf584621c31cde8e90ec360678ae159920c368ac84959bf605afcd58cb6d9c4b46b69361f4e772c1a14811488 +"@lifi/types@npm:^11.2.0": + version: 11.2.0 + resolution: "@lifi/types@npm:11.2.0" + checksum: 2686f9de3e46f55193aba41e2bb57d4fdce6575a0df338710fe9daa42af4245b4d18144da1ab19433a6a18f96ea5eb1fb552bfc58f80fa0ed7fb86a319b9b760 languageName: node linkType: hard @@ -1121,11 +1121,11 @@ __metadata: linkType: hard "@types/node@npm:*": - version: 20.11.13 - resolution: "@types/node@npm:20.11.13" + version: 20.11.16 + resolution: "@types/node@npm:20.11.16" dependencies: undici-types: "npm:~5.26.4" - checksum: ffe143dd5e52d0d29f5bcea165b752c5355eaff8b6b933441108b540419e14c0c7e0e7912783e914125ab957e30db93f9c827e8dd437ec7e5f03def995e9a5e6 + checksum: 751f50ec5c9332b11515e82fe37c71479ac4449b711280aa3c7910edf67b1e3f5ac00041512add543f9a892096a68356406998bf02a2c809a73d176c44c28414 languageName: node linkType: hard @@ -3983,12 +3983,12 @@ __metadata: languageName: node linkType: hard -"husky@npm:^9.0.7": - version: 9.0.7 - resolution: "husky@npm:9.0.7" +"husky@npm:^9.0.10": + version: 9.0.10 + resolution: "husky@npm:9.0.10" bin: - husky: bin.js - checksum: c5673acb9f224b6d2b36ee4892c6b99dbe9a077b041aee6013efeacb71d2d2cbe6ab7fac061f68fa5653c7dbe93aacfeed69eea01f755688e4c36c4044dcc5c0 + husky: bin.mjs + checksum: c303f1862e2b63873605df55a2b08303155e35c799585d7dd677628f62d716e7304bd984fc7d00ec44e740caac07d51720d1a0abb0a23a70a38859d89eb8e72d languageName: node linkType: hard @@ -4018,9 +4018,9 @@ __metadata: linkType: hard "ignore@npm:^5.2.0, ignore@npm:^5.2.4": - version: 5.3.0 - resolution: "ignore@npm:5.3.0" - checksum: 51594355cea4c6ad6b28b3b85eb81afa7b988a1871feefd7062baf136c95aa06760ee934fa9590e43d967bd377ce84a4cf6135fbeb6063e063f1182a0e9a3bcd + version: 5.3.1 + resolution: "ignore@npm:5.3.1" + checksum: 0a884c2fbc8c316f0b9f92beaf84464253b73230a4d4d286697be45fca081199191ca33e1c2e82d9e5f851f5e9a48a78e25a35c951e7eb41e59f150db3530065 languageName: node linkType: hard @@ -4843,11 +4843,11 @@ __metadata: linkType: hard "magic-string@npm:^0.30.5": - version: 0.30.5 - resolution: "magic-string@npm:0.30.5" + version: 0.30.6 + resolution: "magic-string@npm:0.30.6" dependencies: "@jridgewell/sourcemap-codec": "npm:^1.4.15" - checksum: c8a6b25f813215ca9db526f3a407d6dc0bf35429c2b8111d6f1c2cf6cf6afd5e2d9f9cd189416a0e3959e20ecd635f73639f9825c73de1074b29331fe36ace59 + checksum: 046fbf11614a271e7214d32ca02a2af8d18b268403db9d50580f421ff2222261f1cd8bb02a938206130e3c43deefa6423ee4622c4f161212298570f22b4059bb languageName: node linkType: hard