From 57ca0987f78ee25487108f19239c49a9df69d0aa Mon Sep 17 00:00:00 2001 From: Bryan Date: Mon, 28 Oct 2024 14:18:07 -0500 Subject: [PATCH 1/7] bump deps (#821) --- .../xcshareddata/swiftpm/Package.resolved | 21 +- ios/Podfile.lock | 8 +- package.json | 44 +-- yarn.lock | 302 +++++++++--------- 4 files changed, 204 insertions(+), 171 deletions(-) diff --git a/ios/HeliumWallet.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ios/HeliumWallet.xcworkspace/xcshareddata/swiftpm/Package.resolved index 8c8230ba7..7ebcc34da 100644 --- a/ios/HeliumWallet.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/ios/HeliumWallet.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,5 +1,4 @@ { - "originHash" : "e70d3525c8e2819a8b34f22909815dab5c700c25a06c32388f3930f7b3627768", "pins" : [ { "identity" : "maplibre-gl-native-distribution", @@ -9,7 +8,25 @@ "revision" : "ffda61e298c1490d4860d5184e80d618aaadc089", "version" : "5.13.0" } + }, + { + "identity" : "swiftui-charts", + "kind" : "remoteSourceControl", + "location" : "https://github.com/spacenation/swiftui-charts", + "state" : { + "revision" : "b044e7eb04d0026490eecb115f4fc07197dad942", + "version" : "1.1.0" + } + }, + { + "identity" : "swiftui-shapes", + "kind" : "remoteSourceControl", + "location" : "https://github.com/spacenation/swiftui-shapes.git", + "state" : { + "revision" : "c58b15c37eae9bd20525c6daa93a06a689ca75cb", + "version" : "1.1.0" + } } ], - "version" : 3 + "version" : 2 } diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 3a1791f8c..4a116d358 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1885,16 +1885,16 @@ SPEC CHECKSUMS: ExpoSecureStore: 060cebcb956b80ddae09821610ac1aa9e1ac74cd EXSplashScreen: fbf0ec78e9cee911df188bf17b4fe51d15a84b87 FBLazyVector: ac12dc084d1c8ec4cc4d7b3cf1b0ebda6dab85af - fmt: 8083860262b879fc92bca720969c91bdb88ada93 - glog: 77f46f3d5c779b34a09b51a92fa9e0fcab64df1c + fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120 + glog: fdfdfe5479092de0c4bdbebedd9056951f092c4f helium-react-native-sdk: 54928dcd95ea131437ac6e269cf5bb2d473bf57f - hermes-engine: e52d9706e7fd6078e529d8ada1af7b95946c4ce6 + hermes-engine: 8c1577f3fdb849cbe7729c2e7b5abc4b845e88f8 lottie-ios: e047b1d2e6239b787cc5e9755b988869cf190494 lottie-react-native: f851c0e235f171d99083c803f728f644be1dcf65 maplibre-react-native: 3a0d9beca427ff9000d75e0974c366ecd3c5375e MultiplatformBleAdapter: 5a6a897b006764392f9cef785e4360f54fb9477d OneSignalXCFramework: f06edd9b146c7ac5935136a117ce2a5fdd6420f6 - RCT-Folly: 36944e180e3143948e1c8b0c5eade65a3dd45142 + RCT-Folly: 02617c592a293bd6d418e0a88ff4ee1f88329b47 RCTDeprecation: 3afceddffa65aee666dafd6f0116f1d975db1584 RCTRequired: ec1239bc9d8bf63e10fb92bd8b26171a9258e0c1 RCTTypeSafety: f5ecbc86c5c5fa163c05acb7a1c5012e15b5f994 diff --git a/package.json b/package.json index 56c68acb9..5a6f3c1aa 100644 --- a/package.json +++ b/package.json @@ -31,34 +31,34 @@ "@coral-xyz/anchor": "^0.28.0", "@gorhom/bottom-sheet": "4.6.0", "@gorhom/portal": "1.0.14", - "@helium/account-fetch-cache": "0.9.7", - "@helium/account-fetch-cache-hooks": "0.9.7", + "@helium/account-fetch-cache": "0.9.9", + "@helium/account-fetch-cache-hooks": "0.9.9", "@helium/address": "4.10.2", - "@helium/circuit-breaker-sdk": "^0.9.7", + "@helium/circuit-breaker-sdk": "^0.9.9", "@helium/crypto-react-native": "4.8.0", - "@helium/currency-utils": "^0.9.7", - "@helium/data-credits-sdk": "^0.9.7", - "@helium/distributor-oracle": "0.9.7", - "@helium/fanout-sdk": "^0.9.7", - "@helium/helium-entity-manager-sdk": "^0.9.7", - "@helium/helium-react-hooks": "0.9.7", - "@helium/helium-sub-daos-sdk": "^0.9.7", + "@helium/currency-utils": "^0.9.9", + "@helium/data-credits-sdk": "^0.9.9", + "@helium/distributor-oracle": "0.9.9", + "@helium/fanout-sdk": "^0.9.9", + "@helium/helium-entity-manager-sdk": "^0.9.9", + "@helium/helium-react-hooks": "0.9.9", + "@helium/helium-sub-daos-sdk": "^0.9.9", "@helium/http": "4.7.5", - "@helium/idls": "0.9.7", - "@helium/lazy-distributor-sdk": "^0.9.7", + "@helium/idls": "0.9.9", + "@helium/lazy-distributor-sdk": "^0.9.9", "@helium/modular-governance-hooks": "^0.0.13", "@helium/modular-governance-idls": "0.0.13", "@helium/onboarding": "4.11.0", "@helium/organization-sdk": "^0.0.13", "@helium/proto-ble": "4.0.0", "@helium/react-native-sdk": "3.0.5", - "@helium/spl-utils": "0.9.7", + "@helium/spl-utils": "0.9.9", "@helium/state-controller-sdk": "^0.0.13", - "@helium/sus": "0.9.7", + "@helium/sus": "0.9.9", "@helium/transactions": "4.8.1", - "@helium/treasury-management-sdk": "^0.9.7", - "@helium/voter-stake-registry-hooks": "0.9.7", - "@helium/voter-stake-registry-sdk": "0.9.7", + "@helium/treasury-management-sdk": "^0.9.9", + "@helium/voter-stake-registry-hooks": "0.9.9", + "@helium/voter-stake-registry-sdk": "0.9.9", "@helium/wallet-link": "4.11.0", "@jup-ag/api": "^6.0.6", "@keystonehq/keystone-sdk": "^0.8.0", @@ -276,11 +276,11 @@ "@types/react": "18", "react": "18.2.0", "@solana/wallet-adapter-react": "0.15.33", - "@helium/account-fetch-cache": "^0.9.7", - "@helium/account-fetch-cache-hooks": "^0.9.7", - "@helium/helium-react-hooks": "^0.9.7", - "@helium/voter-stake-registry-hooks": "^0.9.7", - "@helium/voter-stake-registry-sdk": "^0.9.7", + "@helium/account-fetch-cache": "^0.9.9", + "@helium/account-fetch-cache-hooks": "^0.9.9", + "@helium/helium-react-hooks": "^0.9.9", + "@helium/voter-stake-registry-hooks": "^0.9.9", + "@helium/voter-stake-registry-sdk": "^0.9.9", "@helium/modular-governance-hooks": "^0.0.13", "@helium/onboarding": "4.11.0" }, diff --git a/yarn.lock b/yarn.lock index 031585792..78d4a40bc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2460,26 +2460,26 @@ __metadata: languageName: node linkType: hard -"@helium/account-fetch-cache-hooks@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/account-fetch-cache-hooks@npm:0.9.7" +"@helium/account-fetch-cache-hooks@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/account-fetch-cache-hooks@npm:0.9.9" dependencies: - "@helium/account-fetch-cache": ^0.9.7 + "@helium/account-fetch-cache": ^0.9.9 "@solana/web3.js": ^1.78.8 react-async-hook: ^4.0.0 peerDependencies: react: ^16.8 || ^17 || ^18 react-dom: ^16.8 || ^17 || ^18 - checksum: 0af43959dc0c963e2923a1d2998c645621571c9719a65b464174c3d54775169ff2183c90a724460b3e6ad0cd79db55ab1bb9d09afdb0ddf6ee00bc784779f5bd + checksum: 8dbc7bb1ed466d49fc70bd10468179cd87ba48617d2bff99e5ec9bbf278dc41285b258dfac51c27b57ba16aa43e32b2bfb1bb96a048f00ada73b6acb10ae970b languageName: node linkType: hard -"@helium/account-fetch-cache@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/account-fetch-cache@npm:0.9.7" +"@helium/account-fetch-cache@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/account-fetch-cache@npm:0.9.9" dependencies: "@solana/web3.js": ^1.78.8 - checksum: 900d160b1cfa793c9b930011d8cd6c6c67bf15f7a1fcea82aba112cf21d87e836883712b44fca449aa6f17bed6fad9e92379996bca43ca392bd4ecef055c30a5 + checksum: a8c67b53d2c116e68edbabb2b79473a6901ff4fe48d3629d2808aadab34dd97c5b172df9e06b2f941747e17812302847ed77b1853e4f87588c958681a2d68139 languageName: node linkType: hard @@ -2553,15 +2553,15 @@ __metadata: languageName: node linkType: hard -"@helium/anchor-resolvers@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/anchor-resolvers@npm:0.9.7" +"@helium/anchor-resolvers@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/anchor-resolvers@npm:0.9.9" dependencies: "@solana/spl-token": ^0.3.8 "@solana/web3.js": ^1.78.8 peerDependencies: "@coral-xyz/anchor": ^0.28.0 - checksum: c15796832742b3eed06ae9c86b406a367432d981bb6b3d9e487b3632d013e733e115f22b5cc1701853b9435453e59a501dd2ad407b6f37a5059b2221c7efdb2a + checksum: 90436721c2f89050131255b3766a5ae8886af82f299be2bb8b4bd5e927b931a2af838f8774c24343990a92ac516da3eed2c214b85e1b9b7a96a009530b98e986 languageName: node linkType: hard @@ -2591,16 +2591,16 @@ __metadata: languageName: node linkType: hard -"@helium/circuit-breaker-sdk@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/circuit-breaker-sdk@npm:0.9.7" +"@helium/circuit-breaker-sdk@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/circuit-breaker-sdk@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.7 - "@helium/idls": ^0.9.7 + "@helium/anchor-resolvers": ^0.9.9 + "@helium/idls": ^0.9.9 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: d9f3c56c1f81f06f8228dd078103fd766a8b818700ee8067c21bdc8f1701ba86d4a76fe1246859d0a7e676bf40e062887f03d99aab272bf20e9753e2b40cc821 + checksum: 14c83ab1601acb7ae2dc3441f042a76f4228fc845afbd2628ea7f44b64fa6f6db3362f0913ad5352a46f6085e45e1383ffb8577cbd15b74ddc79fa52bae1ab79 languageName: node linkType: hard @@ -2637,13 +2637,13 @@ __metadata: languageName: node linkType: hard -"@helium/currency-utils@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/currency-utils@npm:0.9.7" +"@helium/currency-utils@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/currency-utils@npm:0.9.9" dependencies: "@solana/spl-token": ^0.3.8 "@solana/web3.js": ^1.78.8 - checksum: 3f4a55fd1e74fedab58cf57b465aa85506ae0ad4616ec5c6c03361cbd30a58173ff965504675c1e647b86468fcd201f8b76b6b78409b855588b2b0569771e863 + checksum: 8d676ba7c726daee8cd35eebb80300bd407c9a126f6c9f27d13d26de63a8494eca61b534dd72f4c656eb96be80c63664b2de0cd7398b6a09294465ebcefc8f63 languageName: node linkType: hard @@ -2688,36 +2688,36 @@ __metadata: languageName: node linkType: hard -"@helium/data-credits-sdk@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/data-credits-sdk@npm:0.9.7" +"@helium/data-credits-sdk@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/data-credits-sdk@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.7 - "@helium/circuit-breaker-sdk": ^0.9.7 - "@helium/helium-sub-daos-sdk": ^0.9.7 - "@helium/idls": ^0.9.7 + "@helium/anchor-resolvers": ^0.9.9 + "@helium/circuit-breaker-sdk": ^0.9.9 + "@helium/helium-sub-daos-sdk": ^0.9.9 + "@helium/idls": ^0.9.9 bn.js: ^5.2.0 bs58: ^4.0.1 crypto-js: ^4.1.1 - checksum: 4de7b83c0c9960775a9d34374541af922e3a94c8f1a322bc81248bf8defcadcb78cdb1a2593fb7c99e4008e9bf052e189aaff8963e9173dbb3d48b5a501a1ec8 + checksum: 1c2a87e5baccbcf1722f7f998d47e89b544ec6ee25a5edeea402ab9bb3d8453d98d600a30102e4f748a5d272beeae8ef43dc82a57a4eb3b70d419ece5876a956 languageName: node linkType: hard -"@helium/distributor-oracle@npm:0.9.7": - version: 0.9.7 - resolution: "@helium/distributor-oracle@npm:0.9.7" +"@helium/distributor-oracle@npm:0.9.9": + version: 0.9.9 + resolution: "@helium/distributor-oracle@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 "@fastify/cors": ^8.1.1 - "@helium/account-fetch-cache": ^0.9.7 + "@helium/account-fetch-cache": ^0.9.9 "@helium/address": ^4.10.2 - "@helium/helium-entity-manager-sdk": ^0.9.7 - "@helium/helium-sub-daos-sdk": ^0.9.7 - "@helium/idls": ^0.9.7 - "@helium/lazy-distributor-sdk": ^0.9.7 - "@helium/rewards-oracle-sdk": ^0.9.7 - "@helium/spl-utils": ^0.9.7 + "@helium/helium-entity-manager-sdk": ^0.9.9 + "@helium/helium-sub-daos-sdk": ^0.9.9 + "@helium/idls": ^0.9.9 + "@helium/lazy-distributor-sdk": ^0.9.9 + "@helium/rewards-oracle-sdk": ^0.9.9 + "@helium/spl-utils": ^0.9.9 "@metaplex-foundation/mpl-bubblegum": ^0.7.0 "@solana/spl-token": ^0.3.8 "@types/sequelize": ^4.28.14 @@ -2733,20 +2733,20 @@ __metadata: prom-client: ^15.0.0 sequelize: ^6.28.0 typescript-collections: ^1.3.3 - checksum: d3a6e9a9afe4cb96df21c664577a16b25d4f5e6ee4e68561089034c81d99ac7fadae2509087db335f81334a86e7faa8cda7a32717d21092084ac7c88fc17a88c + checksum: 0dab956e5900d91047ade22d5bbd7b4d66f47cf0c851847e6a456691031e545f75c8688a6291fa72cab5778f348f551928ada2b8e202bedd8691b95b5516d446 languageName: node linkType: hard -"@helium/fanout-sdk@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/fanout-sdk@npm:0.9.7" +"@helium/fanout-sdk@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/fanout-sdk@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.7 - "@helium/idls": ^0.9.7 + "@helium/anchor-resolvers": ^0.9.9 + "@helium/idls": ^0.9.9 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 31104d246c9fafcc4b4ff446ed1b6403f59a121538fc9fee5bc553f5d6b8290b689f9943c1ae9afbfda46e7e01a86caa09ce8c587ca91a5684e1a5c3e17741bc + checksum: 6db73b517d3c2949c3dd9f6c278f555cc3c3f69a857b3260bb23df193e545c5c9b425fffd89446069c5107802bf3b433b0e6675bea6a98ea4d1dcfefa5170514 languageName: node linkType: hard @@ -2788,32 +2788,32 @@ __metadata: languageName: node linkType: hard -"@helium/helium-entity-manager-sdk@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/helium-entity-manager-sdk@npm:0.9.7" +"@helium/helium-entity-manager-sdk@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/helium-entity-manager-sdk@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 "@helium/address": ^4.10.2 - "@helium/anchor-resolvers": ^0.9.7 - "@helium/helium-sub-daos-sdk": ^0.9.7 - "@helium/idls": ^0.9.7 - "@helium/no-emit-sdk": ^0.9.7 - "@helium/spl-utils": ^0.9.7 + "@helium/anchor-resolvers": ^0.9.9 + "@helium/helium-sub-daos-sdk": ^0.9.9 + "@helium/idls": ^0.9.9 + "@helium/no-emit-sdk": ^0.9.9 + "@helium/spl-utils": ^0.9.9 bn.js: ^5.2.0 bs58: ^4.0.1 crypto-js: ^4.1.1 js-sha256: ^0.9.0 - checksum: 08d8bf2f811f4509015579673ae890894c9c5c3417815c592043d81c3775294600735c7f01bbd78d2150353ca4e64b89e58f4668ca4b2ed278d32d6afc17f110 + checksum: 7cf5617ce1283a353f4ba76e0388e48658704bf4f6a03793b202f32559080519254e24d9f40aa99bd865b17c8b9442a066ccfd143dadb90e814989f5f1d9eb8f languageName: node linkType: hard -"@helium/helium-react-hooks@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/helium-react-hooks@npm:0.9.7" +"@helium/helium-react-hooks@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/helium-react-hooks@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/account-fetch-cache": ^0.9.7 - "@helium/account-fetch-cache-hooks": ^0.9.7 + "@helium/account-fetch-cache": ^0.9.9 + "@helium/account-fetch-cache-hooks": ^0.9.9 "@solana/spl-token": ^0.3.8 "@solana/web3.js": ^1.78.8 bs58: ^4.0.1 @@ -2823,7 +2823,7 @@ __metadata: "@solana/wallet-adapter-react": ^0.15.32 react: ^16.8 || ^17 || ^18 react-dom: ^16.8 || ^17 || ^18 - checksum: 0614fe24e03f02c7ec1edc3ecad3de2020ec9bfe004a4a0a6921aad5f8046c1ca3426fe3089e92667e35e14e21e4d70fca599bb2e42ce18ecd3c88f914279bdb + checksum: ffb25ca188bca4873baf91150cde6baa95afe5c7abb72aacec50ee622f8006498df539fbb6647c0c9eb928a6666caceb4ce0dd7516098a6ef427725ab5fd82e1 languageName: node linkType: hard @@ -2857,18 +2857,18 @@ __metadata: languageName: node linkType: hard -"@helium/helium-sub-daos-sdk@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/helium-sub-daos-sdk@npm:0.9.7" +"@helium/helium-sub-daos-sdk@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/helium-sub-daos-sdk@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.7 - "@helium/circuit-breaker-sdk": ^0.9.7 - "@helium/treasury-management-sdk": ^0.9.7 - "@helium/voter-stake-registry-sdk": ^0.9.7 + "@helium/anchor-resolvers": ^0.9.9 + "@helium/circuit-breaker-sdk": ^0.9.9 + "@helium/treasury-management-sdk": ^0.9.9 + "@helium/voter-stake-registry-sdk": ^0.9.9 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 09f188a86c492d90c9e1f45d56c4edd976819832b12b63e9b1d378274da2f39580bd54a860edcd6ac2f596d1f0046a232236880eddc2d8b8ebdeae8135a46938 + checksum: aab3b3aeb6e3d5a1e2f63b91f95e2bdd9d8086bfd21dcfbcc1d1741e00170d08bd87133ab6eb127cd951b32ae354638d811b9fa790c804478d4c1d912061a96f languageName: node linkType: hard @@ -2917,16 +2917,16 @@ __metadata: languageName: node linkType: hard -"@helium/idls@npm:0.9.7, @helium/idls@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/idls@npm:0.9.7" +"@helium/idls@npm:0.9.9, @helium/idls@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/idls@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 "@solana/web3.js": ^1.78.8 bn.js: ^5.2.0 borsh: ^0.7.0 bs58: ^4.0.1 - checksum: 5c2586b6b9f8063ed7cd9b135c29de430e24b7e84d643dc7031dd06aab4f9dbb8b5b9d861be6e433e500f3d055fc8eccee08d99ff52a28c2c66c5302d5bc0cac + checksum: e66b06e629e6e9d67bdfd7414c24deeb5848f0bc82e5ea603fdb87c8a3aa9a960aa4d44810fcd671bfce412a5789a87b4629a7c4b6ae0bd70962597809c12397 languageName: node linkType: hard @@ -2969,16 +2969,16 @@ __metadata: languageName: node linkType: hard -"@helium/lazy-distributor-sdk@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/lazy-distributor-sdk@npm:0.9.7" +"@helium/lazy-distributor-sdk@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/lazy-distributor-sdk@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.7 - "@helium/circuit-breaker-sdk": ^0.9.7 + "@helium/anchor-resolvers": ^0.9.9 + "@helium/circuit-breaker-sdk": ^0.9.9 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: cc4980ef07b5a458a0952147b624f505d304f16a147eb7b336a8dfbf4359a775ac4a228f3e3ba01af750bd0e39b83256eb4402a7e9d8429cba17c93e32641869 + checksum: 87ab347c0e45f11263cd3021daf4e72e2f6f636f72303395b5b3c4420c13584767166d938e4498c2c42dfdd7430c75311e4fc253d852324874f26c11fd458dcc languageName: node linkType: hard @@ -3055,16 +3055,16 @@ __metadata: languageName: node linkType: hard -"@helium/no-emit-sdk@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/no-emit-sdk@npm:0.9.7" +"@helium/no-emit-sdk@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/no-emit-sdk@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 "@helium/anchor-resolvers": ^0.5.0 "@helium/idls": ^0.5.0 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: d6409dfd6991c172758fc84bbf1b252d0c44ce7cc27a53b08ea1e81b6280577c841fa4442df5e60df938e20f77e9c7f9db957b04bbdee3774ada1bd469de4625 + checksum: b94dbc4aacc5f2bc44d0c5648aadc123f9996558eb72213b82bccce517d3d410f6be18ff3bd106564278df03223fd4b90a293fada8e6405b36d1820b1794ef2a languageName: node linkType: hard @@ -3111,6 +3111,21 @@ __metadata: languageName: node linkType: hard +"@helium/position-voting-rewards-sdk@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/position-voting-rewards-sdk@npm:0.9.9" + dependencies: + "@coral-xyz/anchor": ^0.28.0 + "@helium/anchor-resolvers": ^0.9.9 + "@helium/idls": ^0.9.9 + "@helium/spl-utils": ^0.9.9 + "@solana/spl-token": ^0.3.8 + bn.js: ^5.2.0 + bs58: ^4.0.1 + checksum: 5b40ec47c7c2111bd11788c2c7ba6dcf0a1b0e3e3748ccc9de942e5a3b322bb4417b729c60d9e28b5991cd2e672c55022a1fab6ec9c190c09bbf60647405a56a + languageName: node + linkType: hard + "@helium/proposal-sdk@npm:^0.0.13": version: 0.0.13 resolution: "@helium/proposal-sdk@npm:0.0.13" @@ -3215,27 +3230,27 @@ __metadata: languageName: node linkType: hard -"@helium/rewards-oracle-sdk@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/rewards-oracle-sdk@npm:0.9.7" +"@helium/rewards-oracle-sdk@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/rewards-oracle-sdk@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.7 - "@helium/idls": ^0.9.7 + "@helium/anchor-resolvers": ^0.9.9 + "@helium/idls": ^0.9.9 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 007441b2af11c54c5c3b7a3c634d32f3499fc37b91b9079da12c884d09dae6eb958dbb1dfd881ed16b535ad8dd6f27e18b26d50f9ca4f11fea5fbed521a0c12c + checksum: 2eb28af743acde99eaf79daed5556904f80296e073da3c8c8ac8469a1fe438578ba49b96a02f566acec0ab29c84c550bf6577eed0afddfa535039bc4db3786ae languageName: node linkType: hard -"@helium/spl-utils@npm:0.9.7, @helium/spl-utils@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/spl-utils@npm:0.9.7" +"@helium/spl-utils@npm:0.9.9, @helium/spl-utils@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/spl-utils@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/account-fetch-cache": ^0.9.7 + "@helium/account-fetch-cache": ^0.9.9 "@helium/address": ^4.10.2 - "@helium/anchor-resolvers": ^0.9.7 + "@helium/anchor-resolvers": ^0.9.9 "@metaplex-foundation/mpl-token-metadata": ^2.10.0 "@solana/spl-account-compression": ^0.1.7 "@solana/spl-token": ^0.3.8 @@ -3244,7 +3259,7 @@ __metadata: bn.js: ^5.2.0 borsh: ^0.7.0 bs58: ^4.0.1 - checksum: c7ed4c8a4701b019ac1dca008e1da7095f9f7bdbd685792c83b11480137a5c55473c672b9eb26ae3431d11e87c9e0d6a93870ed9d223b8ecc56008443b58c230 + checksum: 9ed364511e9c2999135ab8cb4b8cf14f088e2e4e99da1a7b94ec78384e192e892f10cef4ca607571cd9204b195cae410242b3ebaa452b1b3de088d0b4fa49173 languageName: node linkType: hard @@ -3299,9 +3314,9 @@ __metadata: languageName: node linkType: hard -"@helium/sus@npm:0.9.7": - version: 0.9.7 - resolution: "@helium/sus@npm:0.9.7" +"@helium/sus@npm:0.9.9": + version: 0.9.9 + resolution: "@helium/sus@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 "@metaplex-foundation/mpl-token-metadata": ^2.10.0 @@ -3310,7 +3325,7 @@ __metadata: axios: ^1.6.5 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 20888988d0b2e65b1cc66a28092b1b7792a9ccdce3e9d86b9e90b5dc32add29e701ef6e323f1bfdad1008a6b8fc8daffa43e20e58facdfe2e0974842a3bf68b1 + checksum: 373226d0e1ed695d76c70943e9debdc46c755210f9b632e7b6fbece355c244e6ddea46e0db9cca6b94e416aaada10788afbe89ec91b6c25ed15a6a69348a93f8 languageName: node linkType: hard @@ -3368,34 +3383,35 @@ __metadata: languageName: node linkType: hard -"@helium/treasury-management-sdk@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/treasury-management-sdk@npm:0.9.7" +"@helium/treasury-management-sdk@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/treasury-management-sdk@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.7 - "@helium/circuit-breaker-sdk": ^0.9.7 - "@helium/idls": ^0.9.7 + "@helium/anchor-resolvers": ^0.9.9 + "@helium/circuit-breaker-sdk": ^0.9.9 + "@helium/idls": ^0.9.9 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 0297fb5afd6646a8e2d544d7eadaf55bfed67cdb5531e3bac5c0d4fc02874921174023bebda5445e8a2f39bef93d86ce0f41ab1b3191f54fe98574f0548c3a28 + checksum: 3dc67eee077fc4b06053926ecc79f0541886c5dd4547e227e277b3004c611711892125fe27cb1867648595c5a116b7585746763c1d6b9939b5780b5eb718ab9f languageName: node linkType: hard -"@helium/voter-stake-registry-hooks@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/voter-stake-registry-hooks@npm:0.9.7" +"@helium/voter-stake-registry-hooks@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/voter-stake-registry-hooks@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/account-fetch-cache": ^0.9.7 - "@helium/account-fetch-cache-hooks": ^0.9.7 - "@helium/circuit-breaker-sdk": ^0.9.7 - "@helium/helium-react-hooks": ^0.9.7 - "@helium/helium-sub-daos-sdk": ^0.9.7 + "@helium/account-fetch-cache": ^0.9.9 + "@helium/account-fetch-cache-hooks": ^0.9.9 + "@helium/circuit-breaker-sdk": ^0.9.9 + "@helium/helium-react-hooks": ^0.9.9 + "@helium/helium-sub-daos-sdk": ^0.9.9 "@helium/modular-governance-hooks": ^0.0.12 "@helium/modular-governance-idls": ^0.0.12 - "@helium/spl-utils": ^0.9.7 - "@helium/voter-stake-registry-sdk": ^0.9.7 + "@helium/position-voting-rewards-sdk": ^0.9.9 + "@helium/spl-utils": ^0.9.9 + "@helium/voter-stake-registry-sdk": ^0.9.9 "@solana/wallet-adapter-base": ^0.9.22 "@solana/wallet-adapter-react": ^0.15.32 "@solana/web3.js": ^1.78.8 @@ -3406,24 +3422,24 @@ __metadata: peerDependencies: react: ^16.8 || ^17 || ^18 react-dom: ^16.8 || ^17 || ^18 - checksum: b6b577ef118228cf9290c692b1b1c0973ee4aceb70240988e8a85ff8eaf3edb0927f1126c2a7d6c76be4adb713ae83d268abbcf793c870fd9bd74986e434a05d + checksum: 2df9e7909f711a975bf3e0cfbd143c9284f4f83bb80401128a93f174b4ba97c68edd03b1cad408315de837b85d2e821fab3c5aab07e1d09ea1bad06ef7062434 languageName: node linkType: hard -"@helium/voter-stake-registry-sdk@npm:^0.9.7": - version: 0.9.7 - resolution: "@helium/voter-stake-registry-sdk@npm:0.9.7" +"@helium/voter-stake-registry-sdk@npm:^0.9.9": + version: 0.9.9 + resolution: "@helium/voter-stake-registry-sdk@npm:0.9.9" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.7 - "@helium/idls": ^0.9.7 + "@helium/anchor-resolvers": ^0.9.9 + "@helium/idls": ^0.9.9 "@helium/nft-proxy-sdk": ^0.0.12 - "@helium/spl-utils": ^0.9.7 + "@helium/spl-utils": ^0.9.9 "@metaplex-foundation/mpl-token-metadata": ^2.10.0 "@solana/spl-token": ^0.3.8 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 51121199819f0a30aa7d5f9ebcac3e0f104721d38fcae10df47c5ecf207e3f015ad136fcbf67353e3b9f890b680c3b2a6def0995eab7918f3fce62d1fc3924b5 + checksum: a1bb171b1b7e6f1e025c9326ae463b10408252af5960c4764beb2e308073c41cc776134bc980bf559c3dba84c27b45e320e87f08c249ef27bbf045f6540fd5bc languageName: node linkType: hard @@ -12707,34 +12723,34 @@ __metadata: "@coral-xyz/anchor": ^0.28.0 "@gorhom/bottom-sheet": 4.6.0 "@gorhom/portal": 1.0.14 - "@helium/account-fetch-cache": 0.9.7 - "@helium/account-fetch-cache-hooks": 0.9.7 + "@helium/account-fetch-cache": 0.9.9 + "@helium/account-fetch-cache-hooks": 0.9.9 "@helium/address": 4.10.2 - "@helium/circuit-breaker-sdk": ^0.9.7 + "@helium/circuit-breaker-sdk": ^0.9.9 "@helium/crypto-react-native": 4.8.0 - "@helium/currency-utils": ^0.9.7 - "@helium/data-credits-sdk": ^0.9.7 - "@helium/distributor-oracle": 0.9.7 - "@helium/fanout-sdk": ^0.9.7 - "@helium/helium-entity-manager-sdk": ^0.9.7 - "@helium/helium-react-hooks": 0.9.7 - "@helium/helium-sub-daos-sdk": ^0.9.7 + "@helium/currency-utils": ^0.9.9 + "@helium/data-credits-sdk": ^0.9.9 + "@helium/distributor-oracle": 0.9.9 + "@helium/fanout-sdk": ^0.9.9 + "@helium/helium-entity-manager-sdk": ^0.9.9 + "@helium/helium-react-hooks": 0.9.9 + "@helium/helium-sub-daos-sdk": ^0.9.9 "@helium/http": 4.7.5 - "@helium/idls": 0.9.7 - "@helium/lazy-distributor-sdk": ^0.9.7 + "@helium/idls": 0.9.9 + "@helium/lazy-distributor-sdk": ^0.9.9 "@helium/modular-governance-hooks": ^0.0.13 "@helium/modular-governance-idls": 0.0.13 "@helium/onboarding": 4.11.0 "@helium/organization-sdk": ^0.0.13 "@helium/proto-ble": 4.0.0 "@helium/react-native-sdk": 3.0.5 - "@helium/spl-utils": 0.9.7 + "@helium/spl-utils": 0.9.9 "@helium/state-controller-sdk": ^0.0.13 - "@helium/sus": 0.9.7 + "@helium/sus": 0.9.9 "@helium/transactions": 4.8.1 - "@helium/treasury-management-sdk": ^0.9.7 - "@helium/voter-stake-registry-hooks": 0.9.7 - "@helium/voter-stake-registry-sdk": 0.9.7 + "@helium/treasury-management-sdk": ^0.9.9 + "@helium/voter-stake-registry-hooks": 0.9.9 + "@helium/voter-stake-registry-sdk": 0.9.9 "@helium/wallet-link": 4.11.0 "@jup-ag/api": ^6.0.6 "@keystonehq/keystone-sdk": ^0.8.0 From 13f0a7fdd122166cb879e20e3b9d92c7b09e80ac Mon Sep 17 00:00:00 2001 From: Bryan Date: Tue, 29 Oct 2024 13:37:58 -0500 Subject: [PATCH 2/7] bump deps 0.9.12 (#822) --- package.json | 44 ++++---- yarn.lock | 302 +++++++++++++++++++++++++-------------------------- 2 files changed, 173 insertions(+), 173 deletions(-) diff --git a/package.json b/package.json index 5a6f3c1aa..a5b214deb 100644 --- a/package.json +++ b/package.json @@ -31,34 +31,34 @@ "@coral-xyz/anchor": "^0.28.0", "@gorhom/bottom-sheet": "4.6.0", "@gorhom/portal": "1.0.14", - "@helium/account-fetch-cache": "0.9.9", - "@helium/account-fetch-cache-hooks": "0.9.9", + "@helium/account-fetch-cache": "0.9.12", + "@helium/account-fetch-cache-hooks": "0.9.12", "@helium/address": "4.10.2", - "@helium/circuit-breaker-sdk": "^0.9.9", + "@helium/circuit-breaker-sdk": "^0.9.12", "@helium/crypto-react-native": "4.8.0", - "@helium/currency-utils": "^0.9.9", - "@helium/data-credits-sdk": "^0.9.9", - "@helium/distributor-oracle": "0.9.9", - "@helium/fanout-sdk": "^0.9.9", - "@helium/helium-entity-manager-sdk": "^0.9.9", - "@helium/helium-react-hooks": "0.9.9", - "@helium/helium-sub-daos-sdk": "^0.9.9", + "@helium/currency-utils": "^0.9.12", + "@helium/data-credits-sdk": "^0.9.12", + "@helium/distributor-oracle": "0.9.12", + "@helium/fanout-sdk": "^0.9.12", + "@helium/helium-entity-manager-sdk": "^0.9.12", + "@helium/helium-react-hooks": "0.9.12", + "@helium/helium-sub-daos-sdk": "^0.9.12", "@helium/http": "4.7.5", - "@helium/idls": "0.9.9", - "@helium/lazy-distributor-sdk": "^0.9.9", + "@helium/idls": "0.9.12", + "@helium/lazy-distributor-sdk": "^0.9.12", "@helium/modular-governance-hooks": "^0.0.13", "@helium/modular-governance-idls": "0.0.13", "@helium/onboarding": "4.11.0", "@helium/organization-sdk": "^0.0.13", "@helium/proto-ble": "4.0.0", "@helium/react-native-sdk": "3.0.5", - "@helium/spl-utils": "0.9.9", + "@helium/spl-utils": "0.9.12", "@helium/state-controller-sdk": "^0.0.13", - "@helium/sus": "0.9.9", + "@helium/sus": "0.9.12", "@helium/transactions": "4.8.1", - "@helium/treasury-management-sdk": "^0.9.9", - "@helium/voter-stake-registry-hooks": "0.9.9", - "@helium/voter-stake-registry-sdk": "0.9.9", + "@helium/treasury-management-sdk": "^0.9.12", + "@helium/voter-stake-registry-hooks": "0.9.12", + "@helium/voter-stake-registry-sdk": "0.9.12", "@helium/wallet-link": "4.11.0", "@jup-ag/api": "^6.0.6", "@keystonehq/keystone-sdk": "^0.8.0", @@ -276,11 +276,11 @@ "@types/react": "18", "react": "18.2.0", "@solana/wallet-adapter-react": "0.15.33", - "@helium/account-fetch-cache": "^0.9.9", - "@helium/account-fetch-cache-hooks": "^0.9.9", - "@helium/helium-react-hooks": "^0.9.9", - "@helium/voter-stake-registry-hooks": "^0.9.9", - "@helium/voter-stake-registry-sdk": "^0.9.9", + "@helium/account-fetch-cache": "^0.9.12", + "@helium/account-fetch-cache-hooks": "^0.9.12", + "@helium/helium-react-hooks": "^0.9.12", + "@helium/voter-stake-registry-hooks": "^0.9.12", + "@helium/voter-stake-registry-sdk": "^0.9.12", "@helium/modular-governance-hooks": "^0.0.13", "@helium/onboarding": "4.11.0" }, diff --git a/yarn.lock b/yarn.lock index 78d4a40bc..8c47abcb1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2460,26 +2460,26 @@ __metadata: languageName: node linkType: hard -"@helium/account-fetch-cache-hooks@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/account-fetch-cache-hooks@npm:0.9.9" +"@helium/account-fetch-cache-hooks@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/account-fetch-cache-hooks@npm:0.9.12" dependencies: - "@helium/account-fetch-cache": ^0.9.9 + "@helium/account-fetch-cache": ^0.9.12 "@solana/web3.js": ^1.78.8 react-async-hook: ^4.0.0 peerDependencies: react: ^16.8 || ^17 || ^18 react-dom: ^16.8 || ^17 || ^18 - checksum: 8dbc7bb1ed466d49fc70bd10468179cd87ba48617d2bff99e5ec9bbf278dc41285b258dfac51c27b57ba16aa43e32b2bfb1bb96a048f00ada73b6acb10ae970b + checksum: 5bcb95d5cb4d48432a378f59cdd72e374d29eb037b6fec821fc34b5fbbbebc9f865445b74233b342f10fb7097e595f536916dcc62bb65584911a479338e50155 languageName: node linkType: hard -"@helium/account-fetch-cache@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/account-fetch-cache@npm:0.9.9" +"@helium/account-fetch-cache@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/account-fetch-cache@npm:0.9.12" dependencies: "@solana/web3.js": ^1.78.8 - checksum: a8c67b53d2c116e68edbabb2b79473a6901ff4fe48d3629d2808aadab34dd97c5b172df9e06b2f941747e17812302847ed77b1853e4f87588c958681a2d68139 + checksum: eac8fc008b06763ec7a4dbb0d391bf5281dbe3f8e1914ff092ab2249ee86a02042db7fa182f319ff5e360d8ab68049bfeb1a620fefad4c24711c7a74ee1cd20e languageName: node linkType: hard @@ -2553,15 +2553,15 @@ __metadata: languageName: node linkType: hard -"@helium/anchor-resolvers@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/anchor-resolvers@npm:0.9.9" +"@helium/anchor-resolvers@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/anchor-resolvers@npm:0.9.12" dependencies: "@solana/spl-token": ^0.3.8 "@solana/web3.js": ^1.78.8 peerDependencies: "@coral-xyz/anchor": ^0.28.0 - checksum: 90436721c2f89050131255b3766a5ae8886af82f299be2bb8b4bd5e927b931a2af838f8774c24343990a92ac516da3eed2c214b85e1b9b7a96a009530b98e986 + checksum: 241b477c4b36d8cf7b26ff6f7a2feefdd5ce1ecd3d761a3ed5d056e82f9a5bb5f2a425cc8d94109e52a3b449eb50918a46e13f4a903495019e8f49d3876b30f8 languageName: node linkType: hard @@ -2591,16 +2591,16 @@ __metadata: languageName: node linkType: hard -"@helium/circuit-breaker-sdk@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/circuit-breaker-sdk@npm:0.9.9" +"@helium/circuit-breaker-sdk@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/circuit-breaker-sdk@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.9 - "@helium/idls": ^0.9.9 + "@helium/anchor-resolvers": ^0.9.12 + "@helium/idls": ^0.9.12 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 14c83ab1601acb7ae2dc3441f042a76f4228fc845afbd2628ea7f44b64fa6f6db3362f0913ad5352a46f6085e45e1383ffb8577cbd15b74ddc79fa52bae1ab79 + checksum: a9048685f3e2feb48d9b3e5f735eb9239da5affa141e4611c8d4607c743c07efd26a3d37f1a91b8e19aac9a49e30bccc409b06200c9a21d7046ed8e790f60f56 languageName: node linkType: hard @@ -2637,13 +2637,13 @@ __metadata: languageName: node linkType: hard -"@helium/currency-utils@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/currency-utils@npm:0.9.9" +"@helium/currency-utils@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/currency-utils@npm:0.9.12" dependencies: "@solana/spl-token": ^0.3.8 "@solana/web3.js": ^1.78.8 - checksum: 8d676ba7c726daee8cd35eebb80300bd407c9a126f6c9f27d13d26de63a8494eca61b534dd72f4c656eb96be80c63664b2de0cd7398b6a09294465ebcefc8f63 + checksum: 8deb292d2d33a8203bc5b74dd0b76c5ea38f3c214418404636b8cd2e05e42d52228844e52cdac2879fffc6e2f85f486c24963bc4a56516ca86312c67387fc08a languageName: node linkType: hard @@ -2688,36 +2688,36 @@ __metadata: languageName: node linkType: hard -"@helium/data-credits-sdk@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/data-credits-sdk@npm:0.9.9" +"@helium/data-credits-sdk@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/data-credits-sdk@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.9 - "@helium/circuit-breaker-sdk": ^0.9.9 - "@helium/helium-sub-daos-sdk": ^0.9.9 - "@helium/idls": ^0.9.9 + "@helium/anchor-resolvers": ^0.9.12 + "@helium/circuit-breaker-sdk": ^0.9.12 + "@helium/helium-sub-daos-sdk": ^0.9.12 + "@helium/idls": ^0.9.12 bn.js: ^5.2.0 bs58: ^4.0.1 crypto-js: ^4.1.1 - checksum: 1c2a87e5baccbcf1722f7f998d47e89b544ec6ee25a5edeea402ab9bb3d8453d98d600a30102e4f748a5d272beeae8ef43dc82a57a4eb3b70d419ece5876a956 + checksum: 2a0cada26e3ea5b75cd36773850cadc592383c8b1ad21da997e5a588cfb45d102d8190dc1c7b00bd2650327b4d0f83e2e07888e41349010123614e393bdeaaf8 languageName: node linkType: hard -"@helium/distributor-oracle@npm:0.9.9": - version: 0.9.9 - resolution: "@helium/distributor-oracle@npm:0.9.9" +"@helium/distributor-oracle@npm:0.9.12": + version: 0.9.12 + resolution: "@helium/distributor-oracle@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 "@fastify/cors": ^8.1.1 - "@helium/account-fetch-cache": ^0.9.9 + "@helium/account-fetch-cache": ^0.9.12 "@helium/address": ^4.10.2 - "@helium/helium-entity-manager-sdk": ^0.9.9 - "@helium/helium-sub-daos-sdk": ^0.9.9 - "@helium/idls": ^0.9.9 - "@helium/lazy-distributor-sdk": ^0.9.9 - "@helium/rewards-oracle-sdk": ^0.9.9 - "@helium/spl-utils": ^0.9.9 + "@helium/helium-entity-manager-sdk": ^0.9.12 + "@helium/helium-sub-daos-sdk": ^0.9.12 + "@helium/idls": ^0.9.12 + "@helium/lazy-distributor-sdk": ^0.9.12 + "@helium/rewards-oracle-sdk": ^0.9.12 + "@helium/spl-utils": ^0.9.12 "@metaplex-foundation/mpl-bubblegum": ^0.7.0 "@solana/spl-token": ^0.3.8 "@types/sequelize": ^4.28.14 @@ -2733,20 +2733,20 @@ __metadata: prom-client: ^15.0.0 sequelize: ^6.28.0 typescript-collections: ^1.3.3 - checksum: 0dab956e5900d91047ade22d5bbd7b4d66f47cf0c851847e6a456691031e545f75c8688a6291fa72cab5778f348f551928ada2b8e202bedd8691b95b5516d446 + checksum: 9fcb48e3567e357ff68076275be35375c891e290fe1994b6cd560907a2a10db36ad0945e0b7035182e5ac5a314496c02420ab344231338a13d745366475329c9 languageName: node linkType: hard -"@helium/fanout-sdk@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/fanout-sdk@npm:0.9.9" +"@helium/fanout-sdk@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/fanout-sdk@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.9 - "@helium/idls": ^0.9.9 + "@helium/anchor-resolvers": ^0.9.12 + "@helium/idls": ^0.9.12 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 6db73b517d3c2949c3dd9f6c278f555cc3c3f69a857b3260bb23df193e545c5c9b425fffd89446069c5107802bf3b433b0e6675bea6a98ea4d1dcfefa5170514 + checksum: 4cb535b7a61b536918f1209a37568d7deb83986e5b9f15beab0d94be23ea6d9f67e9711755cc1f09f3758d8b69c85b42addbca6f337cf3f63ff4f520a71636e2 languageName: node linkType: hard @@ -2788,32 +2788,32 @@ __metadata: languageName: node linkType: hard -"@helium/helium-entity-manager-sdk@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/helium-entity-manager-sdk@npm:0.9.9" +"@helium/helium-entity-manager-sdk@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/helium-entity-manager-sdk@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 "@helium/address": ^4.10.2 - "@helium/anchor-resolvers": ^0.9.9 - "@helium/helium-sub-daos-sdk": ^0.9.9 - "@helium/idls": ^0.9.9 - "@helium/no-emit-sdk": ^0.9.9 - "@helium/spl-utils": ^0.9.9 + "@helium/anchor-resolvers": ^0.9.12 + "@helium/helium-sub-daos-sdk": ^0.9.12 + "@helium/idls": ^0.9.12 + "@helium/no-emit-sdk": ^0.9.12 + "@helium/spl-utils": ^0.9.12 bn.js: ^5.2.0 bs58: ^4.0.1 crypto-js: ^4.1.1 js-sha256: ^0.9.0 - checksum: 7cf5617ce1283a353f4ba76e0388e48658704bf4f6a03793b202f32559080519254e24d9f40aa99bd865b17c8b9442a066ccfd143dadb90e814989f5f1d9eb8f + checksum: 7fe21f110a6ee58d2d8e98b7fce403c705afd8ca4dc7c7e7d22296c78f38e35a347b742b1438368c454395c52732fcac59f13a8301a53ed903265950d36275e0 languageName: node linkType: hard -"@helium/helium-react-hooks@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/helium-react-hooks@npm:0.9.9" +"@helium/helium-react-hooks@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/helium-react-hooks@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/account-fetch-cache": ^0.9.9 - "@helium/account-fetch-cache-hooks": ^0.9.9 + "@helium/account-fetch-cache": ^0.9.12 + "@helium/account-fetch-cache-hooks": ^0.9.12 "@solana/spl-token": ^0.3.8 "@solana/web3.js": ^1.78.8 bs58: ^4.0.1 @@ -2823,7 +2823,7 @@ __metadata: "@solana/wallet-adapter-react": ^0.15.32 react: ^16.8 || ^17 || ^18 react-dom: ^16.8 || ^17 || ^18 - checksum: ffb25ca188bca4873baf91150cde6baa95afe5c7abb72aacec50ee622f8006498df539fbb6647c0c9eb928a6666caceb4ce0dd7516098a6ef427725ab5fd82e1 + checksum: 05c360870dafaaed7b3d491847e9af7d36164a480a518e33162761945e841ef2382697fbcbbfddc0369ae2c3fb24a91a818bdd46db8dbf309210d01c391ce572 languageName: node linkType: hard @@ -2857,18 +2857,18 @@ __metadata: languageName: node linkType: hard -"@helium/helium-sub-daos-sdk@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/helium-sub-daos-sdk@npm:0.9.9" +"@helium/helium-sub-daos-sdk@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/helium-sub-daos-sdk@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.9 - "@helium/circuit-breaker-sdk": ^0.9.9 - "@helium/treasury-management-sdk": ^0.9.9 - "@helium/voter-stake-registry-sdk": ^0.9.9 + "@helium/anchor-resolvers": ^0.9.12 + "@helium/circuit-breaker-sdk": ^0.9.12 + "@helium/treasury-management-sdk": ^0.9.12 + "@helium/voter-stake-registry-sdk": ^0.9.12 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: aab3b3aeb6e3d5a1e2f63b91f95e2bdd9d8086bfd21dcfbcc1d1741e00170d08bd87133ab6eb127cd951b32ae354638d811b9fa790c804478d4c1d912061a96f + checksum: 406d897cf00bc76e7b47c48010b6a98518362c1d5675e9271cee1181dcc131ec18a8baa1239b867c62b16315fa8e6906ef4d0372e26063fd6dfc62400daca5e7 languageName: node linkType: hard @@ -2917,16 +2917,16 @@ __metadata: languageName: node linkType: hard -"@helium/idls@npm:0.9.9, @helium/idls@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/idls@npm:0.9.9" +"@helium/idls@npm:0.9.12, @helium/idls@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/idls@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 "@solana/web3.js": ^1.78.8 bn.js: ^5.2.0 borsh: ^0.7.0 bs58: ^4.0.1 - checksum: e66b06e629e6e9d67bdfd7414c24deeb5848f0bc82e5ea603fdb87c8a3aa9a960aa4d44810fcd671bfce412a5789a87b4629a7c4b6ae0bd70962597809c12397 + checksum: f6163d1a54066109db4fdef7f405b773b0c9e6bd0bccb33355152ca3709d5998d659c4c42ed81565869b2833b71558ea650c379a383c5b90bbbcab1f029abf0c languageName: node linkType: hard @@ -2969,16 +2969,16 @@ __metadata: languageName: node linkType: hard -"@helium/lazy-distributor-sdk@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/lazy-distributor-sdk@npm:0.9.9" +"@helium/lazy-distributor-sdk@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/lazy-distributor-sdk@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.9 - "@helium/circuit-breaker-sdk": ^0.9.9 + "@helium/anchor-resolvers": ^0.9.12 + "@helium/circuit-breaker-sdk": ^0.9.12 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 87ab347c0e45f11263cd3021daf4e72e2f6f636f72303395b5b3c4420c13584767166d938e4498c2c42dfdd7430c75311e4fc253d852324874f26c11fd458dcc + checksum: c180dda57cf321cef473a4f012ba0b53026a8728cc0206e75d16f28150f45c385d0dd9ab10a20cd90b4ff9c599b882cce00aeed9f43431de6a313f3e14f857bb languageName: node linkType: hard @@ -3055,16 +3055,16 @@ __metadata: languageName: node linkType: hard -"@helium/no-emit-sdk@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/no-emit-sdk@npm:0.9.9" +"@helium/no-emit-sdk@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/no-emit-sdk@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 "@helium/anchor-resolvers": ^0.5.0 "@helium/idls": ^0.5.0 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: b94dbc4aacc5f2bc44d0c5648aadc123f9996558eb72213b82bccce517d3d410f6be18ff3bd106564278df03223fd4b90a293fada8e6405b36d1820b1794ef2a + checksum: 2196285e275170b74b3b078ce594c8b9bf7648f3defc87297d94c094a809362e5b3eeb7dc84a328fefa308eee13ee01af82eb777cf4fde088da94befdca75c20 languageName: node linkType: hard @@ -3111,18 +3111,18 @@ __metadata: languageName: node linkType: hard -"@helium/position-voting-rewards-sdk@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/position-voting-rewards-sdk@npm:0.9.9" +"@helium/position-voting-rewards-sdk@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/position-voting-rewards-sdk@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.9 - "@helium/idls": ^0.9.9 - "@helium/spl-utils": ^0.9.9 + "@helium/anchor-resolvers": ^0.9.12 + "@helium/idls": ^0.9.12 + "@helium/spl-utils": ^0.9.12 "@solana/spl-token": ^0.3.8 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 5b40ec47c7c2111bd11788c2c7ba6dcf0a1b0e3e3748ccc9de942e5a3b322bb4417b729c60d9e28b5991cd2e672c55022a1fab6ec9c190c09bbf60647405a56a + checksum: cd0a5da0095ab8b6d2806716fd9f92cf6b10662129ccee8df268fe01fe868df387a3eab5d56f88b70edce9f3124e3ff2112c6587d5a5dad3b01b2cf95ae2319e languageName: node linkType: hard @@ -3230,27 +3230,27 @@ __metadata: languageName: node linkType: hard -"@helium/rewards-oracle-sdk@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/rewards-oracle-sdk@npm:0.9.9" +"@helium/rewards-oracle-sdk@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/rewards-oracle-sdk@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.9 - "@helium/idls": ^0.9.9 + "@helium/anchor-resolvers": ^0.9.12 + "@helium/idls": ^0.9.12 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 2eb28af743acde99eaf79daed5556904f80296e073da3c8c8ac8469a1fe438578ba49b96a02f566acec0ab29c84c550bf6577eed0afddfa535039bc4db3786ae + checksum: 6d443f577ad975747669262067ed815b030f5ae01c044978226c5841d47a8159e6a45089611df154788cfc2e2bfe65f62efa14236aeaf6edb4bed68a2c83c1a1 languageName: node linkType: hard -"@helium/spl-utils@npm:0.9.9, @helium/spl-utils@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/spl-utils@npm:0.9.9" +"@helium/spl-utils@npm:0.9.12, @helium/spl-utils@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/spl-utils@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/account-fetch-cache": ^0.9.9 + "@helium/account-fetch-cache": ^0.9.12 "@helium/address": ^4.10.2 - "@helium/anchor-resolvers": ^0.9.9 + "@helium/anchor-resolvers": ^0.9.12 "@metaplex-foundation/mpl-token-metadata": ^2.10.0 "@solana/spl-account-compression": ^0.1.7 "@solana/spl-token": ^0.3.8 @@ -3259,7 +3259,7 @@ __metadata: bn.js: ^5.2.0 borsh: ^0.7.0 bs58: ^4.0.1 - checksum: 9ed364511e9c2999135ab8cb4b8cf14f088e2e4e99da1a7b94ec78384e192e892f10cef4ca607571cd9204b195cae410242b3ebaa452b1b3de088d0b4fa49173 + checksum: b6202bbe607618c98c27ce5afc2fa49eaa628dd57ab4c0d5c0ad3f9a6ff9f9c25248336f4af7b4b9ee54500e030d73680e6c2bd0f243f135148eb4a4f7bb12e0 languageName: node linkType: hard @@ -3314,9 +3314,9 @@ __metadata: languageName: node linkType: hard -"@helium/sus@npm:0.9.9": - version: 0.9.9 - resolution: "@helium/sus@npm:0.9.9" +"@helium/sus@npm:0.9.12": + version: 0.9.12 + resolution: "@helium/sus@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 "@metaplex-foundation/mpl-token-metadata": ^2.10.0 @@ -3325,7 +3325,7 @@ __metadata: axios: ^1.6.5 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 373226d0e1ed695d76c70943e9debdc46c755210f9b632e7b6fbece355c244e6ddea46e0db9cca6b94e416aaada10788afbe89ec91b6c25ed15a6a69348a93f8 + checksum: 8a03470f374245e23093d651c67123039a81c1d14ae107fc1d68f1e06a778ff29d2c93caf064a28e19e2d3f4162f82ea3eba18210270338fd671e98859897f50 languageName: node linkType: hard @@ -3383,35 +3383,35 @@ __metadata: languageName: node linkType: hard -"@helium/treasury-management-sdk@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/treasury-management-sdk@npm:0.9.9" +"@helium/treasury-management-sdk@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/treasury-management-sdk@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.9 - "@helium/circuit-breaker-sdk": ^0.9.9 - "@helium/idls": ^0.9.9 + "@helium/anchor-resolvers": ^0.9.12 + "@helium/circuit-breaker-sdk": ^0.9.12 + "@helium/idls": ^0.9.12 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 3dc67eee077fc4b06053926ecc79f0541886c5dd4547e227e277b3004c611711892125fe27cb1867648595c5a116b7585746763c1d6b9939b5780b5eb718ab9f + checksum: 5d75269c670b2c5adfe6d9f843eef38966491d7d43087fc7f16bcb1fa47762e2bceecfba0a331d6def6a3218cd53cbc407ebcd363c4c22e01728f3bba624269a languageName: node linkType: hard -"@helium/voter-stake-registry-hooks@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/voter-stake-registry-hooks@npm:0.9.9" +"@helium/voter-stake-registry-hooks@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/voter-stake-registry-hooks@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/account-fetch-cache": ^0.9.9 - "@helium/account-fetch-cache-hooks": ^0.9.9 - "@helium/circuit-breaker-sdk": ^0.9.9 - "@helium/helium-react-hooks": ^0.9.9 - "@helium/helium-sub-daos-sdk": ^0.9.9 + "@helium/account-fetch-cache": ^0.9.12 + "@helium/account-fetch-cache-hooks": ^0.9.12 + "@helium/circuit-breaker-sdk": ^0.9.12 + "@helium/helium-react-hooks": ^0.9.12 + "@helium/helium-sub-daos-sdk": ^0.9.12 "@helium/modular-governance-hooks": ^0.0.12 "@helium/modular-governance-idls": ^0.0.12 - "@helium/position-voting-rewards-sdk": ^0.9.9 - "@helium/spl-utils": ^0.9.9 - "@helium/voter-stake-registry-sdk": ^0.9.9 + "@helium/position-voting-rewards-sdk": ^0.9.12 + "@helium/spl-utils": ^0.9.12 + "@helium/voter-stake-registry-sdk": ^0.9.12 "@solana/wallet-adapter-base": ^0.9.22 "@solana/wallet-adapter-react": ^0.15.32 "@solana/web3.js": ^1.78.8 @@ -3422,24 +3422,24 @@ __metadata: peerDependencies: react: ^16.8 || ^17 || ^18 react-dom: ^16.8 || ^17 || ^18 - checksum: 2df9e7909f711a975bf3e0cfbd143c9284f4f83bb80401128a93f174b4ba97c68edd03b1cad408315de837b85d2e821fab3c5aab07e1d09ea1bad06ef7062434 + checksum: 7022265b11f21433bcc47df7eff2f4d488705761ee2e75be5e5bb8f3d3d82ab39758a51404b55d35e6ffb7d4dc43b45992f046b2e9deb64fc134c5348c066361 languageName: node linkType: hard -"@helium/voter-stake-registry-sdk@npm:^0.9.9": - version: 0.9.9 - resolution: "@helium/voter-stake-registry-sdk@npm:0.9.9" +"@helium/voter-stake-registry-sdk@npm:^0.9.12": + version: 0.9.12 + resolution: "@helium/voter-stake-registry-sdk@npm:0.9.12" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.9 - "@helium/idls": ^0.9.9 + "@helium/anchor-resolvers": ^0.9.12 + "@helium/idls": ^0.9.12 "@helium/nft-proxy-sdk": ^0.0.12 - "@helium/spl-utils": ^0.9.9 + "@helium/spl-utils": ^0.9.12 "@metaplex-foundation/mpl-token-metadata": ^2.10.0 "@solana/spl-token": ^0.3.8 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: a1bb171b1b7e6f1e025c9326ae463b10408252af5960c4764beb2e308073c41cc776134bc980bf559c3dba84c27b45e320e87f08c249ef27bbf045f6540fd5bc + checksum: 108ff26c54a4c489291ce45851a09e00cd871a99731e5b6443e0dafbd2cd90e2fd5d7964687bfb1cfa50f763faa553d3ba570a7b715f025d555f41d00122ddf0 languageName: node linkType: hard @@ -12723,34 +12723,34 @@ __metadata: "@coral-xyz/anchor": ^0.28.0 "@gorhom/bottom-sheet": 4.6.0 "@gorhom/portal": 1.0.14 - "@helium/account-fetch-cache": 0.9.9 - "@helium/account-fetch-cache-hooks": 0.9.9 + "@helium/account-fetch-cache": 0.9.12 + "@helium/account-fetch-cache-hooks": 0.9.12 "@helium/address": 4.10.2 - "@helium/circuit-breaker-sdk": ^0.9.9 + "@helium/circuit-breaker-sdk": ^0.9.12 "@helium/crypto-react-native": 4.8.0 - "@helium/currency-utils": ^0.9.9 - "@helium/data-credits-sdk": ^0.9.9 - "@helium/distributor-oracle": 0.9.9 - "@helium/fanout-sdk": ^0.9.9 - "@helium/helium-entity-manager-sdk": ^0.9.9 - "@helium/helium-react-hooks": 0.9.9 - "@helium/helium-sub-daos-sdk": ^0.9.9 + "@helium/currency-utils": ^0.9.12 + "@helium/data-credits-sdk": ^0.9.12 + "@helium/distributor-oracle": 0.9.12 + "@helium/fanout-sdk": ^0.9.12 + "@helium/helium-entity-manager-sdk": ^0.9.12 + "@helium/helium-react-hooks": 0.9.12 + "@helium/helium-sub-daos-sdk": ^0.9.12 "@helium/http": 4.7.5 - "@helium/idls": 0.9.9 - "@helium/lazy-distributor-sdk": ^0.9.9 + "@helium/idls": 0.9.12 + "@helium/lazy-distributor-sdk": ^0.9.12 "@helium/modular-governance-hooks": ^0.0.13 "@helium/modular-governance-idls": 0.0.13 "@helium/onboarding": 4.11.0 "@helium/organization-sdk": ^0.0.13 "@helium/proto-ble": 4.0.0 "@helium/react-native-sdk": 3.0.5 - "@helium/spl-utils": 0.9.9 + "@helium/spl-utils": 0.9.12 "@helium/state-controller-sdk": ^0.0.13 - "@helium/sus": 0.9.9 + "@helium/sus": 0.9.12 "@helium/transactions": 4.8.1 - "@helium/treasury-management-sdk": ^0.9.9 - "@helium/voter-stake-registry-hooks": 0.9.9 - "@helium/voter-stake-registry-sdk": 0.9.9 + "@helium/treasury-management-sdk": ^0.9.12 + "@helium/voter-stake-registry-hooks": 0.9.12 + "@helium/voter-stake-registry-sdk": 0.9.12 "@helium/wallet-link": 4.11.0 "@jup-ag/api": ^6.0.6 "@keystonehq/keystone-sdk": ^0.8.0 From dcd9ec4f269cf70bf894b8449e45cb51e18c2ee5 Mon Sep 17 00:00:00 2001 From: Noah Prince <83885631+ChewingGlass@users.noreply.github.com> Date: Tue, 29 Oct 2024 15:18:27 -0700 Subject: [PATCH 3/7] Fix getPositionKeysForOwner args (#823) --- src/features/account/TokenListItem.tsx | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/src/features/account/TokenListItem.tsx b/src/features/account/TokenListItem.tsx index db3e413ba..00b6e69d9 100644 --- a/src/features/account/TokenListItem.tsx +++ b/src/features/account/TokenListItem.tsx @@ -11,6 +11,7 @@ import { useMint, useOwnedAmount } from '@helium/helium-react-hooks' import { useHeliumVsrState, usePositions, + useRegistrarForMint, } from '@helium/voter-stake-registry-hooks' import { getPositionKeysForOwner } from '@helium/voter-stake-registry-sdk' import { useCurrentWallet } from '@hooks/useCurrentWallet' @@ -179,17 +180,27 @@ export const TokenListGovItem = ({ mint }: { mint: PublicKey }) => { [govMint, mint], ) + const { registrarKey } = useRegistrarForMint(mint) + const args = useMemo( () => wallet && mint && - connection && { - wallet, - mint, - provider: anchorProvider, + connection && + registrarKey && { + registrar: registrarKey, + owner: wallet, + connection, }, // eslint-disable-next-line react-hooks/exhaustive-deps - [wallet?.toBase58(), mint.toBase58(), connection, anchorProvider], + [ + // eslint-disable-next-line react-hooks/exhaustive-deps + registrarKey?.toBase58(), + // eslint-disable-next-line react-hooks/exhaustive-deps + wallet?.toBase58(), + connection, + anchorProvider, + ], ) const { result, loading: loadingPositionKeys } = useAsync( From 3f140fad1c9cfa5b65187ffaa6134260ada09963 Mon Sep 17 00:00:00 2001 From: bry Date: Wed, 30 Oct 2024 11:42:42 -0500 Subject: [PATCH 4/7] 2.10.1 --- ios/HeliumWallet.xcodeproj/project.pbxproj | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ios/HeliumWallet.xcodeproj/project.pbxproj b/ios/HeliumWallet.xcodeproj/project.pbxproj index 451d12700..a2e0b4ed3 100644 --- a/ios/HeliumWallet.xcodeproj/project.pbxproj +++ b/ios/HeliumWallet.xcodeproj/project.pbxproj @@ -1079,7 +1079,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 2.10.0; + MARKETING_VERSION = 2.10.1; ONLY_ACTIVE_ARCH = NO; OTHER_LDFLAGS = ( "$(inherited)", @@ -1117,7 +1117,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 2.10.0; + MARKETING_VERSION = 2.10.1; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -1303,7 +1303,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 2.10.0; + MARKETING_VERSION = 2.10.1; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG"; @@ -1348,7 +1348,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 2.10.0; + MARKETING_VERSION = 2.10.1; MTL_FAST_MATH = YES; OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE"; PRODUCT_BUNDLE_IDENTIFIER = com.helium.wallet.app.OneSignalNotificationServiceExtension; @@ -1396,7 +1396,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 2.10.0; + MARKETING_VERSION = 2.10.1; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG"; @@ -1445,7 +1445,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 2.10.0; + MARKETING_VERSION = 2.10.1; MTL_FAST_MATH = YES; OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE"; PRODUCT_BUNDLE_IDENTIFIER = com.helium.wallet.app.HeliumWalletWidget; diff --git a/package.json b/package.json index a5b214deb..24d4c34d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "helium-wallet", - "version": "2.10.0", + "version": "2.10.1", "private": true, "scripts": { "postinstall": "patch-package && ./node_modules/.bin/rn-nodeify --hack --install && npx jetify", From cdbbb04f68a1af8080b1866075edb21509aff3e3 Mon Sep 17 00:00:00 2001 From: Bryan Date: Wed, 30 Oct 2024 13:47:58 -0500 Subject: [PATCH 5/7] update hooks to use prop conditional when fetching new output (#824) --- src/features/swaps/SwapScreen.tsx | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/src/features/swaps/SwapScreen.tsx b/src/features/swaps/SwapScreen.tsx index dee182657..b91bec666 100644 --- a/src/features/swaps/SwapScreen.tsx +++ b/src/features/swaps/SwapScreen.tsx @@ -478,19 +478,30 @@ const SwapScreen = () => { ], ) + useEffect(() => { + setRecipient('') + setRecipientOpen(false) + setOutputAmount(0) + }, [ + inputMint, + inputAmount, + outputMint, + setRecipient, + setRecipientOpen, + setOutputAmount, + ]) + useEffect(() => { // if changing outputMint ensure we get new routes ;(async () => { if ( !isDevnet && - inputMintAcc && - outputMintAcc && + inputMintAcc?.address === inputMint && + outputMintAcc?.address === outputMint && typeof inputAmount !== 'undefined' && inputAmount > 0 && !outputMintAcc?.address.equals(DC_MINT) ) { - setRecipient('') - setRecipientOpen(false) await getOutputAmount({ balance: toBN(inputAmount || 0, inputMintAcc.decimals), }) @@ -498,12 +509,12 @@ const SwapScreen = () => { })() }, [ getOutputAmount, + inputMint, inputAmount, inputMintAcc, + outputMint, outputMintAcc, isDevnet, - setRecipient, - setRecipientOpen, ]) const getInputAmount = useCallback( From a2afe5c87acf5290ecf669b38d49a12c80be1eb5 Mon Sep 17 00:00:00 2001 From: Noah Prince <83885631+ChewingGlass@users.noreply.github.com> Date: Thu, 21 Nov 2024 08:06:32 -0800 Subject: [PATCH 6/7] Fix bug when claiming all with custom destination (#832) --- package.json | 44 ++++---- yarn.lock | 302 +++++++++++++++++++++++++-------------------------- 2 files changed, 173 insertions(+), 173 deletions(-) diff --git a/package.json b/package.json index 24d4c34d1..9ce6c8939 100644 --- a/package.json +++ b/package.json @@ -31,34 +31,34 @@ "@coral-xyz/anchor": "^0.28.0", "@gorhom/bottom-sheet": "4.6.0", "@gorhom/portal": "1.0.14", - "@helium/account-fetch-cache": "0.9.12", - "@helium/account-fetch-cache-hooks": "0.9.12", + "@helium/account-fetch-cache": "0.9.14", + "@helium/account-fetch-cache-hooks": "0.9.14", "@helium/address": "4.10.2", - "@helium/circuit-breaker-sdk": "^0.9.12", + "@helium/circuit-breaker-sdk": "^0.9.14", "@helium/crypto-react-native": "4.8.0", - "@helium/currency-utils": "^0.9.12", - "@helium/data-credits-sdk": "^0.9.12", - "@helium/distributor-oracle": "0.9.12", - "@helium/fanout-sdk": "^0.9.12", - "@helium/helium-entity-manager-sdk": "^0.9.12", - "@helium/helium-react-hooks": "0.9.12", - "@helium/helium-sub-daos-sdk": "^0.9.12", + "@helium/currency-utils": "^0.9.14", + "@helium/data-credits-sdk": "^0.9.14", + "@helium/distributor-oracle": "0.9.14", + "@helium/fanout-sdk": "^0.9.14", + "@helium/helium-entity-manager-sdk": "^0.9.14", + "@helium/helium-react-hooks": "0.9.14", + "@helium/helium-sub-daos-sdk": "^0.9.14", "@helium/http": "4.7.5", - "@helium/idls": "0.9.12", - "@helium/lazy-distributor-sdk": "^0.9.12", + "@helium/idls": "0.9.14", + "@helium/lazy-distributor-sdk": "^0.9.14", "@helium/modular-governance-hooks": "^0.0.13", "@helium/modular-governance-idls": "0.0.13", "@helium/onboarding": "4.11.0", "@helium/organization-sdk": "^0.0.13", "@helium/proto-ble": "4.0.0", "@helium/react-native-sdk": "3.0.5", - "@helium/spl-utils": "0.9.12", + "@helium/spl-utils": "0.9.14", "@helium/state-controller-sdk": "^0.0.13", - "@helium/sus": "0.9.12", + "@helium/sus": "0.9.14", "@helium/transactions": "4.8.1", - "@helium/treasury-management-sdk": "^0.9.12", - "@helium/voter-stake-registry-hooks": "0.9.12", - "@helium/voter-stake-registry-sdk": "0.9.12", + "@helium/treasury-management-sdk": "^0.9.14", + "@helium/voter-stake-registry-hooks": "0.9.14", + "@helium/voter-stake-registry-sdk": "0.9.14", "@helium/wallet-link": "4.11.0", "@jup-ag/api": "^6.0.6", "@keystonehq/keystone-sdk": "^0.8.0", @@ -276,11 +276,11 @@ "@types/react": "18", "react": "18.2.0", "@solana/wallet-adapter-react": "0.15.33", - "@helium/account-fetch-cache": "^0.9.12", - "@helium/account-fetch-cache-hooks": "^0.9.12", - "@helium/helium-react-hooks": "^0.9.12", - "@helium/voter-stake-registry-hooks": "^0.9.12", - "@helium/voter-stake-registry-sdk": "^0.9.12", + "@helium/account-fetch-cache": "^0.9.14", + "@helium/account-fetch-cache-hooks": "^0.9.14", + "@helium/helium-react-hooks": "^0.9.14", + "@helium/voter-stake-registry-hooks": "^0.9.14", + "@helium/voter-stake-registry-sdk": "^0.9.14", "@helium/modular-governance-hooks": "^0.0.13", "@helium/onboarding": "4.11.0" }, diff --git a/yarn.lock b/yarn.lock index 8c47abcb1..027f3fb1e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2460,26 +2460,26 @@ __metadata: languageName: node linkType: hard -"@helium/account-fetch-cache-hooks@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/account-fetch-cache-hooks@npm:0.9.12" +"@helium/account-fetch-cache-hooks@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/account-fetch-cache-hooks@npm:0.9.14" dependencies: - "@helium/account-fetch-cache": ^0.9.12 + "@helium/account-fetch-cache": ^0.9.14 "@solana/web3.js": ^1.78.8 react-async-hook: ^4.0.0 peerDependencies: react: ^16.8 || ^17 || ^18 react-dom: ^16.8 || ^17 || ^18 - checksum: 5bcb95d5cb4d48432a378f59cdd72e374d29eb037b6fec821fc34b5fbbbebc9f865445b74233b342f10fb7097e595f536916dcc62bb65584911a479338e50155 + checksum: a72612d800ffe5f8127050f8a5c033ac740cd22ba77d9e1091e3f2b77cfcbf02838da7e76042e6a4c0c2405d32ada1372a6bdbf275f8c55e589e58e36b0451af languageName: node linkType: hard -"@helium/account-fetch-cache@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/account-fetch-cache@npm:0.9.12" +"@helium/account-fetch-cache@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/account-fetch-cache@npm:0.9.14" dependencies: "@solana/web3.js": ^1.78.8 - checksum: eac8fc008b06763ec7a4dbb0d391bf5281dbe3f8e1914ff092ab2249ee86a02042db7fa182f319ff5e360d8ab68049bfeb1a620fefad4c24711c7a74ee1cd20e + checksum: 519ed605322ed4ea519068d43666df640f899882e258453c11fe1cb83bcb82b8b5be02b38467ddf5b96cd531051dc9d62c22fccb8265c110e2a5653b3032b3d8 languageName: node linkType: hard @@ -2553,15 +2553,15 @@ __metadata: languageName: node linkType: hard -"@helium/anchor-resolvers@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/anchor-resolvers@npm:0.9.12" +"@helium/anchor-resolvers@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/anchor-resolvers@npm:0.9.14" dependencies: "@solana/spl-token": ^0.3.8 "@solana/web3.js": ^1.78.8 peerDependencies: "@coral-xyz/anchor": ^0.28.0 - checksum: 241b477c4b36d8cf7b26ff6f7a2feefdd5ce1ecd3d761a3ed5d056e82f9a5bb5f2a425cc8d94109e52a3b449eb50918a46e13f4a903495019e8f49d3876b30f8 + checksum: 63377b47b92d5839468445d4f3277ade49b62b3ac80986542cf13aa021faef1a1c013f820521a7d3c618ff5a4dae5a91bf7fbcfa88fe30b4057de6169717d15f languageName: node linkType: hard @@ -2591,16 +2591,16 @@ __metadata: languageName: node linkType: hard -"@helium/circuit-breaker-sdk@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/circuit-breaker-sdk@npm:0.9.12" +"@helium/circuit-breaker-sdk@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/circuit-breaker-sdk@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.12 - "@helium/idls": ^0.9.12 + "@helium/anchor-resolvers": ^0.9.14 + "@helium/idls": ^0.9.14 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: a9048685f3e2feb48d9b3e5f735eb9239da5affa141e4611c8d4607c743c07efd26a3d37f1a91b8e19aac9a49e30bccc409b06200c9a21d7046ed8e790f60f56 + checksum: 1ccbf2ca4de833066b63592756ce4cfc0b5135a97d8f3f3a006d948d226e094ab992a80643ee0ef5436540aa38e69a7bbc97070fef983be89e6ea21eff72b498 languageName: node linkType: hard @@ -2637,13 +2637,13 @@ __metadata: languageName: node linkType: hard -"@helium/currency-utils@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/currency-utils@npm:0.9.12" +"@helium/currency-utils@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/currency-utils@npm:0.9.14" dependencies: "@solana/spl-token": ^0.3.8 "@solana/web3.js": ^1.78.8 - checksum: 8deb292d2d33a8203bc5b74dd0b76c5ea38f3c214418404636b8cd2e05e42d52228844e52cdac2879fffc6e2f85f486c24963bc4a56516ca86312c67387fc08a + checksum: 77854dcc5149621ad9b97c54c1419e2f5f0bb7eee6cdacea2c2d56452087627fe4d1323b15eb84ab5f7cf1b58f1fdb051ce94e23edadd6b536f502b08a863480 languageName: node linkType: hard @@ -2688,36 +2688,36 @@ __metadata: languageName: node linkType: hard -"@helium/data-credits-sdk@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/data-credits-sdk@npm:0.9.12" +"@helium/data-credits-sdk@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/data-credits-sdk@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.12 - "@helium/circuit-breaker-sdk": ^0.9.12 - "@helium/helium-sub-daos-sdk": ^0.9.12 - "@helium/idls": ^0.9.12 + "@helium/anchor-resolvers": ^0.9.14 + "@helium/circuit-breaker-sdk": ^0.9.14 + "@helium/helium-sub-daos-sdk": ^0.9.14 + "@helium/idls": ^0.9.14 bn.js: ^5.2.0 bs58: ^4.0.1 crypto-js: ^4.1.1 - checksum: 2a0cada26e3ea5b75cd36773850cadc592383c8b1ad21da997e5a588cfb45d102d8190dc1c7b00bd2650327b4d0f83e2e07888e41349010123614e393bdeaaf8 + checksum: f6f7204a0de8cb40ee75f58407bb34e17d744af08ae649ecf232abfef104564ddc29f31d978f7b6fa2da644d56f4a9f114aa3dfd453019dfbacf81bb94481f37 languageName: node linkType: hard -"@helium/distributor-oracle@npm:0.9.12": - version: 0.9.12 - resolution: "@helium/distributor-oracle@npm:0.9.12" +"@helium/distributor-oracle@npm:0.9.14": + version: 0.9.14 + resolution: "@helium/distributor-oracle@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 "@fastify/cors": ^8.1.1 - "@helium/account-fetch-cache": ^0.9.12 + "@helium/account-fetch-cache": ^0.9.14 "@helium/address": ^4.10.2 - "@helium/helium-entity-manager-sdk": ^0.9.12 - "@helium/helium-sub-daos-sdk": ^0.9.12 - "@helium/idls": ^0.9.12 - "@helium/lazy-distributor-sdk": ^0.9.12 - "@helium/rewards-oracle-sdk": ^0.9.12 - "@helium/spl-utils": ^0.9.12 + "@helium/helium-entity-manager-sdk": ^0.9.14 + "@helium/helium-sub-daos-sdk": ^0.9.14 + "@helium/idls": ^0.9.14 + "@helium/lazy-distributor-sdk": ^0.9.14 + "@helium/rewards-oracle-sdk": ^0.9.14 + "@helium/spl-utils": ^0.9.14 "@metaplex-foundation/mpl-bubblegum": ^0.7.0 "@solana/spl-token": ^0.3.8 "@types/sequelize": ^4.28.14 @@ -2733,20 +2733,20 @@ __metadata: prom-client: ^15.0.0 sequelize: ^6.28.0 typescript-collections: ^1.3.3 - checksum: 9fcb48e3567e357ff68076275be35375c891e290fe1994b6cd560907a2a10db36ad0945e0b7035182e5ac5a314496c02420ab344231338a13d745366475329c9 + checksum: 4cb6a95b24d02f02e5b0620646c1265ef464a551775c302d686f1f620eb1b3baef99eadd4707e6692fa8458784648a57cb27a717699bdf4650bf394ecfa92ab9 languageName: node linkType: hard -"@helium/fanout-sdk@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/fanout-sdk@npm:0.9.12" +"@helium/fanout-sdk@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/fanout-sdk@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.12 - "@helium/idls": ^0.9.12 + "@helium/anchor-resolvers": ^0.9.14 + "@helium/idls": ^0.9.14 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 4cb535b7a61b536918f1209a37568d7deb83986e5b9f15beab0d94be23ea6d9f67e9711755cc1f09f3758d8b69c85b42addbca6f337cf3f63ff4f520a71636e2 + checksum: 9f84f1e5b141d5cacde952b805ee2a8f18ace52c89bda8dc09a8aba6d675afa5458f7f7d7acf21b69720b159790e6306fe7cf62af992ae6c04a72e64bdf524b5 languageName: node linkType: hard @@ -2788,32 +2788,32 @@ __metadata: languageName: node linkType: hard -"@helium/helium-entity-manager-sdk@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/helium-entity-manager-sdk@npm:0.9.12" +"@helium/helium-entity-manager-sdk@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/helium-entity-manager-sdk@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 "@helium/address": ^4.10.2 - "@helium/anchor-resolvers": ^0.9.12 - "@helium/helium-sub-daos-sdk": ^0.9.12 - "@helium/idls": ^0.9.12 - "@helium/no-emit-sdk": ^0.9.12 - "@helium/spl-utils": ^0.9.12 + "@helium/anchor-resolvers": ^0.9.14 + "@helium/helium-sub-daos-sdk": ^0.9.14 + "@helium/idls": ^0.9.14 + "@helium/no-emit-sdk": ^0.9.14 + "@helium/spl-utils": ^0.9.14 bn.js: ^5.2.0 bs58: ^4.0.1 crypto-js: ^4.1.1 js-sha256: ^0.9.0 - checksum: 7fe21f110a6ee58d2d8e98b7fce403c705afd8ca4dc7c7e7d22296c78f38e35a347b742b1438368c454395c52732fcac59f13a8301a53ed903265950d36275e0 + checksum: 24c6825b2226ba40ad433d1c7ec132effef96f535b5fb34d2abbf94c7dfed218b21cc53fc2ecb151c7152703e3b2c8359e383446fc15d89f6022f1918f6ab9de languageName: node linkType: hard -"@helium/helium-react-hooks@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/helium-react-hooks@npm:0.9.12" +"@helium/helium-react-hooks@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/helium-react-hooks@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/account-fetch-cache": ^0.9.12 - "@helium/account-fetch-cache-hooks": ^0.9.12 + "@helium/account-fetch-cache": ^0.9.14 + "@helium/account-fetch-cache-hooks": ^0.9.14 "@solana/spl-token": ^0.3.8 "@solana/web3.js": ^1.78.8 bs58: ^4.0.1 @@ -2823,7 +2823,7 @@ __metadata: "@solana/wallet-adapter-react": ^0.15.32 react: ^16.8 || ^17 || ^18 react-dom: ^16.8 || ^17 || ^18 - checksum: 05c360870dafaaed7b3d491847e9af7d36164a480a518e33162761945e841ef2382697fbcbbfddc0369ae2c3fb24a91a818bdd46db8dbf309210d01c391ce572 + checksum: cd5106ab16e0003758220609852274415cee1ed10210d291ba66cdefaa904ec73c61a5158b1bb2d859fc73310f7a6de41a348f4c6e1246bae7df56702ea783c3 languageName: node linkType: hard @@ -2857,18 +2857,18 @@ __metadata: languageName: node linkType: hard -"@helium/helium-sub-daos-sdk@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/helium-sub-daos-sdk@npm:0.9.12" +"@helium/helium-sub-daos-sdk@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/helium-sub-daos-sdk@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.12 - "@helium/circuit-breaker-sdk": ^0.9.12 - "@helium/treasury-management-sdk": ^0.9.12 - "@helium/voter-stake-registry-sdk": ^0.9.12 + "@helium/anchor-resolvers": ^0.9.14 + "@helium/circuit-breaker-sdk": ^0.9.14 + "@helium/treasury-management-sdk": ^0.9.14 + "@helium/voter-stake-registry-sdk": ^0.9.14 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 406d897cf00bc76e7b47c48010b6a98518362c1d5675e9271cee1181dcc131ec18a8baa1239b867c62b16315fa8e6906ef4d0372e26063fd6dfc62400daca5e7 + checksum: 91eef5ad462687c7eeda5cd4692d0450c99f4b8ad6cf1158956c0d8d788883996f82673b93cb3011688ee611d957062a87c965cb73900304587e1a95d20d0f6b languageName: node linkType: hard @@ -2917,16 +2917,16 @@ __metadata: languageName: node linkType: hard -"@helium/idls@npm:0.9.12, @helium/idls@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/idls@npm:0.9.12" +"@helium/idls@npm:0.9.14, @helium/idls@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/idls@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 "@solana/web3.js": ^1.78.8 bn.js: ^5.2.0 borsh: ^0.7.0 bs58: ^4.0.1 - checksum: f6163d1a54066109db4fdef7f405b773b0c9e6bd0bccb33355152ca3709d5998d659c4c42ed81565869b2833b71558ea650c379a383c5b90bbbcab1f029abf0c + checksum: a3ea8d58c1885d2ec392b6a256c0cd7e89e3b89824810dcbd0c8979f832c8683449895aed1654af08ff3d6ebddc52e34181c89a5a113e62a7b64f377a7574819 languageName: node linkType: hard @@ -2969,16 +2969,16 @@ __metadata: languageName: node linkType: hard -"@helium/lazy-distributor-sdk@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/lazy-distributor-sdk@npm:0.9.12" +"@helium/lazy-distributor-sdk@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/lazy-distributor-sdk@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.12 - "@helium/circuit-breaker-sdk": ^0.9.12 + "@helium/anchor-resolvers": ^0.9.14 + "@helium/circuit-breaker-sdk": ^0.9.14 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: c180dda57cf321cef473a4f012ba0b53026a8728cc0206e75d16f28150f45c385d0dd9ab10a20cd90b4ff9c599b882cce00aeed9f43431de6a313f3e14f857bb + checksum: af6a6ba42e0450c821fe5b971be4c98c27c4ea2b02d8cefcf80bad00b17e42db4b2cd2127d396c5b8bb238be1c5436bdf2f3ee63a9057976ee6ce76293a130a4 languageName: node linkType: hard @@ -3055,16 +3055,16 @@ __metadata: languageName: node linkType: hard -"@helium/no-emit-sdk@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/no-emit-sdk@npm:0.9.12" +"@helium/no-emit-sdk@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/no-emit-sdk@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 "@helium/anchor-resolvers": ^0.5.0 "@helium/idls": ^0.5.0 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 2196285e275170b74b3b078ce594c8b9bf7648f3defc87297d94c094a809362e5b3eeb7dc84a328fefa308eee13ee01af82eb777cf4fde088da94befdca75c20 + checksum: 56de168dd265582b1e2f680bb790fd77c7f0470704414b5cd2ae3d708da553d5457e4449f96abe57fe723928ecba393cb8acbd8c9ae60a79794f8c61bec9ba1c languageName: node linkType: hard @@ -3111,18 +3111,18 @@ __metadata: languageName: node linkType: hard -"@helium/position-voting-rewards-sdk@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/position-voting-rewards-sdk@npm:0.9.12" +"@helium/position-voting-rewards-sdk@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/position-voting-rewards-sdk@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.12 - "@helium/idls": ^0.9.12 - "@helium/spl-utils": ^0.9.12 + "@helium/anchor-resolvers": ^0.9.14 + "@helium/idls": ^0.9.14 + "@helium/spl-utils": ^0.9.14 "@solana/spl-token": ^0.3.8 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: cd0a5da0095ab8b6d2806716fd9f92cf6b10662129ccee8df268fe01fe868df387a3eab5d56f88b70edce9f3124e3ff2112c6587d5a5dad3b01b2cf95ae2319e + checksum: a0790b0165ae67a68b678b2ef850dbbe9e450f5105584ff7d091d1bac40afcf03731fbfdceae039c0f9e01fff506dd6b92d5d3f39ab6390f35b6ab8a37bd5c0a languageName: node linkType: hard @@ -3230,27 +3230,27 @@ __metadata: languageName: node linkType: hard -"@helium/rewards-oracle-sdk@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/rewards-oracle-sdk@npm:0.9.12" +"@helium/rewards-oracle-sdk@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/rewards-oracle-sdk@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.12 - "@helium/idls": ^0.9.12 + "@helium/anchor-resolvers": ^0.9.14 + "@helium/idls": ^0.9.14 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 6d443f577ad975747669262067ed815b030f5ae01c044978226c5841d47a8159e6a45089611df154788cfc2e2bfe65f62efa14236aeaf6edb4bed68a2c83c1a1 + checksum: c18999a873a3fe3a00d984736de25dddd2fa9ddab8966898c9bcb3dab7dc70b00e4fb0342ad89bc669e501ec84924c2d827c6559d24f39e2e4cfe5a0976d3e02 languageName: node linkType: hard -"@helium/spl-utils@npm:0.9.12, @helium/spl-utils@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/spl-utils@npm:0.9.12" +"@helium/spl-utils@npm:0.9.14, @helium/spl-utils@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/spl-utils@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/account-fetch-cache": ^0.9.12 + "@helium/account-fetch-cache": ^0.9.14 "@helium/address": ^4.10.2 - "@helium/anchor-resolvers": ^0.9.12 + "@helium/anchor-resolvers": ^0.9.14 "@metaplex-foundation/mpl-token-metadata": ^2.10.0 "@solana/spl-account-compression": ^0.1.7 "@solana/spl-token": ^0.3.8 @@ -3259,7 +3259,7 @@ __metadata: bn.js: ^5.2.0 borsh: ^0.7.0 bs58: ^4.0.1 - checksum: b6202bbe607618c98c27ce5afc2fa49eaa628dd57ab4c0d5c0ad3f9a6ff9f9c25248336f4af7b4b9ee54500e030d73680e6c2bd0f243f135148eb4a4f7bb12e0 + checksum: f604647b63e0432eec4384427d1cd823485d4236a980e2a7f347f286aea3fd21cc3700fd7f58e853e166e17d879967b8776964528f169fb1442529ef839c0521 languageName: node linkType: hard @@ -3314,9 +3314,9 @@ __metadata: languageName: node linkType: hard -"@helium/sus@npm:0.9.12": - version: 0.9.12 - resolution: "@helium/sus@npm:0.9.12" +"@helium/sus@npm:0.9.14": + version: 0.9.14 + resolution: "@helium/sus@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 "@metaplex-foundation/mpl-token-metadata": ^2.10.0 @@ -3325,7 +3325,7 @@ __metadata: axios: ^1.6.5 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 8a03470f374245e23093d651c67123039a81c1d14ae107fc1d68f1e06a778ff29d2c93caf064a28e19e2d3f4162f82ea3eba18210270338fd671e98859897f50 + checksum: ff4be446ea060511924f32ddaac4236bd3db0a0ae59065f4565dec4505e2b31f709ae53322cdb240a85dd9a6daa0c2600f826eeda3a4b306de259660d578581a languageName: node linkType: hard @@ -3383,35 +3383,35 @@ __metadata: languageName: node linkType: hard -"@helium/treasury-management-sdk@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/treasury-management-sdk@npm:0.9.12" +"@helium/treasury-management-sdk@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/treasury-management-sdk@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.12 - "@helium/circuit-breaker-sdk": ^0.9.12 - "@helium/idls": ^0.9.12 + "@helium/anchor-resolvers": ^0.9.14 + "@helium/circuit-breaker-sdk": ^0.9.14 + "@helium/idls": ^0.9.14 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 5d75269c670b2c5adfe6d9f843eef38966491d7d43087fc7f16bcb1fa47762e2bceecfba0a331d6def6a3218cd53cbc407ebcd363c4c22e01728f3bba624269a + checksum: a46291b78876591fac3900ac3784e6fe7427fae56982a2b7830c2a5194c919307ef520e98a1f66b84cec1896c59905f3a917497fa0557f67ff7ae07dff3dfa0f languageName: node linkType: hard -"@helium/voter-stake-registry-hooks@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/voter-stake-registry-hooks@npm:0.9.12" +"@helium/voter-stake-registry-hooks@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/voter-stake-registry-hooks@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/account-fetch-cache": ^0.9.12 - "@helium/account-fetch-cache-hooks": ^0.9.12 - "@helium/circuit-breaker-sdk": ^0.9.12 - "@helium/helium-react-hooks": ^0.9.12 - "@helium/helium-sub-daos-sdk": ^0.9.12 + "@helium/account-fetch-cache": ^0.9.14 + "@helium/account-fetch-cache-hooks": ^0.9.14 + "@helium/circuit-breaker-sdk": ^0.9.14 + "@helium/helium-react-hooks": ^0.9.14 + "@helium/helium-sub-daos-sdk": ^0.9.14 "@helium/modular-governance-hooks": ^0.0.12 "@helium/modular-governance-idls": ^0.0.12 - "@helium/position-voting-rewards-sdk": ^0.9.12 - "@helium/spl-utils": ^0.9.12 - "@helium/voter-stake-registry-sdk": ^0.9.12 + "@helium/position-voting-rewards-sdk": ^0.9.14 + "@helium/spl-utils": ^0.9.14 + "@helium/voter-stake-registry-sdk": ^0.9.14 "@solana/wallet-adapter-base": ^0.9.22 "@solana/wallet-adapter-react": ^0.15.32 "@solana/web3.js": ^1.78.8 @@ -3422,24 +3422,24 @@ __metadata: peerDependencies: react: ^16.8 || ^17 || ^18 react-dom: ^16.8 || ^17 || ^18 - checksum: 7022265b11f21433bcc47df7eff2f4d488705761ee2e75be5e5bb8f3d3d82ab39758a51404b55d35e6ffb7d4dc43b45992f046b2e9deb64fc134c5348c066361 + checksum: 1e8d393afc5db230afc1e42802a136a0bb1c06f5e2b48e6b048ea91122a70df0f0b25c6cd83228b4cf91791a0bd0abcaa926223308a67acc84d6fc8171ac001b languageName: node linkType: hard -"@helium/voter-stake-registry-sdk@npm:^0.9.12": - version: 0.9.12 - resolution: "@helium/voter-stake-registry-sdk@npm:0.9.12" +"@helium/voter-stake-registry-sdk@npm:^0.9.14": + version: 0.9.14 + resolution: "@helium/voter-stake-registry-sdk@npm:0.9.14" dependencies: "@coral-xyz/anchor": ^0.28.0 - "@helium/anchor-resolvers": ^0.9.12 - "@helium/idls": ^0.9.12 + "@helium/anchor-resolvers": ^0.9.14 + "@helium/idls": ^0.9.14 "@helium/nft-proxy-sdk": ^0.0.12 - "@helium/spl-utils": ^0.9.12 + "@helium/spl-utils": ^0.9.14 "@metaplex-foundation/mpl-token-metadata": ^2.10.0 "@solana/spl-token": ^0.3.8 bn.js: ^5.2.0 bs58: ^4.0.1 - checksum: 108ff26c54a4c489291ce45851a09e00cd871a99731e5b6443e0dafbd2cd90e2fd5d7964687bfb1cfa50f763faa553d3ba570a7b715f025d555f41d00122ddf0 + checksum: 855b2dc578adc80e03b799c7fa0a5ca4b7202b63adcd3d96a7a738833a0a102dde2b01825882dbce9c405380066f1a99db58d43e48269307c9b1015eedae8db6 languageName: node linkType: hard @@ -12723,34 +12723,34 @@ __metadata: "@coral-xyz/anchor": ^0.28.0 "@gorhom/bottom-sheet": 4.6.0 "@gorhom/portal": 1.0.14 - "@helium/account-fetch-cache": 0.9.12 - "@helium/account-fetch-cache-hooks": 0.9.12 + "@helium/account-fetch-cache": 0.9.14 + "@helium/account-fetch-cache-hooks": 0.9.14 "@helium/address": 4.10.2 - "@helium/circuit-breaker-sdk": ^0.9.12 + "@helium/circuit-breaker-sdk": ^0.9.14 "@helium/crypto-react-native": 4.8.0 - "@helium/currency-utils": ^0.9.12 - "@helium/data-credits-sdk": ^0.9.12 - "@helium/distributor-oracle": 0.9.12 - "@helium/fanout-sdk": ^0.9.12 - "@helium/helium-entity-manager-sdk": ^0.9.12 - "@helium/helium-react-hooks": 0.9.12 - "@helium/helium-sub-daos-sdk": ^0.9.12 + "@helium/currency-utils": ^0.9.14 + "@helium/data-credits-sdk": ^0.9.14 + "@helium/distributor-oracle": 0.9.14 + "@helium/fanout-sdk": ^0.9.14 + "@helium/helium-entity-manager-sdk": ^0.9.14 + "@helium/helium-react-hooks": 0.9.14 + "@helium/helium-sub-daos-sdk": ^0.9.14 "@helium/http": 4.7.5 - "@helium/idls": 0.9.12 - "@helium/lazy-distributor-sdk": ^0.9.12 + "@helium/idls": 0.9.14 + "@helium/lazy-distributor-sdk": ^0.9.14 "@helium/modular-governance-hooks": ^0.0.13 "@helium/modular-governance-idls": 0.0.13 "@helium/onboarding": 4.11.0 "@helium/organization-sdk": ^0.0.13 "@helium/proto-ble": 4.0.0 "@helium/react-native-sdk": 3.0.5 - "@helium/spl-utils": 0.9.12 + "@helium/spl-utils": 0.9.14 "@helium/state-controller-sdk": ^0.0.13 - "@helium/sus": 0.9.12 + "@helium/sus": 0.9.14 "@helium/transactions": 4.8.1 - "@helium/treasury-management-sdk": ^0.9.12 - "@helium/voter-stake-registry-hooks": 0.9.12 - "@helium/voter-stake-registry-sdk": 0.9.12 + "@helium/treasury-management-sdk": ^0.9.14 + "@helium/voter-stake-registry-hooks": 0.9.14 + "@helium/voter-stake-registry-sdk": 0.9.14 "@helium/wallet-link": 4.11.0 "@jup-ag/api": ^6.0.6 "@keystonehq/keystone-sdk": ^0.8.0 From 786a65c7a8914401b54ed02432408f499ca9709e Mon Sep 17 00:00:00 2001 From: Noah Prince Date: Wed, 27 Nov 2024 09:06:04 -0800 Subject: [PATCH 7/7] Show jupiter error before tx error --- src/features/swaps/SwapScreen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/swaps/SwapScreen.tsx b/src/features/swaps/SwapScreen.tsx index b91bec666..dcbd85b7d 100644 --- a/src/features/swaps/SwapScreen.tsx +++ b/src/features/swaps/SwapScreen.tsx @@ -178,8 +178,8 @@ const SwapScreen = () => { return t('swapsScreen.insufficientTokensToSwap') if (hasInsufficientBalance) return t('generic.insufficientBalance') if (networkError) return networkError - if (transactionError) return transactionError if (jupiterError) return jupiterError + if (transactionError) return transactionError if (routeNotFound) return t('swapsScreen.routeNotFound') }, [ hasRecipientError,