@solana/rpc-core
Advanced tools
Comparing version 2.0.0-experimental.4e091b2 to 2.0.0-experimental.4ec89a6
@@ -1,25 +0,3 @@ | ||
import bs58 from 'bs58'; | ||
import { base58 } from '@metaplex-foundation/umi-serializers'; | ||
// src/blockhash.ts | ||
function assertIsBlockhash(putativeBlockhash) { | ||
try { | ||
if ( | ||
// Lowest value (32 bytes of zeroes) | ||
putativeBlockhash.length < 32 || // Highest value (32 bytes of 255) | ||
putativeBlockhash.length > 44 | ||
) { | ||
throw new Error("Expected input string to decode to a byte array of length 32."); | ||
} | ||
const bytes = bs58.decode(putativeBlockhash); | ||
const numBytes = bytes.byteLength; | ||
if (numBytes !== 32) { | ||
throw new Error(`Expected input string to decode to a byte array of length 32. Actual length: ${numBytes}`); | ||
} | ||
} catch (e) { | ||
throw new Error(`\`${putativeBlockhash}\` is not a blockhash`, { | ||
cause: e | ||
}); | ||
} | ||
} | ||
// src/params-patcher.ts | ||
@@ -57,2 +35,51 @@ function visitNode(value, keyPath, onIntegerOverflow) { | ||
var ALLOWED_NUMERIC_KEYPATHS = { | ||
getAccountInfo: [ | ||
// parsed AddressTableLookup account | ||
["value", "data", "parsed", "info", "lastExtendedSlotStartIndex"], | ||
// parsed Config account | ||
["value", "data", "parsed", "info", "slashPenalty"], | ||
["value", "data", "parsed", "info", "warmupCooldownRate"], | ||
// parsed Token/Token22 token account | ||
["value", "data", "parsed", "info", "tokenAmount", "decimals"], | ||
["value", "data", "parsed", "info", "tokenAmount", "uiAmount"], | ||
["value", "data", "parsed", "info", "rentExemptReserve", "decimals"], | ||
["value", "data", "parsed", "info", "delegatedAmount", "decimals"], | ||
[ | ||
"value", | ||
"data", | ||
"parsed", | ||
"info", | ||
"extensions", | ||
KEYPATH_WILDCARD, | ||
"state", | ||
"olderTransferFee", | ||
"transferFeeBasisPoints" | ||
], | ||
[ | ||
"value", | ||
"data", | ||
"parsed", | ||
"info", | ||
"extensions", | ||
KEYPATH_WILDCARD, | ||
"state", | ||
"newerTransferFee", | ||
"transferFeeBasisPoints" | ||
], | ||
["value", "data", "parsed", "info", "extensions", KEYPATH_WILDCARD, "state", "preUpdateAverageRate"], | ||
["value", "data", "parsed", "info", "extensions", KEYPATH_WILDCARD, "state", "currentRate"], | ||
// parsed Token/Token22 mint account | ||
["value", "data", "parsed", "info", "decimals"], | ||
// parsed Token/Token22 multisig account | ||
["value", "data", "parsed", "info", "numRequiredSigners"], | ||
["value", "data", "parsed", "info", "numValidSigners"], | ||
// parsed Stake account | ||
["value", "data", "parsed", "info", "stake", "delegation", "warmupCooldownRate"], | ||
// parsed Sysvar rent account | ||
["value", "data", "parsed", "info", "exemptionThreshold"], | ||
["value", "data", "parsed", "info", "burnPercent"], | ||
// parsed Vote account | ||
["value", "data", "parsed", "info", "commission"], | ||
["value", "data", "parsed", "info", "votes", KEYPATH_WILDCARD, "confirmationCount"] | ||
], | ||
getBlockTime: [[]], | ||
@@ -107,3 +134,4 @@ getInflationReward: [[KEYPATH_WILDCARD, "commission"]], | ||
// Upcast the value to `bigint` unless an allowed keypath is present. | ||
allowedKeypaths.length === 0) { | ||
allowedKeypaths.length === 0 && // Only try to upcast an Integer to `bigint` | ||
Number.isInteger(value)) { | ||
return BigInt(value); | ||
@@ -147,4 +175,48 @@ } else { | ||
export { assertIsBlockhash, createSolanaRpcApi }; | ||
// src/stringified-bigint.ts | ||
function assertIsStringifiedBigInt(putativeBigInt) { | ||
try { | ||
BigInt(putativeBigInt); | ||
} catch (e) { | ||
throw new Error(`\`${putativeBigInt}\` cannot be parsed as a BigInt`, { | ||
cause: e | ||
}); | ||
} | ||
} | ||
function assertIsTransactionSignature(putativeTransactionSignature) { | ||
try { | ||
if ( | ||
// Lowest value (64 bytes of zeroes) | ||
putativeTransactionSignature.length < 64 || // Highest value (64 bytes of 255) | ||
putativeTransactionSignature.length > 88 | ||
) { | ||
throw new Error("Expected input string to decode to a byte array of length 64."); | ||
} | ||
const bytes = base58.serialize(putativeTransactionSignature); | ||
const numBytes = bytes.byteLength; | ||
if (numBytes !== 64) { | ||
throw new Error(`Expected input string to decode to a byte array of length 64. Actual length: ${numBytes}`); | ||
} | ||
} catch (e) { | ||
throw new Error(`\`${putativeTransactionSignature}\` is not a transaction signature`, { | ||
cause: e | ||
}); | ||
} | ||
} | ||
// src/unix-timestamp.ts | ||
function assertIsUnixTimestamp(putativeTimestamp) { | ||
try { | ||
if (putativeTimestamp > 864e13 || putativeTimestamp < -864e13) { | ||
throw new Error("Expected input number to be in the range [-8.64e15, 8.64e15]"); | ||
} | ||
} catch (e) { | ||
throw new Error(`\`${putativeTimestamp}\` is not a timestamp`, { | ||
cause: e | ||
}); | ||
} | ||
} | ||
export { assertIsStringifiedBigInt, assertIsTransactionSignature, assertIsUnixTimestamp, createSolanaRpcApi }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.browser.js.map |
@@ -1,25 +0,3 @@ | ||
import bs58 from 'bs58'; | ||
import { base58 } from '@metaplex-foundation/umi-serializers'; | ||
// src/blockhash.ts | ||
function assertIsBlockhash(putativeBlockhash) { | ||
try { | ||
if ( | ||
// Lowest value (32 bytes of zeroes) | ||
putativeBlockhash.length < 32 || // Highest value (32 bytes of 255) | ||
putativeBlockhash.length > 44 | ||
) { | ||
throw new Error("Expected input string to decode to a byte array of length 32."); | ||
} | ||
const bytes = bs58.decode(putativeBlockhash); | ||
const numBytes = bytes.byteLength; | ||
if (numBytes !== 32) { | ||
throw new Error(`Expected input string to decode to a byte array of length 32. Actual length: ${numBytes}`); | ||
} | ||
} catch (e) { | ||
throw new Error(`\`${putativeBlockhash}\` is not a blockhash`, { | ||
cause: e | ||
}); | ||
} | ||
} | ||
// src/params-patcher.ts | ||
@@ -57,2 +35,51 @@ function visitNode(value, keyPath, onIntegerOverflow) { | ||
var ALLOWED_NUMERIC_KEYPATHS = { | ||
getAccountInfo: [ | ||
// parsed AddressTableLookup account | ||
["value", "data", "parsed", "info", "lastExtendedSlotStartIndex"], | ||
// parsed Config account | ||
["value", "data", "parsed", "info", "slashPenalty"], | ||
["value", "data", "parsed", "info", "warmupCooldownRate"], | ||
// parsed Token/Token22 token account | ||
["value", "data", "parsed", "info", "tokenAmount", "decimals"], | ||
["value", "data", "parsed", "info", "tokenAmount", "uiAmount"], | ||
["value", "data", "parsed", "info", "rentExemptReserve", "decimals"], | ||
["value", "data", "parsed", "info", "delegatedAmount", "decimals"], | ||
[ | ||
"value", | ||
"data", | ||
"parsed", | ||
"info", | ||
"extensions", | ||
KEYPATH_WILDCARD, | ||
"state", | ||
"olderTransferFee", | ||
"transferFeeBasisPoints" | ||
], | ||
[ | ||
"value", | ||
"data", | ||
"parsed", | ||
"info", | ||
"extensions", | ||
KEYPATH_WILDCARD, | ||
"state", | ||
"newerTransferFee", | ||
"transferFeeBasisPoints" | ||
], | ||
["value", "data", "parsed", "info", "extensions", KEYPATH_WILDCARD, "state", "preUpdateAverageRate"], | ||
["value", "data", "parsed", "info", "extensions", KEYPATH_WILDCARD, "state", "currentRate"], | ||
// parsed Token/Token22 mint account | ||
["value", "data", "parsed", "info", "decimals"], | ||
// parsed Token/Token22 multisig account | ||
["value", "data", "parsed", "info", "numRequiredSigners"], | ||
["value", "data", "parsed", "info", "numValidSigners"], | ||
// parsed Stake account | ||
["value", "data", "parsed", "info", "stake", "delegation", "warmupCooldownRate"], | ||
// parsed Sysvar rent account | ||
["value", "data", "parsed", "info", "exemptionThreshold"], | ||
["value", "data", "parsed", "info", "burnPercent"], | ||
// parsed Vote account | ||
["value", "data", "parsed", "info", "commission"], | ||
["value", "data", "parsed", "info", "votes", KEYPATH_WILDCARD, "confirmationCount"] | ||
], | ||
getBlockTime: [[]], | ||
@@ -107,3 +134,4 @@ getInflationReward: [[KEYPATH_WILDCARD, "commission"]], | ||
// Upcast the value to `bigint` unless an allowed keypath is present. | ||
allowedKeypaths.length === 0) { | ||
allowedKeypaths.length === 0 && // Only try to upcast an Integer to `bigint` | ||
Number.isInteger(value)) { | ||
return BigInt(value); | ||
@@ -147,4 +175,48 @@ } else { | ||
export { assertIsBlockhash, createSolanaRpcApi }; | ||
// src/stringified-bigint.ts | ||
function assertIsStringifiedBigInt(putativeBigInt) { | ||
try { | ||
BigInt(putativeBigInt); | ||
} catch (e) { | ||
throw new Error(`\`${putativeBigInt}\` cannot be parsed as a BigInt`, { | ||
cause: e | ||
}); | ||
} | ||
} | ||
function assertIsTransactionSignature(putativeTransactionSignature) { | ||
try { | ||
if ( | ||
// Lowest value (64 bytes of zeroes) | ||
putativeTransactionSignature.length < 64 || // Highest value (64 bytes of 255) | ||
putativeTransactionSignature.length > 88 | ||
) { | ||
throw new Error("Expected input string to decode to a byte array of length 64."); | ||
} | ||
const bytes = base58.serialize(putativeTransactionSignature); | ||
const numBytes = bytes.byteLength; | ||
if (numBytes !== 64) { | ||
throw new Error(`Expected input string to decode to a byte array of length 64. Actual length: ${numBytes}`); | ||
} | ||
} catch (e) { | ||
throw new Error(`\`${putativeTransactionSignature}\` is not a transaction signature`, { | ||
cause: e | ||
}); | ||
} | ||
} | ||
// src/unix-timestamp.ts | ||
function assertIsUnixTimestamp(putativeTimestamp) { | ||
try { | ||
if (putativeTimestamp > 864e13 || putativeTimestamp < -864e13) { | ||
throw new Error("Expected input number to be in the range [-8.64e15, 8.64e15]"); | ||
} | ||
} catch (e) { | ||
throw new Error(`\`${putativeTimestamp}\` is not a timestamp`, { | ||
cause: e | ||
}); | ||
} | ||
} | ||
export { assertIsStringifiedBigInt, assertIsTransactionSignature, assertIsUnixTimestamp, createSolanaRpcApi }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.native.js.map |
@@ -1,25 +0,3 @@ | ||
import bs58 from 'bs58'; | ||
import { base58 } from '@metaplex-foundation/umi-serializers'; | ||
// src/blockhash.ts | ||
function assertIsBlockhash(putativeBlockhash) { | ||
try { | ||
if ( | ||
// Lowest value (32 bytes of zeroes) | ||
putativeBlockhash.length < 32 || // Highest value (32 bytes of 255) | ||
putativeBlockhash.length > 44 | ||
) { | ||
throw new Error("Expected input string to decode to a byte array of length 32."); | ||
} | ||
const bytes = bs58.decode(putativeBlockhash); | ||
const numBytes = bytes.byteLength; | ||
if (numBytes !== 32) { | ||
throw new Error(`Expected input string to decode to a byte array of length 32. Actual length: ${numBytes}`); | ||
} | ||
} catch (e) { | ||
throw new Error(`\`${putativeBlockhash}\` is not a blockhash`, { | ||
cause: e | ||
}); | ||
} | ||
} | ||
// src/params-patcher.ts | ||
@@ -57,2 +35,51 @@ function visitNode(value, keyPath, onIntegerOverflow) { | ||
var ALLOWED_NUMERIC_KEYPATHS = { | ||
getAccountInfo: [ | ||
// parsed AddressTableLookup account | ||
["value", "data", "parsed", "info", "lastExtendedSlotStartIndex"], | ||
// parsed Config account | ||
["value", "data", "parsed", "info", "slashPenalty"], | ||
["value", "data", "parsed", "info", "warmupCooldownRate"], | ||
// parsed Token/Token22 token account | ||
["value", "data", "parsed", "info", "tokenAmount", "decimals"], | ||
["value", "data", "parsed", "info", "tokenAmount", "uiAmount"], | ||
["value", "data", "parsed", "info", "rentExemptReserve", "decimals"], | ||
["value", "data", "parsed", "info", "delegatedAmount", "decimals"], | ||
[ | ||
"value", | ||
"data", | ||
"parsed", | ||
"info", | ||
"extensions", | ||
KEYPATH_WILDCARD, | ||
"state", | ||
"olderTransferFee", | ||
"transferFeeBasisPoints" | ||
], | ||
[ | ||
"value", | ||
"data", | ||
"parsed", | ||
"info", | ||
"extensions", | ||
KEYPATH_WILDCARD, | ||
"state", | ||
"newerTransferFee", | ||
"transferFeeBasisPoints" | ||
], | ||
["value", "data", "parsed", "info", "extensions", KEYPATH_WILDCARD, "state", "preUpdateAverageRate"], | ||
["value", "data", "parsed", "info", "extensions", KEYPATH_WILDCARD, "state", "currentRate"], | ||
// parsed Token/Token22 mint account | ||
["value", "data", "parsed", "info", "decimals"], | ||
// parsed Token/Token22 multisig account | ||
["value", "data", "parsed", "info", "numRequiredSigners"], | ||
["value", "data", "parsed", "info", "numValidSigners"], | ||
// parsed Stake account | ||
["value", "data", "parsed", "info", "stake", "delegation", "warmupCooldownRate"], | ||
// parsed Sysvar rent account | ||
["value", "data", "parsed", "info", "exemptionThreshold"], | ||
["value", "data", "parsed", "info", "burnPercent"], | ||
// parsed Vote account | ||
["value", "data", "parsed", "info", "commission"], | ||
["value", "data", "parsed", "info", "votes", KEYPATH_WILDCARD, "confirmationCount"] | ||
], | ||
getBlockTime: [[]], | ||
@@ -107,3 +134,4 @@ getInflationReward: [[KEYPATH_WILDCARD, "commission"]], | ||
// Upcast the value to `bigint` unless an allowed keypath is present. | ||
allowedKeypaths.length === 0) { | ||
allowedKeypaths.length === 0 && // Only try to upcast an Integer to `bigint` | ||
Number.isInteger(value)) { | ||
return BigInt(value); | ||
@@ -147,4 +175,48 @@ } else { | ||
export { assertIsBlockhash, createSolanaRpcApi }; | ||
// src/stringified-bigint.ts | ||
function assertIsStringifiedBigInt(putativeBigInt) { | ||
try { | ||
BigInt(putativeBigInt); | ||
} catch (e) { | ||
throw new Error(`\`${putativeBigInt}\` cannot be parsed as a BigInt`, { | ||
cause: e | ||
}); | ||
} | ||
} | ||
function assertIsTransactionSignature(putativeTransactionSignature) { | ||
try { | ||
if ( | ||
// Lowest value (64 bytes of zeroes) | ||
putativeTransactionSignature.length < 64 || // Highest value (64 bytes of 255) | ||
putativeTransactionSignature.length > 88 | ||
) { | ||
throw new Error("Expected input string to decode to a byte array of length 64."); | ||
} | ||
const bytes = base58.serialize(putativeTransactionSignature); | ||
const numBytes = bytes.byteLength; | ||
if (numBytes !== 64) { | ||
throw new Error(`Expected input string to decode to a byte array of length 64. Actual length: ${numBytes}`); | ||
} | ||
} catch (e) { | ||
throw new Error(`\`${putativeTransactionSignature}\` is not a transaction signature`, { | ||
cause: e | ||
}); | ||
} | ||
} | ||
// src/unix-timestamp.ts | ||
function assertIsUnixTimestamp(putativeTimestamp) { | ||
try { | ||
if (putativeTimestamp > 864e13 || putativeTimestamp < -864e13) { | ||
throw new Error("Expected input number to be in the range [-8.64e15, 8.64e15]"); | ||
} | ||
} catch (e) { | ||
throw new Error(`\`${putativeTimestamp}\` is not a timestamp`, { | ||
cause: e | ||
}); | ||
} | ||
} | ||
export { assertIsStringifiedBigInt, assertIsTransactionSignature, assertIsUnixTimestamp, createSolanaRpcApi }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.node.js.map |
@@ -1,3 +0,5 @@ | ||
export * from './blockhash'; | ||
export * from './rpc-methods'; | ||
export * from './stringified-bigint'; | ||
export * from './transaction-signature'; | ||
export * from './unix-timestamp'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -30,2 +30,5 @@ export type Commitment = 'confirmed' | 'finalized' | 'processed'; | ||
export type Base64EncodedZStdCompressedDataResponse = [Base64EncodedZStdCompressedBytes, 'base64+zstd']; | ||
export type Base58EncodedTransactionSignature = string & { | ||
readonly __base58EncodedSignature: unique symbol; | ||
}; | ||
//# sourceMappingURL=common.d.ts.map |
@@ -17,6 +17,7 @@ import { U64UnsafeBeyond2Pow53Minus1 } from './common'; | ||
* Returns the epoch schedule information from this cluster's genesis config | ||
* Note that the optional NO_CONFIG object is ignored. See https://github.com/solana-labs/solana-web3.js/issues/1389 | ||
*/ | ||
getEpochSchedule(): GetEpochScheduleApiResponse; | ||
getEpochSchedule(NO_CONFIG?: Record<string, never>): GetEpochScheduleApiResponse; | ||
} | ||
export {}; | ||
//# sourceMappingURL=getEpochSchedule.d.ts.map |
@@ -6,6 +6,7 @@ import { Slot } from './common'; | ||
* Returns the slot of the lowest confirmed block that has not been purged from the ledger | ||
* Note that the optional NO_CONFIG object is ignored. See https://github.com/solana-labs/solana-web3.js/issues/1389 | ||
*/ | ||
getFirstAvailableBlock(): GetFirstAvailableBlockApiResponse; | ||
getFirstAvailableBlock(NO_CONFIG?: Record<string, never>): GetFirstAvailableBlockApiResponse; | ||
} | ||
export {}; | ||
//# sourceMappingURL=getFirstAvailableBlock.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { Blockhash } from '../blockhash'; | ||
import { Blockhash } from '@solana/transactions'; | ||
import { Commitment, RpcResponse, Slot, U64UnsafeBeyond2Pow53Minus1 } from './common'; | ||
@@ -3,0 +3,0 @@ type GetLatestBlockhashApiResponse = RpcResponse<{ |
@@ -6,6 +6,7 @@ import { Slot } from './common'; | ||
* Get the max slot seen from retransmit stage. | ||
* Note that the optional NO_CONFIG object is ignored. See https://github.com/solana-labs/solana-web3.js/issues/1389 | ||
*/ | ||
getMaxRetransmitSlot(): GetMaxRetransmitSlotApiResponse; | ||
getMaxRetransmitSlot(NO_CONFIG?: Record<string, never>): GetMaxRetransmitSlotApiResponse; | ||
} | ||
export {}; | ||
//# sourceMappingURL=getMaxRetransmitSlot.d.ts.map |
@@ -6,6 +6,7 @@ import { Slot } from './common'; | ||
* Get the max slot seen from after shred insert. | ||
* Note that the optional NO_CONFIG object is ignored. See https://github.com/solana-labs/solana-web3.js/issues/1389 | ||
*/ | ||
getMaxShredInsertSlot(): GetMaxShredInsertSlotApiResponse; | ||
getMaxShredInsertSlot(NO_CONFIG?: Record<string, never>): GetMaxShredInsertSlotApiResponse; | ||
} | ||
export {}; | ||
//# sourceMappingURL=getMaxShredInsertSlot.d.ts.map |
import { Base58EncodedAddress } from '@solana/keys'; | ||
import { Blockhash } from '../blockhash'; | ||
import { Blockhash } from '@solana/transactions'; | ||
import { StringifiedBigInt } from '../stringified-bigint'; | ||
@@ -4,0 +4,0 @@ import { TransactionError } from '../transaction-error'; |
@@ -18,2 +18,3 @@ import { IRpcApi } from '@solana/rpc-transport/dist/types/json-rpc-types'; | ||
import { GetSlotApi } from './getSlot'; | ||
import { GetSlotLeadersApi } from './getSlotLeaders'; | ||
import { GetStakeMinimumDelegationApi } from './getStakeMinimumDelegation'; | ||
@@ -25,9 +26,12 @@ import { GetSupplyApi } from './getSupply'; | ||
import { GetVoteAccountsApi } from './getVoteAccounts'; | ||
import { IsBlockhashValidApi } from './isBlockhashValid'; | ||
import { MinimumLedgerSlotApi } from './minimumLedgerSlot'; | ||
import { RequestAirdropApi } from './requestAirdrop'; | ||
import { SendTransactionApi } from './sendTransaction'; | ||
type Config = Readonly<{ | ||
onIntegerOverflow?: (methodName: string, keyPath: (number | string)[], value: bigint) => void; | ||
}>; | ||
export type SolanaRpcMethods = GetAccountInfoApi & GetBalanceApi & GetBlockHeightApi & GetBlockProductionApi & GetBlocksApi & GetBlockTimeApi & GetEpochInfoApi & GetEpochScheduleApi & GetFirstAvailableBlockApi & GetInflationRewardApi & GetLatestBlockhashApi & GetMaxRetransmitSlotApi & GetMaxShredInsertSlotApi & GetRecentPerformanceSamplesApi & GetSignaturesForAddressApi & GetSlotApi & GetStakeMinimumDelegationApi & GetSupplyApi & GetTokenLargestAccountsApi & GetTransactionApi & GetTransactionCountApi & GetVoteAccountsApi & MinimumLedgerSlotApi; | ||
export type SolanaRpcMethods = GetAccountInfoApi & GetBalanceApi & GetBlockHeightApi & GetBlockProductionApi & GetBlocksApi & GetBlockTimeApi & GetEpochInfoApi & GetEpochScheduleApi & GetFirstAvailableBlockApi & GetInflationRewardApi & GetLatestBlockhashApi & GetMaxRetransmitSlotApi & GetMaxShredInsertSlotApi & GetRecentPerformanceSamplesApi & GetSignaturesForAddressApi & GetSlotApi & GetSlotLeadersApi & GetStakeMinimumDelegationApi & GetSupplyApi & GetTokenLargestAccountsApi & GetTransactionApi & GetTransactionCountApi & GetVoteAccountsApi & IsBlockhashValidApi & MinimumLedgerSlotApi & RequestAirdropApi & SendTransactionApi; | ||
export declare function createSolanaRpcApi(config?: Config): IRpcApi<SolanaRpcMethods>; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@solana/rpc-core", | ||
"version": "2.0.0-experimental.4e091b2", | ||
"version": "2.0.0-experimental.4ec89a6", | ||
"description": "A library for making calls to the Solana JSON RPC API", | ||
@@ -49,19 +49,18 @@ "exports": { | ||
"dependencies": { | ||
"bs58": "^5.0.0", | ||
"@solana/keys": "2.0.0-experimental.4e091b2" | ||
"@metaplex-foundation/umi-serializers": "^0.8.5" | ||
}, | ||
"devDependencies": { | ||
"@solana/eslint-config-solana": "^1.0.1", | ||
"@solana/eslint-config-solana": "^1.0.2", | ||
"@swc/core": "^1.3.18", | ||
"@swc/jest": "^0.2.26", | ||
"@types/jest": "^29.5.1", | ||
"@typescript-eslint/eslint-plugin": "^5.57.1", | ||
"@typescript-eslint/parser": "^5.57.1", | ||
"@types/jest": "^29.5.2", | ||
"@typescript-eslint/eslint-plugin": "^6.0.0", | ||
"@typescript-eslint/parser": "^6.0.0", | ||
"agadoo": "^3.0.0", | ||
"eslint": "^8.37.0", | ||
"eslint-plugin-jest": "^27.1.5", | ||
"eslint": "^8.45.0", | ||
"eslint-plugin-jest": "^27.2.3", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-sort-keys-fix": "^1.1.2", | ||
"jest": "^29.5.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
"jest": "^29.6.1", | ||
"jest-environment-jsdom": "^29.6.0", | ||
"jest-fetch-mock-fork": "^3.0.4", | ||
@@ -74,5 +73,7 @@ "jest-runner-eslint": "^2.1.0", | ||
"tsup": "6.7.0", | ||
"typescript": "^5.0.4", | ||
"typescript": "^5.1.6", | ||
"version-from-git": "^1.1.1", | ||
"@solana/rpc-transport": "2.0.0-experimental.4e091b2", | ||
"@solana/keys": "2.0.0-experimental.4ec89a6", | ||
"@solana/rpc-transport": "2.0.0-experimental.4ec89a6", | ||
"@solana/transactions": "2.0.0-experimental.4ec89a6", | ||
"build-scripts": "0.0.0", | ||
@@ -79,0 +80,0 @@ "test-config": "0.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
205120
1
52
2185
28
+ Added@metaplex-foundation/umi-options@0.8.9(transitive)
+ Added@metaplex-foundation/umi-public-keys@0.8.9(transitive)
+ Added@metaplex-foundation/umi-serializers@0.8.9(transitive)
+ Added@metaplex-foundation/umi-serializers-core@0.8.9(transitive)
+ Added@metaplex-foundation/umi-serializers-encodings@0.8.9(transitive)
+ Added@metaplex-foundation/umi-serializers-numbers@0.8.9(transitive)
- Removedbs58@^5.0.0
- Removed@solana/keys@2.0.0-experimental.4e091b2(transitive)
- Removedbase-x@4.0.0(transitive)
- Removedbs58@5.0.0(transitive)