@solana/rpc-api 2.0.0-experimental.d06660c → 2.0.0-experimental.d49ac92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/index.browser.cjs.map +1 -1
  2. package/dist/index.browser.js.map +1 -1
  3. package/dist/index.native.js.map +1 -1
  4. package/dist/index.node.cjs.map +1 -1
  5. package/dist/index.node.js.map +1 -1
  6. package/dist/types/getBlock.d.ts +2 -2
  7. package/dist/types/getBlock.d.ts.map +1 -1
  8. package/dist/types/getEpochSchedule.d.ts +6 -6
  9. package/dist/types/getEpochSchedule.d.ts.map +1 -1
  10. package/dist/types/getInflationGovernor.d.ts +2 -2
  11. package/dist/types/getInflationGovernor.d.ts.map +1 -1
  12. package/dist/types/getProgramAccounts.d.ts +2 -2
  13. package/dist/types/getProgramAccounts.d.ts.map +1 -1
  14. package/dist/types/getRecentPerformanceSamples.d.ts +6 -6
  15. package/dist/types/getRecentPerformanceSamples.d.ts.map +1 -1
  16. package/dist/types/getSignatureStatuses.d.ts +6 -6
  17. package/dist/types/getSignatureStatuses.d.ts.map +1 -1
  18. package/dist/types/getSignaturesForAddress.d.ts +12 -12
  19. package/dist/types/getSignaturesForAddress.d.ts.map +1 -1
  20. package/dist/types/getStakeActivation.d.ts +2 -2
  21. package/dist/types/getStakeActivation.d.ts.map +1 -1
  22. package/dist/types/getSupply.d.ts +2 -2
  23. package/dist/types/getSupply.d.ts.map +1 -1
  24. package/dist/types/getTokenAccountsByDelegate.d.ts +2 -2
  25. package/dist/types/getTokenAccountsByDelegate.d.ts.map +1 -1
  26. package/dist/types/getTokenAccountsByOwner.d.ts +2 -2
  27. package/dist/types/getTokenAccountsByOwner.d.ts.map +1 -1
  28. package/dist/types/getTokenLargestAccounts.d.ts +2 -2
  29. package/dist/types/getTokenLargestAccounts.d.ts.map +1 -1
  30. package/dist/types/getTransaction.d.ts +24 -24
  31. package/dist/types/getTransaction.d.ts.map +1 -1
  32. package/dist/types/getVoteAccounts.d.ts +12 -12
  33. package/dist/types/getVoteAccounts.d.ts.map +1 -1
  34. package/dist/types/index.d.ts +2 -2
  35. package/dist/types/index.d.ts.map +1 -1
  36. package/dist/types/sendTransaction.d.ts +2 -2
  37. package/dist/types/sendTransaction.d.ts.map +1 -1
  38. package/dist/types/simulateTransaction.d.ts +22 -22
  39. package/dist/types/simulateTransaction.d.ts.map +1 -1
  40. package/package.json +16 -16
@@ -3,10 +3,10 @@ import type { RpcApiMethods } from '@solana/rpc-spec';
3
3
  import type { Commitment, Slot } from '@solana/rpc-types';
4
4
  import type { Base64EncodedWireTransaction } from '@solana/transactions';
5
5
  type SendTransactionConfig = Readonly<{
6
- skipPreflight?: boolean;
7
- preflightCommitment?: Commitment;
8
6
  maxRetries?: bigint;
9
7
  minContextSlot?: Slot;
8
+ preflightCommitment?: Commitment;
9
+ skipPreflight?: boolean;
10
10
  }>;
11
11
  type SendTransactionResponse = Signature;
