@thru/sdk 0.2.22 → 0.2.23
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.
- package/README.abi.md +10 -0
- package/dist/abi/index.cjs +156 -7
- package/dist/abi/index.cjs.map +1 -1
- package/dist/abi/index.d.cts +38 -3
- package/dist/abi/index.d.ts +38 -3
- package/dist/abi/index.js +155 -8
- package/dist/abi/index.js.map +1 -1
- package/dist/abi/wasm/bundler/abi_reflect_wasm_bg.wasm +0 -0
- package/dist/abi/wasm/node/abi_reflect_wasm_bg.wasm +0 -0
- package/dist/abi/wasm/web/abi_reflect_wasm_bg.wasm +0 -0
- package/dist/{chunk-YQDWOMNO.js → chunk-7IYMAAGA.js} +2 -2
- package/dist/{chunk-YQDWOMNO.js.map → chunk-7IYMAAGA.js.map} +1 -1
- package/dist/{chunk-CVBQ4UPL.js → chunk-UFG6YDCG.js} +3 -3
- package/dist/{chunk-CVBQ4UPL.js.map → chunk-UFG6YDCG.js.map} +1 -1
- package/dist/{client-worIo0a3.d.ts → client-BmDvZzhb.d.ts} +1 -1
- package/dist/{client-Cfi7zRLm.d.cts → client-DjifFmSR.d.cts} +1 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +2 -2
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/proto/index.cjs.map +1 -1
- package/dist/proto/index.d.cts +2 -2
- package/dist/proto/index.d.ts +2 -2
- package/dist/proto/index.js +1 -1
- package/dist/sdk.cjs.map +1 -1
- package/dist/sdk.d.cts +3 -3
- package/dist/sdk.d.ts +3 -3
- package/dist/sdk.js +2 -2
- package/dist/{streaming_service_pb-DvCdJiCr.d.ts → streaming_service_pb-CqoILI8i.d.cts} +10 -0
- package/dist/{streaming_service_pb-DvCdJiCr.d.cts → streaming_service_pb-CqoILI8i.d.ts} +10 -0
- package/package.json +1 -1
package/dist/sdk.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as BuildTransactionParams, ah as Transaction, Z as SignedTransactionResult } from './client-
|
|
2
|
-
export { A as Account, a as AccountNonceObserver, b as AccountNonceObserverOptions, c as AccountQueryOptions, B as BatchSendAndTrackOptions, d as BatchSendAndTrackResult, e as BatchSendTransactionsOptions, f as BatchTrackStatus, g as Block, h as BlockList, i as BlockQueryOptions, j as BlockSelector, k as BuildAndSignTransactionOptions, l as BuildTransactionOptions, C as ChainEvent, n as CreateAccountOptions, D as DeriveAddressInput, o as DeriveAddressResult, p as DeriveProgramAddressOptions, q as DeriveProgramAddressResult, F as FeePayerNonceAllocation, r as FeePayerNonceManager, s as FeePayerNonceManagerOptions, t as Filter, u as FilterParamValue, G as GenerateStateProofOptions, v as GeneratedKeyPair, w as GetEventOptions, x as GetStateRootsOptions, H as HeightSnapshot, y as HeightSnapshotParams, I as InstructionContext, z as InstructionData, L as ListAccountsOptions, E as ListBlocksOptions, J as ListSlotMetricsOptions, K as ListTransactionsForAccountOptions, P as PageRequest, M as PageRequestParams, N as PageResponse, O as PageResponseParams, Q as Pubkey, R as PubkeyInput, S as RawAccountQueryOptions, T as RawBlockQueryOptions, U as RawTransactionQueryOptions, V as SendAndTrackTxnOptions, W as SendAndTrackTxnUpdate, X as Signature, Y as SignatureInput, _ as StateProof, $ as StreamAccountUpdate, a0 as StreamAccountUpdatesOptions, a1 as StreamAccountUpdatesResult, a2 as StreamBlocksOptions, a3 as StreamBlocksResult, a4 as StreamEventsOptions, a5 as StreamEventsResult, a6 as StreamNodeRecordsOptions, a7 as StreamNodeRecordsResult, a8 as StreamSlotMetricsOptions, a9 as StreamSlotMetricsResult, aa as StreamTransactionUpdate, ab as StreamTransactionsOptions, ac as StreamTransactionsResult, ad as Thru, ae as ThruClientConfig, af as TrackTransactionOptions, ag as TrackTransactionUpdate, ai as TransactionAccountsConfig, aj as TransactionExecutionEvent, ak as TransactionExecutionResultData, al as TransactionFeePayerConfig, am as TransactionHeaderConfig, an as TransactionList, ao as TransactionQueryOptions, ap as TransactionStatusSnapshot, aq as VersionContextInput, ar as VersionInfo, as as WaitForNonceOptions, at as accounts, au as blocks, av as chain, aw as collectStream, ax as consensus, ay as createThruClient, az as deriveAddress, aA as deriveProgramAddress, aB as events, aC as firstStreamValue, aD as forEachStreamValue, aE as height, aF as keys, aG as node, aH as nonce, aI as proofs, aJ as slots, aK as streaming, aL as transactions } from './client-
|
|
3
|
-
export { l as AccountView, E as BlockView, L as ConsensusStatus, V as ExecutionStatus, Z as FilterParamValueSchema, _ as FilterSchema, cr as SubmissionStatus, cJ as TransactionView, cL as TransactionVmError } from './streaming_service_pb-
|
|
1
|
+
import { m as BuildTransactionParams, ah as Transaction, Z as SignedTransactionResult } from './client-DjifFmSR.cjs';
|
|
2
|
+
export { A as Account, a as AccountNonceObserver, b as AccountNonceObserverOptions, c as AccountQueryOptions, B as BatchSendAndTrackOptions, d as BatchSendAndTrackResult, e as BatchSendTransactionsOptions, f as BatchTrackStatus, g as Block, h as BlockList, i as BlockQueryOptions, j as BlockSelector, k as BuildAndSignTransactionOptions, l as BuildTransactionOptions, C as ChainEvent, n as CreateAccountOptions, D as DeriveAddressInput, o as DeriveAddressResult, p as DeriveProgramAddressOptions, q as DeriveProgramAddressResult, F as FeePayerNonceAllocation, r as FeePayerNonceManager, s as FeePayerNonceManagerOptions, t as Filter, u as FilterParamValue, G as GenerateStateProofOptions, v as GeneratedKeyPair, w as GetEventOptions, x as GetStateRootsOptions, H as HeightSnapshot, y as HeightSnapshotParams, I as InstructionContext, z as InstructionData, L as ListAccountsOptions, E as ListBlocksOptions, J as ListSlotMetricsOptions, K as ListTransactionsForAccountOptions, P as PageRequest, M as PageRequestParams, N as PageResponse, O as PageResponseParams, Q as Pubkey, R as PubkeyInput, S as RawAccountQueryOptions, T as RawBlockQueryOptions, U as RawTransactionQueryOptions, V as SendAndTrackTxnOptions, W as SendAndTrackTxnUpdate, X as Signature, Y as SignatureInput, _ as StateProof, $ as StreamAccountUpdate, a0 as StreamAccountUpdatesOptions, a1 as StreamAccountUpdatesResult, a2 as StreamBlocksOptions, a3 as StreamBlocksResult, a4 as StreamEventsOptions, a5 as StreamEventsResult, a6 as StreamNodeRecordsOptions, a7 as StreamNodeRecordsResult, a8 as StreamSlotMetricsOptions, a9 as StreamSlotMetricsResult, aa as StreamTransactionUpdate, ab as StreamTransactionsOptions, ac as StreamTransactionsResult, ad as Thru, ae as ThruClientConfig, af as TrackTransactionOptions, ag as TrackTransactionUpdate, ai as TransactionAccountsConfig, aj as TransactionExecutionEvent, ak as TransactionExecutionResultData, al as TransactionFeePayerConfig, am as TransactionHeaderConfig, an as TransactionList, ao as TransactionQueryOptions, ap as TransactionStatusSnapshot, aq as VersionContextInput, ar as VersionInfo, as as WaitForNonceOptions, at as accounts, au as blocks, av as chain, aw as collectStream, ax as consensus, ay as createThruClient, az as deriveAddress, aA as deriveProgramAddress, aB as events, aC as firstStreamValue, aD as forEachStreamValue, aE as height, aF as keys, aG as node, aH as nonce, aI as proofs, aJ as slots, aK as streaming, aL as transactions } from './client-DjifFmSR.cjs';
|
|
3
|
+
export { l as AccountView, E as BlockView, L as ConsensusStatus, V as ExecutionStatus, Z as FilterParamValueSchema, _ as FilterSchema, cr as SubmissionStatus, cJ as TransactionView, cL as TransactionVmError } from './streaming_service_pb-CqoILI8i.cjs';
|
|
4
4
|
import '@connectrpc/connect';
|
|
5
5
|
import '@connectrpc/connect-web';
|
|
6
6
|
import '@bufbuild/protobuf/wkt';
|
package/dist/sdk.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as BuildTransactionParams, ah as Transaction, Z as SignedTransactionResult } from './client-
|
|
2
|
-
export { A as Account, a as AccountNonceObserver, b as AccountNonceObserverOptions, c as AccountQueryOptions, B as BatchSendAndTrackOptions, d as BatchSendAndTrackResult, e as BatchSendTransactionsOptions, f as BatchTrackStatus, g as Block, h as BlockList, i as BlockQueryOptions, j as BlockSelector, k as BuildAndSignTransactionOptions, l as BuildTransactionOptions, C as ChainEvent, n as CreateAccountOptions, D as DeriveAddressInput, o as DeriveAddressResult, p as DeriveProgramAddressOptions, q as DeriveProgramAddressResult, F as FeePayerNonceAllocation, r as FeePayerNonceManager, s as FeePayerNonceManagerOptions, t as Filter, u as FilterParamValue, G as GenerateStateProofOptions, v as GeneratedKeyPair, w as GetEventOptions, x as GetStateRootsOptions, H as HeightSnapshot, y as HeightSnapshotParams, I as InstructionContext, z as InstructionData, L as ListAccountsOptions, E as ListBlocksOptions, J as ListSlotMetricsOptions, K as ListTransactionsForAccountOptions, P as PageRequest, M as PageRequestParams, N as PageResponse, O as PageResponseParams, Q as Pubkey, R as PubkeyInput, S as RawAccountQueryOptions, T as RawBlockQueryOptions, U as RawTransactionQueryOptions, V as SendAndTrackTxnOptions, W as SendAndTrackTxnUpdate, X as Signature, Y as SignatureInput, _ as StateProof, $ as StreamAccountUpdate, a0 as StreamAccountUpdatesOptions, a1 as StreamAccountUpdatesResult, a2 as StreamBlocksOptions, a3 as StreamBlocksResult, a4 as StreamEventsOptions, a5 as StreamEventsResult, a6 as StreamNodeRecordsOptions, a7 as StreamNodeRecordsResult, a8 as StreamSlotMetricsOptions, a9 as StreamSlotMetricsResult, aa as StreamTransactionUpdate, ab as StreamTransactionsOptions, ac as StreamTransactionsResult, ad as Thru, ae as ThruClientConfig, af as TrackTransactionOptions, ag as TrackTransactionUpdate, ai as TransactionAccountsConfig, aj as TransactionExecutionEvent, ak as TransactionExecutionResultData, al as TransactionFeePayerConfig, am as TransactionHeaderConfig, an as TransactionList, ao as TransactionQueryOptions, ap as TransactionStatusSnapshot, aq as VersionContextInput, ar as VersionInfo, as as WaitForNonceOptions, at as accounts, au as blocks, av as chain, aw as collectStream, ax as consensus, ay as createThruClient, az as deriveAddress, aA as deriveProgramAddress, aB as events, aC as firstStreamValue, aD as forEachStreamValue, aE as height, aF as keys, aG as node, aH as nonce, aI as proofs, aJ as slots, aK as streaming, aL as transactions } from './client-
|
|
3
|
-
export { l as AccountView, E as BlockView, L as ConsensusStatus, V as ExecutionStatus, Z as FilterParamValueSchema, _ as FilterSchema, cr as SubmissionStatus, cJ as TransactionView, cL as TransactionVmError } from './streaming_service_pb-
|
|
1
|
+
import { m as BuildTransactionParams, ah as Transaction, Z as SignedTransactionResult } from './client-BmDvZzhb.js';
|
|
2
|
+
export { A as Account, a as AccountNonceObserver, b as AccountNonceObserverOptions, c as AccountQueryOptions, B as BatchSendAndTrackOptions, d as BatchSendAndTrackResult, e as BatchSendTransactionsOptions, f as BatchTrackStatus, g as Block, h as BlockList, i as BlockQueryOptions, j as BlockSelector, k as BuildAndSignTransactionOptions, l as BuildTransactionOptions, C as ChainEvent, n as CreateAccountOptions, D as DeriveAddressInput, o as DeriveAddressResult, p as DeriveProgramAddressOptions, q as DeriveProgramAddressResult, F as FeePayerNonceAllocation, r as FeePayerNonceManager, s as FeePayerNonceManagerOptions, t as Filter, u as FilterParamValue, G as GenerateStateProofOptions, v as GeneratedKeyPair, w as GetEventOptions, x as GetStateRootsOptions, H as HeightSnapshot, y as HeightSnapshotParams, I as InstructionContext, z as InstructionData, L as ListAccountsOptions, E as ListBlocksOptions, J as ListSlotMetricsOptions, K as ListTransactionsForAccountOptions, P as PageRequest, M as PageRequestParams, N as PageResponse, O as PageResponseParams, Q as Pubkey, R as PubkeyInput, S as RawAccountQueryOptions, T as RawBlockQueryOptions, U as RawTransactionQueryOptions, V as SendAndTrackTxnOptions, W as SendAndTrackTxnUpdate, X as Signature, Y as SignatureInput, _ as StateProof, $ as StreamAccountUpdate, a0 as StreamAccountUpdatesOptions, a1 as StreamAccountUpdatesResult, a2 as StreamBlocksOptions, a3 as StreamBlocksResult, a4 as StreamEventsOptions, a5 as StreamEventsResult, a6 as StreamNodeRecordsOptions, a7 as StreamNodeRecordsResult, a8 as StreamSlotMetricsOptions, a9 as StreamSlotMetricsResult, aa as StreamTransactionUpdate, ab as StreamTransactionsOptions, ac as StreamTransactionsResult, ad as Thru, ae as ThruClientConfig, af as TrackTransactionOptions, ag as TrackTransactionUpdate, ai as TransactionAccountsConfig, aj as TransactionExecutionEvent, ak as TransactionExecutionResultData, al as TransactionFeePayerConfig, am as TransactionHeaderConfig, an as TransactionList, ao as TransactionQueryOptions, ap as TransactionStatusSnapshot, aq as VersionContextInput, ar as VersionInfo, as as WaitForNonceOptions, at as accounts, au as blocks, av as chain, aw as collectStream, ax as consensus, ay as createThruClient, az as deriveAddress, aA as deriveProgramAddress, aB as events, aC as firstStreamValue, aD as forEachStreamValue, aE as height, aF as keys, aG as node, aH as nonce, aI as proofs, aJ as slots, aK as streaming, aL as transactions } from './client-BmDvZzhb.js';
|
|
3
|
+
export { l as AccountView, E as BlockView, L as ConsensusStatus, V as ExecutionStatus, Z as FilterParamValueSchema, _ as FilterSchema, cr as SubmissionStatus, cJ as TransactionView, cL as TransactionVmError } from './streaming_service_pb-CqoILI8i.js';
|
|
4
4
|
import '@connectrpc/connect';
|
|
5
5
|
import '@connectrpc/connect-web';
|
|
6
6
|
import '@bufbuild/protobuf/wkt';
|
package/dist/sdk.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Account, AccountNonceObserver, Block, ChainEvent, FeePayerNonceManager, Filter, FilterParamValue, HeightSnapshot, PageRequest, PageResponse, Pubkey, Signature, SignatureDomain, StateProof, Transaction, TransactionBuilder, TransactionStatusSnapshot, VersionInfo, accounts_exports as accounts, blocks_exports as blocks, chain_exports as chain, collectStream, consensus_exports as consensus, createThruClient, deriveAddress, deriveProgramAddress, events_exports as events, firstStreamValue, forEachStreamValue, height_exports as height, keys_exports as keys, node_exports as node, nonce_exports as nonce, proofs_exports as proofs, signWithDomain, slots_exports as slots, streaming_exports as streaming, transactions_exports as transactions, verifyWithDomain } from './chunk-
|
|
2
|
-
export { AccountView, BlockView, ConsensusStatus, ExecutionStatus, FilterParamValueSchema, FilterSchema, SubmissionStatus, TransactionView, TransactionVmError } from './chunk-
|
|
1
|
+
export { Account, AccountNonceObserver, Block, ChainEvent, FeePayerNonceManager, Filter, FilterParamValue, HeightSnapshot, PageRequest, PageResponse, Pubkey, Signature, SignatureDomain, StateProof, Transaction, TransactionBuilder, TransactionStatusSnapshot, VersionInfo, accounts_exports as accounts, blocks_exports as blocks, chain_exports as chain, collectStream, consensus_exports as consensus, createThruClient, deriveAddress, deriveProgramAddress, events_exports as events, firstStreamValue, forEachStreamValue, height_exports as height, keys_exports as keys, node_exports as node, nonce_exports as nonce, proofs_exports as proofs, signWithDomain, slots_exports as slots, streaming_exports as streaming, transactions_exports as transactions, verifyWithDomain } from './chunk-UFG6YDCG.js';
|
|
2
|
+
export { AccountView, BlockView, ConsensusStatus, ExecutionStatus, FilterParamValueSchema, FilterSchema, SubmissionStatus, TransactionView, TransactionVmError } from './chunk-7IYMAAGA.js';
|
|
3
3
|
import './chunk-RL3Q6FDE.js';
|
|
4
4
|
import './chunk-UDIXYJXC.js';
|
|
5
5
|
import './chunk-NSBPE2FW.js';
|
|
@@ -4158,6 +4158,16 @@ declare const StreamBlocksResponseSchema: GenMessage<StreamBlocksResponse>;
|
|
|
4158
4158
|
*/
|
|
4159
4159
|
type StreamAccountUpdatesRequest = Message<"thru.services.v1.StreamAccountUpdatesRequest"> & {
|
|
4160
4160
|
/**
|
|
4161
|
+
* Projects delivered snapshots and updates to the requested fields. The
|
|
4162
|
+
* server strips fields the view excludes before sending: META_ONLY omits
|
|
4163
|
+
* Account.data and AccountUpdate.page; DATA_ONLY omits the meta; PUBKEY_ONLY
|
|
4164
|
+
* delivers only the address. On AccountUpdate deltas the slot and the
|
|
4165
|
+
* AccountUpdate.delete flag are always preserved regardless of view, so every
|
|
4166
|
+
* view can detect account deletion; without delete a deletion would be
|
|
4167
|
+
* indistinguishable from a page-less update.
|
|
4168
|
+
* ACCOUNT_VIEW_UNSPECIFIED defaults to ACCOUNT_VIEW_FULL, matching the unary
|
|
4169
|
+
* GetAccount RPC.
|
|
4170
|
+
*
|
|
4161
4171
|
* @generated from field: optional thru.core.v1.AccountView view = 2;
|
|
4162
4172
|
*/
|
|
4163
4173
|
view?: AccountView | undefined;
|
|
@@ -4158,6 +4158,16 @@ declare const StreamBlocksResponseSchema: GenMessage<StreamBlocksResponse>;
|
|
|
4158
4158
|
*/
|
|
4159
4159
|
type StreamAccountUpdatesRequest = Message<"thru.services.v1.StreamAccountUpdatesRequest"> & {
|
|
4160
4160
|
/**
|
|
4161
|
+
* Projects delivered snapshots and updates to the requested fields. The
|
|
4162
|
+
* server strips fields the view excludes before sending: META_ONLY omits
|
|
4163
|
+
* Account.data and AccountUpdate.page; DATA_ONLY omits the meta; PUBKEY_ONLY
|
|
4164
|
+
* delivers only the address. On AccountUpdate deltas the slot and the
|
|
4165
|
+
* AccountUpdate.delete flag are always preserved regardless of view, so every
|
|
4166
|
+
* view can detect account deletion; without delete a deletion would be
|
|
4167
|
+
* indistinguishable from a page-less update.
|
|
4168
|
+
* ACCOUNT_VIEW_UNSPECIFIED defaults to ACCOUNT_VIEW_FULL, matching the unary
|
|
4169
|
+
* GetAccount RPC.
|
|
4170
|
+
*
|
|
4161
4171
|
* @generated from field: optional thru.core.v1.AccountView view = 2;
|
|
4162
4172
|
*/
|
|
4163
4173
|
view?: AccountView | undefined;
|