From 1ac32889c84b7e60f045a170080d9fb75fb26d0f Mon Sep 17 00:00:00 2001 From: Steven Luscher Date: Thu, 1 Aug 2024 17:30:33 -0700 Subject: [PATCH] Upgrade `@solana/web3.js` to 2.0.0-rc.0 (#357) https://x.com/anza_xyz/status/1819093864394764674 --- app/address/[address]/entries/page-client.tsx | 4 +- app/address/[address]/layout.tsx | 9 +- .../account/address-lookup-table/types.ts | 6 +- app/providers/accounts/vote-accounts.tsx | 13 +- app/providers/cluster.tsx | 5 +- app/providers/stats/solanaClusterStats.tsx | 5 +- app/providers/supply.tsx | 5 +- app/utils/token-search.ts | 4 +- package.json | 2 +- pnpm-lock.yaml | 572 ++++++++++++++---- 10 files changed, 483 insertions(+), 142 deletions(-) diff --git a/app/address/[address]/entries/page-client.tsx b/app/address/[address]/entries/page-client.tsx index a7688f68..063889c8 100644 --- a/app/address/[address]/entries/page-client.tsx +++ b/app/address/[address]/entries/page-client.tsx @@ -4,7 +4,7 @@ import { LookupTableEntriesCard } from '@components/account/address-lookup-table import { isAddressLookupTableAccount } from '@components/account/address-lookup-table/types'; import { ParsedAccountRenderer } from '@components/account/ParsedAccountRenderer'; import React from 'react'; -import { Base58EncodedAddress } from 'web3js-experimental'; +import { Address } from 'web3js-experimental'; type Props = Readonly<{ params: { @@ -20,7 +20,7 @@ function AddressLookupTableEntriesRenderer({ const rawData = account?.data.raw; if (parsedData && parsedData.program === 'address-lookup-table' && parsedData.parsed.type === 'lookupTable') { return ; - } else if (rawData && isAddressLookupTableAccount(account.owner.toBase58() as Base58EncodedAddress, rawData)) { + } else if (rawData && isAddressLookupTableAccount(account.owner.toBase58() as Address, rawData)) { return ; } else { return onNotFound(); diff --git a/app/address/[address]/layout.tsx b/app/address/[address]/layout.tsx index 2b149099..a7cf6627 100644 --- a/app/address/[address]/layout.tsx +++ b/app/address/[address]/layout.tsx @@ -45,7 +45,7 @@ import React, { PropsWithChildren, Suspense } from 'react'; import { ErrorBoundary } from 'react-error-boundary'; import { create } from 'superstruct'; import useSWRImmutable from 'swr/immutable'; -import { Base58EncodedAddress } from 'web3js-experimental'; +import { Address } from 'web3js-experimental'; import { CompressedNftAccountHeader, CompressedNftCard } from '@/app/components/account/CompressedNftCard'; import { useCompressedNft } from '@/app/providers/compressed-nft'; @@ -441,7 +441,7 @@ function InfoSection({ account, tokenInfo }: { account: Account; tokenInfo?: Ful parsedData.parsed.type === 'lookupTable' ) { return ; - } else if (rawData && isAddressLookupTableAccount(account.owner.toBase58() as Base58EncodedAddress, rawData)) { + } else if (rawData && isAddressLookupTableAccount(account.owner.toBase58() as Address, rawData)) { return ; } else if (account.owner.toBase58() === FEATURE_PROGRAM_ID) { return ; @@ -529,10 +529,7 @@ function getTabs(pubkey: PublicKey, account: Account): TabComponent[] { } // Add the key for address lookup tables - if ( - account.data.raw && - isAddressLookupTableAccount(account.owner.toBase58() as Base58EncodedAddress, account.data.raw) - ) { + if (account.data.raw && isAddressLookupTableAccount(account.owner.toBase58() as Address, account.data.raw)) { tabs.push(...TABS_LOOKUP['address-lookup-table']); } diff --git a/app/components/account/address-lookup-table/types.ts b/app/components/account/address-lookup-table/types.ts index 739d7035..5e11c116 100644 --- a/app/components/account/address-lookup-table/types.ts +++ b/app/components/account/address-lookup-table/types.ts @@ -1,10 +1,10 @@ -import { Base58EncodedAddress } from 'web3js-experimental'; +import { Address } from 'web3js-experimental'; const LOOKUP_TABLE_ACCOUNT_TYPE = 1; const PROGRAM_ID = - 'AddressLookupTab1e1111111111111111111111111' as Base58EncodedAddress<'AddressLookupTab1e1111111111111111111111111'>; + 'AddressLookupTab1e1111111111111111111111111' as Address<'AddressLookupTab1e1111111111111111111111111'>; -export function isAddressLookupTableAccount(accountOwner: Base58EncodedAddress, accountData: Uint8Array): boolean { +export function isAddressLookupTableAccount(accountOwner: Address, accountData: Uint8Array): boolean { if (accountOwner !== PROGRAM_ID) return false; if (!accountData || accountData.length === 0) return false; return accountData[0] === LOOKUP_TABLE_ACCOUNT_TYPE; diff --git a/app/providers/accounts/vote-accounts.tsx b/app/providers/accounts/vote-accounts.tsx index f3ddfe3a..545c2c3a 100644 --- a/app/providers/accounts/vote-accounts.tsx +++ b/app/providers/accounts/vote-accounts.tsx @@ -1,15 +1,15 @@ import { useCluster } from '@providers/cluster'; import { Cluster } from '@utils/cluster'; import React from 'react'; -import { createDefaultRpcTransport, createSolanaRpc } from 'web3js-experimental'; +import { createSolanaRpc } from 'web3js-experimental'; type VoteAccountInfo = Readonly<{ - activatedStake: bigint, + activatedStake: bigint; }>; type VoteAccounts = Readonly<{ - current: VoteAccountInfo[], - delinquent: VoteAccountInfo[], + current: VoteAccountInfo[]; + delinquent: VoteAccountInfo[]; }>; async function fetchVoteAccounts( @@ -18,14 +18,13 @@ async function fetchVoteAccounts( setVoteAccounts: React.Dispatch> ) { try { - const transport = createDefaultRpcTransport({ url }); - const rpc = createSolanaRpc({ transport }); + const rpc = createSolanaRpc(url); const voteAccountsResponse = await rpc.getVoteAccounts({ commitment: 'confirmed' }).send(); const voteAccounts: VoteAccounts = { current: voteAccountsResponse.current.map(c => ({ activatedStake: c.activatedStake })), delinquent: voteAccountsResponse.delinquent.map(d => ({ activatedStake: d.activatedStake })), - } + }; setVoteAccounts(voteAccounts); } catch (error) { diff --git a/app/providers/cluster.tsx b/app/providers/cluster.tsx index deef8a2b..81a951df 100644 --- a/app/providers/cluster.tsx +++ b/app/providers/cluster.tsx @@ -4,7 +4,7 @@ import { Cluster, clusterName, ClusterStatus, clusterUrl, DEFAULT_CLUSTER } from import { localStorageIsAvailable } from '@utils/local-storage'; import { ReadonlyURLSearchParams, usePathname, useRouter, useSearchParams } from 'next/navigation'; import React, { createContext, useContext, useEffect, useReducer, useState } from 'react'; -import { createDefaultRpcTransport, createSolanaRpc } from 'web3js-experimental'; +import { createSolanaRpc } from 'web3js-experimental'; import { EpochSchedule } from '../utils/epoch-schedule'; @@ -125,8 +125,7 @@ async function updateCluster(dispatch: Dispatch, cluster: Cluster, customUrl: st new URL(customUrl); const transportUrl = clusterUrl(cluster, customUrl); - const transport = createDefaultRpcTransport({ url: transportUrl }); - const rpc = createSolanaRpc({ transport }); + const rpc = createSolanaRpc(transportUrl); const [firstAvailableBlock, epochSchedule, epochInfo] = await Promise.all([ rpc.getFirstAvailableBlock().send(), diff --git a/app/providers/stats/solanaClusterStats.tsx b/app/providers/stats/solanaClusterStats.tsx index 2954c6b8..7c6d6052 100644 --- a/app/providers/stats/solanaClusterStats.tsx +++ b/app/providers/stats/solanaClusterStats.tsx @@ -4,7 +4,7 @@ import { useCluster } from '@providers/cluster'; import { Cluster } from '@utils/cluster'; import React from 'react'; import useTabVisibility from 'use-tab-visibility'; -import { createDefaultRpcTransport, createSolanaRpc } from 'web3js-experimental'; +import { createSolanaRpc } from 'web3js-experimental'; import { DashboardInfo, DashboardInfoActionType, dashboardInfoReducer, EpochInfo } from './solanaDashboardInfo'; import { PerformanceInfo, PerformanceInfoActionType, performanceInfoReducer, PerformanceSample } from './solanaPerformanceInfo'; @@ -76,8 +76,7 @@ export function SolanaClusterStatsProvider({ children }: Props) { React.useEffect(() => { if (!active || !isTabVisible || !url) return; - const transport = createDefaultRpcTransport({ url }); - const rpc = createSolanaRpc({ transport }); + const rpc = createSolanaRpc(url); let lastSlot: bigint | null = null; let stale = false; diff --git a/app/providers/supply.tsx b/app/providers/supply.tsx index ee6e4360..37a44db7 100644 --- a/app/providers/supply.tsx +++ b/app/providers/supply.tsx @@ -3,7 +3,7 @@ import { useCluster } from '@providers/cluster'; import { Cluster, ClusterStatus } from '@utils/cluster'; import React from 'react'; -import { createDefaultRpcTransport, createSolanaRpc } from 'web3js-experimental'; +import { createSolanaRpc } from 'web3js-experimental'; export enum Status { Idle, @@ -48,8 +48,7 @@ async function fetch(dispatch: Dispatch, cluster: Cluster, url: string) { dispatch(Status.Connecting); try { - const transport = createDefaultRpcTransport({ url }); - const rpc = createSolanaRpc({ transport }); + const rpc = createSolanaRpc(url); const supplyResponse = await rpc .getSupply({ commitment: 'finalized', excludeNonCirculatingAccountsList: true }) diff --git a/app/utils/token-search.ts b/app/utils/token-search.ts index bb2c123d..9613b0fc 100644 --- a/app/utils/token-search.ts +++ b/app/utils/token-search.ts @@ -6,12 +6,12 @@ * So to avoid pulling in extra dependencies we just use the public API directly for search */ -import { Base58EncodedAddress } from 'web3js-experimental'; +import { Address } from 'web3js-experimental'; import { Cluster } from './cluster'; type TokenSearchApiResponseToken = { - address: Base58EncodedAddress; + address: Address; chainId: number; name: string; symbol: string; diff --git a/package.json b/package.json index 0e15681a..1ca9de38 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "typescript": "5.0.4", "use-async-effect": "^2.2.7", "use-tab-visibility": "^1.0.9", - "web3js-experimental": "npm:@solana/web3.js@2.0.0-experimental.7adc22b" + "web3js-experimental": "npm:@solana/web3.js@2.0.0-rc.0" }, "devDependencies": { "@solana/eslint-config-solana": "^1.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 47641d7c..73cbd74d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -156,8 +156,8 @@ importers: specifier: ^1.0.9 version: 1.0.9(react@18.3.1) web3js-experimental: - specifier: npm:@solana/web3.js@2.0.0-experimental.7adc22b - version: '@solana/web3.js@2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22)(node-fetch@2.6.9)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10))' + specifier: npm:@solana/web3.js@2.0.0-rc.0 + version: '@solana/web3.js@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10))' devDependencies: '@solana/eslint-config-solana': specifier: ^1.0.1 @@ -920,24 +920,6 @@ packages: '@metaplex-foundation/mpl-token-vault@0.0.2': resolution: {integrity: sha512-JiVcow8OzUGW0KTs/E1QrAdmYGqE9EGKE6cc2gxNNBYqDeVdjYlgEa64IiGvNF9rvbI2g2Z3jw0mYuA9LD9S/A==} - '@metaplex-foundation/umi-options@0.8.9': - resolution: {integrity: sha512-jSQ61sZMPSAk/TXn8v8fPqtz3x8d0/blVZXLLbpVbo2/T5XobiI6/MfmlUosAjAUaQl6bHRF8aIIqZEFkJiy4A==} - - '@metaplex-foundation/umi-public-keys@0.8.9': - resolution: {integrity: sha512-CxMzN7dgVGOq9OcNCJe2casKUpJ3RmTVoOvDFyeoTQuK+vkZ1YSSahbqC1iGuHEtKTLSjtWjKvUU6O7zWFTw3Q==} - - '@metaplex-foundation/umi-serializers-core@0.8.9': - resolution: {integrity: sha512-WT82tkiYJ0Qmscp7uTj1Hz6aWQPETwaKLAENAUN5DeWghkuBKtuxyBKVvEOuoXerJSdhiAk0e8DWA4cxcTTQ/w==} - - '@metaplex-foundation/umi-serializers-encodings@0.8.9': - resolution: {integrity: sha512-N3VWLDTJ0bzzMKcJDL08U3FaqRmwlN79FyE4BHj6bbAaJ9LEHjDQ9RJijZyWqTm0jE7I750fU7Ow5EZL38Xi6Q==} - - '@metaplex-foundation/umi-serializers-numbers@0.8.9': - resolution: {integrity: sha512-NtBf1fnVNQJHFQjLFzRu2i9GGnigb9hOm/Gfrk628d0q0tRJB7BOM3bs5C61VAs7kJs4yd+pDNVAERJkknQ7Lg==} - - '@metaplex-foundation/umi-serializers@0.8.9': - resolution: {integrity: sha512-Sve8Etm3zqvLSUfza+MYRkjTnCpiaAFT7VWdqeHzA3n58P0AfT3p74RrZwVt/UFkxI+ln8BslwBDJmwzcPkuHw==} - '@metaplex/js@4.12.0': resolution: {integrity: sha512-rIUTMXo5gIXFIZt08AEHyqH4oVoLL2dMYiNePQluw9pydesRym4jDayJ5POxEmKmyc6KGqVKw/YWUIivmUY5zg==} deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. @@ -1322,11 +1304,20 @@ packages: resolution: {integrity: sha512-S6FNIB3UJT+5Efd/0DeziO5Rs82QAMODHW4v2V3oNRrwaBigY/7Yx3SiLudZuF9WpVsV08Ih3BjIH34nzZiinQ==} engines: {node: '>=14.0.0'} - '@solana/addresses@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-g63A8sUUvBaZszkQdpQSmp9boupfH1k33VXakH4QaV5d8JNY/cMsrqoOS2vcaGra4iNZ0aC4VNzlsEDRFLAfEQ==} + '@solana/accounts@2.0.0-rc.0': + resolution: {integrity: sha512-Xun9ASXuJd3njGgc8q32Ra2f2r5J4KNhVZn6g5G//uQVpc+8QpBrTqS0lV+q7f6i0+um8WD4Q7OYOtnRb6mBiA==} + peerDependencies: + typescript: '>=5' + + '@solana/addresses@2.0.0-rc.0': + resolution: {integrity: sha512-cx/Vdwqn7Ns3ud+tyvD5ua4q2UtTleaAWuqyv7opAZLJOZWq2sL9esG3MIEZR5P9wW6sai8Mk9ule1DoWC+pqQ==} + peerDependencies: + typescript: '>=5' - '@solana/assertions@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-5oW04MYAyIMCC242YVaKVagcoOUVgybj7eyIB9P1ochCkrqEUc/RCX9jsSXEJI4TfB5qLSYLKrUR0ixVsAL8aA==} + '@solana/assertions@2.0.0-rc.0': + resolution: {integrity: sha512-O9g764n0CC3y8OTe7o02syj/S6ecqHvOcquf0z1qwQKZkwCJ8eyb6Xj9l82RKuMEvMtgaIiMrg8jMDo2ML5aCw==} + peerDependencies: + typescript: '>=5' '@solana/buffer-layout-utils@0.2.0': resolution: {integrity: sha512-szG4sxgJGktbuZYDg2FfNmkMi0DYQoVjN2h7ta1W1hPrwzarcFLBq9UpX1UjNXsNpT9dn+chgprtWGioUAr4/g==} @@ -1340,19 +1331,37 @@ packages: resolution: {integrity: sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==} engines: {node: '>=5.10'} - '@solana/codecs-core@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-pswclTWoESUv4N1yv6zMMTAt8ocA8Er9sBaioEjfeMTIJNtW13Bt56CRFsBsjCQ/EJSGG7y1qtGKNYgZc8dhdA==} + '@solana/codecs-core@2.0.0-rc.0': + resolution: {integrity: sha512-eIMMZiSfzZNlMK0uJRfpj9URrvuRo8SXncbCva+Wmpaob9dS+Mplo9VrH0T7+aTZJUAb5o9FbZgo4tUAOecVhg==} + peerDependencies: + typescript: '>=5' - '@solana/codecs-data-structures@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-b9Rk6c1UELLK2gJBSJcY3ulyBUaEsrnDx4FnWy/MeeIjKxArC36XDwm0wyJ27ewevvt+UjCsib7Vn1AmBP51Mw==} + '@solana/codecs-data-structures@2.0.0-rc.0': + resolution: {integrity: sha512-CTFOIV+I6LjGosKBkfYYFSRH+i2WG0F46Qf5zBsa52X/UGFFW7Nwaf6XJl84xYIFi4JMMZOA3x221vjK0JoYWg==} + peerDependencies: + typescript: '>=5' - '@solana/codecs-numbers@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-5iiX5UksPBiCFmkFLkeTcQTz/HTzHVBjvoor/mBK9waAAMkanKHRY9rSmkaipEipYLBJ9BtiOkC9XQVyqOlv1w==} + '@solana/codecs-numbers@2.0.0-rc.0': + resolution: {integrity: sha512-KqIU/xuB+IHNex9uYsB9y2MoH6VX2zRBnDJpdu9L/dE9Uw5xVKJRGdeHB9mBC4PBZ90VPMz3mP+xfFIXMS0j8g==} + peerDependencies: + typescript: '>=5' - '@solana/codecs-strings@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-kfn/oKYsaxDNN4bYe3hBkO0Bhri20ApQJOVQ+rHCnrje6uRioJhbNR5PlsLPetowwJxA6buA3uRHlZpQ7giFJw==} + '@solana/codecs-strings@2.0.0-rc.0': + resolution: {integrity: sha512-9yYBvJpo1WTT8idzomrHF602Snylo1+pmEGNrYlUaxmzVU2Hdb28U0WKv0iz9TdCDvMDlIwjsBznt6DmVf4i6g==} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 + typescript: '>=5' + + '@solana/codecs@2.0.0-rc.0': + resolution: {integrity: sha512-C92OLr/4k2+o+hlZb5ukXn4/KlDZa/YMvgVYlKk87+RoSPLS6/WWHpU8+Anh2bAW8TD+BwFx4p1WtLWPd6Jwdg==} + peerDependencies: + typescript: '>=5' + + '@solana/errors@2.0.0-rc.0': + resolution: {integrity: sha512-4zaFxuYWQJi+CBucncGPc+QsWZktdmC6rDne3JxZGDKqqY5AMwktRC9LyUKaey/dVThmFGo1wv1wNQy1ryvbWw==} + hasBin: true + peerDependencies: + typescript: '>=5' '@solana/eslint-config-solana@1.0.1': resolution: {integrity: sha512-nH5gSHbxfycgEonMAt7onsrI0Y7PWh3b+KJSLoWbNnqmpQZGnh+O5MrgK45/7H4/qV6mZ4RNMwFagUt2mhZEsg==} @@ -1366,29 +1375,107 @@ packages: eslint-plugin-sort-keys-fix: ^1.1.2 typescript: ^5.0.3 - '@solana/functional@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-876pYWab7LM+u2hahnS9qhzrsYkI+3TGpeOL7dW+iBZ/hhw0uVqXYXuLSeq6Yfdh6HQH3MEMv4xjB+th/n2fLQ==} + '@solana/fast-stable-stringify@2.0.0-rc.0': + resolution: {integrity: sha512-qpHZNKzVP5PFEIK1TQvIM+A+DjSCV53KaxXzxPFiYd/JfjdxIhH6h1C0bbRMdsbBqwWlbacs2H5/xrKP3X42cw==} + peerDependencies: + typescript: '>=5' + + '@solana/functional@2.0.0-rc.0': + resolution: {integrity: sha512-Z+nkjtWyjp3yktU8ip2MxbKb7+I2YUiY8kbpvxAWnWKGcUoKhgcW3EhxhSxFWKbaiEcBmyoPCEdM2MJgJPZJug==} + peerDependencies: + typescript: '>=5' + + '@solana/instructions@2.0.0-rc.0': + resolution: {integrity: sha512-0/MQ80BXZfELZuCc7GudopuCpQC4VnN9WJDHtR8Tur0j8shiSyHWOOZlWfx66eQuSiQsnbOLT1CRTdhEt/vZhA==} + peerDependencies: + typescript: '>=5' - '@solana/instructions@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-gYDYZKK2+/OAJfBge4HP5YiQHvnA5AQEMgoTewWXu4cmMAd78e/3+WhdFaVVJjCJhTzMrRVg4wHqnHl6AQX7Qw==} + '@solana/keys@2.0.0-rc.0': + resolution: {integrity: sha512-k/2uvObJdQfsmKUI+vL+9zcRRdZpaScq0SKIQLe33dbv+3XIEhCRizPEIg8Q8fzIKB9rrbwHqJ5RPDxThZa++g==} + peerDependencies: + typescript: '>=5' - '@solana/keys@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-7sV3uCVE9SL1VCMkzwWSM/NbUkzhwz8mXJM6bBn20gN8ytrHV4JI/VVAG+MvQ8IS9FRGDq05n4qAhPSXpghW2g==} + '@solana/options@2.0.0-rc.0': + resolution: {integrity: sha512-uPc/31v+FZj9mkq2mQ6uAJfvmxGnQsx2mJ90IlJdDLSlkcx6GymNyXp0meh8qfhvfEaz4F5lCOzSeApofIZPvw==} + peerDependencies: + typescript: '>=5' '@solana/prettier-config-solana@0.0.2': resolution: {integrity: sha512-F/e2UIJwb30Y8QjR9nr/OrJiCc8yjMkiP9Ctk4VYg+8jODNP31dx6s9mn4sbMFVYA0Km5EPZLN2xsZacBy0y/A==} peerDependencies: prettier: ^2.8.7 - '@solana/rpc-core@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-Uvg4g3M6I0SX/hNywaSOXzr6yKqObJSJKqvONON+auaHfC2pF/QaNB9Y4IaDtFuUeP69HjGMUa+7T3AfgTILSA==} + '@solana/programs@2.0.0-rc.0': + resolution: {integrity: sha512-sihHN5HDXEXJnoeG/hnahFreF6d2AMGIELtF2kv5uHM9F5NcdYFmX1Q0tWBC6Y/DugIf3Qtk+jMFceM7qUoWXA==} + peerDependencies: + typescript: '>=5' + + '@solana/rpc-api@2.0.0-rc.0': + resolution: {integrity: sha512-vP21oksg3lU8bbSyJfgfT9a/eeQ/q5sN76VSR05T7j3Tv8VmI9N77ZNrtrfG4DZfIiYWw3qlSrVI8XTwgMIW8A==} + peerDependencies: + typescript: '>=5' + + '@solana/rpc-parsed-types@2.0.0-rc.0': + resolution: {integrity: sha512-EvyOGZ6vbKG5XWDoPmNpMbm4Z0HE+hEIBxhQFkB+ML+qKPghtrifyF0bvydna7AIBkpc0OccVmv22Vd+gBvHng==} + peerDependencies: + typescript: '>=5' + + '@solana/rpc-spec-types@2.0.0-rc.0': + resolution: {integrity: sha512-0h2uQfjHIoUpP5ha3lzLFep6WLnggrksjWiCd8+iIoktPeh09CPJI2iU/hFheP7e+tUKhmErGqsL+OPNECwD2g==} + peerDependencies: + typescript: '>=5' - '@solana/rpc-transport@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-kZu0dlaM4ag8xANxfDuIQFKgXy1MXcHTJyL6j2Kh0vNRlV3sYlZm11B7YdLjealD7Ox29A56pl+OM55A+BJ4KA==} + '@solana/rpc-spec@2.0.0-rc.0': + resolution: {integrity: sha512-Cdwj8ief8ek5VUWRfSZDqdFzRfC6HVzyoPMIOdWRtEd8KocUGo7BTbwN9ilVJL/vIi52vi6e2A6oPMFNRyuBFw==} peerDependencies: - node-fetch: ^2.6.9 + typescript: '>=5' + + '@solana/rpc-subscriptions-api@2.0.0-rc.0': + resolution: {integrity: sha512-Q4/rR4epPud7Z/3lrtGNMJd5oSrrxp/JgJTnkxEzGxs07RHmVfvO/9jrS+dgDtj3epyjD4BhmecO98Bg8bZ2yg==} + peerDependencies: + typescript: '>=5' + + '@solana/rpc-subscriptions-spec@2.0.0-rc.0': + resolution: {integrity: sha512-ZUxFAGy1nAIpLZ3RgWsRlRvPOLlx/vk1isFo5YcA+GAFZDLIt+jOZJF/J6QUjOohMc5xSkTRmJuMURCDmu+1dg==} + peerDependencies: + typescript: '>=5' + + '@solana/rpc-subscriptions-transport-websocket@2.0.0-rc.0': + resolution: {integrity: sha512-Qg3w/zMAVaXhm/WQYFV0qXUjUDKmSJrRG/CzdjMfiqYPSFX1286uwyq5wnua4NzrbPd+ZtbGKyvdSVRnmy1WkA==} + peerDependencies: + typescript: '>=5' ws: ^8.14.0 + '@solana/rpc-subscriptions@2.0.0-rc.0': + resolution: {integrity: sha512-ThLHuf6dxpq1RTWu7GAItjLubhcJsBdhGdGGtPjGEBW1zX5YnGLsG2sc16XLgbH5LZhUDQ37wub6iwMTOBqVhA==} + peerDependencies: + typescript: '>=5' + + '@solana/rpc-transformers@2.0.0-rc.0': + resolution: {integrity: sha512-F/aL/ivIh2rPIpAGId8ZC3WG88wv025yLSmAhFZUOSbvF1ZCp8h63TUS5qpRGbDVUNr7PLu2Cm8EMkF6MoDSDA==} + peerDependencies: + typescript: '>=5' + + '@solana/rpc-transport-http@2.0.0-rc.0': + resolution: {integrity: sha512-ZuT3nhlfTGcDXjEkVlwG+XeLUKLxZvh/Am1em2vO8zGSQJmtFKlEq+Wk3C55acs0CrH00s29w3TcEcTtltikbg==} + peerDependencies: + typescript: '>=5' + + '@solana/rpc-types@2.0.0-rc.0': + resolution: {integrity: sha512-KFuPmkVlZitZnncDGbwu5FSFXljHQsWb4u6fJbmq0yNGwjAlUspOnl7ufL0bS7e+hh0NKfyNOXWuC4vmYEMThw==} + peerDependencies: + typescript: '>=5' + + '@solana/rpc@2.0.0-rc.0': + resolution: {integrity: sha512-isWQk5Cfu3hmjdzMfYLPn65KTkJHARocwx8i1+hF53kqrgvFGgAWtqDJXJfjkEan8ksSRfI5FzZB02YFB4zKSw==} + peerDependencies: + typescript: '>=5' + + '@solana/signers@2.0.0-rc.0': + resolution: {integrity: sha512-woQAIFe/kVrDPIC45wAt539hXYBOgIcVFuNVn3/aeKBpxosAokX1/NI7lWrIJChPHYB48wdnx6FOdV++EErwdQ==} + peerDependencies: + typescript: '>=5' + '@solana/spl-account-compression@0.1.8': resolution: {integrity: sha512-vsvsx358pVFPtyNd8zIZy0lezR0NuvOykQ29Zq+8oto+kHfTXMGXXQ1tKHUYke6XkINIWLFVg/jDi+1D9RYaqQ==} engines: {node: '>=16'} @@ -1409,8 +1496,25 @@ packages: peerDependencies: '@solana/web3.js': ^1.47.4 - '@solana/transactions@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-WGTpZ4n9JBA9KyWvzfgrNLBMosLarDYig2iYYXGeAvn/2z36StoMTFebfEyx5CxVM2T6TaNxTlJybotnwMp6Ug==} + '@solana/sysvars@2.0.0-rc.0': + resolution: {integrity: sha512-re+H9N4jFlFlpVxZt2y7QwWpo1HvqMgxLzJgnJicn6KPTeQX+UgH9+N1yNInLrBWDmgdvw+xjUinojqt3xPlEA==} + peerDependencies: + typescript: '>=5' + + '@solana/transaction-confirmation@2.0.0-rc.0': + resolution: {integrity: sha512-dGHxDaMd+a5BN52IZMiTv0oBcVwvNugGPJdE431ltSY47Q3rMUeGKQ9fj/EMY9WzVGEnbcD4Q67hERz1CRSJTA==} + peerDependencies: + typescript: '>=5' + + '@solana/transaction-messages@2.0.0-rc.0': + resolution: {integrity: sha512-WY3eQ6z1gsRffwSzRWy8MjJzLlNs47Wd99Up1vQggn9vJtwoGPF1uIYkjkTxsCEBXQOC1Z1RTy87dgcM7US/Jg==} + peerDependencies: + typescript: '>=5' + + '@solana/transactions@2.0.0-rc.0': + resolution: {integrity: sha512-0+d37gqvxAo172AtRkW2MDT19IYIcapeSZE4/RLa87JFBbouJovDZStDoYpcVCwjv4uxS3Squtc9PyAPhKLSnw==} + peerDependencies: + typescript: '>=5' '@solana/wallet-adapter-base@0.9.22': resolution: {integrity: sha512-xbLEZPGSJFvgTeldG9D55evhl7QK/3e/F7vhvcA97mEt1eieTgeKMnGlmmjs3yivI3/gtZNZeSk1XZLnhKcQvw==} @@ -1425,8 +1529,10 @@ packages: '@solana/web3.js@1.78.0': resolution: {integrity: sha512-CSjCjo+RELJ5puoZALfznN5EF0YvL1V8NQrQYovsdjE1lCV6SqbKAIZD0+9LlqCBoa1ibuUaR7G2SooYzvzmug==} - '@solana/web3.js@2.0.0-experimental.7adc22b': - resolution: {integrity: sha512-zLpftXBr+dGoKZvUaiGLbGPZWO2eY2EKAmw0UAXvC1bsGv7RRl4w9uYz3aQAmHT5zioTeMY+96iHdV1jP9TZFg==} + '@solana/web3.js@2.0.0-rc.0': + resolution: {integrity: sha512-yJFhDdWM/REW635Cx2pIwa+cXxAEYQwdQ17ZvFO/fUZtU+In/OWYE3fXyC2ShfpUYzeCuMIfxHVPUhmeuSpUyA==} + peerDependencies: + typescript: '>=5' '@solflare-wallet/utl-sdk@1.4.0': resolution: {integrity: sha512-0E3s+fXs5XMGBNrXGB4XSH4+sPgLanbBEVyz227KJyxSIgiRdQMcM2Yv/KdnMHNmhYoR/aPpH6TH115SIJqM0A==} @@ -2059,6 +2165,10 @@ packages: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} + chalk@5.3.0: + resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + char-regex@1.0.2: resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} engines: {node: '>=10'} @@ -2144,6 +2254,10 @@ packages: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} + commander@12.1.0: + resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==} + engines: {node: '>=18'} + commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} @@ -4516,6 +4630,9 @@ packages: unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} + undici-types@6.19.5: + resolution: {integrity: sha512-VQUzGd+K73uDi/pTqzDBbxZneciOuMRjF0r/Lep2zr/GOnU+cUvfgRu4T5k4TWJfpGdSK5nrzVDoQVoEIAFbmg==} + universalify@0.2.0: resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} engines: {node: '>= 4.0.0'} @@ -6266,30 +6383,6 @@ snapshots: - supports-color - utf-8-validate - '@metaplex-foundation/umi-options@0.8.9': {} - - '@metaplex-foundation/umi-public-keys@0.8.9': - dependencies: - '@metaplex-foundation/umi-serializers-encodings': 0.8.9 - - '@metaplex-foundation/umi-serializers-core@0.8.9': {} - - '@metaplex-foundation/umi-serializers-encodings@0.8.9': - dependencies: - '@metaplex-foundation/umi-serializers-core': 0.8.9 - - '@metaplex-foundation/umi-serializers-numbers@0.8.9': - dependencies: - '@metaplex-foundation/umi-serializers-core': 0.8.9 - - '@metaplex-foundation/umi-serializers@0.8.9': - dependencies: - '@metaplex-foundation/umi-options': 0.8.9 - '@metaplex-foundation/umi-public-keys': 0.8.9 - '@metaplex-foundation/umi-serializers-core': 0.8.9 - '@metaplex-foundation/umi-serializers-encodings': 0.8.9 - '@metaplex-foundation/umi-serializers-numbers': 0.8.9 - '@metaplex/js@4.12.0(@metaplex-foundation/mpl-auction@0.0.2(bufferutil@4.0.7)(utf-8-validate@5.0.10))(@metaplex-foundation/mpl-core@0.6.1(bufferutil@4.0.7)(utf-8-validate@5.0.10))(@metaplex-foundation/mpl-metaplex@0.0.5(bufferutil@4.0.7)(utf-8-validate@5.0.10))(@metaplex-foundation/mpl-token-metadata@1.1.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(@metaplex-foundation/mpl-token-vault@0.0.2(bufferutil@4.0.7)(utf-8-validate@5.0.10))(@solana/spl-token@0.1.8(bufferutil@4.0.7)(utf-8-validate@5.0.10))(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))': dependencies: '@metaplex-foundation/mpl-auction': 0.0.2(bufferutil@4.0.7)(utf-8-validate@5.0.10) @@ -6819,15 +6912,32 @@ snapshots: '@smithy/types': 1.2.0 tslib: 2.5.0 - '@solana/addresses@2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22)': + '@solana/accounts@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': + dependencies: + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-spec': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/addresses@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': dependencies: - '@solana/assertions': 2.0.0-experimental.7adc22b - '@solana/codecs-core': 2.0.0-experimental.7adc22b - '@solana/codecs-strings': 2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/assertions': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/assertions@2.0.0-experimental.7adc22b': {} + '@solana/assertions@2.0.0-rc.0(typescript@5.0.4)': + dependencies: + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 '@solana/buffer-layout-utils@0.2.0(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: @@ -6849,22 +6959,48 @@ snapshots: dependencies: buffer: 6.0.3 - '@solana/codecs-core@2.0.0-experimental.7adc22b': {} + '@solana/codecs-core@2.0.0-rc.0(typescript@5.0.4)': + dependencies: + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 - '@solana/codecs-data-structures@2.0.0-experimental.7adc22b': + '@solana/codecs-data-structures@2.0.0-rc.0(typescript@5.0.4)': dependencies: - '@solana/codecs-core': 2.0.0-experimental.7adc22b - '@solana/codecs-numbers': 2.0.0-experimental.7adc22b + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 - '@solana/codecs-numbers@2.0.0-experimental.7adc22b': + '@solana/codecs-numbers@2.0.0-rc.0(typescript@5.0.4)': dependencies: - '@solana/codecs-core': 2.0.0-experimental.7adc22b + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 - '@solana/codecs-strings@2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22)': + '@solana/codecs-strings@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': dependencies: - '@solana/codecs-core': 2.0.0-experimental.7adc22b - '@solana/codecs-numbers': 2.0.0-experimental.7adc22b + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) fastestsmallesttextencoderdecoder: 1.0.22 + typescript: 5.0.4 + + '@solana/codecs@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': + dependencies: + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-data-structures': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/options': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/errors@2.0.0-rc.0(typescript@5.0.4)': + dependencies: + chalk: 5.3.0 + commander: 12.1.0 + typescript: 5.0.4 '@solana/eslint-config-solana@1.0.1(@typescript-eslint/eslint-plugin@5.59.2(@typescript-eslint/parser@5.59.2(eslint@8.39.0)(typescript@5.0.4))(eslint@8.39.0)(typescript@5.0.4))(@typescript-eslint/parser@5.59.2(eslint@8.39.0)(typescript@5.0.4))(eslint-plugin-jest@27.2.1(@typescript-eslint/eslint-plugin@5.59.2(@typescript-eslint/parser@5.59.2(eslint@8.39.0)(typescript@5.0.4))(eslint@8.39.0)(typescript@5.0.4))(eslint@8.39.0)(jest@29.5.0(@types/node@18.16.3))(typescript@5.0.4))(eslint-plugin-react-hooks@4.6.0(eslint@8.39.0))(eslint-plugin-simple-import-sort@10.0.0(eslint@8.39.0))(eslint-plugin-sort-keys-fix@1.1.2)(eslint@8.39.0)(typescript@5.0.4)': dependencies: @@ -6877,27 +7013,179 @@ snapshots: eslint-plugin-sort-keys-fix: 1.1.2 typescript: 5.0.4 - '@solana/functional@2.0.0-experimental.7adc22b': {} + '@solana/fast-stable-stringify@2.0.0-rc.0(typescript@5.0.4)': + dependencies: + typescript: 5.0.4 + + '@solana/functional@2.0.0-rc.0(typescript@5.0.4)': + dependencies: + typescript: 5.0.4 - '@solana/instructions@2.0.0-experimental.7adc22b': {} + '@solana/instructions@2.0.0-rc.0(typescript@5.0.4)': + dependencies: + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 - '@solana/keys@2.0.0-experimental.7adc22b': + '@solana/keys@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': dependencies: - '@solana/assertions': 2.0.0-experimental.7adc22b + '@solana/assertions': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/options@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': + dependencies: + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-data-structures': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder '@solana/prettier-config-solana@0.0.2(prettier@2.8.8)': dependencies: prettier: 2.8.8 - '@solana/rpc-core@2.0.0-experimental.7adc22b': + '@solana/programs@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': dependencies: - '@metaplex-foundation/umi-serializers': 0.8.9 + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder - '@solana/rpc-transport@2.0.0-experimental.7adc22b(node-fetch@2.6.9)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10))': + '@solana/rpc-api@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': + dependencies: + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/keys': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc-parsed-types': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-spec': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-transformers': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/transaction-messages': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/transactions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/rpc-parsed-types@2.0.0-rc.0(typescript@5.0.4)': dependencies: - node-fetch: 2.6.9 + typescript: 5.0.4 + + '@solana/rpc-spec-types@2.0.0-rc.0(typescript@5.0.4)': + dependencies: + typescript: 5.0.4 + + '@solana/rpc-spec@2.0.0-rc.0(typescript@5.0.4)': + dependencies: + '@solana/rpc-spec-types': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 + + '@solana/rpc-subscriptions-api@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': + dependencies: + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/keys': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc-subscriptions-spec': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-transformers': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/transaction-messages': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/transactions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/rpc-subscriptions-spec@2.0.0-rc.0(typescript@5.0.4)': + dependencies: + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-spec-types': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 + + '@solana/rpc-subscriptions-transport-websocket@2.0.0-rc.0(typescript@5.0.4)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10))': + dependencies: + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-subscriptions-spec': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 ws: 7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10) + '@solana/rpc-subscriptions@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10))': + dependencies: + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/fast-stable-stringify': 2.0.0-rc.0(typescript@5.0.4) + '@solana/functional': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-subscriptions-api': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc-subscriptions-spec': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-subscriptions-transport-websocket': 2.0.0-rc.0(typescript@5.0.4)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10)) + '@solana/rpc-transformers': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + - ws + + '@solana/rpc-transformers@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': + dependencies: + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/functional': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-spec': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-subscriptions-spec': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/rpc-transport-http@2.0.0-rc.0(typescript@5.0.4)': + dependencies: + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-spec': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 + undici-types: 6.19.5 + + '@solana/rpc-types@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': + dependencies: + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/rpc@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': + dependencies: + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/fast-stable-stringify': 2.0.0-rc.0(typescript@5.0.4) + '@solana/functional': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-api': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc-spec': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-transformers': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc-transport-http': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/signers@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': + dependencies: + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/instructions': 2.0.0-rc.0(typescript@5.0.4) + '@solana/keys': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/transaction-messages': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/transactions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + '@solana/spl-account-compression@0.1.8(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@metaplex-foundation/beet': 0.7.1 @@ -6951,14 +7239,60 @@ snapshots: - supports-color - utf-8-validate - '@solana/transactions@2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22)': + '@solana/sysvars@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': + dependencies: + '@solana/accounts': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/codecs': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/transaction-confirmation@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10))': + dependencies: + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/keys': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc-subscriptions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10)) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/transaction-messages': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/transactions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + - ws + + '@solana/transaction-messages@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': dependencies: - '@metaplex-foundation/umi-serializers': 0.8.9 - '@solana/addresses': 2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22) - '@solana/codecs-core': 2.0.0-experimental.7adc22b - '@solana/codecs-data-structures': 2.0.0-experimental.7adc22b - '@solana/codecs-numbers': 2.0.0-experimental.7adc22b - '@solana/keys': 2.0.0-experimental.7adc22b + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-data-structures': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/functional': 2.0.0-rc.0(typescript@5.0.4) + '@solana/instructions': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/transactions@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)': + dependencies: + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/codecs-core': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-data-structures': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-numbers': 2.0.0-rc.0(typescript@5.0.4) + '@solana/codecs-strings': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/functional': 2.0.0-rc.0(typescript@5.0.4) + '@solana/instructions': 2.0.0-rc.0(typescript@5.0.4) + '@solana/keys': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/transaction-messages': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder @@ -6998,20 +7332,28 @@ snapshots: - supports-color - utf-8-validate - '@solana/web3.js@2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22)(node-fetch@2.6.9)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10))': - dependencies: - '@metaplex-foundation/umi-serializers': 0.8.9 - '@solana/addresses': 2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22) - '@solana/functional': 2.0.0-experimental.7adc22b - '@solana/instructions': 2.0.0-experimental.7adc22b - '@solana/keys': 2.0.0-experimental.7adc22b - '@solana/rpc-core': 2.0.0-experimental.7adc22b - '@solana/rpc-transport': 2.0.0-experimental.7adc22b(node-fetch@2.6.9)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10)) - '@solana/transactions': 2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22) - fast-stable-stringify: 1.0.0 + '@solana/web3.js@2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10))': + dependencies: + '@solana/accounts': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/addresses': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/codecs': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/errors': 2.0.0-rc.0(typescript@5.0.4) + '@solana/functional': 2.0.0-rc.0(typescript@5.0.4) + '@solana/instructions': 2.0.0-rc.0(typescript@5.0.4) + '@solana/keys': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/programs': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/rpc-parsed-types': 2.0.0-rc.0(typescript@5.0.4) + '@solana/rpc-subscriptions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10)) + '@solana/rpc-types': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/signers': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/sysvars': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/transaction-confirmation': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4)(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10)) + '@solana/transaction-messages': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + '@solana/transactions': 2.0.0-rc.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.0.4) + typescript: 5.0.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - - node-fetch - ws '@solflare-wallet/utl-sdk@1.4.0(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(bufferutil@4.0.7)(utf-8-validate@5.0.10)': @@ -7831,6 +8173,8 @@ snapshots: ansi-styles: 4.3.0 supports-color: 7.2.0 + chalk@5.3.0: {} + char-regex@1.0.2: {} chardet@0.7.0: {} @@ -7912,6 +8256,8 @@ snapshots: dependencies: delayed-stream: 1.0.0 + commander@12.1.0: {} + commander@2.20.3: {} commander@8.3.0: {} @@ -10880,6 +11226,8 @@ snapshots: has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 + undici-types@6.19.5: {} + universalify@0.2.0: {} update-browserslist-db@1.0.11(browserslist@4.21.5):