12
12
  export interface SendTransactionApi extends RpcApiMethods {
@@ -1 +1 @@
1
- {"version":3,"file":"sendTransaction.d.ts","sourceRoot":"","sources":["../../src/sendTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEzE,KAAK,qBAAqB,GAAG,QAAQ,CAAC;IAClC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mBAAmB,CAAC,EAAE,UAAU,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,IAAI,CAAC;CACzB,CAAC,CAAC;AAEH,KAAK,uBAAuB,GAAG,SAAS,CAAC;AAEzC,MAAM,WAAW,k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AAC,EAAE,qBAAqB,GAAG;QAAE,QAAQ,EAAE,QAAQ,CAAA;KAAE,GACxD,uBAAuB,CAAC;CAC9B"}
@@ -12,20 +12,20 @@ type SimulateTransactionConfigBase = Readonly<{
12
12
  minContextSlot?: Slot;
13
13
  }>;
14
14
  type SigVerifyAndReplaceRecentBlockhashConfig = Readonly<{
15
- /** if `true` the transaction signatures will be verified (conflicts with `replaceRecentBlockhash`) */
16
- sigVerify: true;
17
- /** if `true` the transaction recent blockhash will be replaced with the most recent blockhash. (conflicts with `sigVerify`) */
18
- replaceRecentBlockhash?: false;
19
- }> | Readonly<{
20
15
  /** if `true` the transaction recent blockhash will be replaced with the most recent blockhash. (conflicts with `sigVerify`) */
21
16
  replaceRecentBlockhash: true;
22
17
  /** if `true` the transaction signatures will be verified (conflicts with `replaceRecentBlockhash`) */
23
18
  sigVerify?: false;
24
19
  }> | Readonly<{
20
+ /** if `true` the transaction recent blockhash will be replaced with the most recent blockhash. (conflicts with `sigVerify`) */
21
+ replaceRecentBlockhash?: false;
25
22
  /** if `true` the transaction signatures will be verified (conflicts with `replaceRecentBlockhash`) */
26
- sigVerify?: false;
23
+ sigVerify: true;
24
+ }> | Readonly<{
27
25
  /** if `true` the transaction recent blockhash will be replaced with the most recent blockhash. (conflicts with `sigVerify`) */
28
26
  replaceRecentBlockhash?: false;
27
+ /** if `true` the transaction signatures will be verified (conflicts with `replaceRecentBlockhash`) */
28
+ sigVerify?: false;
29
29
  }>;
30
30
  type AccountsConfigWithBase64EncodingZstdCompression = Readonly<{
31
31
  accounts: {
@@ -56,15 +56,15 @@ type SimulateTransactionApiResponseBase = SolanaRpcResponse<{
56
56
  err: TransactionError | null;
57
57
  /** Array of log messages the transaction instructions output during execution, null if simulation failed before the transaction was able to execute (for example due to an invalid blockhash or signature verification failure) */
58
58
  logs: string[] | null;
59
- /** The number of compute budget units consumed during the processing of this transaction */
60
- unitsConsumed?: U64UnsafeBeyond2Pow53Minus1;
61
59
  /** The most-recent return data generated by an instruction in the transaction */
62
60
  returnData: Readonly<{
63
- /** The program that generated the return data */
64
- programId: Address;
65
61
  /** The return data itself, as base-64 encoded binary data */
66
62
  data: Base64EncodedDataResponse;
63
+ /** The program that generated the return data */
64
+ programId: Address;
67
65
  }> | null;
66
+ /** The number of compute budget units consumed during the processing of this transaction */
67
+ unitsConsumed?: U64UnsafeBeyond2Pow53Minus1;
68
68
  }>;
69
69
  type SimulateTransactionApiResponseWithAccounts<T extends AccountInfoBase> = SolanaRpcResponse<{
70
70
  /** Array of accounts with the same length as the `accounts.addresses` array in the request */
@@ -72,31 +72,31 @@ type SimulateTransactionApiResponseWithAccounts<T extends AccountInfoBase> = Sol
72
72
  }>;
73
73
  export interface SimulateTransactionApi extends RpcApiMethods {
74
74
  /** @deprecated Set `encoding` to `'base64'` when calling this method */
75
- simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config: SimulateTransactionConfigBase & SigVerifyAndReplaceRecentBlockhashConfig & AccountsConfigWithBase64Encoding): SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedData>;
75
+ simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config: AccountsConfigWithBase64Encoding & SigVerifyAndReplaceRecentBlockhashConfig & SimulateTransactionConfigBase): SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedData>;
76
76
  /** @deprecated Set `encoding` to `'base64'` when calling this method */
77
- simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config: SimulateTransactionConfigBase & SigVerifyAndReplaceRecentBlockhashConfig & AccountsConfigWithBase64EncodingZstdCompression): SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData>;
77
+ simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config: AccountsConfigWithBase64EncodingZstdCompression & SigVerifyAndReplaceRecentBlockhashConfig & SimulateTransactionConfigBase): SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData>;
78
78
  /** @deprecated Set `encoding` to `'base64'` when calling this method */
79
- simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config: SimulateTransactionConfigBase & SigVerifyAndReplaceRecentBlockhashConfig & AccountsConfigWithJsonParsedEncoding): SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithJsonData>;
79
+ simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config: AccountsConfigWithJsonParsedEncoding & SigVerifyAndReplaceRecentBlockhashConfig & SimulateTransactionConfigBase): SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithJsonData>;
80
80
  /** @deprecated Set `encoding` to `'base64'` when calling this method */
81
- simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config?: SimulateTransactionConfigBase & SigVerifyAndReplaceRecentBlockhashConfig): SimulateTransactionApiResponseBase & {
81
+ simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config?: SigVerifyAndReplaceRecentBlockhashConfig & SimulateTransactionConfigBase): SimulateTransactionApiResponseBase & {
82
82
  accounts: null;
83
83
  };
84
84
  /** Simulate sending a transaction */
85
- simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: SimulateTransactionConfigBase & {
85
+ simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: AccountsConfigWithBase64Encoding & SigVerifyAndReplaceRecentBlockhashConfig & SimulateTransactionConfigBase & {
86
86
  encoding: 'base64';
87
- } & SigVerifyAndReplaceRecentBlockhashConfig & AccountsConfigWithBase64Encoding): SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedData>;
87
+ }): SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedData>;
88
88
  /** Simulate sending a transaction */
89
- simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: SimulateTransactionConfigBase & {
89
+ simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: AccountsConfigWithBase64EncodingZstdCompression & SigVerifyAndReplaceRecentBlockhashConfig & SimulateTransactionConfigBase & {
90
90
  encoding: 'base64';
91
- } & SigVerifyAndReplaceRecentBlockhashConfig & AccountsConfigWithBase64EncodingZstdCompression): SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData>;
91
+ }): SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData>;
92
92
  /** Simulate sending a transaction */
93
- simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: SimulateTransactionConfigBase & {
93
+ simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: AccountsConfigWithJsonParsedEncoding & SigVerifyAndReplaceRecentBlockhashConfig & SimulateTransactionConfigBase & {
94
94
  encoding: 'base64';
95
- } & SigVerifyAndReplaceRecentBlockhashConfig & AccountsConfigWithJsonParsedEncoding): SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithJsonData>;
95
+ }): SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithJsonData>;
96
96
  /** Simulate sending a transaction */
97
- simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: SimulateTransactionConfigBase & {
97
+ simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: SigVerifyAndReplaceRecentBlockhashConfig & SimulateTransactionConfigBase & {
98
98
  encoding: 'base64';
99
- } & SigVerifyAndReplaceRecentBlockhashConfig): SimulateTransactionApiResponseBase & {
99
+ }): SimulateTransactionApiResponseBase & {
100
100
  accounts: null;
101
101
  };
102
102
  }
@@ -1 +1 @@
1
- {"version":3,"file":"simulateTransaction.d.ts","sourceRoot":"","sources":["../../src/simulateTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EACR,eAAe,EACf,gCAAgC,EAChC,8CAA8C,EAC9C,uBAAuB,EACvB,kBAAkB,EAClB,yBAAyB,EACzB,UAAU,EACV,IAAI,EACJ,iBAAiB,EACjB,gBAAgB,EAChB,2BAA2B,EAC9B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEzE,KAAK,6BAA6B,GAAG,QAAQ,CAAC;IAC1C;;;SAGK;IACL,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,4DAA4D;IAC5D,cAAc,CAAC,EAAE,IAAI,CAAC;CACzB,CAAC,CAAC;AAGH,KAAK,wCAAwC,GACvC,QAAQ,CAAC;IACL,sGAAsG;IACtG,SAAS,EAAE,IAAI,CAAC;IAChB,+HAA+H;IAC/H,sBAAsB,CAAC,EAAE,KAAK,CAAC;CAClC,CAAC,GACF,QAAQ,CAAC;IACL,+HAA+H;IAC/H,sBAAsB,EAAE,IAAI,CAAC;IAC7B,sGAAsG;IACtG,SAAS,CAAC,EAAE,KAAK,CAAC;CACrB,CAAC,GACF,QAAQ,CAAC;IACL,sGAAsG;IACtG,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,+HAA+H;IAC/H,sBAAsB,CAAC,EAAE,KAAK,CAAC;CAClC,CAAC,CAAC;AAET,KAAK,+CAA+C,GAAG,QAAQ,CAAC;IAC5D,QAAQ,EAAE;QACN,uCAAuC;QACvC,SAAS,EAAE,OAAO,EAAE,CAAC;QACrB,yCAAyC;QACzC,QAAQ,EAAE,aAAa,CAAC;KAC3B,CAAC;CACL,CA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AG,uBAAuB,CAAC,CAAC;IAE1F,qCAAqC;IACrC,mBAAmB,CACf,4BAA4B,EAAE,4BAA4B,EAC1D,MAAM,EAAE,wCAAwC,GAAG,6BAA6B,GAAG;QAAE,QAAQ,EAAE,QAAQ,CAAA;KAAE,GAC1G,kCAAkC,GAAG;QAAE,QAAQ,EAAE,IAAI,CAAA;KAAE,CAAC;CAC9D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/rpc-api",
3
- "version": "2.0.0-experimental.d06660c",
3
+ "version": "2.0.0-experimental.d49ac92",
4
4
  "description": "Defines all default Solana RPC methods as types",
5
5
  "exports": {
6
6
  "browser": {
@@ -46,15 +46,15 @@
46
46
  "maintained node versions"
47
47
  ],
48
48
  "dependencies": {
49
- "@solana/addresses": "2.0.0-experimental.d06660c",
50
- "@solana/codecs-core": "2.0.0-experimental.d06660c",
51
- "@solana/codecs-strings": "2.0.0-experimental.d06660c",
52
- "@solana/keys": "2.0.0-experimental.d06660c",
53
- "@solana/rpc-parsed-types": "2.0.0-experimental.d06660c",
54
- "@solana/rpc-spec": "2.0.0-experimental.d06660c",
55
- "@solana/rpc-transformers": "2.0.0-experimental.d06660c",
56
- "@solana/rpc-types": "2.0.0-experimental.d06660c",
57
- "@solana/transactions": "2.0.0-experimental.d06660c"
49
+ "@solana/addresses": "2.0.0-experimental.d49ac92",
50
+ "@solana/codecs-core": "2.0.0-experimental.d49ac92",
51
+ "@solana/codecs-strings": "2.0.0-experimental.d49ac92",
52
+ "@solana/keys": "2.0.0-experimental.d49ac92",
53
+ "@solana/rpc-parsed-types": "2.0.0-experimental.d49ac92",
54
+ "@solana/rpc-spec": "2.0.0-experimental.d49ac92",
55
+ "@solana/rpc-transformers": "2.0.0-experimental.d49ac92",
56
+ "@solana/rpc-types": "2.0.0-experimental.d49ac92",
57
+ "@solana/transactions": "2.0.0-experimental.d49ac92"
58
58
  },
59
59
  "bundlewatch": {
60
60
  "defaultCompression": "gzip",
@@ -66,18 +66,18 @@
66
66
  },
67
67
  "scripts": {
68
68
  "compile:js": "tsup --config build-scripts/tsup.config.package.ts",
69
- "compile:typedefs": "tsc -p ./tsconfig.declarations.json && node node_modules/@solana/build-scripts/add-js-extension-to-types.mjs",
70
- "dev": "jest -c node_modules/@solana/test-config/jest-dev.config.ts --globalSetup @solana/test-config/test-validator-setup.js --globalTeardown @solana/test-config/test-validator-teardown.js --rootDir . --watch",
69
+ "compile:typedefs": "tsc -p ./tsconfig.declarations.json && node ../../node_modules/@solana/build-scripts/add-js-extension-to-types.mjs",
70
+ "dev": "jest -c ../../node_modules/@solana/test-config/jest-dev.config.ts --globalSetup @solana/test-config/test-validator-setup.js --globalTeardown @solana/test-config/test-validator-teardown.js --rootDir . --watch",
71
71
  "publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || pnpm publish --tag experimental --access public --no-git-checks",
72
72
  "publish-packages": "pnpm prepublishOnly && pnpm publish-impl",
73
73
  "style:fix": "pnpm eslint --fix src/* && pnpm prettier -w src/* package.json",
74
- "test:lint": "jest -c node_modules/@solana/test-config/jest-lint.config.ts --rootDir . --silent",
75
- "test:prettier": "jest -c node_modules/@solana/test-config/jest-prettier.config.ts --rootDir . --silent",
74
+ "test:lint": "jest -c ../../node_modules/@solana/test-config/jest-lint.config.ts --rootDir . --silent",
75
+ "test:prettier": "jest -c ../../node_modules/@solana/test-config/jest-prettier.config.ts --rootDir . --silent",
76
76
  "test:treeshakability:browser": "agadoo dist/index.browser.js",
77
77
  "test:treeshakability:native": "agadoo dist/index.native.js",
78
78
  "test:treeshakability:node": "agadoo dist/index.node.js",
79
79
  "test:typecheck": "tsc --noEmit",
80
- "test:unit:browser": "jest -c node_modules/@solana/test-config/jest-unit.config.browser.ts --globalSetup @solana/test-config/test-validator-setup.js --globalTeardown @solana/test-config/test-validator-teardown.js --rootDir . --silent",
81
- "test:unit:node": "jest -c node_modules/@solana/test-config/jest-unit.config.node.ts --globalSetup @solana/test-config/test-validator-setup.js --globalTeardown @solana/test-config/test-validator-teardown.js --rootDir . --silent"
80
+ "test:unit:browser": "jest -c ../../node_modules/@solana/test-config/jest-unit.config.browser.ts --globalSetup @solana/test-config/test-validator-setup.js --globalTeardown @solana/test-config/test-validator-teardown.js --rootDir . --silent",
81
+ "test:unit:node": "jest -c ../../node_modules/@solana/test-config/jest-unit.config.node.ts --globalSetup @solana/test-config/test-validator-setup.js --globalTeardown @solana/test-config/test-validator-teardown.js --rootDir . --silent"
82
82
  }
83
83
  }