@mysten/sui 2.39.0 → 3.0.0
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/CHANGELOG.md +162 -0
- package/README.md +5 -188
- package/dist/bcs/bcs.d.mts +6 -6
- package/dist/bcs/bcs.d.mts.map +1 -1
- package/dist/bcs/bcs.mjs +49 -22
- package/dist/bcs/bcs.mjs.map +1 -1
- package/dist/bcs/effects.mjs +49 -20
- package/dist/bcs/effects.mjs.map +1 -1
- package/dist/bcs/index.d.mts +1441 -624
- package/dist/bcs/index.d.mts.map +1 -1
- package/dist/bcs/index.mjs +2 -1
- package/dist/bcs/index.mjs.map +1 -1
- package/dist/bcs/transactions.d.mts +1059 -0
- package/dist/bcs/transactions.d.mts.map +1 -0
- package/dist/bcs/transactions.mjs +33 -14
- package/dist/bcs/transactions.mjs.map +1 -1
- package/dist/bcs/types.d.mts +6 -1
- package/dist/bcs/types.d.mts.map +1 -1
- package/dist/client/core-resolver.mjs +4 -4
- package/dist/client/core-resolver.mjs.map +1 -1
- package/dist/client/core.d.mts +55 -4
- package/dist/client/core.d.mts.map +1 -1
- package/dist/client/core.mjs +98 -1
- package/dist/client/core.mjs.map +1 -1
- package/dist/client/errors.mjs +11 -1
- package/dist/client/errors.mjs.map +1 -1
- package/dist/client/index.d.mts +4 -2
- package/dist/client/index.mjs +5 -2
- package/dist/client/mvr.d.mts +12 -2
- package/dist/client/mvr.d.mts.map +1 -1
- package/dist/client/mvr.mjs +34 -13
- package/dist/client/mvr.mjs.map +1 -1
- package/dist/client/query-filters.mjs +80 -76
- package/dist/client/query-filters.mjs.map +1 -1
- package/dist/client/stream/adapter.d.mts +102 -0
- package/dist/client/stream/adapter.d.mts.map +1 -0
- package/dist/client/stream/errors.d.mts +14 -0
- package/dist/client/stream/errors.d.mts.map +1 -0
- package/dist/client/stream/errors.mjs +25 -0
- package/dist/client/stream/errors.mjs.map +1 -0
- package/dist/client/stream/filter.mjs +18 -0
- package/dist/client/stream/filter.mjs.map +1 -0
- package/dist/client/stream/follow.mjs +48 -0
- package/dist/client/stream/follow.mjs.map +1 -0
- package/dist/client/stream/index.d.mts +4 -0
- package/dist/client/stream/pager.mjs +123 -0
- package/dist/client/stream/pager.mjs.map +1 -0
- package/dist/client/stream/plan.mjs +79 -0
- package/dist/client/stream/plan.mjs.map +1 -0
- package/dist/client/stream/position.d.mts +30 -0
- package/dist/client/stream/position.d.mts.map +1 -0
- package/dist/client/stream/position.mjs +121 -0
- package/dist/client/stream/position.mjs.map +1 -0
- package/dist/client/stream/run.d.mts +2 -0
- package/dist/client/stream/run.mjs +99 -0
- package/dist/client/stream/run.mjs.map +1 -0
- package/dist/client/stream/session.mjs +205 -0
- package/dist/client/stream/session.mjs.map +1 -0
- package/dist/client/stream/status.mjs +47 -0
- package/dist/client/stream/status.mjs.map +1 -0
- package/dist/client/stream/token.mjs +80 -0
- package/dist/client/stream/token.mjs.map +1 -0
- package/dist/client/transaction-data.d.mts +12 -0
- package/dist/client/transaction-data.d.mts.map +1 -0
- package/dist/client/transaction-data.mjs +469 -0
- package/dist/client/transaction-data.mjs.map +1 -0
- package/dist/client/transaction-resolver.mjs +102 -58
- package/dist/client/transaction-resolver.mjs.map +1 -1
- package/dist/client/types.d.mts +560 -240
- package/dist/client/types.d.mts.map +1 -1
- package/dist/client/utils.d.mts +3 -1
- package/dist/client/utils.d.mts.map +1 -1
- package/dist/client/utils.mjs +91 -26
- package/dist/client/utils.mjs.map +1 -1
- package/dist/cryptography/index.d.mts +1 -1
- package/dist/cryptography/keypair.d.mts +1 -1
- package/dist/cryptography/publickey.d.mts +11 -0
- package/dist/cryptography/publickey.d.mts.map +1 -1
- package/dist/cryptography/publickey.mjs +12 -1
- package/dist/cryptography/publickey.mjs.map +1 -1
- package/dist/cryptography/signature.d.mts +8 -8
- package/dist/cryptography/signature.mjs +18 -7
- package/dist/cryptography/signature.mjs.map +1 -1
- package/dist/graphql/client.d.mts +51 -35
- package/dist/graphql/client.d.mts.map +1 -1
- package/dist/graphql/client.mjs +125 -69
- package/dist/graphql/client.mjs.map +1 -1
- package/dist/graphql/core.d.mts +14 -9
- package/dist/graphql/core.d.mts.map +1 -1
- package/dist/graphql/core.mjs +293 -117
- package/dist/graphql/core.mjs.map +1 -1
- package/dist/graphql/errors.d.mts +20 -0
- package/dist/graphql/errors.d.mts.map +1 -0
- package/dist/graphql/errors.mjs +19 -0
- package/dist/graphql/errors.mjs.map +1 -0
- package/dist/graphql/filters.mjs +32 -0
- package/dist/graphql/filters.mjs.map +1 -0
- package/dist/graphql/generated/queries.d.mts.map +1 -1
- package/dist/graphql/generated/queries.mjs +1216 -208
- package/dist/graphql/generated/queries.mjs.map +1 -1
- package/dist/graphql/generated/tada-env.d.mts +820 -11
- package/dist/graphql/index.d.mts +2 -1
- package/dist/graphql/index.mjs +2 -1
- package/dist/graphql/sse-parser.mjs +82 -0
- package/dist/graphql/sse-parser.mjs.map +1 -0
- package/dist/graphql/stream/families.mjs +306 -0
- package/dist/graphql/stream/families.mjs.map +1 -0
- package/dist/graphql/stream/index.mjs +38 -0
- package/dist/graphql/stream/index.mjs.map +1 -0
- package/dist/graphql/stream/live.mjs +60 -0
- package/dist/graphql/stream/live.mjs.map +1 -0
- package/dist/graphql/stream/page.mjs +38 -0
- package/dist/graphql/stream/page.mjs.map +1 -0
- package/dist/graphql/stream/query.mjs +47 -0
- package/dist/graphql/stream/query.mjs.map +1 -0
- package/dist/graphql/subscribe.mjs +70 -0
- package/dist/graphql/subscribe.mjs.map +1 -0
- package/dist/grpc/client.d.mts +31 -27
- package/dist/grpc/client.d.mts.map +1 -1
- package/dist/grpc/client.mjs +42 -46
- package/dist/grpc/client.mjs.map +1 -1
- package/dist/grpc/core.d.mts +13 -6
- package/dist/grpc/core.d.mts.map +1 -1
- package/dist/grpc/core.mjs +254 -166
- package/dist/grpc/core.mjs.map +1 -1
- package/dist/grpc/filters.mjs +44 -34
- package/dist/grpc/filters.mjs.map +1 -1
- package/dist/grpc/grpc-web-pull.mjs +245 -0
- package/dist/grpc/grpc-web-pull.mjs.map +1 -0
- package/dist/grpc/index.d.mts +2 -1
- package/dist/grpc/index.mjs +1 -1
- package/dist/grpc/network-error.mjs +31 -0
- package/dist/grpc/network-error.mjs.map +1 -0
- package/dist/grpc/proto/google/rpc/error_details.mjs +306 -0
- package/dist/grpc/proto/google/rpc/error_details.mjs.map +1 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/error_reason.d.mts +176 -1
- package/dist/grpc/proto/sui/rpc/v2/error_reason.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/error_reason.mjs +175 -0
- package/dist/grpc/proto/sui/rpc/v2/error_reason.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/executed_transaction.d.mts +2 -2
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts +111 -0
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs +46 -0
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.d.mts +24 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs +25 -7
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/name_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/object.mjs +1 -1
- package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts +111 -9
- package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/query_options.mjs +63 -19
- package/dist/grpc/proto/sui/rpc/v2/query_options.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature.d.mts +5 -5
- package/dist/grpc/proto/sui/rpc/v2/signature.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_scheme.d.mts +5 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_scheme.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_scheme.mjs +4 -0
- package/dist/grpc/proto/sui/rpc/v2/signature_scheme.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts +20 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs +30 -13
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +20 -14
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs +8 -5
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts +11 -5
- package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction.mjs +6 -0
- package/dist/grpc/proto/sui/rpc/v2/transaction.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.d.mts +6 -2
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs.map +1 -1
- package/dist/grpc/proto/types.d.mts +7 -7
- package/dist/grpc/proto/types.mjs +3 -2
- package/dist/grpc/pull-call.d.mts +20 -0
- package/dist/grpc/pull-call.d.mts.map +1 -0
- package/dist/grpc/pull-call.mjs +28 -0
- package/dist/grpc/pull-call.mjs.map +1 -0
- package/dist/grpc/stream/call.mjs +238 -0
- package/dist/grpc/stream/call.mjs.map +1 -0
- package/dist/grpc/stream/families.d.mts +26 -0
- package/dist/grpc/stream/families.d.mts.map +1 -0
- package/dist/grpc/stream/families.mjs +145 -0
- package/dist/grpc/stream/families.mjs.map +1 -0
- package/dist/grpc/stream/index.d.mts +41 -0
- package/dist/grpc/stream/index.d.mts.map +1 -0
- package/dist/grpc/stream/index.mjs +127 -0
- package/dist/grpc/stream/index.mjs.map +1 -0
- package/dist/grpc/stream/live.mjs +31 -0
- package/dist/grpc/stream/live.mjs.map +1 -0
- package/dist/grpc/stream/page.mjs +120 -0
- package/dist/grpc/stream/page.mjs.map +1 -0
- package/dist/grpc/stream-types.d.mts +28 -0
- package/dist/grpc/stream-types.d.mts.map +1 -0
- package/dist/grpc/transport.d.mts +8 -3
- package/dist/grpc/transport.d.mts.map +1 -1
- package/dist/grpc/transport.mjs +88 -45
- package/dist/grpc/transport.mjs.map +1 -1
- package/dist/jsonRpc/index.d.mts +34 -12
- package/dist/jsonRpc/index.d.mts.map +1 -0
- package/dist/jsonRpc/index.mjs +39 -5
- package/dist/jsonRpc/index.mjs.map +1 -0
- package/dist/jsonRpc/types.d.mts +420 -0
- package/dist/jsonRpc/types.d.mts.map +1 -0
- package/dist/keypairs/passkey/keypair.d.mts +1 -1
- package/dist/multisig/publickey.d.mts +12 -4
- package/dist/multisig/publickey.d.mts.map +1 -1
- package/dist/multisig/publickey.mjs +5 -5
- package/dist/multisig/publickey.mjs.map +1 -1
- package/dist/multisig/signer.d.mts +1 -1
- package/dist/transactions/ObjectCache.d.mts +1 -1
- package/dist/transactions/ObjectCache.mjs +5 -5
- package/dist/transactions/ObjectCache.mjs.map +1 -1
- package/dist/transactions/Transaction.d.mts +14 -13
- package/dist/transactions/Transaction.d.mts.map +1 -1
- package/dist/transactions/Transaction.mjs +17 -6
- package/dist/transactions/Transaction.mjs.map +1 -1
- package/dist/transactions/data/internal.d.mts +135 -133
- package/dist/transactions/data/internal.d.mts.map +1 -1
- package/dist/transactions/data/internal.mjs +2 -1
- package/dist/transactions/data/internal.mjs.map +1 -1
- package/dist/transactions/data/v1.d.mts +239 -239
- package/dist/transactions/data/v1.d.mts.map +1 -1
- package/dist/transactions/data/v2.d.mts +16 -16
- package/dist/transactions/data/v2.d.mts.map +1 -1
- package/dist/transactions/executor/parallel.d.mts +2 -2
- package/dist/transactions/executor/serial.d.mts +1 -1
- package/dist/transactions/executor/serial.mjs +2 -2
- package/dist/transactions/executor/serial.mjs.map +1 -1
- package/dist/transactions/index.d.mts +3 -2
- package/dist/transactions/index.mjs +4 -3
- package/dist/transactions/intents/AllowanceBalance.mjs +1 -1
- package/dist/transactions/intents/CoinWithBalance.mjs +1 -1
- package/dist/transactions/resolve.d.mts +6 -0
- package/dist/transactions/resolve.d.mts.map +1 -1
- package/dist/transactions/resolve.mjs.map +1 -1
- package/dist/transactions/restricted-move-calls.d.mts +25 -0
- package/dist/transactions/restricted-move-calls.d.mts.map +1 -0
- package/dist/transactions/restricted-move-calls.mjs +47 -0
- package/dist/transactions/restricted-move-calls.mjs.map +1 -0
- package/dist/transactions/serializer.d.mts +1 -4
- package/dist/transactions/serializer.d.mts.map +1 -1
- package/dist/transactions/serializer.mjs +1 -44
- package/dist/transactions/serializer.mjs.map +1 -1
- package/dist/transactions/utils.d.mts +0 -1
- package/dist/transactions/utils.d.mts.map +1 -1
- package/dist/transactions/utils.mjs.map +1 -1
- package/dist/utils/abort.mjs +89 -0
- package/dist/utils/abort.mjs.map +1 -0
- package/dist/utils/coin-reservation.mjs +1 -4
- package/dist/utils/coin-reservation.mjs.map +1 -1
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/sui-types.mjs +1 -1
- package/dist/verify/index.d.mts +2 -2
- package/dist/verify/verify.d.mts +74 -24
- package/dist/verify/verify.d.mts.map +1 -1
- package/dist/verify/verify.mjs +128 -42
- package/dist/verify/verify.mjs.map +1 -1
- package/dist/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/dist/zklogin/bcs.d.mts +14 -14
- package/dist/zklogin/publickey.d.mts.map +1 -1
- package/dist/zklogin/publickey.mjs +15 -20
- package/dist/zklogin/publickey.mjs.map +1 -1
- package/docs/bcs.md +2 -2
- package/docs/clients/core.md +19 -18
- package/docs/clients/executing.md +53 -8
- package/docs/clients/graphql.md +81 -11
- package/docs/clients/grpc.md +31 -15
- package/docs/clients/index.md +8 -7
- package/docs/clients/querying.md +134 -30
- package/docs/clients/streaming.md +324 -0
- package/docs/cryptography/index.md +85 -58
- package/docs/llms-index.md +4 -2
- package/docs/migrations/sui-2.0/dapp-kit.md +3 -2
- package/docs/migrations/sui-2.0/json-rpc-migration.md +106 -79
- package/docs/migrations/sui-3.0/index.md +250 -0
- package/docs/plugins.md +10 -10
- package/docs/sdk-building.md +3 -4
- package/docs/transactions/coins-and-balances.md +6 -11
- package/docs/transactions/reference.md +36 -1
- package/package.json +3 -4
- package/src/bcs/bcs.ts +80 -41
- package/src/bcs/effects.ts +61 -25
- package/src/bcs/index.ts +2 -0
- package/src/bcs/transactions.ts +36 -17
- package/src/bcs/types.ts +10 -4
- package/src/client/core-resolver.ts +3 -5
- package/src/client/core.ts +180 -8
- package/src/client/errors.ts +12 -0
- package/src/client/index.ts +4 -1
- package/src/client/mvr.ts +37 -10
- package/src/client/query-filters.ts +151 -97
- package/src/client/stream/adapter.ts +110 -0
- package/src/client/stream/errors.ts +40 -0
- package/src/client/stream/filter.ts +17 -0
- package/src/client/stream/follow.ts +63 -0
- package/src/client/stream/index.ts +9 -0
- package/src/client/stream/pager.ts +158 -0
- package/src/client/stream/plan.ts +147 -0
- package/src/client/stream/position.ts +143 -0
- package/src/client/stream/run.ts +147 -0
- package/src/client/stream/session.ts +259 -0
- package/src/client/stream/status.ts +44 -0
- package/src/client/stream/token.ts +104 -0
- package/src/client/transaction-data.ts +587 -0
- package/src/client/transaction-resolver.ts +158 -69
- package/src/client/types.ts +530 -115
- package/src/client/utils.ts +147 -50
- package/src/cryptography/publickey.ts +12 -1
- package/src/cryptography/signature.ts +6 -3
- package/src/graphql/client.ts +204 -135
- package/src/graphql/core.ts +446 -139
- package/src/graphql/errors.ts +24 -0
- package/src/graphql/filters.ts +48 -0
- package/src/graphql/generated/queries.ts +1455 -277
- package/src/graphql/generated/schema.graphql +282 -9
- package/src/graphql/generated/tada-env.ts +933 -4
- package/src/graphql/queries/checkpoints.graphql +34 -0
- package/src/graphql/queries/getDynamicFields.graphql +1 -0
- package/src/graphql/queries/listEvents.graphql +16 -24
- package/src/graphql/queries/streams.graphql +212 -0
- package/src/graphql/queries/transactions.graphql +71 -28
- package/src/graphql/queries/verifySignature.graphql +17 -0
- package/src/graphql/sse-parser.ts +99 -0
- package/src/graphql/stream/families.ts +515 -0
- package/src/graphql/stream/index.ts +55 -0
- package/src/graphql/stream/live.ts +70 -0
- package/src/graphql/stream/page.ts +47 -0
- package/src/graphql/stream/query.ts +52 -0
- package/src/graphql/subscribe.ts +83 -0
- package/src/grpc/client.ts +81 -79
- package/src/grpc/core.ts +388 -274
- package/src/grpc/filters.ts +59 -60
- package/src/grpc/grpc-web-pull.ts +360 -0
- package/src/grpc/index.ts +5 -0
- package/src/grpc/network-error.ts +33 -0
- package/src/grpc/proto/sui/rpc/v2/error_reason.ts +175 -0
- package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +145 -0
- package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +43 -1
- package/src/grpc/proto/sui/rpc/v2/query_options.ts +132 -8
- package/src/grpc/proto/sui/rpc/v2/signature.ts +4 -4
- package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +4 -0
- package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +30 -0
- package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +16 -10
- package/src/grpc/proto/sui/rpc/v2/transaction.ts +6 -0
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +5 -1
- package/src/grpc/pull-call.ts +54 -0
- package/src/grpc/stream/call.ts +317 -0
- package/src/grpc/stream/families.ts +228 -0
- package/src/grpc/stream/index.ts +182 -0
- package/src/grpc/stream/live.ts +33 -0
- package/src/grpc/stream/page.ts +161 -0
- package/src/grpc/stream-types.ts +33 -0
- package/src/grpc/transport.ts +116 -59
- package/src/jsonRpc/index.ts +60 -17
- package/src/jsonRpc/types.ts +421 -0
- package/src/multisig/publickey.ts +19 -7
- package/src/transactions/ObjectCache.ts +6 -6
- package/src/transactions/Transaction.ts +30 -6
- package/src/transactions/data/internal.ts +2 -0
- package/src/transactions/executor/serial.ts +2 -2
- package/src/transactions/index.ts +8 -1
- package/src/transactions/resolve.ts +6 -0
- package/src/transactions/restricted-move-calls.ts +87 -0
- package/src/transactions/serializer.ts +0 -70
- package/src/transactions/utils.ts +0 -37
- package/src/utils/abort.ts +101 -0
- package/src/verify/index.ts +1 -0
- package/src/verify/verify.ts +190 -62
- package/src/version.ts +1 -1
- package/src/zklogin/publickey.ts +18 -34
- package/dist/client/core-resolver.d.mts +0 -9
- package/dist/client/core-resolver.d.mts.map +0 -1
- package/dist/jsonRpc/client.d.mts +0 -507
- package/dist/jsonRpc/client.d.mts.map +0 -1
- package/dist/jsonRpc/client.mjs +0 -868
- package/dist/jsonRpc/client.mjs.map +0 -1
- package/dist/jsonRpc/core.d.mts +0 -168
- package/dist/jsonRpc/core.d.mts.map +0 -1
- package/dist/jsonRpc/core.mjs +0 -1054
- package/dist/jsonRpc/core.mjs.map +0 -1
- package/dist/jsonRpc/errors.d.mts +0 -27
- package/dist/jsonRpc/errors.d.mts.map +0 -1
- package/dist/jsonRpc/errors.mjs +0 -50
- package/dist/jsonRpc/errors.mjs.map +0 -1
- package/dist/jsonRpc/http-transport.d.mts +0 -62
- package/dist/jsonRpc/http-transport.d.mts.map +0 -1
- package/dist/jsonRpc/http-transport.mjs +0 -60
- package/dist/jsonRpc/http-transport.mjs.map +0 -1
- package/dist/jsonRpc/network.d.mts +0 -9
- package/dist/jsonRpc/network.d.mts.map +0 -1
- package/dist/jsonRpc/network.mjs +0 -18
- package/dist/jsonRpc/network.mjs.map +0 -1
- package/dist/jsonRpc/types/chain.d.mts +0 -169
- package/dist/jsonRpc/types/chain.d.mts.map +0 -1
- package/dist/jsonRpc/types/changes.d.mts +0 -48
- package/dist/jsonRpc/types/changes.d.mts.map +0 -1
- package/dist/jsonRpc/types/coins.d.mts +0 -15
- package/dist/jsonRpc/types/coins.d.mts.map +0 -1
- package/dist/jsonRpc/types/common.d.mts +0 -9
- package/dist/jsonRpc/types/common.d.mts.map +0 -1
- package/dist/jsonRpc/types/generated.d.mts +0 -1976
- package/dist/jsonRpc/types/generated.d.mts.map +0 -1
- package/dist/jsonRpc/types/index.d.mts +0 -6
- package/dist/jsonRpc/types/params.d.mts +0 -898
- package/dist/jsonRpc/types/params.d.mts.map +0 -1
- package/src/graphql/generated/tsconfig.tada.json +0 -11
- package/src/graphql/queries/verifyZkLoginSignature.graphql +0 -15
- package/src/jsonRpc/client.ts +0 -1252
- package/src/jsonRpc/core.ts +0 -1557
- package/src/jsonRpc/errors.ts +0 -57
- package/src/jsonRpc/http-transport.ts +0 -118
- package/src/jsonRpc/network.ts +0 -21
- package/src/jsonRpc/types/chain.ts +0 -190
- package/src/jsonRpc/types/changes.ts +0 -35
- package/src/jsonRpc/types/coins.ts +0 -14
- package/src/jsonRpc/types/common.ts +0 -8
- package/src/jsonRpc/types/generated.ts +0 -2165
- package/src/jsonRpc/types/index.ts +0 -9
- package/src/jsonRpc/types/params.ts +0 -908
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Bcs } from "./bcs.mjs";
|
|
2
|
-
import { UserSignature } from "./signature.mjs";
|
|
3
2
|
import { ActiveJwk } from "./transaction.mjs";
|
|
3
|
+
import { UserSignature } from "./signature.mjs";
|
|
4
4
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
5
5
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
6
6
|
|
|
@@ -42,6 +42,18 @@ interface VerifySignatureRequest {
|
|
|
42
42
|
* @generated from protobuf field: repeated sui.rpc.v2.ActiveJwk jwks = 4;
|
|
43
43
|
*/
|
|
44
44
|
jwks: ActiveJwk[];
|
|
45
|
+
/**
|
|
46
|
+
* Optional. If true, `address` is required and the signature must be from a
|
|
47
|
+
* member of `address`'s current `AddressAliases` set rather than from
|
|
48
|
+
* `address` itself. An address with no `AddressAliases` set is its own only
|
|
49
|
+
* alias.
|
|
50
|
+
*
|
|
51
|
+
* Servers that predate this field ignore it, so clients must check
|
|
52
|
+
* `address_aliases_checked` in the response.
|
|
53
|
+
*
|
|
54
|
+
* @generated from protobuf field: optional bool check_address_aliases = 6;
|
|
55
|
+
*/
|
|
56
|
+
checkAddressAliases?: boolean;
|
|
45
57
|
}
|
|
46
58
|
/**
|
|
47
59
|
* @generated from protobuf message sui.rpc.v2.VerifySignatureResponse
|
|
@@ -59,6 +71,13 @@ interface VerifySignatureResponse {
|
|
|
59
71
|
* @generated from protobuf field: optional string reason = 2;
|
|
60
72
|
*/
|
|
61
73
|
reason?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Set to true when the server applied `check_address_aliases`, whether or
|
|
76
|
+
* not the signature is valid. Unset by servers that predate it.
|
|
77
|
+
*
|
|
78
|
+
* @generated from protobuf field: optional bool address_aliases_checked = 3;
|
|
79
|
+
*/
|
|
80
|
+
addressAliasesChecked?: boolean;
|
|
62
81
|
}
|
|
63
82
|
declare class VerifySignatureRequest$Type extends MessageType<VerifySignatureRequest> {
|
|
64
83
|
constructor();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signature_verification_service.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/signature_verification_service.ts"],"mappings":";;;;;;;;;AAmBA;UAAiB,sBAAA;;;;;;;;;;EAUhB,OAAA,GAAU,GAAA;EAgBV;;;;;EAVA,SAAA,GAAY,aAAA;
|
|
1
|
+
{"version":3,"file":"signature_verification_service.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/signature_verification_service.ts"],"mappings":";;;;;;;;;AAmBA;UAAiB,sBAAA;;;;;;;;;;EAUhB,OAAA,GAAU,GAAA;EAgBV;;;;;EAVA,SAAA,GAAY,aAAA;EAqCI;;;;;;;;;EA3BhB,OAAA;EAiDiC;;;;;;EA1CjC,IAAA,EAAM,SAAA;;AA8DP;;;;;AAAwE;;;;;EA/CvE,mBAAA;AAAA;;;AAmED;UA9DiB,uBAAA;;;;AAkEjB;;EA5DC,OAAA;EA4DwC;;;;;EAtDxC,MAAA;;;;;;;EAOA,qBAAA;AAAA;AAAA,cAGK,2BAAA,SAAoC,WAAA,CAAY,sBAAA;;;;;;cAoBzC,sBAAA,EAAsB,2BAAA;AAAA,cAE7B,4BAAA,SAAqC,WAAA,CAAY,uBAAA;;;;;;cAkB1C,uBAAA,EAAuB,4BAAA;;;;cAIvB,4BAAA,EAA4B,WAAA"}
|
|
@@ -33,6 +33,13 @@ var VerifySignatureRequest$Type = class extends MessageType {
|
|
|
33
33
|
kind: "message",
|
|
34
34
|
repeat: 2,
|
|
35
35
|
T: () => ActiveJwk
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
no: 6,
|
|
39
|
+
name: "check_address_aliases",
|
|
40
|
+
kind: "scalar",
|
|
41
|
+
opt: true,
|
|
42
|
+
T: 8
|
|
36
43
|
}
|
|
37
44
|
]);
|
|
38
45
|
}
|
|
@@ -43,19 +50,29 @@ var VerifySignatureRequest$Type = class extends MessageType {
|
|
|
43
50
|
const VerifySignatureRequest = new VerifySignatureRequest$Type();
|
|
44
51
|
var VerifySignatureResponse$Type = class extends MessageType {
|
|
45
52
|
constructor() {
|
|
46
|
-
super("sui.rpc.v2.VerifySignatureResponse", [
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
super("sui.rpc.v2.VerifySignatureResponse", [
|
|
54
|
+
{
|
|
55
|
+
no: 1,
|
|
56
|
+
name: "is_valid",
|
|
57
|
+
kind: "scalar",
|
|
58
|
+
opt: true,
|
|
59
|
+
T: 8
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
no: 2,
|
|
63
|
+
name: "reason",
|
|
64
|
+
kind: "scalar",
|
|
65
|
+
opt: true,
|
|
66
|
+
T: 9
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
no: 3,
|
|
70
|
+
name: "address_aliases_checked",
|
|
71
|
+
kind: "scalar",
|
|
72
|
+
opt: true,
|
|
73
|
+
T: 8
|
|
74
|
+
}
|
|
75
|
+
]);
|
|
59
76
|
}
|
|
60
77
|
};
|
|
61
78
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signature_verification_service.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/signature_verification_service.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/signature_verification_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { ActiveJwk } from './transaction.js';\nimport { UserSignature } from './signature.js';\nimport { Bcs } from './bcs.js';\n/**\n * @generated from protobuf message sui.rpc.v2.VerifySignatureRequest\n */\nexport interface VerifySignatureRequest {\n\t/**\n\t * The message to verify against.\n\t *\n\t * Today the only supported message types are `PersonalMessage` and\n\t * `TransactionData` and the `Bcs.name` must be set to indicate which type of\n\t * message is being verified.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs message = 1;\n\t */\n\tmessage?: Bcs;\n\t/**\n\t * The signature to verify.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.UserSignature signature = 2;\n\t */\n\tsignature?: UserSignature;\n\t/**\n\t * Optional. Address to validate against the provided signature.\n\t *\n\t * If provided, this address will be compared against the the address derived\n\t * from the provide signature and a successful response will only be returned\n\t * if they match.\n\t *\n\t * @generated from protobuf field: optional string address = 3;\n\t */\n\taddress?: string;\n\t/**\n\t * The set of JWKs to use when verifying Zklogin signatures.\n\t * If this is empty the current set of valid JWKs stored onchain will be used\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ActiveJwk jwks = 4;\n\t */\n\tjwks: ActiveJwk[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.VerifySignatureResponse\n */\nexport interface VerifySignatureResponse {\n\t/**\n\t * Indicates if the provided signature was valid given the requested parameters.\n\t *\n\t * @generated from protobuf field: optional bool is_valid = 1;\n\t */\n\tisValid?: boolean;\n\t/**\n\t * If `is_valid` is `false`, this is the reason for why the signature verification failed.\n\t *\n\t * @generated from protobuf field: optional string reason = 2;\n\t */\n\treason?: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifySignatureRequest$Type extends MessageType<VerifySignatureRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.VerifySignatureRequest', [\n\t\t\t{ no: 1, name: 'message', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 2, name: 'signature', kind: 'message', T: () => UserSignature },\n\t\t\t{ no: 3, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'jwks',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => ActiveJwk,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.VerifySignatureRequest\n */\nexport const VerifySignatureRequest = new VerifySignatureRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifySignatureResponse$Type extends MessageType<VerifySignatureResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.VerifySignatureResponse', [\n\t\t\t{ no: 1, name: 'is_valid', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 2, name: 'reason', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.VerifySignatureResponse\n */\nexport const VerifySignatureResponse = new VerifySignatureResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.SignatureVerificationService\n */\nexport const SignatureVerificationService = new ServiceType(\n\t'sui.rpc.v2.SignatureVerificationService',\n\t[{ name: 'VerifySignature', options: {}, I: VerifySignatureRequest, O: VerifySignatureResponse }],\n);\n"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"signature_verification_service.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/signature_verification_service.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/signature_verification_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { ActiveJwk } from './transaction.js';\nimport { UserSignature } from './signature.js';\nimport { Bcs } from './bcs.js';\n/**\n * @generated from protobuf message sui.rpc.v2.VerifySignatureRequest\n */\nexport interface VerifySignatureRequest {\n\t/**\n\t * The message to verify against.\n\t *\n\t * Today the only supported message types are `PersonalMessage` and\n\t * `TransactionData` and the `Bcs.name` must be set to indicate which type of\n\t * message is being verified.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs message = 1;\n\t */\n\tmessage?: Bcs;\n\t/**\n\t * The signature to verify.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.UserSignature signature = 2;\n\t */\n\tsignature?: UserSignature;\n\t/**\n\t * Optional. Address to validate against the provided signature.\n\t *\n\t * If provided, this address will be compared against the the address derived\n\t * from the provide signature and a successful response will only be returned\n\t * if they match.\n\t *\n\t * @generated from protobuf field: optional string address = 3;\n\t */\n\taddress?: string;\n\t/**\n\t * The set of JWKs to use when verifying Zklogin signatures.\n\t * If this is empty the current set of valid JWKs stored onchain will be used\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.ActiveJwk jwks = 4;\n\t */\n\tjwks: ActiveJwk[];\n\t// The epoch to use\n\t// optional uint64 epoch = 5;\n\n\t/**\n\t * Optional. If true, `address` is required and the signature must be from a\n\t * member of `address`'s current `AddressAliases` set rather than from\n\t * `address` itself. An address with no `AddressAliases` set is its own only\n\t * alias.\n\t *\n\t * Servers that predate this field ignore it, so clients must check\n\t * `address_aliases_checked` in the response.\n\t *\n\t * @generated from protobuf field: optional bool check_address_aliases = 6;\n\t */\n\tcheckAddressAliases?: boolean;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.VerifySignatureResponse\n */\nexport interface VerifySignatureResponse {\n\t/**\n\t * Indicates if the provided signature was valid given the requested parameters.\n\t *\n\t * @generated from protobuf field: optional bool is_valid = 1;\n\t */\n\tisValid?: boolean;\n\t/**\n\t * If `is_valid` is `false`, this is the reason for why the signature verification failed.\n\t *\n\t * @generated from protobuf field: optional string reason = 2;\n\t */\n\treason?: string;\n\t/**\n\t * Set to true when the server applied `check_address_aliases`, whether or\n\t * not the signature is valid. Unset by servers that predate it.\n\t *\n\t * @generated from protobuf field: optional bool address_aliases_checked = 3;\n\t */\n\taddressAliasesChecked?: boolean;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifySignatureRequest$Type extends MessageType<VerifySignatureRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.VerifySignatureRequest', [\n\t\t\t{ no: 1, name: 'message', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 2, name: 'signature', kind: 'message', T: () => UserSignature },\n\t\t\t{ no: 3, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'jwks',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => ActiveJwk,\n\t\t\t},\n\t\t\t{ no: 6, name: 'check_address_aliases', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.VerifySignatureRequest\n */\nexport const VerifySignatureRequest = new VerifySignatureRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass VerifySignatureResponse$Type extends MessageType<VerifySignatureResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.VerifySignatureResponse', [\n\t\t\t{ no: 1, name: 'is_valid', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 2, name: 'reason', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'address_aliases_checked',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 8 /*ScalarType.BOOL*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.VerifySignatureResponse\n */\nexport const VerifySignatureResponse = new VerifySignatureResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.SignatureVerificationService\n */\nexport const SignatureVerificationService = new ServiceType(\n\t'sui.rpc.v2.SignatureVerificationService',\n\t[{ name: 'VerifySignature', options: {}, I: VerifySignatureRequest, O: VerifySignatureResponse }],\n);\n"],"mappings":";;;;;;;AA8FA,IAAM,8BAAN,cAA0C,YAAoC;CAC7E,cAAc;AACb,QAAM,qCAAqC;GAC1C;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAW,SAAS;IAAK;GACzD;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAW,SAAS;IAAe;GACrE;IAAE,IAAI;IAAG,MAAM;IAAW,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACjF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,SAAS;IACT;GACD;IAAE,IAAI;IAAG,MAAM;IAAyB,MAAM;IAAU,KAAK;IAAM,GAAG;IAAuB;GAC7F,CAAC;;;;;;AAMJ,MAAa,yBAAyB,IAAI,6BAA6B;AAEvE,IAAM,+BAAN,cAA2C,YAAqC;CAC/E,cAAc;AACb,QAAM,sCAAsC;GAC3C;IAAE,IAAI;IAAG,MAAM;IAAY,MAAM;IAAU,KAAK;IAAM,GAAG;IAAuB;GAChF;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAChF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH;GACD,CAAC;;;;;;AAMJ,MAAa,0BAA0B,IAAI,8BAA8B;;;;AAIzE,MAAa,+BAA+B,IAAI,YAC/C,2CACA,CAAC;CAAE,MAAM;CAAmB,SAAS,EAAE;CAAE,GAAG;CAAwB,GAAG;CAAyB,CAAC,CACjG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetBalanceRequest, GetBalanceResponse, GetCoinInfoRequest, GetCoinInfoResponse, ListBalancesRequest, ListBalancesResponse, ListDynamicFieldsRequest, ListDynamicFieldsResponse, ListOwnedObjectsRequest, ListOwnedObjectsResponse } from "./state_service.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _protobuf_ts_runtime2 from "@protobuf-ts/runtime";
|
|
3
|
+
import * as _protobuf_ts_runtime_rpc2 from "@protobuf-ts/runtime-rpc";
|
|
4
4
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
|
|
6
6
|
//#region src/grpc/proto/sui/rpc/v2/state_service.client.d.ts
|
|
@@ -35,9 +35,9 @@ interface IStateServiceClient {
|
|
|
35
35
|
declare class StateServiceClient implements IStateServiceClient, ServiceInfo {
|
|
36
36
|
private readonly _transport;
|
|
37
37
|
typeName: string;
|
|
38
|
-
methods:
|
|
38
|
+
methods: _protobuf_ts_runtime_rpc2.MethodInfo<any, any>[];
|
|
39
39
|
options: {
|
|
40
|
-
[extensionName: string]:
|
|
40
|
+
[extensionName: string]: _protobuf_ts_runtime2.JsonValue;
|
|
41
41
|
};
|
|
42
42
|
constructor(_transport: RpcTransport);
|
|
43
43
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SubscribeCheckpointsRequest, SubscribeCheckpointsResponse, SubscribeEventsRequest, SubscribeEventsResponse, SubscribeTransactionsRequest, SubscribeTransactionsResponse } from "./subscription_service.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _protobuf_ts_runtime4 from "@protobuf-ts/runtime";
|
|
3
|
+
import * as _protobuf_ts_runtime_rpc4 from "@protobuf-ts/runtime-rpc";
|
|
4
4
|
import { RpcOptions, RpcTransport, ServerStreamingCall, ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
|
|
6
6
|
//#region src/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts
|
|
@@ -16,11 +16,14 @@ import { RpcOptions, RpcTransport, ServerStreamingCall, ServiceInfo } from "@pro
|
|
|
16
16
|
* at the current tip of the chain as seen by the server (the latest executed
|
|
17
17
|
* checkpoint). To recover data missed between subscriptions, replay the gap
|
|
18
18
|
* with the paired List API: pass the last received `Watermark.cursor` as
|
|
19
|
-
* `options.after
|
|
20
|
-
* received `cursor + 1` as `start_checkpoint`). The
|
|
21
|
-
* indexed tip, which may trail the subscription's
|
|
22
|
-
* List call as the index advances until the replay
|
|
23
|
-
* established by the subscription's first frame
|
|
19
|
+
* `options.after`, with the request's start at its `cursor_position` (for
|
|
20
|
+
* checkpoints, pass the last received `cursor + 1` as `start_checkpoint`). The
|
|
21
|
+
* List scan reads from the indexed tip, which may trail the subscription's
|
|
22
|
+
* start position; repeat the List call as the index advances until the replay
|
|
23
|
+
* reaches the position established by the subscription's first frame: for
|
|
24
|
+
* transactions and events, that frame's item key if it carries an item, and
|
|
25
|
+
* its `cursor_position` otherwise. Compare positions and item keys, never
|
|
26
|
+
* cursor bytes.
|
|
24
27
|
*
|
|
25
28
|
* A subscription behaves like an unbounded ascending scan: every frame
|
|
26
29
|
* carries the subscriber's resume point, and progress advances as
|
|
@@ -78,11 +81,14 @@ interface ISubscriptionServiceClient {
|
|
|
78
81
|
* at the current tip of the chain as seen by the server (the latest executed
|
|
79
82
|
* checkpoint). To recover data missed between subscriptions, replay the gap
|
|
80
83
|
* with the paired List API: pass the last received `Watermark.cursor` as
|
|
81
|
-
* `options.after
|
|
82
|
-
* received `cursor + 1` as `start_checkpoint`). The
|
|
83
|
-
* indexed tip, which may trail the subscription's
|
|
84
|
-
* List call as the index advances until the replay
|
|
85
|
-
* established by the subscription's first frame
|
|
84
|
+
* `options.after`, with the request's start at its `cursor_position` (for
|
|
85
|
+
* checkpoints, pass the last received `cursor + 1` as `start_checkpoint`). The
|
|
86
|
+
* List scan reads from the indexed tip, which may trail the subscription's
|
|
87
|
+
* start position; repeat the List call as the index advances until the replay
|
|
88
|
+
* reaches the position established by the subscription's first frame: for
|
|
89
|
+
* transactions and events, that frame's item key if it carries an item, and
|
|
90
|
+
* its `cursor_position` otherwise. Compare positions and item keys, never
|
|
91
|
+
* cursor bytes.
|
|
86
92
|
*
|
|
87
93
|
* A subscription behaves like an unbounded ascending scan: every frame
|
|
88
94
|
* carries the subscriber's resume point, and progress advances as
|
|
@@ -100,9 +106,9 @@ interface ISubscriptionServiceClient {
|
|
|
100
106
|
declare class SubscriptionServiceClient implements ISubscriptionServiceClient, ServiceInfo {
|
|
101
107
|
private readonly _transport;
|
|
102
108
|
typeName: string;
|
|
103
|
-
methods:
|
|
109
|
+
methods: _protobuf_ts_runtime_rpc4.MethodInfo<any, any>[];
|
|
104
110
|
options: {
|
|
105
|
-
[extensionName: string]:
|
|
111
|
+
[extensionName: string]: _protobuf_ts_runtime4.JsonValue;
|
|
106
112
|
};
|
|
107
113
|
constructor(_transport: RpcTransport);
|
|
108
114
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_service.client.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/subscription_service.client.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscription_service.client.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/subscription_service.client.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAyDiB,0BAAA;EAqCL;;;;;;;AAqCZ;;;EA/DC,oBAAA,CACC,KAAA,EAAO,2BAAA,EACP,OAAA,GAAU,UAAA,GACR,mBAAA,CAAoB,2BAAA,EAA6B,4BAAA;EA8D7C;;;;;;;;EArDP,qBAAA,CACC,KAAA,EAAO,4BAAA,EACP,OAAA,GAAU,UAAA,GACR,mBAAA,CAAoB,4BAAA,EAA8B,6BAAA;EAwF9B;;;;;;;;EA/EvB,eAAA,CACC,KAAA,EAAO,sBAAA,EACP,OAAA,GAAU,UAAA,GACR,mBAAA,CAAoB,sBAAA,EAAwB,uBAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCnC,yBAAA,YAAqC,0BAAA,EAA4B,WAAA;EAAA,iBAIhD,UAAA;EAH7B,QAAA;EACA,OAAA,EAFsC,yBAAA,CAE/B,UAAA;EACP,OAAA;IAAA,yBADO,qBAAA,CAAA,SAAA;EAAA;cAEsB,UAAA,EAAY,YAAA;;;;;;;;;;;EAWzC,oBAAA,CACC,KAAA,EAAO,2BAAA,EACP,OAAA,GAAU,UAAA,GACR,mBAAA,CAAoB,2BAAA,EAA6B,4BAAA;;;;;;;;;EAmBpD,qBAAA,CACC,KAAA,EAAO,4BAAA,EACP,OAAA,GAAU,UAAA,GACR,mBAAA,CAAoB,4BAAA,EAA8B,6BAAA;;;;;;;;;EAmBrD,eAAA,CACC,KAAA,EAAO,sBAAA,EACP,OAAA,GAAU,UAAA,GACR,mBAAA,CAAoB,sBAAA,EAAwB,uBAAA;AAAA"}
|
|
@@ -14,11 +14,14 @@ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
|
14
14
|
* at the current tip of the chain as seen by the server (the latest executed
|
|
15
15
|
* checkpoint). To recover data missed between subscriptions, replay the gap
|
|
16
16
|
* with the paired List API: pass the last received `Watermark.cursor` as
|
|
17
|
-
* `options.after
|
|
18
|
-
* received `cursor + 1` as `start_checkpoint`). The
|
|
19
|
-
* indexed tip, which may trail the subscription's
|
|
20
|
-
* List call as the index advances until the replay
|
|
21
|
-
* established by the subscription's first frame
|
|
17
|
+
* `options.after`, with the request's start at its `cursor_position` (for
|
|
18
|
+
* checkpoints, pass the last received `cursor + 1` as `start_checkpoint`). The
|
|
19
|
+
* List scan reads from the indexed tip, which may trail the subscription's
|
|
20
|
+
* start position; repeat the List call as the index advances until the replay
|
|
21
|
+
* reaches the position established by the subscription's first frame: for
|
|
22
|
+
* transactions and events, that frame's item key if it carries an item, and
|
|
23
|
+
* its `cursor_position` otherwise. Compare positions and item keys, never
|
|
24
|
+
* cursor bytes.
|
|
22
25
|
*
|
|
23
26
|
* A subscription behaves like an unbounded ascending scan: every frame
|
|
24
27
|
* carries the subscriber's resume point, and progress advances as
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_service.client.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/subscription_service.client.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/subscription_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { RpcTransport } from '@protobuf-ts/runtime-rpc';\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc';\nimport { SubscriptionService } from './subscription_service.js';\nimport type { SubscribeEventsResponse } from './subscription_service.js';\nimport type { SubscribeEventsRequest } from './subscription_service.js';\nimport type { SubscribeTransactionsResponse } from './subscription_service.js';\nimport type { SubscribeTransactionsRequest } from './subscription_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { SubscribeCheckpointsResponse } from './subscription_service.js';\nimport type { SubscribeCheckpointsRequest } from './subscription_service.js';\nimport type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * SubscriptionService provides filtered, real-time streams of checkpoints,\n * transactions, and events.\n *\n * Each Subscribe API pairs with the LedgerService List API of the same name:\n * requests take the same filter message, and responses carry the same item\n * and watermark shapes with identical cursor semantics.\n *\n * Subscriptions do not support resumption. A new subscription always begins\n * at the current tip of the chain as seen by the server (the latest executed\n * checkpoint). To recover data missed between subscriptions, replay the gap\n * with the paired List API: pass the last received `Watermark.cursor` as\n * `options.after` on the List request (for checkpoints, pass the last\n * received `cursor + 1` as `start_checkpoint`). The List scan reads from the\n * indexed tip, which may trail the subscription's start position; repeat the\n * List call as the index advances until the replay reaches the position\n * established by the subscription's first frame.\n *\n * A subscription behaves like an unbounded ascending scan: every frame\n * carries the subscriber's resume point, and progress advances as\n * checkpoints are fully covered. Two delivery guarantees keep sparse\n * filters live: the first frame on a filtered subscription is a\n * progress-only frame establishing the stream's start position, and\n * progress continues to advance with bounded staleness even when no item\n * matches.\n *\n * Subscription streams have no successful end: they run until cancelled by\n * the client or terminated by the server with a gRPC status.\n *\n * @generated from protobuf service sui.rpc.v2.SubscriptionService\n */\nexport interface ISubscriptionServiceClient {\n\t/**\n\t * Subscribe to the stream of checkpoints.\n\t *\n\t * The stream begins at the latest executed checkpoint as seen by the\n\t * server and yields checkpoints matching the filter as they are executed.\n\t * A checkpoint matches if any transaction it contains satisfies the\n\t * filter.\n\t *\n\t * @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);\n\t */\n\tsubscribeCheckpoints(\n\t\tinput: SubscribeCheckpointsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>;\n\t/**\n\t * Subscribe to the stream of transactions.\n\t *\n\t * The stream begins at the latest executed checkpoint as seen by the\n\t * server and yields transactions matching the filter as they are executed.\n\t *\n\t * @generated from protobuf rpc: SubscribeTransactions(sui.rpc.v2.SubscribeTransactionsRequest) returns (stream sui.rpc.v2.SubscribeTransactionsResponse);\n\t */\n\tsubscribeTransactions(\n\t\tinput: SubscribeTransactionsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeTransactionsRequest, SubscribeTransactionsResponse>;\n\t/**\n\t * Subscribe to the stream of events.\n\t *\n\t * The stream begins at the latest executed checkpoint as seen by the\n\t * server and yields events matching the filter as they are emitted.\n\t *\n\t * @generated from protobuf rpc: SubscribeEvents(sui.rpc.v2.SubscribeEventsRequest) returns (stream sui.rpc.v2.SubscribeEventsResponse);\n\t */\n\tsubscribeEvents(\n\t\tinput: SubscribeEventsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeEventsRequest, SubscribeEventsResponse>;\n}\n/**\n * SubscriptionService provides filtered, real-time streams of checkpoints,\n * transactions, and events.\n *\n * Each Subscribe API pairs with the LedgerService List API of the same name:\n * requests take the same filter message, and responses carry the same item\n * and watermark shapes with identical cursor semantics.\n *\n * Subscriptions do not support resumption. A new subscription always begins\n * at the current tip of the chain as seen by the server (the latest executed\n * checkpoint). To recover data missed between subscriptions, replay the gap\n * with the paired List API: pass the last received `Watermark.cursor` as\n * `options.after` on the List request (for checkpoints, pass the last\n * received `cursor + 1` as `start_checkpoint`). The List scan reads from the\n * indexed tip, which may trail the subscription's start position; repeat the\n * List call as the index advances until the replay reaches the position\n * established by the subscription's first frame.\n *\n * A subscription behaves like an unbounded ascending scan: every frame\n * carries the subscriber's resume point, and progress advances as\n * checkpoints are fully covered. Two delivery guarantees keep sparse\n * filters live: the first frame on a filtered subscription is a\n * progress-only frame establishing the stream's start position, and\n * progress continues to advance with bounded staleness even when no item\n * matches.\n *\n * Subscription streams have no successful end: they run until cancelled by\n * the client or terminated by the server with a gRPC status.\n *\n * @generated from protobuf service sui.rpc.v2.SubscriptionService\n */\nexport class SubscriptionServiceClient implements ISubscriptionServiceClient, ServiceInfo {\n\ttypeName = SubscriptionService.typeName;\n\tmethods = SubscriptionService.methods;\n\toptions = SubscriptionService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * Subscribe to the stream of checkpoints.\n\t *\n\t * The stream begins at the latest executed checkpoint as seen by the\n\t * server and yields checkpoints matching the filter as they are executed.\n\t * A checkpoint matches if any transaction it contains satisfies the\n\t * filter.\n\t *\n\t * @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);\n\t */\n\tsubscribeCheckpoints(\n\t\tinput: SubscribeCheckpointsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>(\n\t\t\t'serverStreaming',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * Subscribe to the stream of transactions.\n\t *\n\t * The stream begins at the latest executed checkpoint as seen by the\n\t * server and yields transactions matching the filter as they are executed.\n\t *\n\t * @generated from protobuf rpc: SubscribeTransactions(sui.rpc.v2.SubscribeTransactionsRequest) returns (stream sui.rpc.v2.SubscribeTransactionsResponse);\n\t */\n\tsubscribeTransactions(\n\t\tinput: SubscribeTransactionsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeTransactionsRequest, SubscribeTransactionsResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<SubscribeTransactionsRequest, SubscribeTransactionsResponse>(\n\t\t\t'serverStreaming',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * Subscribe to the stream of events.\n\t *\n\t * The stream begins at the latest executed checkpoint as seen by the\n\t * server and yields events matching the filter as they are emitted.\n\t *\n\t * @generated from protobuf rpc: SubscribeEvents(sui.rpc.v2.SubscribeEventsRequest) returns (stream sui.rpc.v2.SubscribeEventsResponse);\n\t */\n\tsubscribeEvents(\n\t\tinput: SubscribeEventsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeEventsRequest, SubscribeEventsResponse> {\n\t\tconst method = this.methods[2],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<SubscribeEventsRequest, SubscribeEventsResponse>(\n\t\t\t'serverStreaming',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6HA,IAAa,4BAAb,MAA0F;CAIzF,YAAY,AAAiB,YAA0B;EAA1B;kBAHlB,oBAAoB;iBACrB,oBAAoB;iBACpB,oBAAoB;;;;;;;;;;;;CAY9B,qBACC,OACA,SACiF;EACjF,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,mBACA,KAAK,YACL,QACA,KACA,MACA;;;;;;;;;;CAUF,sBACC,OACA,SACmF;EACnF,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,mBACA,KAAK,YACL,QACA,KACA,MACA;;;;;;;;;;CAUF,gBACC,OACA,SACuE;EACvE,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,mBACA,KAAK,YACL,QACA,KACA,MACA"}
|
|
1
|
+
{"version":3,"file":"subscription_service.client.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/subscription_service.client.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/subscription_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { RpcTransport } from '@protobuf-ts/runtime-rpc';\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc';\nimport { SubscriptionService } from './subscription_service.js';\nimport type { SubscribeEventsResponse } from './subscription_service.js';\nimport type { SubscribeEventsRequest } from './subscription_service.js';\nimport type { SubscribeTransactionsResponse } from './subscription_service.js';\nimport type { SubscribeTransactionsRequest } from './subscription_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { SubscribeCheckpointsResponse } from './subscription_service.js';\nimport type { SubscribeCheckpointsRequest } from './subscription_service.js';\nimport type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * SubscriptionService provides filtered, real-time streams of checkpoints,\n * transactions, and events.\n *\n * Each Subscribe API pairs with the LedgerService List API of the same name:\n * requests take the same filter message, and responses carry the same item\n * and watermark shapes with identical cursor semantics.\n *\n * Subscriptions do not support resumption. A new subscription always begins\n * at the current tip of the chain as seen by the server (the latest executed\n * checkpoint). To recover data missed between subscriptions, replay the gap\n * with the paired List API: pass the last received `Watermark.cursor` as\n * `options.after`, with the request's start at its `cursor_position` (for\n * checkpoints, pass the last received `cursor + 1` as `start_checkpoint`). The\n * List scan reads from the indexed tip, which may trail the subscription's\n * start position; repeat the List call as the index advances until the replay\n * reaches the position established by the subscription's first frame: for\n * transactions and events, that frame's item key if it carries an item, and\n * its `cursor_position` otherwise. Compare positions and item keys, never\n * cursor bytes.\n *\n * A subscription behaves like an unbounded ascending scan: every frame\n * carries the subscriber's resume point, and progress advances as\n * checkpoints are fully covered. Two delivery guarantees keep sparse\n * filters live: the first frame on a filtered subscription is a\n * progress-only frame establishing the stream's start position, and\n * progress continues to advance with bounded staleness even when no item\n * matches.\n *\n * Subscription streams have no successful end: they run until cancelled by\n * the client or terminated by the server with a gRPC status.\n *\n * @generated from protobuf service sui.rpc.v2.SubscriptionService\n */\nexport interface ISubscriptionServiceClient {\n\t/**\n\t * Subscribe to the stream of checkpoints.\n\t *\n\t * The stream begins at the latest executed checkpoint as seen by the\n\t * server and yields checkpoints matching the filter as they are executed.\n\t * A checkpoint matches if any transaction it contains satisfies the\n\t * filter.\n\t *\n\t * @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);\n\t */\n\tsubscribeCheckpoints(\n\t\tinput: SubscribeCheckpointsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>;\n\t/**\n\t * Subscribe to the stream of transactions.\n\t *\n\t * The stream begins at the latest executed checkpoint as seen by the\n\t * server and yields transactions matching the filter as they are executed.\n\t *\n\t * @generated from protobuf rpc: SubscribeTransactions(sui.rpc.v2.SubscribeTransactionsRequest) returns (stream sui.rpc.v2.SubscribeTransactionsResponse);\n\t */\n\tsubscribeTransactions(\n\t\tinput: SubscribeTransactionsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeTransactionsRequest, SubscribeTransactionsResponse>;\n\t/**\n\t * Subscribe to the stream of events.\n\t *\n\t * The stream begins at the latest executed checkpoint as seen by the\n\t * server and yields events matching the filter as they are emitted.\n\t *\n\t * @generated from protobuf rpc: SubscribeEvents(sui.rpc.v2.SubscribeEventsRequest) returns (stream sui.rpc.v2.SubscribeEventsResponse);\n\t */\n\tsubscribeEvents(\n\t\tinput: SubscribeEventsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeEventsRequest, SubscribeEventsResponse>;\n}\n/**\n * SubscriptionService provides filtered, real-time streams of checkpoints,\n * transactions, and events.\n *\n * Each Subscribe API pairs with the LedgerService List API of the same name:\n * requests take the same filter message, and responses carry the same item\n * and watermark shapes with identical cursor semantics.\n *\n * Subscriptions do not support resumption. A new subscription always begins\n * at the current tip of the chain as seen by the server (the latest executed\n * checkpoint). To recover data missed between subscriptions, replay the gap\n * with the paired List API: pass the last received `Watermark.cursor` as\n * `options.after`, with the request's start at its `cursor_position` (for\n * checkpoints, pass the last received `cursor + 1` as `start_checkpoint`). The\n * List scan reads from the indexed tip, which may trail the subscription's\n * start position; repeat the List call as the index advances until the replay\n * reaches the position established by the subscription's first frame: for\n * transactions and events, that frame's item key if it carries an item, and\n * its `cursor_position` otherwise. Compare positions and item keys, never\n * cursor bytes.\n *\n * A subscription behaves like an unbounded ascending scan: every frame\n * carries the subscriber's resume point, and progress advances as\n * checkpoints are fully covered. Two delivery guarantees keep sparse\n * filters live: the first frame on a filtered subscription is a\n * progress-only frame establishing the stream's start position, and\n * progress continues to advance with bounded staleness even when no item\n * matches.\n *\n * Subscription streams have no successful end: they run until cancelled by\n * the client or terminated by the server with a gRPC status.\n *\n * @generated from protobuf service sui.rpc.v2.SubscriptionService\n */\nexport class SubscriptionServiceClient implements ISubscriptionServiceClient, ServiceInfo {\n\ttypeName = SubscriptionService.typeName;\n\tmethods = SubscriptionService.methods;\n\toptions = SubscriptionService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * Subscribe to the stream of checkpoints.\n\t *\n\t * The stream begins at the latest executed checkpoint as seen by the\n\t * server and yields checkpoints matching the filter as they are executed.\n\t * A checkpoint matches if any transaction it contains satisfies the\n\t * filter.\n\t *\n\t * @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);\n\t */\n\tsubscribeCheckpoints(\n\t\tinput: SubscribeCheckpointsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>(\n\t\t\t'serverStreaming',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * Subscribe to the stream of transactions.\n\t *\n\t * The stream begins at the latest executed checkpoint as seen by the\n\t * server and yields transactions matching the filter as they are executed.\n\t *\n\t * @generated from protobuf rpc: SubscribeTransactions(sui.rpc.v2.SubscribeTransactionsRequest) returns (stream sui.rpc.v2.SubscribeTransactionsResponse);\n\t */\n\tsubscribeTransactions(\n\t\tinput: SubscribeTransactionsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeTransactionsRequest, SubscribeTransactionsResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<SubscribeTransactionsRequest, SubscribeTransactionsResponse>(\n\t\t\t'serverStreaming',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * Subscribe to the stream of events.\n\t *\n\t * The stream begins at the latest executed checkpoint as seen by the\n\t * server and yields events matching the filter as they are emitted.\n\t *\n\t * @generated from protobuf rpc: SubscribeEvents(sui.rpc.v2.SubscribeEventsRequest) returns (stream sui.rpc.v2.SubscribeEventsResponse);\n\t */\n\tsubscribeEvents(\n\t\tinput: SubscribeEventsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeEventsRequest, SubscribeEventsResponse> {\n\t\tconst method = this.methods[2],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<SubscribeEventsRequest, SubscribeEventsResponse>(\n\t\t\t'serverStreaming',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmIA,IAAa,4BAAb,MAA0F;CAIzF,YAAY,AAAiB,YAA0B;EAA1B;kBAHlB,oBAAoB;iBACrB,oBAAoB;iBACpB,oBAAoB;;;;;;;;;;;;CAY9B,qBACC,OACA,SACiF;EACjF,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,mBACA,KAAK,YACL,QACA,KACA,MACA;;;;;;;;;;CAUF,sBACC,OACA,SACmF;EACnF,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,mBACA,KAAK,YACL,QACA,KACA,MACA;;;;;;;;;;CAUF,gBACC,OACA,SACuE;EACvE,MAAM,SAAS,KAAK,QAAQ,IAC3B,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC5C,SAAO,eACN,mBACA,KAAK,YACL,QACA,KACA,MACA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { Duration } from "../../../google/protobuf/duration.mjs";
|
|
2
|
+
import { Jwk, JwkId } from "./jwk.mjs";
|
|
1
3
|
import { Bcs } from "./bcs.mjs";
|
|
2
4
|
import { Object as Object$1 } from "./object.mjs";
|
|
3
|
-
import { Timestamp } from "../../../google/protobuf/timestamp.mjs";
|
|
4
|
-
import { ObjectReference } from "./object_reference.mjs";
|
|
5
|
-
import { Jwk, JwkId } from "./jwk.mjs";
|
|
6
|
-
import { Duration } from "../../../google/protobuf/duration.mjs";
|
|
7
5
|
import { Argument } from "./argument.mjs";
|
|
8
6
|
import { Input } from "./input.mjs";
|
|
7
|
+
import { Timestamp } from "../../../google/protobuf/timestamp.mjs";
|
|
8
|
+
import { ObjectReference } from "./object_reference.mjs";
|
|
9
9
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
10
|
|
|
11
11
|
//#region src/grpc/proto/sui/rpc/v2/transaction.d.ts
|
|
@@ -1128,7 +1128,13 @@ declare enum EndOfEpochTransactionKind_Kind {
|
|
|
1128
1128
|
*
|
|
1129
1129
|
* @generated from protobuf enum value: WRITE_ACCUMULATOR_STORAGE_COST = 13;
|
|
1130
1130
|
*/
|
|
1131
|
-
WRITE_ACCUMULATOR_STORAGE_COST = 13
|
|
1131
|
+
WRITE_ACCUMULATOR_STORAGE_COST = 13,
|
|
1132
|
+
/**
|
|
1133
|
+
* Create and initialize the Forwarding Address Registry object.
|
|
1134
|
+
*
|
|
1135
|
+
* @generated from protobuf enum value: FORWARDING_ADDRESS_REGISTRY_CREATE = 14;
|
|
1136
|
+
*/
|
|
1137
|
+
FORWARDING_ADDRESS_REGISTRY_CREATE = 14
|
|
1132
1138
|
}
|
|
1133
1139
|
/**
|
|
1134
1140
|
* Expire old JWKs.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.d.mts","names":[],"sources":["../../../../../../src/grpc/proto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TransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1["WRITE_ACCUMULATOR_STORAGE_COST"] = 13] = "WRITE_ACCUMULATOR_STORAGE_COST";
|
|
225
|
+
/**
|
|
226
|
+
* Create and initialize the Forwarding Address Registry object.
|
|
227
|
+
*
|
|
228
|
+
* @generated from protobuf enum value: FORWARDING_ADDRESS_REGISTRY_CREATE = 14;
|
|
229
|
+
*/
|
|
230
|
+
EndOfEpochTransactionKind_Kind$1[EndOfEpochTransactionKind_Kind$1["FORWARDING_ADDRESS_REGISTRY_CREATE"] = 14] = "FORWARDING_ADDRESS_REGISTRY_CREATE";
|
|
225
231
|
return EndOfEpochTransactionKind_Kind$1;
|
|
226
232
|
}({});
|
|
227
233
|
/**
|