@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,7 +1,7 @@
|
|
|
1
1
|
import { SuiClientTypes } from "../../client/types.mjs";
|
|
2
2
|
import { EnumInputShape, EnumOutputShape } from "@mysten/bcs";
|
|
3
3
|
import { Simplify } from "@mysten/utils";
|
|
4
|
-
import * as
|
|
4
|
+
import * as valibot0 from "valibot";
|
|
5
5
|
import { GenericSchema, InferInput, InferOutput, ObjectSchema } from "valibot";
|
|
6
6
|
|
|
7
7
|
//#region src/transactions/data/internal.d.ts
|
|
@@ -9,12 +9,12 @@ type EnumSchemaInput<T extends Record<string, GenericSchema<any>>> = EnumInputSh
|
|
|
9
9
|
type EnumSchemaOutput<T extends Record<string, GenericSchema<any>>> = EnumOutputShape<Simplify<{ [K in keyof T]: InferOutput<T[K]> }>>;
|
|
10
10
|
type EnumSchema<T extends Record<string, GenericSchema<any>>> = GenericSchema<EnumSchemaInput<T>, EnumSchemaOutput<T>>;
|
|
11
11
|
declare const ObjectRefSchema: ObjectSchema<{
|
|
12
|
-
readonly objectId:
|
|
13
|
-
readonly version:
|
|
14
|
-
readonly digest:
|
|
12
|
+
readonly objectId: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
13
|
+
readonly version: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
14
|
+
readonly digest: valibot0.StringSchema<undefined>;
|
|
15
15
|
}, undefined>;
|
|
16
16
|
type ObjectRef = InferOutput<typeof ObjectRefSchema>;
|
|
17
|
-
declare const ArgumentSchema:
|
|
17
|
+
declare const ArgumentSchema: valibot0.UnionSchema<[GenericSchema<{
|
|
18
18
|
GasCoin: true;
|
|
19
19
|
$kind?: "GasCoin" | undefined;
|
|
20
20
|
}, {
|
|
@@ -43,13 +43,13 @@ declare const ArgumentSchema: valibot575.UnionSchema<[GenericSchema<{
|
|
|
43
43
|
}>], undefined>;
|
|
44
44
|
type Argument = InferOutput<typeof ArgumentSchema>;
|
|
45
45
|
declare const GasDataSchema: ObjectSchema<{
|
|
46
|
-
readonly budget:
|
|
47
|
-
readonly price:
|
|
48
|
-
readonly owner:
|
|
49
|
-
readonly payment:
|
|
50
|
-
readonly objectId:
|
|
51
|
-
readonly version:
|
|
52
|
-
readonly digest:
|
|
46
|
+
readonly budget: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
47
|
+
readonly price: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
48
|
+
readonly owner: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>, undefined>;
|
|
49
|
+
readonly payment: valibot0.NullableSchema<valibot0.ArraySchema<ObjectSchema<{
|
|
50
|
+
readonly objectId: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
51
|
+
readonly version: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
52
|
+
readonly digest: valibot0.StringSchema<undefined>;
|
|
53
53
|
}, undefined>, undefined>, undefined>;
|
|
54
54
|
}, undefined>;
|
|
55
55
|
type GasData = InferOutput<typeof GasDataSchema>;
|
|
@@ -95,188 +95,190 @@ type Command<Arg = Argument> = EnumOutputShape<{
|
|
|
95
95
|
};
|
|
96
96
|
}>;
|
|
97
97
|
declare const ReservationSchema: EnumSchema<{
|
|
98
|
-
MaxAmountU64:
|
|
98
|
+
MaxAmountU64: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
99
99
|
}>;
|
|
100
100
|
type Reservation = InferOutput<typeof ReservationSchema>;
|
|
101
101
|
declare const WithdrawalTypeArgSchema: EnumSchema<{
|
|
102
|
-
Balance:
|
|
102
|
+
Balance: valibot0.StringSchema<undefined>;
|
|
103
103
|
}>;
|
|
104
104
|
type WithdrawalTypeArg = InferOutput<typeof WithdrawalTypeArgSchema>;
|
|
105
105
|
declare const WithdrawFromSchema: EnumSchema<{
|
|
106
|
-
Sender:
|
|
107
|
-
Sponsor:
|
|
106
|
+
Sender: valibot0.LiteralSchema<true, undefined>;
|
|
107
|
+
Sponsor: valibot0.LiteralSchema<true, undefined>;
|
|
108
108
|
SenderAllowance: ObjectSchema<{
|
|
109
|
-
readonly funder:
|
|
110
|
-
readonly allowance:
|
|
109
|
+
readonly funder: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
110
|
+
readonly allowance: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
111
111
|
}, undefined>;
|
|
112
112
|
}>;
|
|
113
113
|
type WithdrawFrom = InferOutput<typeof WithdrawFromSchema>;
|
|
114
114
|
declare const CallArgSchema: EnumSchema<{
|
|
115
115
|
Object: EnumSchema<{
|
|
116
116
|
ImmOrOwnedObject: ObjectSchema<{
|
|
117
|
-
readonly objectId:
|
|
118
|
-
readonly version:
|
|
119
|
-
readonly digest:
|
|
117
|
+
readonly objectId: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
118
|
+
readonly version: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
119
|
+
readonly digest: valibot0.StringSchema<undefined>;
|
|
120
120
|
}, undefined>;
|
|
121
121
|
SharedObject: ObjectSchema<{
|
|
122
|
-
readonly objectId:
|
|
123
|
-
readonly initialSharedVersion:
|
|
124
|
-
readonly mutable:
|
|
122
|
+
readonly objectId: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
123
|
+
readonly initialSharedVersion: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
124
|
+
readonly mutable: valibot0.BooleanSchema<undefined>;
|
|
125
|
+
readonly mutability: valibot0.OptionalSchema<valibot0.LiteralSchema<"NonExclusiveWrite", undefined>, undefined>;
|
|
125
126
|
}, undefined>;
|
|
126
127
|
Receiving: ObjectSchema<{
|
|
127
|
-
readonly objectId:
|
|
128
|
-
readonly version:
|
|
129
|
-
readonly digest:
|
|
128
|
+
readonly objectId: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
129
|
+
readonly version: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
130
|
+
readonly digest: valibot0.StringSchema<undefined>;
|
|
130
131
|
}, undefined>;
|
|
131
132
|
}>;
|
|
132
133
|
Pure: ObjectSchema<{
|
|
133
|
-
readonly bytes:
|
|
134
|
+
readonly bytes: valibot0.StringSchema<undefined>;
|
|
134
135
|
}, undefined>;
|
|
135
136
|
UnresolvedPure: ObjectSchema<{
|
|
136
|
-
readonly value:
|
|
137
|
+
readonly value: valibot0.UnknownSchema;
|
|
137
138
|
}, undefined>;
|
|
138
139
|
UnresolvedObject: ObjectSchema<{
|
|
139
|
-
readonly objectId:
|
|
140
|
-
readonly version:
|
|
141
|
-
readonly digest:
|
|
142
|
-
readonly initialSharedVersion:
|
|
143
|
-
readonly mutable:
|
|
140
|
+
readonly objectId: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
141
|
+
readonly version: valibot0.OptionalSchema<valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>, undefined>;
|
|
142
|
+
readonly digest: valibot0.OptionalSchema<valibot0.NullableSchema<valibot0.StringSchema<undefined>, undefined>, undefined>;
|
|
143
|
+
readonly initialSharedVersion: valibot0.OptionalSchema<valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>, undefined>;
|
|
144
|
+
readonly mutable: valibot0.OptionalSchema<valibot0.NullableSchema<valibot0.BooleanSchema<undefined>, undefined>, undefined>;
|
|
144
145
|
}, undefined>;
|
|
145
146
|
FundsWithdrawal: ObjectSchema<{
|
|
146
147
|
readonly reservation: EnumSchema<{
|
|
147
|
-
MaxAmountU64:
|
|
148
|
+
MaxAmountU64: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
148
149
|
}>;
|
|
149
150
|
readonly typeArg: EnumSchema<{
|
|
150
|
-
Balance:
|
|
151
|
+
Balance: valibot0.StringSchema<undefined>;
|
|
151
152
|
}>;
|
|
152
153
|
readonly withdrawFrom: EnumSchema<{
|
|
153
|
-
Sender:
|
|
154
|
-
Sponsor:
|
|
154
|
+
Sender: valibot0.LiteralSchema<true, undefined>;
|
|
155
|
+
Sponsor: valibot0.LiteralSchema<true, undefined>;
|
|
155
156
|
SenderAllowance: ObjectSchema<{
|
|
156
|
-
readonly funder:
|
|
157
|
-
readonly allowance:
|
|
157
|
+
readonly funder: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
158
|
+
readonly allowance: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
158
159
|
}, undefined>;
|
|
159
160
|
}>;
|
|
160
161
|
}, undefined>;
|
|
161
162
|
}>;
|
|
162
163
|
type CallArg = InferOutput<typeof CallArgSchema>;
|
|
163
164
|
declare const TransactionExpiration: EnumSchema<{
|
|
164
|
-
None:
|
|
165
|
-
Epoch:
|
|
165
|
+
None: valibot0.LiteralSchema<true, undefined>;
|
|
166
|
+
Epoch: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
166
167
|
ValidDuring: ObjectSchema<{
|
|
167
|
-
readonly minEpoch:
|
|
168
|
-
readonly maxEpoch:
|
|
169
|
-
readonly minTimestamp:
|
|
170
|
-
readonly maxTimestamp:
|
|
171
|
-
readonly chain:
|
|
172
|
-
readonly nonce:
|
|
168
|
+
readonly minEpoch: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
169
|
+
readonly maxEpoch: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
170
|
+
readonly minTimestamp: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
171
|
+
readonly maxTimestamp: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
172
|
+
readonly chain: valibot0.StringSchema<undefined>;
|
|
173
|
+
readonly nonce: valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>, valibot0.CheckAction<number, "Invalid u32">]>;
|
|
173
174
|
}, undefined>;
|
|
174
175
|
Validity: ObjectSchema<{
|
|
175
|
-
readonly allowedProposers:
|
|
176
|
-
readonly epoch:
|
|
177
|
-
readonly proposers:
|
|
176
|
+
readonly allowedProposers: valibot0.NullableSchema<ObjectSchema<{
|
|
177
|
+
readonly epoch: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
178
|
+
readonly proposers: valibot0.SchemaWithPipe<readonly [valibot0.ArraySchema<valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>, valibot0.CheckAction<number, "Invalid u32">]>, undefined>, valibot0.CheckAction<number[], "Allowed proposers must not be empty">]>;
|
|
178
179
|
}, undefined>, undefined>;
|
|
179
|
-
readonly minEpoch:
|
|
180
|
-
readonly maxEpoch:
|
|
181
|
-
readonly minTimestamp:
|
|
182
|
-
readonly maxTimestamp:
|
|
183
|
-
readonly chain:
|
|
184
|
-
readonly nonce:
|
|
180
|
+
readonly minEpoch: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
181
|
+
readonly maxEpoch: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
182
|
+
readonly minTimestamp: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
183
|
+
readonly maxTimestamp: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
184
|
+
readonly chain: valibot0.StringSchema<undefined>;
|
|
185
|
+
readonly nonce: valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>, valibot0.CheckAction<number, "Invalid u32">]>;
|
|
185
186
|
}, undefined>;
|
|
186
187
|
}>;
|
|
187
188
|
type TransactionExpiration = InferOutput<typeof TransactionExpiration>;
|
|
188
189
|
declare const TransactionDataSchema: ObjectSchema<{
|
|
189
|
-
readonly version:
|
|
190
|
-
readonly sender:
|
|
191
|
-
readonly expiration:
|
|
192
|
-
None:
|
|
193
|
-
Epoch:
|
|
190
|
+
readonly version: valibot0.LiteralSchema<2, undefined>;
|
|
191
|
+
readonly sender: valibot0.NullishSchema<valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>, undefined>;
|
|
192
|
+
readonly expiration: valibot0.NullishSchema<EnumSchema<{
|
|
193
|
+
None: valibot0.LiteralSchema<true, undefined>;
|
|
194
|
+
Epoch: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
194
195
|
ValidDuring: ObjectSchema<{
|
|
195
|
-
readonly minEpoch:
|
|
196
|
-
readonly maxEpoch:
|
|
197
|
-
readonly minTimestamp:
|
|
198
|
-
readonly maxTimestamp:
|
|
199
|
-
readonly chain:
|
|
200
|
-
readonly nonce:
|
|
196
|
+
readonly minEpoch: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
197
|
+
readonly maxEpoch: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
198
|
+
readonly minTimestamp: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
199
|
+
readonly maxTimestamp: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
200
|
+
readonly chain: valibot0.StringSchema<undefined>;
|
|
201
|
+
readonly nonce: valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>, valibot0.CheckAction<number, "Invalid u32">]>;
|
|
201
202
|
}, undefined>;
|
|
202
203
|
Validity: ObjectSchema<{
|
|
203
|
-
readonly allowedProposers:
|
|
204
|
-
readonly epoch:
|
|
205
|
-
readonly proposers:
|
|
204
|
+
readonly allowedProposers: valibot0.NullableSchema<ObjectSchema<{
|
|
205
|
+
readonly epoch: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
206
|
+
readonly proposers: valibot0.SchemaWithPipe<readonly [valibot0.ArraySchema<valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>, valibot0.CheckAction<number, "Invalid u32">]>, undefined>, valibot0.CheckAction<number[], "Allowed proposers must not be empty">]>;
|
|
206
207
|
}, undefined>, undefined>;
|
|
207
|
-
readonly minEpoch:
|
|
208
|
-
readonly maxEpoch:
|
|
209
|
-
readonly minTimestamp:
|
|
210
|
-
readonly maxTimestamp:
|
|
211
|
-
readonly chain:
|
|
212
|
-
readonly nonce:
|
|
208
|
+
readonly minEpoch: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
209
|
+
readonly maxEpoch: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
210
|
+
readonly minTimestamp: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
211
|
+
readonly maxTimestamp: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
212
|
+
readonly chain: valibot0.StringSchema<undefined>;
|
|
213
|
+
readonly nonce: valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>, valibot0.CheckAction<number, "Invalid u32">]>;
|
|
213
214
|
}, undefined>;
|
|
214
215
|
}>, undefined>;
|
|
215
216
|
readonly gasData: ObjectSchema<{
|
|
216
|
-
readonly budget:
|
|
217
|
-
readonly price:
|
|
218
|
-
readonly owner:
|
|
219
|
-
readonly payment:
|
|
220
|
-
readonly objectId:
|
|
221
|
-
readonly version:
|
|
222
|
-
readonly digest:
|
|
217
|
+
readonly budget: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
218
|
+
readonly price: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
219
|
+
readonly owner: valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>, undefined>;
|
|
220
|
+
readonly payment: valibot0.NullableSchema<valibot0.ArraySchema<ObjectSchema<{
|
|
221
|
+
readonly objectId: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
222
|
+
readonly version: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
223
|
+
readonly digest: valibot0.StringSchema<undefined>;
|
|
223
224
|
}, undefined>, undefined>, undefined>;
|
|
224
225
|
}, undefined>;
|
|
225
|
-
readonly inputs:
|
|
226
|
+
readonly inputs: valibot0.ArraySchema<EnumSchema<{
|
|
226
227
|
Object: EnumSchema<{
|
|
227
228
|
ImmOrOwnedObject: ObjectSchema<{
|
|
228
|
-
readonly objectId:
|
|
229
|
-
readonly version:
|
|
230
|
-
readonly digest:
|
|
229
|
+
readonly objectId: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
230
|
+
readonly version: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
231
|
+
readonly digest: valibot0.StringSchema<undefined>;
|
|
231
232
|
}, undefined>;
|
|
232
233
|
SharedObject: ObjectSchema<{
|
|
233
|
-
readonly objectId:
|
|
234
|
-
readonly initialSharedVersion:
|
|
235
|
-
readonly mutable:
|
|
234
|
+
readonly objectId: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
235
|
+
readonly initialSharedVersion: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
236
|
+
readonly mutable: valibot0.BooleanSchema<undefined>;
|
|
237
|
+
readonly mutability: valibot0.OptionalSchema<valibot0.LiteralSchema<"NonExclusiveWrite", undefined>, undefined>;
|
|
236
238
|
}, undefined>;
|
|
237
239
|
Receiving: ObjectSchema<{
|
|
238
|
-
readonly objectId:
|
|
239
|
-
readonly version:
|
|
240
|
-
readonly digest:
|
|
240
|
+
readonly objectId: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
241
|
+
readonly version: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
242
|
+
readonly digest: valibot0.StringSchema<undefined>;
|
|
241
243
|
}, undefined>;
|
|
242
244
|
}>;
|
|
243
245
|
Pure: ObjectSchema<{
|
|
244
|
-
readonly bytes:
|
|
246
|
+
readonly bytes: valibot0.StringSchema<undefined>;
|
|
245
247
|
}, undefined>;
|
|
246
248
|
UnresolvedPure: ObjectSchema<{
|
|
247
|
-
readonly value:
|
|
249
|
+
readonly value: valibot0.UnknownSchema;
|
|
248
250
|
}, undefined>;
|
|
249
251
|
UnresolvedObject: ObjectSchema<{
|
|
250
|
-
readonly objectId:
|
|
251
|
-
readonly version:
|
|
252
|
-
readonly digest:
|
|
253
|
-
readonly initialSharedVersion:
|
|
254
|
-
readonly mutable:
|
|
252
|
+
readonly objectId: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
253
|
+
readonly version: valibot0.OptionalSchema<valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>, undefined>;
|
|
254
|
+
readonly digest: valibot0.OptionalSchema<valibot0.NullableSchema<valibot0.StringSchema<undefined>, undefined>, undefined>;
|
|
255
|
+
readonly initialSharedVersion: valibot0.OptionalSchema<valibot0.NullableSchema<valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>, undefined>, undefined>;
|
|
256
|
+
readonly mutable: valibot0.OptionalSchema<valibot0.NullableSchema<valibot0.BooleanSchema<undefined>, undefined>, undefined>;
|
|
255
257
|
}, undefined>;
|
|
256
258
|
FundsWithdrawal: ObjectSchema<{
|
|
257
259
|
readonly reservation: EnumSchema<{
|
|
258
|
-
MaxAmountU64:
|
|
260
|
+
MaxAmountU64: valibot0.SchemaWithPipe<readonly [valibot0.UnionSchema<[valibot0.StringSchema<undefined>, valibot0.SchemaWithPipe<readonly [valibot0.NumberSchema<undefined>, valibot0.IntegerAction<number, undefined>]>], undefined>, valibot0.CheckAction<string | number, "Invalid u64">]>;
|
|
259
261
|
}>;
|
|
260
262
|
readonly typeArg: EnumSchema<{
|
|
261
|
-
Balance:
|
|
263
|
+
Balance: valibot0.StringSchema<undefined>;
|
|
262
264
|
}>;
|
|
263
265
|
readonly withdrawFrom: EnumSchema<{
|
|
264
|
-
Sender:
|
|
265
|
-
Sponsor:
|
|
266
|
+
Sender: valibot0.LiteralSchema<true, undefined>;
|
|
267
|
+
Sponsor: valibot0.LiteralSchema<true, undefined>;
|
|
266
268
|
SenderAllowance: ObjectSchema<{
|
|
267
|
-
readonly funder:
|
|
268
|
-
readonly allowance:
|
|
269
|
+
readonly funder: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
270
|
+
readonly allowance: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
269
271
|
}, undefined>;
|
|
270
272
|
}>;
|
|
271
273
|
}, undefined>;
|
|
272
274
|
}>, undefined>;
|
|
273
|
-
readonly commands:
|
|
275
|
+
readonly commands: valibot0.ArraySchema<EnumSchema<{
|
|
274
276
|
MoveCall: ObjectSchema<{
|
|
275
|
-
readonly package:
|
|
276
|
-
readonly module:
|
|
277
|
-
readonly function:
|
|
278
|
-
readonly typeArguments:
|
|
279
|
-
readonly arguments:
|
|
277
|
+
readonly package: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
278
|
+
readonly module: valibot0.StringSchema<undefined>;
|
|
279
|
+
readonly function: valibot0.StringSchema<undefined>;
|
|
280
|
+
readonly typeArguments: valibot0.ArraySchema<valibot0.StringSchema<undefined>, undefined>;
|
|
281
|
+
readonly arguments: valibot0.ArraySchema<valibot0.UnionSchema<[GenericSchema<{
|
|
280
282
|
GasCoin: true;
|
|
281
283
|
$kind?: "GasCoin" | undefined;
|
|
282
284
|
}, {
|
|
@@ -303,13 +305,13 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
303
305
|
NestedResult: [number, number];
|
|
304
306
|
$kind: "NestedResult";
|
|
305
307
|
}>], undefined>, undefined>;
|
|
306
|
-
readonly _argumentTypes:
|
|
307
|
-
readonly reference:
|
|
308
|
+
readonly _argumentTypes: valibot0.OptionalSchema<valibot0.NullableSchema<valibot0.ArraySchema<ObjectSchema<{
|
|
309
|
+
readonly reference: valibot0.NullableSchema<valibot0.UnionSchema<[valibot0.LiteralSchema<"mutable", undefined>, valibot0.LiteralSchema<"immutable", undefined>, valibot0.LiteralSchema<"unknown", undefined>], undefined>, undefined>;
|
|
308
310
|
readonly body: GenericSchema<SuiClientTypes.OpenSignatureBody>;
|
|
309
311
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
310
312
|
}, undefined>;
|
|
311
313
|
TransferObjects: ObjectSchema<{
|
|
312
|
-
readonly objects:
|
|
314
|
+
readonly objects: valibot0.ArraySchema<valibot0.UnionSchema<[GenericSchema<{
|
|
313
315
|
GasCoin: true;
|
|
314
316
|
$kind?: "GasCoin" | undefined;
|
|
315
317
|
}, {
|
|
@@ -336,7 +338,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
336
338
|
NestedResult: [number, number];
|
|
337
339
|
$kind: "NestedResult";
|
|
338
340
|
}>], undefined>, undefined>;
|
|
339
|
-
readonly address:
|
|
341
|
+
readonly address: valibot0.UnionSchema<[GenericSchema<{
|
|
340
342
|
GasCoin: true;
|
|
341
343
|
$kind?: "GasCoin" | undefined;
|
|
342
344
|
}, {
|
|
@@ -365,7 +367,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
365
367
|
}>], undefined>;
|
|
366
368
|
}, undefined>;
|
|
367
369
|
SplitCoins: ObjectSchema<{
|
|
368
|
-
readonly coin:
|
|
370
|
+
readonly coin: valibot0.UnionSchema<[GenericSchema<{
|
|
369
371
|
GasCoin: true;
|
|
370
372
|
$kind?: "GasCoin" | undefined;
|
|
371
373
|
}, {
|
|
@@ -392,7 +394,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
392
394
|
NestedResult: [number, number];
|
|
393
395
|
$kind: "NestedResult";
|
|
394
396
|
}>], undefined>;
|
|
395
|
-
readonly amounts:
|
|
397
|
+
readonly amounts: valibot0.ArraySchema<valibot0.UnionSchema<[GenericSchema<{
|
|
396
398
|
GasCoin: true;
|
|
397
399
|
$kind?: "GasCoin" | undefined;
|
|
398
400
|
}, {
|
|
@@ -421,7 +423,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
421
423
|
}>], undefined>, undefined>;
|
|
422
424
|
}, undefined>;
|
|
423
425
|
MergeCoins: ObjectSchema<{
|
|
424
|
-
readonly destination:
|
|
426
|
+
readonly destination: valibot0.UnionSchema<[GenericSchema<{
|
|
425
427
|
GasCoin: true;
|
|
426
428
|
$kind?: "GasCoin" | undefined;
|
|
427
429
|
}, {
|
|
@@ -448,7 +450,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
448
450
|
NestedResult: [number, number];
|
|
449
451
|
$kind: "NestedResult";
|
|
450
452
|
}>], undefined>;
|
|
451
|
-
readonly sources:
|
|
453
|
+
readonly sources: valibot0.ArraySchema<valibot0.UnionSchema<[GenericSchema<{
|
|
452
454
|
GasCoin: true;
|
|
453
455
|
$kind?: "GasCoin" | undefined;
|
|
454
456
|
}, {
|
|
@@ -477,12 +479,12 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
477
479
|
}>], undefined>, undefined>;
|
|
478
480
|
}, undefined>;
|
|
479
481
|
Publish: ObjectSchema<{
|
|
480
|
-
readonly modules:
|
|
481
|
-
readonly dependencies:
|
|
482
|
+
readonly modules: valibot0.ArraySchema<valibot0.StringSchema<undefined>, undefined>;
|
|
483
|
+
readonly dependencies: valibot0.ArraySchema<valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>, undefined>;
|
|
482
484
|
}, undefined>;
|
|
483
485
|
MakeMoveVec: ObjectSchema<{
|
|
484
|
-
readonly type:
|
|
485
|
-
readonly elements:
|
|
486
|
+
readonly type: valibot0.NullableSchema<valibot0.StringSchema<undefined>, undefined>;
|
|
487
|
+
readonly elements: valibot0.ArraySchema<valibot0.UnionSchema<[GenericSchema<{
|
|
486
488
|
GasCoin: true;
|
|
487
489
|
$kind?: "GasCoin" | undefined;
|
|
488
490
|
}, {
|
|
@@ -511,10 +513,10 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
511
513
|
}>], undefined>, undefined>;
|
|
512
514
|
}, undefined>;
|
|
513
515
|
Upgrade: ObjectSchema<{
|
|
514
|
-
readonly modules:
|
|
515
|
-
readonly dependencies:
|
|
516
|
-
readonly package:
|
|
517
|
-
readonly ticket:
|
|
516
|
+
readonly modules: valibot0.ArraySchema<valibot0.StringSchema<undefined>, undefined>;
|
|
517
|
+
readonly dependencies: valibot0.ArraySchema<valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>, undefined>;
|
|
518
|
+
readonly package: valibot0.SchemaWithPipe<readonly [valibot0.StringSchema<undefined>, valibot0.TransformAction<string, string>, valibot0.CheckAction<string, undefined>]>;
|
|
519
|
+
readonly ticket: valibot0.UnionSchema<[GenericSchema<{
|
|
518
520
|
GasCoin: true;
|
|
519
521
|
$kind?: "GasCoin" | undefined;
|
|
520
522
|
}, {
|
|
@@ -543,8 +545,8 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
543
545
|
}>], undefined>;
|
|
544
546
|
}, undefined>;
|
|
545
547
|
$Intent: ObjectSchema<{
|
|
546
|
-
readonly name:
|
|
547
|
-
readonly inputs:
|
|
548
|
+
readonly name: valibot0.StringSchema<undefined>;
|
|
549
|
+
readonly inputs: valibot0.RecordSchema<valibot0.StringSchema<undefined>, valibot0.UnionSchema<[valibot0.UnionSchema<[GenericSchema<{
|
|
548
550
|
GasCoin: true;
|
|
549
551
|
$kind?: "GasCoin" | undefined;
|
|
550
552
|
}, {
|
|
@@ -570,7 +572,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
570
572
|
}, {
|
|
571
573
|
NestedResult: [number, number];
|
|
572
574
|
$kind: "NestedResult";
|
|
573
|
-
}>], undefined>,
|
|
575
|
+
}>], undefined>, valibot0.ArraySchema<valibot0.UnionSchema<[GenericSchema<{
|
|
574
576
|
GasCoin: true;
|
|
575
577
|
$kind?: "GasCoin" | undefined;
|
|
576
578
|
}, {
|
|
@@ -597,7 +599,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
597
599
|
NestedResult: [number, number];
|
|
598
600
|
$kind: "NestedResult";
|
|
599
601
|
}>], undefined>, undefined>], undefined>, undefined>;
|
|
600
|
-
readonly data:
|
|
602
|
+
readonly data: valibot0.RecordSchema<valibot0.StringSchema<undefined>, valibot0.UnknownSchema, undefined>;
|
|
601
603
|
}, undefined>;
|
|
602
604
|
}>, undefined>;
|
|
603
605
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.mts","names":[],"sources":["../../../src/transactions/data/internal.ts"],"mappings":";;;;;;;KA+BK,eAAA,WAA0B,MAAA,SAAe,aAAA,UAAuB,cAAA,CACpE,QAAA,eACa,CAAA,GAAI,UAAA,CAAW,CAAA,CAAE,CAAA;AAAA,KAI1B,gBAAA,WAA2B,MAAA,SAAe,aAAA,UAAuB,eAAA,CACrE,QAAA,eACa,CAAA,GAAI,WAAA,CAAY,CAAA,CAAE,CAAA;AAAA,KAI3B,UAAA,WAAqB,MAAA,SAAe,aAAA,UAAuB,aAAA,CAC/D,eAAA,CAAgB,CAAA,GAChB,gBAAA,CAAiB,CAAA;AAAA,cA6FL,eAAA,EAAe,YAAA;EAAA,
|
|
1
|
+
{"version":3,"file":"internal.d.mts","names":[],"sources":["../../../src/transactions/data/internal.ts"],"mappings":";;;;;;;KA+BK,eAAA,WAA0B,MAAA,SAAe,aAAA,UAAuB,cAAA,CACpE,QAAA,eACa,CAAA,GAAI,UAAA,CAAW,CAAA,CAAE,CAAA;AAAA,KAI1B,gBAAA,WAA2B,MAAA,SAAe,aAAA,UAAuB,eAAA,CACrE,QAAA,eACa,CAAA,GAAI,WAAA,CAAY,CAAA,CAAE,CAAA;AAAA,KAI3B,UAAA,WAAqB,MAAA,SAAe,aAAA,UAAuB,aAAA,CAC/D,eAAA,CAAgB,CAAA,GAChB,gBAAA,CAAiB,CAAA;AAAA,cA6FL,eAAA,EAAe,YAAA;EAAA,qDAI1B,QAAA,CAAA,YAAA;;;;KACU,SAAA,GAAY,WAAA,QAAmB,eAAA;AAAA,cAG9B,cAAA,WAAc,WAAA,EAAA,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgBf,QAAA,GAAW,WAAA,QAAmB,cAAA;AAAA,cAG7B,aAAA,EAAa,YAAA;EAAA,iGAKxB,QAAA,CAAA,YAAA;;;;;;;;;KACU,OAAA,GAAU,WAAA,QAAmB,aAAA;AAAA,KAwF7B,OAAA,OAAc,QAAA,IAAY,eAAA;EACrC,QAAA;IACC,OAAA;IACA,MAAA;IACA,QAAA;IACA,aAAA;IACA,SAAA,EAAW,GAAA;IACX,cAAA,GAAiB,cAAA,CAAe,aAAA;EAAA;EAEjC,eAAA;IACC,OAAA,EAAS,GAAA;IACT,OAAA,EAAS,GAAA;EAAA;EAEV,UAAA;IACC,IAAA,EAAM,GAAA;IACN,OAAA,EAAS,GAAA;EAAA;EAEV,UAAA;IACC,WAAA,EAAa,GAAA;IACb,OAAA,EAAS,GAAA;EAAA;EAEV,OAAA;IACC,OAAA;IACA,YAAA;EAAA;EAED,WAAA;IACC,IAAA;IACA,QAAA,EAAU,GAAA;EAAA;EAEX,OAAA;IACC,OAAA;IACA,YAAA;IACA,OAAA;IACA,MAAA,EAAQ,GAAA;EAAA;EAET,OAAA;IACC,IAAA;IACA,MAAA,EAAQ,MAAA,SAAe,QAAA,GAAW,QAAA;IAClC,IAAA,EAAM,MAAA;EAAA;AAAA;AAAA,cAmBK,iBAAA,EAAiB,UAAA;wEAE5B,QAAA,CAAA,YAAA;;KACU,WAAA,GAAc,WAAA,QAAmB,iBAAA;AAAA,cAGhC,uBAAA,EAAuB,UAAA;WAElC,QAAA,CAAA,YAAA;AAAA;AAAA,KACU,iBAAA,GAAoB,WAAA,QAAmB,uBAAA;AAAA,cAGtC,kBAAA,EAAkB,UAAA;UAO7B,QAAA,CAAA,aAAA;;;;;;;KACU,YAAA,GAAe,WAAA,QAAmB,kBAAA;AAAA,cAWxC,aAAA,EAAa,UAAA;;;2DAgBjB,QAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KACU,OAAA,GAAU,WAAA,QAAmB,aAAA;AAAA,cAsC5B,qBAAA,EAAqB,UAAA;QAKhC,QAAA,CAAA,aAAA;;;;;;;;;;;;;;;;;;;;;;;KAEU,qBAAA,GAAwB,WAAA,QAAmB,qBAAA;AAAA,cAE1C,qBAAA,EAAqB,YAAA;EAAA,kBAOhC,QAAA,CAAA,aAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEU,eAAA,GAAkB,WAAA,QAAmB,qBAAA"}
|
|
@@ -160,7 +160,8 @@ const ObjectArgSchema = safeEnum({
|
|
|
160
160
|
SharedObject: object({
|
|
161
161
|
objectId: ObjectID,
|
|
162
162
|
initialSharedVersion: JsonU64,
|
|
163
|
-
mutable: boolean()
|
|
163
|
+
mutable: boolean(),
|
|
164
|
+
mutability: optional(literal("NonExclusiveWrite"))
|
|
164
165
|
}),
|
|
165
166
|
Receiving: ObjectRefSchema
|
|
166
167
|
});
|