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 0b67d0e1..559dc770 100644 --- a/app/address/[address]/layout.tsx +++ b/app/address/[address]/layout.tsx @@ -42,7 +42,7 @@ import Link from 'next/link'; import { redirect, useSelectedLayoutSegment } from 'next/navigation'; import React, { PropsWithChildren } from 'react'; import useSWRImmutable from 'swr/immutable'; -import { Base58EncodedAddress } from 'web3js-experimental'; +import { Address } from 'web3js-experimental'; import { FullTokenInfo, getFullTokenInfo } from '@/app/utils/token-info'; @@ -450,7 +450,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 ; @@ -532,10 +532,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..7256df96 100644 --- a/app/providers/accounts/vote-accounts.tsx +++ b/app/providers/accounts/vote-accounts.tsx @@ -1,7 +1,7 @@ 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, @@ -18,8 +18,7 @@ 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 = { diff --git a/app/providers/cluster.tsx b/app/providers/cluster.tsx index deef8a2b..89e56723 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'; @@ -123,10 +123,7 @@ async function updateCluster(dispatch: Dispatch, cluster: Cluster, customUrl: st try { // validate url new URL(customUrl); - - const transportUrl = clusterUrl(cluster, customUrl); - const transport = createDefaultRpcTransport({ url: transportUrl }); - const rpc = createSolanaRpc({ transport }); + const rpc = createSolanaRpc(clusterUrl(cluster, customUrl)); 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 2a3730ff..5ce498a9 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,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-preview" }, "devDependencies": { "@solana/eslint-config-solana": "^1.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d9c8649f..6401fdf4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -169,8 +169,8 @@ dependencies: specifier: ^1.0.9 version: 1.0.9(react@18.2.0) 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@8.14.2) + specifier: npm:@solana/web3.js@^2.0.0-preview + version: /@solana/web3.js@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22)(ws@8.14.2) devDependencies: '@solana/eslint-config-solana': @@ -3725,42 +3725,6 @@ packages: - utf-8-validate dev: false - /@metaplex-foundation/umi-options@0.8.9: - resolution: {integrity: sha512-jSQ61sZMPSAk/TXn8v8fPqtz3x8d0/blVZXLLbpVbo2/T5XobiI6/MfmlUosAjAUaQl6bHRF8aIIqZEFkJiy4A==} - dev: false - - /@metaplex-foundation/umi-public-keys@0.8.9: - resolution: {integrity: sha512-CxMzN7dgVGOq9OcNCJe2casKUpJ3RmTVoOvDFyeoTQuK+vkZ1YSSahbqC1iGuHEtKTLSjtWjKvUU6O7zWFTw3Q==} - dependencies: - '@metaplex-foundation/umi-serializers-encodings': 0.8.9 - dev: false - - /@metaplex-foundation/umi-serializers-core@0.8.9: - resolution: {integrity: sha512-WT82tkiYJ0Qmscp7uTj1Hz6aWQPETwaKLAENAUN5DeWghkuBKtuxyBKVvEOuoXerJSdhiAk0e8DWA4cxcTTQ/w==} - dev: false - - /@metaplex-foundation/umi-serializers-encodings@0.8.9: - resolution: {integrity: sha512-N3VWLDTJ0bzzMKcJDL08U3FaqRmwlN79FyE4BHj6bbAaJ9LEHjDQ9RJijZyWqTm0jE7I750fU7Ow5EZL38Xi6Q==} - dependencies: - '@metaplex-foundation/umi-serializers-core': 0.8.9 - dev: false - - /@metaplex-foundation/umi-serializers-numbers@0.8.9: - resolution: {integrity: sha512-NtBf1fnVNQJHFQjLFzRu2i9GGnigb9hOm/Gfrk628d0q0tRJB7BOM3bs5C61VAs7kJs4yd+pDNVAERJkknQ7Lg==} - dependencies: - '@metaplex-foundation/umi-serializers-core': 0.8.9 - dev: false - - /@metaplex-foundation/umi-serializers@0.8.9: - resolution: {integrity: sha512-Sve8Etm3zqvLSUfza+MYRkjTnCpiaAFT7VWdqeHzA3n58P0AfT3p74RrZwVt/UFkxI+ln8BslwBDJmwzcPkuHw==} - 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 - dev: false - /@metaplex/js@4.12.0(@metaplex-foundation/mpl-auction@0.0.2)(@metaplex-foundation/mpl-core@0.0.2)(@metaplex-foundation/mpl-metaplex@0.0.5)(@metaplex-foundation/mpl-token-metadata@1.1.0)(@metaplex-foundation/mpl-token-vault@0.0.2)(@solana/spl-token@0.1.8)(@solana/web3.js@1.78.0): resolution: {integrity: sha512-rIUTMXo5gIXFIZt08AEHyqH4oVoLL2dMYiNePQluw9pydesRym4jDayJ5POxEmKmyc6KGqVKw/YWUIivmUY5zg==} deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. @@ -5171,18 +5135,34 @@ packages: - react-native dev: false - /@solana/addresses@2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22): - resolution: {integrity: sha512-g63A8sUUvBaZszkQdpQSmp9boupfH1k33VXakH4QaV5d8JNY/cMsrqoOS2vcaGra4iNZ0aC4VNzlsEDRFLAfEQ==} + /@solana/accounts@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22): + resolution: {integrity: sha512-UiSs+dWljp4i6ko+3V5oZ+Du/9/I0Fr5aEUjQNE/JbHW/bS0fgfabVYaUK5gDC2Omh3abwWpYWxThOUg0NU3lg==} 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/addresses': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/codecs-core': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-strings': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-spec': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-types': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) transitivePeerDependencies: - fastestsmallesttextencoderdecoder dev: false - /@solana/assertions@2.0.0-experimental.7adc22b: - resolution: {integrity: sha512-5oW04MYAyIMCC242YVaKVagcoOUVgybj7eyIB9P1ochCkrqEUc/RCX9jsSXEJI4TfB5qLSYLKrUR0ixVsAL8aA==} + /@solana/addresses@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22): + resolution: {integrity: sha512-jqZG9/TAM0Gw7QiUyOCAPiDlAd9Pb4PmMFoyITKYX85Lq5sw76Mh12iy6jj1g4FT1BElxbCUhQz2p+eTfFR5Ug==} + dependencies: + '@solana/assertions': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-core': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-strings': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + dev: false + + /@solana/assertions@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-OYxWkLkEvVN5A4aq/mN0iqnTJPMCXOiFT/4dec/30NY6mk/v1r2K4Cc2/3TNLavr5x+gPVrBIDyzQgeAr0bz6Q==} + dependencies: + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb dev: false /@solana/buffer-layout-utils@0.2.0: @@ -5214,19 +5194,14 @@ packages: buffer: 6.0.3 dev: false - /@solana/codecs-core@2.0.0-experimental.7adc22b: - resolution: {integrity: sha512-pswclTWoESUv4N1yv6zMMTAt8ocA8Er9sBaioEjfeMTIJNtW13Bt56CRFsBsjCQ/EJSGG7y1qtGKNYgZc8dhdA==} - dev: false - /@solana/codecs-core@2.0.0-experimental.8618508: resolution: {integrity: sha512-JCz7mKjVKtfZxkuDtwMAUgA7YvJcA2BwpZaA1NOLcted4OMC4Prwa3DUe3f3181ixPYaRyptbF0Ikq2MbDkYEA==} dev: false - /@solana/codecs-data-structures@2.0.0-experimental.7adc22b: - resolution: {integrity: sha512-b9Rk6c1UELLK2gJBSJcY3ulyBUaEsrnDx4FnWy/MeeIjKxArC36XDwm0wyJ27ewevvt+UjCsib7Vn1AmBP51Mw==} + /@solana/codecs-core@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-g4UutMYkgbhA607ED7KXY/wIrkR1cH5Xx+I4x4gUIWHa3F3h2icnj3KszvCOsnpXl821a7LHdtmQWCrgrQIpsQ==} dependencies: - '@solana/codecs-core': 2.0.0-experimental.7adc22b - '@solana/codecs-numbers': 2.0.0-experimental.7adc22b + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb dev: false /@solana/codecs-data-structures@2.0.0-experimental.8618508: @@ -5236,10 +5211,12 @@ packages: '@solana/codecs-numbers': 2.0.0-experimental.8618508 dev: false - /@solana/codecs-numbers@2.0.0-experimental.7adc22b: - resolution: {integrity: sha512-5iiX5UksPBiCFmkFLkeTcQTz/HTzHVBjvoor/mBK9waAAMkanKHRY9rSmkaipEipYLBJ9BtiOkC9XQVyqOlv1w==} + /@solana/codecs-data-structures@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-XI8QO48HZh8ah6/t4QRCCOzD5OHe1obNnc9LmEyaJwBe5gmzH4DEUgqAol21UqJtoYvYpK855sP7Kv/2/rGRxA==} dependencies: - '@solana/codecs-core': 2.0.0-experimental.7adc22b + '@solana/codecs-core': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-numbers': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb dev: false /@solana/codecs-numbers@2.0.0-experimental.8618508: @@ -5248,14 +5225,11 @@ packages: '@solana/codecs-core': 2.0.0-experimental.8618508 dev: false - /@solana/codecs-strings@2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22): - resolution: {integrity: sha512-kfn/oKYsaxDNN4bYe3hBkO0Bhri20ApQJOVQ+rHCnrje6uRioJhbNR5PlsLPetowwJxA6buA3uRHlZpQ7giFJw==} - peerDependencies: - fastestsmallesttextencoderdecoder: ^1.0.22 + /@solana/codecs-numbers@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-rYpFqYNZqWH45N+bJ40O7v5tejtd6eJLK8Z7NKEK3E46p8MXkK3AenCz5pN/c9bwWzdifCt5OIgtnvEVXbMnsg==} dependencies: - '@solana/codecs-core': 2.0.0-experimental.7adc22b - '@solana/codecs-numbers': 2.0.0-experimental.7adc22b - fastestsmallesttextencoderdecoder: 1.0.22 + '@solana/codecs-core': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb dev: false /@solana/codecs-strings@2.0.0-experimental.8618508(fastestsmallesttextencoderdecoder@1.0.22): @@ -5268,6 +5242,37 @@ packages: fastestsmallesttextencoderdecoder: 1.0.22 dev: false + /@solana/codecs-strings@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22): + resolution: {integrity: sha512-e33PAF9UPqV2xPlIuWeYP7nRhiZuOqF96PJmMQhsk+ck74LtyldDbQ/sMnI9shXcdmjmJivDx/FykhNXI5VVig==} + peerDependencies: + fastestsmallesttextencoderdecoder: ^1.0.22 + dependencies: + '@solana/codecs-core': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-numbers': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + fastestsmallesttextencoderdecoder: 1.0.22 + dev: false + + /@solana/codecs@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22): + resolution: {integrity: sha512-+zX3vIasNAqFe2WM6mzuR6O8pqz9rIJRFjvmkmlJoQYZcMnRHXIf7oYtafyF9ruwXd0l+i4yp5pGO129yKc7vA==} + dependencies: + '@solana/codecs-core': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-data-structures': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-numbers': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-strings': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/options': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + dev: false + + /@solana/errors@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-PqBVMviXnHao5dtpDOAp5HgRhIWFkP4Y5DCXMC2PWAS+ogFo4kDwdMTEl5eCBNL/m7irpgrxDfexMdvK8J4DuA==} + hasBin: true + dependencies: + chalk: 5.3.0 + commander: 12.0.0 + dev: false + /@solana/eslint-config-solana@1.0.1(@typescript-eslint/eslint-plugin@5.59.2)(@typescript-eslint/parser@5.59.2)(eslint-plugin-jest@27.2.1)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-simple-import-sort@10.0.0)(eslint-plugin-sort-keys-fix@1.1.2)(eslint@8.39.0)(typescript@5.0.4): resolution: {integrity: sha512-nH5gSHbxfycgEonMAt7onsrI0Y7PWh3b+KJSLoWbNnqmpQZGnh+O5MrgK45/7H4/qV6mZ4RNMwFagUt2mhZEsg==} peerDependencies: @@ -5290,18 +5295,25 @@ packages: typescript: 5.0.4 dev: true - /@solana/functional@2.0.0-experimental.7adc22b: - resolution: {integrity: sha512-876pYWab7LM+u2hahnS9qhzrsYkI+3TGpeOL7dW+iBZ/hhw0uVqXYXuLSeq6Yfdh6HQH3MEMv4xjB+th/n2fLQ==} + /@solana/functional@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-/GgZucIbB28arDUONbR8ByrcMbqQOe4DbBNBbfIw7+pp4K7fx9ALD41inYyo9S8Mw0Wv79GJ+cEmSoUzdRe4Vw==} dev: false - /@solana/instructions@2.0.0-experimental.7adc22b: - resolution: {integrity: sha512-gYDYZKK2+/OAJfBge4HP5YiQHvnA5AQEMgoTewWXu4cmMAd78e/3+WhdFaVVJjCJhTzMrRVg4wHqnHl6AQX7Qw==} + /@solana/instructions@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-Qa7rmHgOdrpI8It8JIa+8xzFrNWMqjOPyBUMPfsUo5M7ZoJLTvp4yQ9r6a6dfY5hrtLydrGUAnU6cN/Ddv3H+g==} + dependencies: + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb dev: false - /@solana/keys@2.0.0-experimental.7adc22b: - resolution: {integrity: sha512-7sV3uCVE9SL1VCMkzwWSM/NbUkzhwz8mXJM6bBn20gN8ytrHV4JI/VVAG+MvQ8IS9FRGDq05n4qAhPSXpghW2g==} + /@solana/keys@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22): + resolution: {integrity: sha512-3pISD/Z9KQq6QnvQMA+xUFNOQWMgMRnq2dFRC/9vMKzi3X8/KszM6OmcBxGIf5RUPg/JzG8m9FwMz4hpqxylrQ==} dependencies: - '@solana/assertions': 2.0.0-experimental.7adc22b + '@solana/assertions': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-core': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-strings': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder dev: false /@solana/options@2.0.0-experimental.8618508: @@ -5311,6 +5323,13 @@ packages: '@solana/codecs-numbers': 2.0.0-experimental.8618508 dev: false + /@solana/options@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-1DybB48GGbZgx/1NuAYriHKrMysVjbmqmXRdzjIVVQaWlx5ack2YE6qezurG/QS6A51JVZ7fBJdjLoZpUttM5w==} + dependencies: + '@solana/codecs-core': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-numbers': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + dev: false + /@solana/prettier-config-solana@0.0.2(prettier@2.8.8): resolution: {integrity: sha512-F/e2UIJwb30Y8QjR9nr/OrJiCc8yjMkiP9Ctk4VYg+8jODNP31dx6s9mn4sbMFVYA0Km5EPZLN2xsZacBy0y/A==} peerDependencies: @@ -5319,22 +5338,141 @@ packages: prettier: 2.8.8 dev: true - /@solana/rpc-core@2.0.0-experimental.7adc22b: - resolution: {integrity: sha512-Uvg4g3M6I0SX/hNywaSOXzr6yKqObJSJKqvONON+auaHfC2pF/QaNB9Y4IaDtFuUeP69HjGMUa+7T3AfgTILSA==} + /@solana/programs@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-Lgt1c5qLHJ4WiraAnUNQkCtjnnmZpqPM2XdXfB4wxqLECGzy+Jthp75kzBYc0tfdTLeeCmnGkB5HrW5sxeNoSA==} + dev: false + + /@solana/rpc-api@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22): + resolution: {integrity: sha512-ReQ/Yb+cNo1aVXpnHBJItWRiuxxXkVtH9UHxu7fo/d2iiR16tYMXOqvMO+AEMtxAVh79RBW9jzK7/lKw8cucEA==} + dependencies: + '@solana/addresses': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/codecs-core': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-strings': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/keys': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/rpc-parsed-types': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-spec': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-transformers': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/rpc-types': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/transactions': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + dev: false + + /@solana/rpc-parsed-types@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-X67YQU8sN+d1xkVulqxj/BMan0D0s+8vleyjCcf1J263/hFI+vbE+qlH2F3qk2Jt0wDOT9n+hhu/1c0Xirfxcg==} + dev: false + + /@solana/rpc-spec-types@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-cEI2wtoeK1BV5Mc978vw5TFeYe5Kuuci41bGu5c4AN7h2dizy+bQ9bv3XejBralmgPxtmhU2cGwQOznpRjuIPg==} + dev: false + + /@solana/rpc-spec@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-yCDMrTOfuyVAXJwcnyPVI7zQS0KRjXiXJfTJC6dQT0FnSoqaVXM68E4ObnBx5E1j8kcMHkoT3KZrPSekKBIZdA==} + dependencies: + '@solana/rpc-spec-types': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + dev: false + + /@solana/rpc-subscriptions-api@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22): + resolution: {integrity: sha512-tLGHIYvcinJf9KZAjKHxMdf0f86qyN3QH1ffyB8rOrLfZIKJBJM8SzUFtIiTuJR7Z74sTt9511AnAAxQJ4t8zg==} dependencies: - '@metaplex-foundation/umi-serializers': 0.8.9 + '@solana/addresses': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/keys': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/rpc-subscriptions-spec': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-transformers': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/rpc-types': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/transactions': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder dev: false - /@solana/rpc-transport@2.0.0-experimental.7adc22b(node-fetch@2.6.9)(ws@8.14.2): - resolution: {integrity: sha512-kZu0dlaM4ag8xANxfDuIQFKgXy1MXcHTJyL6j2Kh0vNRlV3sYlZm11B7YdLjealD7Ox29A56pl+OM55A+BJ4KA==} + /@solana/rpc-subscriptions-spec@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-mdTcfe8fgDaExh34QJsRIiAuzN8YpJ1RSw7Te4O2XlXE3kxbD8QmhSCbClgAvZk0J4RojwLZg19bpEtWDmq+vw==} + dependencies: + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-spec-types': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + dev: false + + /@solana/rpc-subscriptions-transport-websocket@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(ws@8.14.2): + resolution: {integrity: sha512-BQSu3lyPE5zn2/2/5O4WHJgQ3yKjm47FPrP72dILLe0z9+O+0q40UUtcgvOb/RXalZ71UndAJf1a65+lgv6BxQ==} peerDependencies: - node-fetch: ^2.6.9 ws: ^8.14.0 dependencies: - node-fetch: 2.6.9 + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-subscriptions-spec': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb ws: 8.14.2(bufferutil@4.0.7)(utf-8-validate@5.0.10) dev: false + /@solana/rpc-subscriptions@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22)(ws@8.14.2): + resolution: {integrity: sha512-XsrOqWrFqnUtmIkkNpbxUFRTLN0C3RXr6GiZ6azgHF00AvIUIzpdK6+MINRW7oygr3rxBzVbTR4CEOFLh8GwNA==} + dependencies: + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/functional': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-subscriptions-api': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/rpc-subscriptions-spec': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-subscriptions-transport-websocket': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(ws@8.14.2) + '@solana/rpc-transformers': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/rpc-types': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + fast-stable-stringify: 1.0.0 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + - ws + dev: false + + /@solana/rpc-transformers@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22): + resolution: {integrity: sha512-BJNphF+T9iCcjMQ+tF9uSjdMVbJs1cocYS6SZHk1nN1f5JBABV5uGG9+Gk+4DqqcCC8jMmrSoANeVLbedQPCcA==} + dependencies: + '@solana/rpc-spec': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-subscriptions-spec': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-types': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + dev: false + + /@solana/rpc-transport-http@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb: + resolution: {integrity: sha512-Bag4HkPl4bR5YgZt75KaVzuCkHeiREDLfodrSMptyVfII2M2NSiP1WUWp0TZ+FIN14KN7Tr0+Df00Yo/yO7weg==} + dependencies: + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-spec': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + undici: 6.7.1 + dev: false + + /@solana/rpc-types@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22): + resolution: {integrity: sha512-ZUYTBN7yl/Oq8AYdKR0H2AMmPczfeLzPLhJKDd34WtNtlykR2tg/LBPki9FQoeh5hHx8nJU4e4XuxrSK5vMloA==} + dependencies: + '@solana/addresses': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/codecs-strings': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + dev: false + + /@solana/rpc@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22): + resolution: {integrity: sha512-lBMnFsjx5SNgSk5gXJtgq0lYhOee+bgwHbof2anUzqxCnFKDpysEYiu3k8TiP4iVnYGwkX/srS9tVLMNRTh+7A==} + dependencies: + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/functional': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-api': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/rpc-spec': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-transformers': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/rpc-transport-http': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-types': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + fast-stable-stringify: 1.0.0 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + dev: false + + /@solana/signers@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22): + resolution: {integrity: sha512-+kj5h4vNvtOCtMwYVMF0r5SC5O5GyjGFBE7TZvYl/+x0HQQ2/7KbQ42wGtS1Lim1CmiNp+m765G5hBFIlMDvOA==} + dependencies: + '@solana/addresses': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/instructions': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/keys': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/transactions': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + dev: false + /@solana/spl-account-compression@0.1.8(@solana/web3.js@1.78.0): resolution: {integrity: sha512-vsvsx358pVFPtyNd8zIZy0lezR0NuvOykQ29Zq+8oto+kHfTXMGXXQ1tKHUYke6XkINIWLFVg/jDi+1D9RYaqQ==} engines: {node: '>=16'} @@ -5428,15 +5566,33 @@ packages: buffer: 6.0.3 dev: false - /@solana/transactions@2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22): - resolution: {integrity: sha512-WGTpZ4n9JBA9KyWvzfgrNLBMosLarDYig2iYYXGeAvn/2z36StoMTFebfEyx5CxVM2T6TaNxTlJybotnwMp6Ug==} + /@solana/transaction-confirmation@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22)(ws@8.14.2): + resolution: {integrity: sha512-8LxJk5/8IA+xfSVfTQJhOs64Qrj+XNsT/q6uDVviH22WNkhcOyD+cQkGU9YZfst/wg4OKCGTDSkluSHiKn7GaQ==} + dependencies: + '@solana/addresses': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/codecs-strings': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/keys': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/rpc': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/rpc-subscriptions': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22)(ws@8.14.2) + '@solana/rpc-types': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/transactions': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + - ws + dev: false + + /@solana/transactions@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22): + resolution: {integrity: sha512-ZpbvZmNgubbEe/Zvw/m9hZyGx9VbHIFkCvUmEXkzKB2jLDWvj5jWQQynbZbSdtpN9OzJzI5zcDLd/WINxHCYrg==} 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-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/codecs-core': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-data-structures': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-numbers': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/codecs-strings': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/functional': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/keys': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) transitivePeerDependencies: - fastestsmallesttextencoderdecoder dev: false @@ -6083,21 +6239,26 @@ packages: - utf-8-validate dev: false - /@solana/web3.js@2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22)(node-fetch@2.6.9)(ws@8.14.2): - resolution: {integrity: sha512-zLpftXBr+dGoKZvUaiGLbGPZWO2eY2EKAmw0UAXvC1bsGv7RRl4w9uYz3aQAmHT5zioTeMY+96iHdV1jP9TZFg==} - 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@8.14.2) - '@solana/transactions': 2.0.0-experimental.7adc22b(fastestsmallesttextencoderdecoder@1.0.22) - fast-stable-stringify: 1.0.0 + /@solana/web3.js@2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22)(ws@8.14.2): + resolution: {integrity: sha512-JK4qV8P6vmzZTYA+zBjPM6btoT17DfFzAmgCGLr39Hbd7CXZycx193NnN9kLU4pPckrVXJJZQfzeLalo47ioqA==} + dependencies: + '@solana/accounts': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/addresses': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/codecs': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/errors': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/functional': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/instructions': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/keys': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/programs': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/rpc-parsed-types': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb + '@solana/rpc-subscriptions': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22)(ws@8.14.2) + '@solana/rpc-types': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/signers': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) + '@solana/transaction-confirmation': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22)(ws@8.14.2) + '@solana/transactions': 2.0.0-preview.1.20240308041540.58947c719d61c07ce3b1ac04edf51a2b8fa4a3eb(fastestsmallesttextencoderdecoder@1.0.22) transitivePeerDependencies: - fastestsmallesttextencoderdecoder - - node-fetch - ws dev: false @@ -8142,6 +8303,11 @@ packages: ansi-styles: 4.3.0 supports-color: 7.2.0 + /chalk@5.3.0: + resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + dev: false + /char-regex@1.0.2: resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} engines: {node: '>=10'} @@ -8364,6 +8530,11 @@ packages: resolution: {integrity: sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==} dev: false + /commander@12.0.0: + resolution: {integrity: sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==} + engines: {node: '>=18'} + dev: false + /commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} dev: false @@ -14280,6 +14451,11 @@ packages: resolution: {integrity: sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==} dev: false + /undici@6.7.1: + resolution: {integrity: sha512-+Wtb9bAQw6HYWzCnxrPTMVEV3Q1QjYanI0E4q02ehReMuquQdLTEFEYbfs7hcImVYKcQkWSwT6buEmSVIiDDtQ==} + engines: {node: '>=18.0'} + dev: false + /unenv@1.8.0: resolution: {integrity: sha512-uIGbdCWZfhRRmyKj1UioCepQ0jpq638j/Cf0xFTn4zD1nGJ2lSdzYHLzfdXN791oo/0juUiSWW1fBklXMTsuqg==} dependencies: