diff --git a/package.json b/package.json index 8d0e51a5a..f676cc090 100644 --- a/package.json +++ b/package.json @@ -27,34 +27,34 @@ "@coral-xyz/anchor": "^0.28.0", "@gorhom/bottom-sheet": "4.6.0", "@gorhom/portal": "1.0.14", - "@helium/account-fetch-cache": "0.9.0-alpha.6", - "@helium/account-fetch-cache-hooks": "0.9.0-alpha.6", + "@helium/account-fetch-cache": "0.9.0-alpha.7", + "@helium/account-fetch-cache-hooks": "0.9.0-alpha.7", "@helium/address": "4.10.2", - "@helium/circuit-breaker-sdk": "^0.9.0-alpha.6", + "@helium/circuit-breaker-sdk": "^0.9.0-alpha.7", "@helium/crypto-react-native": "4.8.0", - "@helium/currency-utils": "^0.9.0-alpha.6", - "@helium/data-credits-sdk": "^0.9.0-alpha.6", - "@helium/distributor-oracle": "0.9.0-alpha.6", - "@helium/fanout-sdk": "^0.9.0-alpha.6", - "@helium/helium-entity-manager-sdk": "^0.9.0-alpha.6", - "@helium/helium-react-hooks": "0.9.0-alpha.6", - "@helium/helium-sub-daos-sdk": "^0.9.0-alpha.6", + "@helium/currency-utils": "^0.9.0-alpha.7", + "@helium/data-credits-sdk": "^0.9.0-alpha.7", + "@helium/distributor-oracle": "0.9.0-alpha.7", + "@helium/fanout-sdk": "^0.9.0-alpha.7", + "@helium/helium-entity-manager-sdk": "^0.9.0-alpha.7", + "@helium/helium-react-hooks": "0.9.0-alpha.7", + "@helium/helium-sub-daos-sdk": "^0.9.0-alpha.7", "@helium/http": "4.7.5", - "@helium/idls": "0.9.0-alpha.6", - "@helium/lazy-distributor-sdk": "^0.9.0-alpha.6", + "@helium/idls": "0.9.0-alpha.7", + "@helium/lazy-distributor-sdk": "^0.9.0-alpha.7", "@helium/modular-governance-hooks": "^0.0.8", "@helium/modular-governance-idls": "0.0.8-next.22+7098baa", "@helium/onboarding": "4.11.0", "@helium/organization-sdk": "^0.0.8", "@helium/proto-ble": "4.0.0", "@helium/react-native-sdk": "3.0.5", - "@helium/spl-utils": "0.9.0-alpha.6", + "@helium/spl-utils": "0.9.0-alpha.7", "@helium/state-controller-sdk": "^0.0.8", - "@helium/sus": "0.9.0-alpha.6", + "@helium/sus": "0.9.0-alpha.7", "@helium/transactions": "4.8.1", - "@helium/treasury-management-sdk": "^0.9.0-alpha.6", - "@helium/voter-stake-registry-hooks": "0.9.0-alpha.6", - "@helium/voter-stake-registry-sdk": "0.9.0-alpha.6", + "@helium/treasury-management-sdk": "^0.9.0-alpha.7", + "@helium/voter-stake-registry-hooks": "0.9.0-alpha.7", + "@helium/voter-stake-registry-sdk": "0.9.0-alpha.7", "@helium/wallet-link": "4.11.0", "@jup-ag/api": "^6.0.6", "@ledgerhq/hw-app-solana": "7.0.13", @@ -266,11 +266,11 @@ }, "resolutions": { "@types/react": "17", - "@helium/account-fetch-cache": "^0.9.0-alpha.6", - "@helium/account-fetch-cache-hooks": "^0.9.0-alpha.6", - "@helium/helium-react-hooks": "^0.9.0-alpha.6", - "@helium/voter-stake-registry-hooks": "^0.9.0-alpha.6", - "@helium/voter-stake-registry-sdk": "^0.9.0-alpha.6", + "@helium/account-fetch-cache": "^0.9.0-alpha.7", + "@helium/account-fetch-cache-hooks": "^0.9.0-alpha.7", + "@helium/helium-react-hooks": "^0.9.0-alpha.7", + "@helium/voter-stake-registry-hooks": "^0.9.0-alpha.7", + "@helium/voter-stake-registry-sdk": "^0.9.0-alpha.7", "@helium/modular-governance-hooks": "^0.0.8", "@helium/onboarding": "4.11.0" }, diff --git a/src/features/account/TokenListItem.tsx b/src/features/account/TokenListItem.tsx index ad501b919..db3e413ba 100644 --- a/src/features/account/TokenListItem.tsx +++ b/src/features/account/TokenListItem.tsx @@ -1,5 +1,6 @@ /* eslint-disable @typescript-eslint/no-shadow */ import Arrow from '@assets/images/listItemRight.svg' +import Lock from '@assets/images/lockClosed.svg' import InfoWarning from '@assets/images/warning.svg' import Box from '@components/Box' import FadeInOut from '@components/FadeInOut' @@ -7,25 +8,24 @@ import Text from '@components/Text' import TokenIcon from '@components/TokenIcon' import TouchableContainer from '@components/TouchableContainer' import { useMint, useOwnedAmount } from '@helium/helium-react-hooks' +import { + useHeliumVsrState, + usePositions, +} from '@helium/voter-stake-registry-hooks' +import { getPositionKeysForOwner } from '@helium/voter-stake-registry-sdk' import { useCurrentWallet } from '@hooks/useCurrentWallet' import useHaptic from '@hooks/useHaptic' import { useMetaplexMetadata } from '@hooks/useMetaplexMetadata' +import usePrevious from '@hooks/usePrevious' import { useNavigation } from '@react-navigation/native' import { NATIVE_MINT } from '@solana/spl-token' import { PublicKey } from '@solana/web3.js' +import { useColors } from '@theme/themeHooks' import { MIN_BALANCE_THRESHOLD } from '@utils/constants' import { humanReadable } from '@utils/solanaUtils' import BN from 'bn.js' import React, { useCallback, useMemo } from 'react' -import { - getPositionKeysForOwner, - useHeliumVsrState, - usePositions, -} from '@helium/voter-stake-registry-hooks' import { useAsync } from 'react-async-hook' -import usePrevious from '@hooks/usePrevious' -import Lock from '@assets/images/lockClosed.svg' -import { useColors } from '@theme/themeHooks' import { useSolana } from '../../solana/SolanaProvider' import { HomeNavigationProp } from '../home/homeTypes' import AccountTokenCurrencyBalance from './AccountTokenCurrencyBalance' @@ -203,7 +203,7 @@ export const TokenListGovItem = ({ mint }: { mint: PublicKey }) => { ) const { accounts: fetchedPositions, loading: loadingFetchedPositions } = - usePositions(result?.positionKeys) + usePositions(result?.positions) const loadingPositions = loadingFetchedPositions || loadingContext const positions = useMemo( () => diff --git a/yarn.lock b/yarn.lock index 8457afc47..d99a0d4a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1987,19 +1987,19 @@ dependencies: "@hapi/hoek" "^9.0.0" -"@helium/account-fetch-cache-hooks@0.9.0-alpha.6", "@helium/account-fetch-cache-hooks@^0.5.0", "@helium/account-fetch-cache-hooks@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/account-fetch-cache-hooks/-/account-fetch-cache-hooks-0.9.0-alpha.6.tgz#8b40867a11179cdad1a568a1a6377f1144d3a52c" - integrity sha512-6tCzMj1glrbYBhULiUBOOr0RJqy+u+BWRX+H6mda0uGmrYWh1il3UrrHBQNofLf1c8CkqAnDrBdiLRWIUQ3h2A== +"@helium/account-fetch-cache-hooks@0.9.0-alpha.7", "@helium/account-fetch-cache-hooks@^0.5.0", "@helium/account-fetch-cache-hooks@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/account-fetch-cache-hooks/-/account-fetch-cache-hooks-0.9.0-alpha.7.tgz#5200063a8dbfabd851a7a0f8e6f143935d47297b" + integrity sha512-em2FS+WGb/97i7yvFM35+fCgqLml+cS3nOAhLuKMS4Z8z8G78YnN5wJvLH0TIewusDrJ2OvVOffmsSCwLks+0Q== dependencies: - "@helium/account-fetch-cache" "^0.9.0-alpha.6" + "@helium/account-fetch-cache" "^0.9.0-alpha.7" "@solana/web3.js" "^1.78.8" react-async-hook "^4.0.0" -"@helium/account-fetch-cache@0.9.0-alpha.6", "@helium/account-fetch-cache@^0.5.0", "@helium/account-fetch-cache@^0.6.11", "@helium/account-fetch-cache@^0.8.7", "@helium/account-fetch-cache@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/account-fetch-cache/-/account-fetch-cache-0.9.0-alpha.6.tgz#f107eea7871eac9f54eefd2f64946512c6fce70b" - integrity sha512-hBNRsPp3TXgnWYmeiX+/cZ+NSc9XBUHIlp8+FEtDGYgLXbG6dKJESjqcHRt97Hgae7IR3IQXTWR2+vDR+N9ooA== +"@helium/account-fetch-cache@0.9.0-alpha.7", "@helium/account-fetch-cache@^0.5.0", "@helium/account-fetch-cache@^0.6.11", "@helium/account-fetch-cache@^0.8.7", "@helium/account-fetch-cache@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/account-fetch-cache/-/account-fetch-cache-0.9.0-alpha.7.tgz#95dde16230623ce8260ede720e4af80ec7fa6d3d" + integrity sha512-KzGDXog9IfF5lQYtKAzPMhCSKQDwSX7vbbJvXlVdgFqRDAuF1QPwU6pxS1ubmxfmvmEMD2xDCOockL9LSAPz7w== dependencies: "@solana/web3.js" "^1.78.8" @@ -2061,10 +2061,10 @@ "@solana/spl-token" "^0.3.8" "@solana/web3.js" "^1.78.8" -"@helium/anchor-resolvers@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/anchor-resolvers/-/anchor-resolvers-0.9.0-alpha.6.tgz#253266d8f9bbd9807c6cfd4706fac1be41c80a1f" - integrity sha512-8OWXzEDsZBfBetgvJISvmCbDGkyJlzjXLYp5iqFB/rBBfKB4UH3RnaAcuRId8HynBd/+Gj2Y6CKHyHUCrXhzLQ== +"@helium/anchor-resolvers@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/anchor-resolvers/-/anchor-resolvers-0.9.0-alpha.7.tgz#cf1154091de779fcccbbef8ef6ac81493925d6e3" + integrity sha512-BMJLdC6uGu3EY2sOoMtiOlA9zpPcQgGBO38Ac4Sa6uqKMwVkeazx9+GWmaHFax+ej4QQaj2FiRbSJImJKZeWlg== dependencies: "@solana/spl-token" "^0.3.8" "@solana/web3.js" "^1.78.8" @@ -2091,14 +2091,14 @@ bn.js "^5.2.0" bs58 "^4.0.1" -"@helium/circuit-breaker-sdk@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/circuit-breaker-sdk/-/circuit-breaker-sdk-0.9.0-alpha.6.tgz#2cc7914a43cc31ef10bc45de980e6a490c7d76f3" - integrity sha512-blR1cEtihY8ER9lVCN2evyRnUMBnxW47r5Qh6PebQ7Se1h+0AeDgLs1d2m8UUzB08LYy1hNxdlSEH/0T13aPzQ== +"@helium/circuit-breaker-sdk@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/circuit-breaker-sdk/-/circuit-breaker-sdk-0.9.0-alpha.7.tgz#5884980d8896821d9e28ca25846dada755e37373" + integrity sha512-vHyMK5GLBYq0n+J8+/mrSvVITa2796O4N+cUDgzYgQtHTslYpv4py0iWu2rObbzkgiTJBzdUizDyPujXkpJUNQ== dependencies: "@coral-xyz/anchor" "^0.28.0" - "@helium/anchor-resolvers" "^0.9.0-alpha.6" - "@helium/idls" "^0.9.0-alpha.6" + "@helium/anchor-resolvers" "^0.9.0-alpha.7" + "@helium/idls" "^0.9.0-alpha.7" bn.js "^5.2.0" bs58 "^4.0.1" @@ -2129,10 +2129,10 @@ "@solana/spl-token" "^0.3.8" "@solana/web3.js" "^1.78.8" -"@helium/currency-utils@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/currency-utils/-/currency-utils-0.9.0-alpha.6.tgz#efe3a4640767196b1288798aa868819e82684c2f" - integrity sha512-dFZZpijMwFo9MfDo5tRGYFC933HP1OBIOkBImIu6EBKU18c51qovGWZHVep4Fp6B1h1RAGaX2O10KnE7LhikcA== +"@helium/currency-utils@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/currency-utils/-/currency-utils-0.9.0-alpha.7.tgz#e0756e319305a0e90be33a980128805e68cc58cd" + integrity sha512-n1YHiNP7r7Z6MnMIGsA6RlpA7wLVb/lw5Lr45EQ0h+/KNtDrErJ0SRgdLhOQinJ4Q2913mc7p5YTiVv247zxSQ== dependencies: "@solana/spl-token" "^0.3.8" "@solana/web3.js" "^1.78.8" @@ -2172,35 +2172,35 @@ bs58 "^4.0.1" crypto-js "^4.1.1" -"@helium/data-credits-sdk@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/data-credits-sdk/-/data-credits-sdk-0.9.0-alpha.6.tgz#228bac88f827feaa48b5172fa396b07f2c18c096" - integrity sha512-UZpxYsSeRqEIVgz4tYxHaTsLw3GPwso0PgTdjETC7W3hvZcDSqRtUwNYA+3whh/ESjG/K/zUbFpHRLcYqwHs4g== +"@helium/data-credits-sdk@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/data-credits-sdk/-/data-credits-sdk-0.9.0-alpha.7.tgz#150204dd54223e826d8f4848606708a210870ed3" + integrity sha512-aj4pWmKvFs6IdK2xo3nPZerHndLFZoZeCYV9bifI2ttW3UlFtleEQB35Usy23V4b6P2kZobL8FEo83z8sVweXA== dependencies: "@coral-xyz/anchor" "^0.28.0" - "@helium/anchor-resolvers" "^0.9.0-alpha.6" - "@helium/circuit-breaker-sdk" "^0.9.0-alpha.6" - "@helium/helium-sub-daos-sdk" "^0.9.0-alpha.6" - "@helium/idls" "^0.9.0-alpha.6" + "@helium/anchor-resolvers" "^0.9.0-alpha.7" + "@helium/circuit-breaker-sdk" "^0.9.0-alpha.7" + "@helium/helium-sub-daos-sdk" "^0.9.0-alpha.7" + "@helium/idls" "^0.9.0-alpha.7" bn.js "^5.2.0" bs58 "^4.0.1" crypto-js "^4.1.1" -"@helium/distributor-oracle@0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/distributor-oracle/-/distributor-oracle-0.9.0-alpha.6.tgz#acaad2ef803c66b86bf14ed05dc5f159fd4bacee" - integrity sha512-RmucuSum7WnyYAxbmWQilH3M78mSKLnOUfDnWzsu62JMd6QlTkKu6Y5jifIx5vWkf6U4nfAQQ66YRuckX9KpwQ== +"@helium/distributor-oracle@0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/distributor-oracle/-/distributor-oracle-0.9.0-alpha.7.tgz#62278a91d3f0e8d0a45b4ceededb5986e1aa95ee" + integrity sha512-ZDqbZRkpPhko+EWoUK0kfL0VQEfa5sCW6wBaOyngQ8/IT6cUo22OIIjPrrJjxVUKYPHni4qTKmCZtliIt6qj3A== dependencies: "@coral-xyz/anchor" "^0.28.0" "@fastify/cors" "^8.1.1" - "@helium/account-fetch-cache" "^0.9.0-alpha.6" + "@helium/account-fetch-cache" "^0.9.0-alpha.7" "@helium/address" "^4.10.2" - "@helium/helium-entity-manager-sdk" "^0.9.0-alpha.6" - "@helium/helium-sub-daos-sdk" "^0.9.0-alpha.6" - "@helium/idls" "^0.9.0-alpha.6" - "@helium/lazy-distributor-sdk" "^0.9.0-alpha.6" - "@helium/rewards-oracle-sdk" "^0.9.0-alpha.6" - "@helium/spl-utils" "^0.9.0-alpha.6" + "@helium/helium-entity-manager-sdk" "^0.9.0-alpha.7" + "@helium/helium-sub-daos-sdk" "^0.9.0-alpha.7" + "@helium/idls" "^0.9.0-alpha.7" + "@helium/lazy-distributor-sdk" "^0.9.0-alpha.7" + "@helium/rewards-oracle-sdk" "^0.9.0-alpha.7" + "@helium/spl-utils" "^0.9.0-alpha.7" "@metaplex-foundation/mpl-bubblegum" "^0.7.0" "@solana/spl-token" "^0.3.8" "@types/sequelize" "^4.28.14" @@ -2217,14 +2217,14 @@ sequelize "^6.28.0" typescript-collections "^1.3.3" -"@helium/fanout-sdk@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/fanout-sdk/-/fanout-sdk-0.9.0-alpha.6.tgz#aba1f5520ceaa767348cd74652478bf1eb72f9dd" - integrity sha512-OfaDGF4SY5qms+bkZMmv69OeI5CwEDcIH6S3gkr6NCg29PTIc1WAINurq0WYr9gb5Gc4MCEDkkz0DbsUjWYU/w== +"@helium/fanout-sdk@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/fanout-sdk/-/fanout-sdk-0.9.0-alpha.7.tgz#62e7885ae7b88a88863c8c30a6cd240c91b2c7ea" + integrity sha512-oxrk/2gJSKHG53d6BTVO3wN+ChsY+p3w/QJie58JYMki/LxNXbKY1W3UbdeseNSt1EYyPhtYGxquyhku7i92og== dependencies: "@coral-xyz/anchor" "^0.28.0" - "@helium/anchor-resolvers" "^0.9.0-alpha.6" - "@helium/idls" "^0.9.0-alpha.6" + "@helium/anchor-resolvers" "^0.9.0-alpha.7" + "@helium/idls" "^0.9.0-alpha.7" bn.js "^5.2.0" bs58 "^4.0.1" @@ -2262,31 +2262,31 @@ crypto-js "^4.1.1" js-sha256 "^0.9.0" -"@helium/helium-entity-manager-sdk@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/helium-entity-manager-sdk/-/helium-entity-manager-sdk-0.9.0-alpha.6.tgz#1b91839c722e3351956e6f830b04a6f0b8958b25" - integrity sha512-Sr4rzWwXUobUuyEwlu1nb8WZFcgHsZ/ZhspDnAWqDosY/DT+M3JejiND9PCbtAa8KndikO3zCnRTbmS+P0z0Dg== +"@helium/helium-entity-manager-sdk@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/helium-entity-manager-sdk/-/helium-entity-manager-sdk-0.9.0-alpha.7.tgz#ad8195713f209bddda7218b511b2f69a5078e851" + integrity sha512-w16WQl+cACldztx4zXP3qRLahtOD+Qny4CULTAj3FdRzqJWE1G1xD5mVyqxjpJDDgkOqwPXyqvBQf2lCC2ybQA== dependencies: "@coral-xyz/anchor" "^0.28.0" "@helium/address" "^4.10.2" - "@helium/anchor-resolvers" "^0.9.0-alpha.6" - "@helium/helium-sub-daos-sdk" "^0.9.0-alpha.6" - "@helium/idls" "^0.9.0-alpha.6" - "@helium/no-emit-sdk" "^0.9.0-alpha.6" - "@helium/spl-utils" "^0.9.0-alpha.6" + "@helium/anchor-resolvers" "^0.9.0-alpha.7" + "@helium/helium-sub-daos-sdk" "^0.9.0-alpha.7" + "@helium/idls" "^0.9.0-alpha.7" + "@helium/no-emit-sdk" "^0.9.0-alpha.7" + "@helium/spl-utils" "^0.9.0-alpha.7" bn.js "^5.2.0" bs58 "^4.0.1" crypto-js "^4.1.1" js-sha256 "^0.9.0" -"@helium/helium-react-hooks@0.9.0-alpha.6", "@helium/helium-react-hooks@^0.5.0", "@helium/helium-react-hooks@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/helium-react-hooks/-/helium-react-hooks-0.9.0-alpha.6.tgz#046c04f5eb4d82ce81a148ae84f074ee989a8619" - integrity sha512-Tfhj1PQez86PX/69Nyd4lpit8KtrfgfHl4O/DZ16N3x+0aF1dgyBKMZ+mvChqQP+g8UMMovepundHwWoftWLIw== +"@helium/helium-react-hooks@0.9.0-alpha.7", "@helium/helium-react-hooks@^0.5.0", "@helium/helium-react-hooks@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/helium-react-hooks/-/helium-react-hooks-0.9.0-alpha.7.tgz#ac30678012c713a6608ea107ff3c0c2521af4292" + integrity sha512-fyR8Mmo+0ojetPODF1ki0JGEOAKl7OosDAe0KM0mc7+vXm8xNOD1/JW/pELJ1o1FbxKTtcY7hRaGLxbq0NoQOw== dependencies: "@coral-xyz/anchor" "^0.28.0" - "@helium/account-fetch-cache" "^0.9.0-alpha.6" - "@helium/account-fetch-cache-hooks" "^0.9.0-alpha.6" + "@helium/account-fetch-cache" "^0.9.0-alpha.7" + "@helium/account-fetch-cache-hooks" "^0.9.0-alpha.7" "@solana/spl-token" "^0.3.8" "@solana/web3.js" "^1.78.8" bs58 "^4.0.1" @@ -2319,16 +2319,16 @@ bn.js "^5.2.0" bs58 "^4.0.1" -"@helium/helium-sub-daos-sdk@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/helium-sub-daos-sdk/-/helium-sub-daos-sdk-0.9.0-alpha.6.tgz#387ff41eeb64d05caaca4b88cdc79ce1bdffafae" - integrity sha512-kyymnm6XNT7beeot6NfVfMXgAhvKRoSpOvPmbEf2Frq788c7tjxtcwzbC4yzFKFL0LNx1Xl/3yy76/YL8TYVZA== +"@helium/helium-sub-daos-sdk@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/helium-sub-daos-sdk/-/helium-sub-daos-sdk-0.9.0-alpha.7.tgz#5ffb321b844a62a15dc50ac3cbfb9daaae16321c" + integrity sha512-eFsYGL+4hxibjAljoU9UyN6UwDhGa86wlFeRfsy0bc/bUqOHbFCgHjklbCjyk6mi3vfsb5BWITXQ1tgdIkp1og== dependencies: "@coral-xyz/anchor" "^0.28.0" - "@helium/anchor-resolvers" "^0.9.0-alpha.6" - "@helium/circuit-breaker-sdk" "^0.9.0-alpha.6" - "@helium/treasury-management-sdk" "^0.9.0-alpha.6" - "@helium/voter-stake-registry-sdk" "^0.9.0-alpha.6" + "@helium/anchor-resolvers" "^0.9.0-alpha.7" + "@helium/circuit-breaker-sdk" "^0.9.0-alpha.7" + "@helium/treasury-management-sdk" "^0.9.0-alpha.7" + "@helium/voter-stake-registry-sdk" "^0.9.0-alpha.7" bn.js "^5.2.0" bs58 "^4.0.1" @@ -2371,10 +2371,10 @@ retry-axios "^2.1.2" snakecase-keys "^5.1.0" -"@helium/idls@0.9.0-alpha.6", "@helium/idls@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/idls/-/idls-0.9.0-alpha.6.tgz#2217c55c8221887016d628793307520356e1b024" - integrity sha512-P9AFySHsd5qp0GK+pOEWo3tiM97vW7w2HoVz4KW/dkrxEMScnk4MGNdaT3mFskrX3LEO+u+NWhGA9FsAjkE2iA== +"@helium/idls@0.9.0-alpha.7", "@helium/idls@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/idls/-/idls-0.9.0-alpha.7.tgz#25d7facbf8bd920de416c15e47f90648e5f1275f" + integrity sha512-esXskH/HCy3cFp9IWS+4N8ch2S5Og59AEi18dj64KkWhu0rnr51vYK3zGmo/Jq3skUpSEAOklZMLQyO5U74eZg== dependencies: "@coral-xyz/anchor" "^0.28.0" "@solana/web3.js" "^1.78.8" @@ -2415,14 +2415,14 @@ borsh "^0.7.0" bs58 "^4.0.1" -"@helium/lazy-distributor-sdk@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/lazy-distributor-sdk/-/lazy-distributor-sdk-0.9.0-alpha.6.tgz#cf909c4aab109ebd5d0c510f0b9933c744b5a744" - integrity sha512-lLcR3Of3e9IirxW14UO5mM6b+qYhiOeyuECcaXqqscvdkbtKTkJyndbgvxPH0YbKE3uHpCyp8S6H9uCCK5m9YQ== +"@helium/lazy-distributor-sdk@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/lazy-distributor-sdk/-/lazy-distributor-sdk-0.9.0-alpha.7.tgz#79a66d99164f59159df5986e897f5db8bda8678a" + integrity sha512-cv3+EPHNppKehXeFHnvIymwxyQ2f/dT/S8ghvfii4GQrQW8cTnWz/9auJjhPJdwalAsJ+mhJAaKdDliStLWw4w== dependencies: "@coral-xyz/anchor" "^0.28.0" - "@helium/anchor-resolvers" "^0.9.0-alpha.6" - "@helium/circuit-breaker-sdk" "^0.9.0-alpha.6" + "@helium/anchor-resolvers" "^0.9.0-alpha.7" + "@helium/circuit-breaker-sdk" "^0.9.0-alpha.7" bn.js "^5.2.0" bs58 "^4.0.1" @@ -2476,10 +2476,10 @@ bn.js "^5.2.0" bs58 "^4.0.1" -"@helium/no-emit-sdk@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/no-emit-sdk/-/no-emit-sdk-0.9.0-alpha.6.tgz#e54b691442ef561dfd015c100283e36ce5c9e9e8" - integrity sha512-5C9fHburBLWBRpXxh2PXd5zOhSVahxpW2TepIxhnXSkvj2cu2LLTrkJPBLbcgEIbvULnaHv1YfiMvs9Rq4KHHQ== +"@helium/no-emit-sdk@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/no-emit-sdk/-/no-emit-sdk-0.9.0-alpha.7.tgz#aa28f9d136ec004bab4a2c5cba620cd77ce89065" + integrity sha512-sA5eOgdGjiM5XKP1N78ekQc3jOVfWRoba2lULO0ntBi0GPunlmOvGtHrc/EUOIqszlEBPk97r6DAHiAx/3dw7A== dependencies: "@coral-xyz/anchor" "^0.28.0" "@helium/anchor-resolvers" "^0.5.0" @@ -2595,26 +2595,26 @@ bn.js "^5.2.0" bs58 "^4.0.1" -"@helium/rewards-oracle-sdk@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/rewards-oracle-sdk/-/rewards-oracle-sdk-0.9.0-alpha.6.tgz#f7e171f4fb1ffe56c434c75ca2a6ffc3c6d877e4" - integrity sha512-9tY38+qdCOKeuGu+jHGzGl8wHxan00+YIV6bd79ZjqJ4oRXauYhn1Wxum/nskzZlorfF2PGGbQzI2E9npdVhtQ== +"@helium/rewards-oracle-sdk@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/rewards-oracle-sdk/-/rewards-oracle-sdk-0.9.0-alpha.7.tgz#e4ea1a90b92a3953dee0b2c7886f8e943b73bfa2" + integrity sha512-ATbH9bMuljJ9nkPVIeXH8cxFcjTZRFqXS9AghBO+HZA5Abq70aD/T3wTvII2kjFZQjp54Oiv4DpJhk5y1prIUQ== dependencies: "@coral-xyz/anchor" "^0.28.0" - "@helium/anchor-resolvers" "^0.9.0-alpha.6" - "@helium/idls" "^0.9.0-alpha.6" + "@helium/anchor-resolvers" "^0.9.0-alpha.7" + "@helium/idls" "^0.9.0-alpha.7" bn.js "^5.2.0" bs58 "^4.0.1" -"@helium/spl-utils@0.9.0-alpha.6", "@helium/spl-utils@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/spl-utils/-/spl-utils-0.9.0-alpha.6.tgz#c27df0717a44cb574e9318fc2eb701f64aa6c6fd" - integrity sha512-KKFtpfXCDNdNyRU4jzyO/5liz7XzmbdHWY7K3z7BdZPKq1v4vnHmwJvesHUjGBTCsLDq8uJhCwP8P3QSTElC7g== +"@helium/spl-utils@0.9.0-alpha.7", "@helium/spl-utils@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/spl-utils/-/spl-utils-0.9.0-alpha.7.tgz#fb427162a07c5c3dcf556ad912bc2c30ff5b58b8" + integrity sha512-O7Bejv5T+5TJ2UFc9SLzHzkrXvxEaeQN43d4QLhi547cAsBbjERu2lzpBIsEu+tfEpo3n6PWa4rZiNqGuLBsFw== dependencies: "@coral-xyz/anchor" "^0.28.0" - "@helium/account-fetch-cache" "^0.9.0-alpha.6" + "@helium/account-fetch-cache" "^0.9.0-alpha.7" "@helium/address" "^4.10.2" - "@helium/anchor-resolvers" "^0.9.0-alpha.6" + "@helium/anchor-resolvers" "^0.9.0-alpha.7" "@metaplex-foundation/mpl-token-metadata" "^2.10.0" "@solana/spl-account-compression" "^0.1.7" "@solana/spl-token" "^0.3.8" @@ -2669,10 +2669,10 @@ "@helium/anchor-resolvers" "^0.5.0" "@helium/modular-governance-idls" "^0.0.8" -"@helium/sus@0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/sus/-/sus-0.9.0-alpha.6.tgz#937cef05264ac23b18dd59594840646d90c871e5" - integrity sha512-Eo16TlEAJ0KbmVHppxszdViKuUoEZMTDqhGHezYCTWcqbwZHvu8O7hkJwJeX8H8He/U3b5Zx8TC0fCWAHOjDsg== +"@helium/sus@0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/sus/-/sus-0.9.0-alpha.7.tgz#b22a1602a1b6ecdd66749576ba37b9b9d6d0c888" + integrity sha512-Wo+WJIYZrZdtvQSWepSU3cBp2TE74Fp1xOEOzOCFo/zsoV/U/zT2Iy1xlNckeQOS5WAtebYAr9l6i5n3fnluZw== dependencies: "@coral-xyz/anchor" "^0.28.0" "@metaplex-foundation/mpl-token-metadata" "^2.10.0" @@ -2728,33 +2728,33 @@ bn.js "^5.2.0" bs58 "^4.0.1" -"@helium/treasury-management-sdk@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/treasury-management-sdk/-/treasury-management-sdk-0.9.0-alpha.6.tgz#d673fda5ce1038a01c12a7119779ec575b025f60" - integrity sha512-vbHvcEhAy4a9l7DzodlKj1wVwDrxViFxnjljTmZuj9awqYlgnd7IqcpQmCed74vhS8DUiIm9zL0Gp7aMoWZ+qQ== +"@helium/treasury-management-sdk@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/treasury-management-sdk/-/treasury-management-sdk-0.9.0-alpha.7.tgz#3f6543ce407c77ebc4ad34cd3bf8279209898102" + integrity sha512-x+4GSNxcjmEY45vwma5TzVJIxvD1UOOYTyRdLjATcAh2UJgjBeySbZOJPEO94fVNB7eLtt7HqddKuOwugYyaQg== dependencies: "@coral-xyz/anchor" "^0.28.0" - "@helium/anchor-resolvers" "^0.9.0-alpha.6" - "@helium/circuit-breaker-sdk" "^0.9.0-alpha.6" - "@helium/idls" "^0.9.0-alpha.6" + "@helium/anchor-resolvers" "^0.9.0-alpha.7" + "@helium/circuit-breaker-sdk" "^0.9.0-alpha.7" + "@helium/idls" "^0.9.0-alpha.7" bn.js "^5.2.0" bs58 "^4.0.1" -"@helium/voter-stake-registry-hooks@0.9.0-alpha.6", "@helium/voter-stake-registry-hooks@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/voter-stake-registry-hooks/-/voter-stake-registry-hooks-0.9.0-alpha.6.tgz#806d61c847c2cb2dc4ccdebf0ae844d4636f0268" - integrity sha512-fu65v3m3/TjBdOKzDBTcPeYZwqN2y/5aaRmyLDJLRjCDuwFkwBK2dTRcXxOEc+dtdOHjoAIAlUtrN3qA2sgtTw== +"@helium/voter-stake-registry-hooks@0.9.0-alpha.7", "@helium/voter-stake-registry-hooks@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/voter-stake-registry-hooks/-/voter-stake-registry-hooks-0.9.0-alpha.7.tgz#a683a09dbbbeee341b2da4672e14f9fe2aaf09fe" + integrity sha512-NyWOsfJdbbrxcbnrJK6GLN5EBXtKBR4PWr2Bt9RrzjxBOKYAL1AJfIceeZHf6VW0Taqd2B9j2ls6QOelrYWKeQ== dependencies: "@coral-xyz/anchor" "^0.28.0" - "@helium/account-fetch-cache" "^0.9.0-alpha.6" - "@helium/account-fetch-cache-hooks" "^0.9.0-alpha.6" - "@helium/circuit-breaker-sdk" "^0.9.0-alpha.6" - "@helium/helium-react-hooks" "^0.9.0-alpha.6" - "@helium/helium-sub-daos-sdk" "^0.9.0-alpha.6" + "@helium/account-fetch-cache" "^0.9.0-alpha.7" + "@helium/account-fetch-cache-hooks" "^0.9.0-alpha.7" + "@helium/circuit-breaker-sdk" "^0.9.0-alpha.7" + "@helium/helium-react-hooks" "^0.9.0-alpha.7" + "@helium/helium-sub-daos-sdk" "^0.9.0-alpha.7" "@helium/modular-governance-hooks" "^0.0.8" "@helium/modular-governance-idls" "0.0.8-next.22+7098baa" - "@helium/spl-utils" "^0.9.0-alpha.6" - "@helium/voter-stake-registry-sdk" "^0.9.0-alpha.6" + "@helium/spl-utils" "^0.9.0-alpha.7" + "@helium/voter-stake-registry-sdk" "^0.9.0-alpha.7" "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-react" "^0.15.32" "@solana/web3.js" "^1.78.8" @@ -2763,16 +2763,16 @@ bs58 "^4.0.1" react-async-hook "^4.0.0" -"@helium/voter-stake-registry-sdk@0.9.0-alpha.6", "@helium/voter-stake-registry-sdk@^0.6.6", "@helium/voter-stake-registry-sdk@^0.8.7", "@helium/voter-stake-registry-sdk@^0.9.0-alpha.6": - version "0.9.0-alpha.6" - resolved "https://registry.yarnpkg.com/@helium/voter-stake-registry-sdk/-/voter-stake-registry-sdk-0.9.0-alpha.6.tgz#b70d98c2fabe193cf63c09a6cc8932ed57e3d195" - integrity sha512-qOTCXEpcgxgVoDW+fSeEnuLI8CmhgTA+7C9YByNCZUxJT4SRDasPqqe0kwHUKd5x1T6DvnnXjb1OQbvagB1+RA== +"@helium/voter-stake-registry-sdk@0.9.0-alpha.7", "@helium/voter-stake-registry-sdk@^0.6.6", "@helium/voter-stake-registry-sdk@^0.8.7", "@helium/voter-stake-registry-sdk@^0.9.0-alpha.7": + version "0.9.0-alpha.7" + resolved "https://registry.yarnpkg.com/@helium/voter-stake-registry-sdk/-/voter-stake-registry-sdk-0.9.0-alpha.7.tgz#38ceddcd656ff8b090597376968d0ee7d3662cbe" + integrity sha512-EBQcklR4MSJTF3zdDix7mOfVc/DHuJwtmID95aCYRyINlXSzZUAYYgltCaRbf84TwSctvWdeXEoyC3ntmZ0lUA== dependencies: "@coral-xyz/anchor" "^0.28.0" - "@helium/anchor-resolvers" "^0.9.0-alpha.6" - "@helium/idls" "^0.9.0-alpha.6" + "@helium/anchor-resolvers" "^0.9.0-alpha.7" + "@helium/idls" "^0.9.0-alpha.7" "@helium/nft-proxy-sdk" "0.0.8-next.22+7098baa" - "@helium/spl-utils" "^0.9.0-alpha.6" + "@helium/spl-utils" "^0.9.0-alpha.7" "@metaplex-foundation/mpl-token-metadata" "^2.10.0" "@solana/spl-token" "^0.3.8" bn.js "^5.2.0"