wowok 2.1.39 → 2.1.41
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/dist/cjs/bcs/bcs.d.ts +0 -8
- package/dist/cjs/bcs/bcs.js +1 -278
- package/dist/cjs/bcs/effects.js +1 -203
- package/dist/cjs/bcs/index.js +1 -55
- package/dist/cjs/bcs/pure.js +1 -39
- package/dist/cjs/bcs/type-tag-serializer.js +1 -107
- package/dist/cjs/bcs/types.d.ts +0 -49
- package/dist/cjs/bcs/types.js +1 -6
- package/dist/cjs/client/index.js +1 -7
- package/dist/cjs/client/network.js +1 -24
- package/dist/cjs/cryptography/index.js +1 -9
- package/dist/cjs/cryptography/intent.d.ts +0 -3
- package/dist/cjs/cryptography/intent.js +1 -20
- package/dist/cjs/cryptography/keypair.d.ts +4 -38
- package/dist/cjs/cryptography/keypair.js +1 -104
- package/dist/cjs/cryptography/mnemonics.d.ts +0 -23
- package/dist/cjs/cryptography/mnemonics.js +1 -46
- package/dist/cjs/cryptography/publickey.d.ts +0 -42
- package/dist/cjs/cryptography/publickey.js +1 -114
- package/dist/cjs/cryptography/signature-scheme.js +1 -25
- package/dist/cjs/cryptography/signature.d.ts +0 -11
- package/dist/cjs/cryptography/signature.js +1 -50
- package/dist/cjs/experimental/cache.js +1 -61
- package/dist/cjs/experimental/client.js +1 -23
- package/dist/cjs/experimental/core.d.ts +0 -2
- package/dist/cjs/experimental/core.js +1 -85
- package/dist/cjs/experimental/errors.js +1 -27
- package/dist/cjs/experimental/index.js +1 -8
- package/dist/cjs/experimental/persistent-storage.d.ts +0 -98
- package/dist/cjs/experimental/persistent-storage.js +1 -337
- package/dist/cjs/experimental/persistent-storage.test.d.ts +0 -4
- package/dist/cjs/experimental/persistent-storage.test.js +1 -198
- package/dist/cjs/experimental/transports/utils.js +1 -100
- package/dist/cjs/experimental/types.d.ts +0 -6
- package/dist/cjs/experimental/types.js +1 -5
- package/dist/cjs/faucet/faucet.d.ts +0 -9
- package/dist/cjs/faucet/faucet.js +1 -111
- package/dist/cjs/faucet/index.js +1 -4
- package/dist/cjs/grpc/client.js +1 -45
- package/dist/cjs/grpc/core.js +1 -603
- package/dist/cjs/grpc/index.js +1 -5
- package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +0 -151
- package/dist/cjs/grpc/proto/google/protobuf/any.js +1 -168
- package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +0 -89
- package/dist/cjs/grpc/proto/google/protobuf/duration.js +1 -106
- package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +0 -17
- package/dist/cjs/grpc/proto/google/protobuf/empty.js +1 -49
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +0 -217
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +1 -95
- package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +0 -112
- package/dist/cjs/grpc/proto/google/protobuf/struct.js +1 -272
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +0 -127
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +1 -150
- package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +0 -407
- package/dist/cjs/grpc/proto/google/rpc/error_details.js +1 -343
- package/dist/cjs/grpc/proto/google/rpc/status.d.ts +0 -34
- package/dist/cjs/grpc/proto/google/rpc/status.js +1 -49
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.d.ts +0 -48
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js +1 -83
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.d.ts +0 -23
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js +1 -44
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.d.ts +0 -20
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js +1 -37
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +0 -48
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js +1 -69
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +0 -51
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js +1 -79
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +0 -149
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js +1 -184
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.d.ts +0 -257
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js +1 -370
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.d.ts +0 -41
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js +1 -79
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.d.ts +0 -12
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js +1 -29
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.d.ts +0 -63
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js +1 -81
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +0 -56
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js +1 -79
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.d.ts +0 -623
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js +1 -886
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +0 -29
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js +1 -55
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.d.ts +0 -75
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js +1 -102
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +0 -50
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js +1 -76
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +0 -52
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js +1 -68
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.d.ts +0 -260
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js +1 -407
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.d.ts +0 -429
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js +1 -608
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +0 -30
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js +1 -45
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.d.ts +0 -151
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js +1 -256
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.d.ts +0 -18
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js +1 -31
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.d.ts +0 -97
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js +1 -143
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.d.ts +0 -95
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js +1 -109
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.d.ts +0 -23
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js +1 -45
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.d.ts +0 -42
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js +1 -75
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.d.ts +0 -15
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js +1 -45
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.d.ts +0 -447
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js +1 -584
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.d.ts +0 -31
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js +1 -52
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +0 -16
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +1 -26
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +0 -54
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js +1 -84
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +0 -36
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +1 -52
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.d.ts +0 -518
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js +1 -659
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +0 -36
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js +1 -36
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.d.ts +0 -36
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js +1 -59
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.d.ts +0 -538
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js +1 -756
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.d.ts +0 -945
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js +1 -1245
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +0 -18
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +1 -31
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +0 -118
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +1 -193
- package/dist/cjs/index.js +1 -33
- package/dist/cjs/jsonRpc/client.d.ts +0 -140
- package/dist/cjs/jsonRpc/client.js +1 -653
- package/dist/cjs/jsonRpc/core.js +1 -590
- package/dist/cjs/jsonRpc/errors.js +1 -41
- package/dist/cjs/jsonRpc/http-transport.d.ts +0 -3
- package/dist/cjs/jsonRpc/http-transport.js +1 -73
- package/dist/cjs/jsonRpc/index.js +1 -6
- package/dist/cjs/jsonRpc/json-rpc-resolver.js +1 -314
- package/dist/cjs/jsonRpc/rpc-websocket-client.d.ts +0 -15
- package/dist/cjs/jsonRpc/rpc-websocket-client.js +1 -159
- package/dist/cjs/jsonRpc/types/chain.js +1 -4
- package/dist/cjs/jsonRpc/types/changes.js +1 -4
- package/dist/cjs/jsonRpc/types/coins.js +1 -4
- package/dist/cjs/jsonRpc/types/common.js +1 -4
- package/dist/cjs/jsonRpc/types/generated.d.ts +56 -542
- package/dist/cjs/jsonRpc/types/generated.js +1 -4
- package/dist/cjs/jsonRpc/types/index.js +1 -4
- package/dist/cjs/jsonRpc/types/params.d.ts +0 -336
- package/dist/cjs/jsonRpc/types/params.js +1 -4
- package/dist/cjs/keypairs/ed25519/ed25519-hd-key.js +1 -63
- package/dist/cjs/keypairs/ed25519/index.js +1 -5
- package/dist/cjs/keypairs/ed25519/keypair.d.ts +0 -52
- package/dist/cjs/keypairs/ed25519/keypair.js +1 -140
- package/dist/cjs/keypairs/ed25519/publickey.d.ts +0 -19
- package/dist/cjs/keypairs/ed25519/publickey.js +1 -72
- package/dist/cjs/keypairs/index.js +1 -7
- package/dist/cjs/keypairs/passkey/index.js +1 -5
- package/dist/cjs/keypairs/passkey/keypair.d.ts +0 -80
- package/dist/cjs/keypairs/passkey/keypair.js +1 -251
- package/dist/cjs/keypairs/passkey/publickey.d.ts +0 -47
- package/dist/cjs/keypairs/passkey/publickey.js +1 -170
- package/dist/cjs/keypairs/passkey/types.d.ts +0 -6
- package/dist/cjs/keypairs/passkey/types.js +1 -4
- package/dist/cjs/keypairs/secp256k1/index.js +1 -5
- package/dist/cjs/keypairs/secp256k1/keypair.d.ts +0 -51
- package/dist/cjs/keypairs/secp256k1/keypair.js +1 -133
- package/dist/cjs/keypairs/secp256k1/publickey.d.ts +0 -19
- package/dist/cjs/keypairs/secp256k1/publickey.js +1 -73
- package/dist/cjs/keypairs/secp256r1/index.js +1 -5
- package/dist/cjs/keypairs/secp256r1/keypair.d.ts +0 -51
- package/dist/cjs/keypairs/secp256r1/keypair.js +1 -130
- package/dist/cjs/keypairs/secp256r1/publickey.d.ts +0 -19
- package/dist/cjs/keypairs/secp256r1/publickey.js +1 -74
- package/dist/cjs/multisig/index.js +1 -5
- package/dist/cjs/multisig/publickey.d.ts +1 -36
- package/dist/cjs/multisig/publickey.js +1 -243
- package/dist/cjs/multisig/signer.d.ts +0 -1
- package/dist/cjs/multisig/signer.js +1 -62
- package/dist/cjs/transactions/Arguments.js +1 -12
- package/dist/cjs/transactions/Commands.d.ts +0 -3
- package/dist/cjs/transactions/Commands.js +1 -110
- package/dist/cjs/transactions/Inputs.js +1 -55
- package/dist/cjs/transactions/ObjectCache.js +1 -208
- package/dist/cjs/transactions/Transaction.d.ts +0 -56
- package/dist/cjs/transactions/Transaction.js +1 -646
- package/dist/cjs/transactions/TransactionData.d.ts +0 -6
- package/dist/cjs/transactions/TransactionData.js +1 -424
- package/dist/cjs/transactions/__tests__/Transaction.test.js +1 -167
- package/dist/cjs/transactions/__tests__/bcs.test.js +1 -200
- package/dist/cjs/transactions/data/internal.js +1 -185
- package/dist/cjs/transactions/data/v1.js +1 -474
- package/dist/cjs/transactions/data/v2.js +1 -108
- package/dist/cjs/transactions/executor/caching.d.ts +0 -4
- package/dist/cjs/transactions/executor/caching.js +1 -72
- package/dist/cjs/transactions/executor/parallel.d.ts +0 -11
- package/dist/cjs/transactions/executor/parallel.js +1 -352
- package/dist/cjs/transactions/executor/queue.js +1 -62
- package/dist/cjs/transactions/executor/serial.d.ts +0 -1
- package/dist/cjs/transactions/executor/serial.js +1 -102
- package/dist/cjs/transactions/hash.d.ts +0 -6
- package/dist/cjs/transactions/hash.js +1 -17
- package/dist/cjs/transactions/index.d.ts +0 -1
- package/dist/cjs/transactions/index.js +1 -15
- package/dist/cjs/transactions/intents/CoinWithBalance.js +1 -148
- package/dist/cjs/transactions/object.js +1 -90
- package/dist/cjs/transactions/plugins/NamedPackagesPlugin.d.ts +0 -18
- package/dist/cjs/transactions/plugins/NamedPackagesPlugin.js +1 -20
- package/dist/cjs/transactions/pure.js +1 -39
- package/dist/cjs/transactions/resolve.js +1 -72
- package/dist/cjs/transactions/serializer.js +1 -170
- package/dist/cjs/transactions/utils.js +1 -124
- package/dist/cjs/utils/constants.js +1 -27
- package/dist/cjs/utils/derived-objects.d.ts +0 -3
- package/dist/cjs/utils/derived-objects.js +1 -14
- package/dist/cjs/utils/dynamic-fields.js +1 -20
- package/dist/cjs/utils/format.js +1 -15
- package/dist/cjs/utils/index.js +1 -15
- package/dist/cjs/utils/move-registry.d.ts +0 -4
- package/dist/cjs/utils/move-registry.js +1 -41
- package/dist/cjs/utils/sui-types.d.ts +0 -12
- package/dist/cjs/utils/sui-types.js +1 -86
- package/dist/cjs/utils/suins.js +1 -36
- package/dist/cjs/verify/index.js +1 -5
- package/dist/cjs/verify/verify.js +1 -91
- package/dist/cjs/version.js +1 -6
- package/dist/cjs/w/call/allocation.js +1 -369
- package/dist/cjs/w/call/arb.js +1 -109
- package/dist/cjs/w/call/arbitration.js +1 -1223
- package/dist/cjs/w/call/base.js +1 -324
- package/dist/cjs/w/call/contact.js +1 -350
- package/dist/cjs/w/call/demand.js +1 -702
- package/dist/cjs/w/call/entity.js +1 -180
- package/dist/cjs/w/call/guard-ins.d.ts +0 -3
- package/dist/cjs/w/call/guard-ins.js +1 -4387
- package/dist/cjs/w/call/guard.d.ts +111 -27
- package/dist/cjs/w/call/guard.js +1 -1154
- package/dist/cjs/w/call/index.js +1 -27
- package/dist/cjs/w/call/machine.js +1 -1146
- package/dist/cjs/w/call/order.js +1 -348
- package/dist/cjs/w/call/passport.js +1 -234
- package/dist/cjs/w/call/payment.js +1 -192
- package/dist/cjs/w/call/permission.d.ts +0 -20
- package/dist/cjs/w/call/permission.js +1 -1227
- package/dist/cjs/w/call/personal.js +1 -142
- package/dist/cjs/w/call/progress.js +1 -691
- package/dist/cjs/w/call/proof.js +1 -69
- package/dist/cjs/w/call/repository.js +1 -1097
- package/dist/cjs/w/call/resource.js +1 -119
- package/dist/cjs/w/call/reward.js +1 -688
- package/dist/cjs/w/call/service.js +1 -1991
- package/dist/cjs/w/call/treasury.js +1 -877
- package/dist/cjs/w/call/util.d.ts +1 -0
- package/dist/cjs/w/call/util.js +1 -624
- package/dist/cjs/w/common.d.ts +48 -68
- package/dist/cjs/w/common.js +1 -604
- package/dist/cjs/w/exception.d.ts +1 -0
- package/dist/cjs/w/exception.js +1 -582
- package/dist/cjs/w/index.js +1 -12
- package/dist/cjs/w/local/account.d.ts +0 -45
- package/dist/cjs/w/local/account.js +1 -746
- package/dist/cjs/w/local/cache.js +1 -191
- package/dist/cjs/w/local/config.d.ts +0 -3
- package/dist/cjs/w/local/config.js +1 -50
- package/dist/cjs/w/local/index.js +1 -233
- package/dist/cjs/w/local/local.js +1 -664
- package/dist/cjs/w/local/storage.d.ts +0 -20
- package/dist/cjs/w/local/storage.js +1 -222
- package/dist/cjs/w/local/token.d.ts +1 -4
- package/dist/cjs/w/local/token.js +1 -161
- package/dist/cjs/w/local/util.d.ts +0 -4
- package/dist/cjs/w/local/util.js +1 -50
- package/dist/cjs/w/local/wip.d.ts +0 -92
- package/dist/cjs/w/local/wip.js +1 -1202
- package/dist/cjs/w/messenger/crypto.d.ts +0 -186
- package/dist/cjs/w/messenger/crypto.js +1 -574
- package/dist/cjs/w/messenger/index.d.ts +0 -18
- package/dist/cjs/w/messenger/index.js +1 -28
- package/dist/cjs/w/messenger/messenger-api.d.ts +0 -177
- package/dist/cjs/w/messenger/messenger-api.js +1 -1503
- package/dist/cjs/w/messenger/messenger-manager.d.ts +0 -24
- package/dist/cjs/w/messenger/messenger-manager.js +1 -1065
- package/dist/cjs/w/messenger/messenger.d.ts +0 -206
- package/dist/cjs/w/messenger/messenger.js +1 -1439
- package/dist/cjs/w/messenger/server.d.ts +0 -94
- package/dist/cjs/w/messenger/server.js +1 -460
- package/dist/cjs/w/messenger/session.d.ts +0 -76
- package/dist/cjs/w/messenger/session.js +1 -768
- package/dist/cjs/w/messenger/storage.d.ts +0 -143
- package/dist/cjs/w/messenger/storage.js +1 -1256
- package/dist/cjs/w/messenger/templates/wts-html-template.d.ts +0 -31
- package/dist/cjs/w/messenger/templates/wts-html-template.js +1 -414
- package/dist/cjs/w/messenger/types.d.ts +7 -218
- package/dist/cjs/w/messenger/types.js +1 -98
- package/dist/cjs/w/messenger/utils.d.ts +0 -14
- package/dist/cjs/w/messenger/utils.js +1 -29
- package/dist/cjs/w/query/bult-in.d.ts +0 -11
- package/dist/cjs/w/query/bult-in.js +1 -107
- package/dist/cjs/w/query/event.d.ts +0 -7
- package/dist/cjs/w/query/event.js +1 -140
- package/dist/cjs/w/query/index.js +1 -8
- package/dist/cjs/w/query/object.d.ts +7 -51
- package/dist/cjs/w/query/object.js +1 -1636
- package/dist/cjs/w/query/received.d.ts +0 -6
- package/dist/cjs/w/query/received.js +1 -67
- package/dist/cjs/w/query/util.d.ts +1 -2
- package/dist/cjs/w/query/util.js +1 -54
- package/dist/cjs/w/util.d.ts +2 -5
- package/dist/cjs/w/util.js +1 -616
- package/dist/esm/bcs/bcs.d.ts +0 -8
- package/dist/esm/bcs/bcs.js +1 -278
- package/dist/esm/bcs/effects.js +1 -203
- package/dist/esm/bcs/index.js +1 -55
- package/dist/esm/bcs/pure.js +1 -39
- package/dist/esm/bcs/type-tag-serializer.js +1 -107
- package/dist/esm/bcs/types.d.ts +0 -49
- package/dist/esm/bcs/types.js +1 -6
- package/dist/esm/client/index.js +1 -7
- package/dist/esm/client/network.js +1 -24
- package/dist/esm/cryptography/index.js +1 -9
- package/dist/esm/cryptography/intent.d.ts +0 -3
- package/dist/esm/cryptography/intent.js +1 -20
- package/dist/esm/cryptography/keypair.d.ts +4 -38
- package/dist/esm/cryptography/keypair.js +1 -104
- package/dist/esm/cryptography/mnemonics.d.ts +0 -23
- package/dist/esm/cryptography/mnemonics.js +1 -46
- package/dist/esm/cryptography/publickey.d.ts +0 -42
- package/dist/esm/cryptography/publickey.js +1 -114
- package/dist/esm/cryptography/signature-scheme.js +1 -25
- package/dist/esm/cryptography/signature.d.ts +0 -11
- package/dist/esm/cryptography/signature.js +1 -50
- package/dist/esm/experimental/cache.js +1 -61
- package/dist/esm/experimental/client.js +1 -23
- package/dist/esm/experimental/core.d.ts +0 -2
- package/dist/esm/experimental/core.js +1 -85
- package/dist/esm/experimental/errors.js +1 -27
- package/dist/esm/experimental/index.js +1 -8
- package/dist/esm/experimental/persistent-storage.d.ts +0 -98
- package/dist/esm/experimental/persistent-storage.js +1 -337
- package/dist/esm/experimental/persistent-storage.test.d.ts +0 -4
- package/dist/esm/experimental/persistent-storage.test.js +1 -198
- package/dist/esm/experimental/transports/utils.js +1 -100
- package/dist/esm/experimental/types.d.ts +0 -6
- package/dist/esm/experimental/types.js +1 -5
- package/dist/esm/faucet/faucet.d.ts +0 -9
- package/dist/esm/faucet/faucet.js +1 -111
- package/dist/esm/faucet/index.js +1 -4
- package/dist/esm/grpc/client.js +1 -45
- package/dist/esm/grpc/core.js +1 -603
- package/dist/esm/grpc/index.js +1 -5
- package/dist/esm/grpc/proto/google/protobuf/any.d.ts +0 -151
- package/dist/esm/grpc/proto/google/protobuf/any.js +1 -168
- package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +0 -89
- package/dist/esm/grpc/proto/google/protobuf/duration.js +1 -106
- package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +0 -17
- package/dist/esm/grpc/proto/google/protobuf/empty.js +1 -49
- package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +0 -217
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js +1 -95
- package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +0 -112
- package/dist/esm/grpc/proto/google/protobuf/struct.js +1 -272
- package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +0 -127
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js +1 -150
- package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +0 -407
- package/dist/esm/grpc/proto/google/rpc/error_details.js +1 -343
- package/dist/esm/grpc/proto/google/rpc/status.d.ts +0 -34
- package/dist/esm/grpc/proto/google/rpc/status.js +1 -49
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +0 -48
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +1 -83
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +0 -23
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js +1 -44
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +0 -20
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js +1 -37
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +0 -48
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +1 -69
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +0 -51
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +1 -79
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +0 -149
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +1 -184
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +0 -257
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +1 -370
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +0 -41
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +1 -79
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.d.ts +0 -12
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js +1 -29
- package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +0 -63
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js +1 -81
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +0 -56
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +1 -79
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +0 -623
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +1 -886
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +0 -29
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +1 -55
- package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +0 -75
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js +1 -102
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +0 -50
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js +1 -76
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +0 -52
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +1 -68
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +0 -260
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +1 -407
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +0 -429
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +1 -608
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +0 -30
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +1 -45
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +0 -151
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +1 -256
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.d.ts +0 -18
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js +1 -31
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.d.ts +0 -97
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js +1 -143
- package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +0 -95
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js +1 -109
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +0 -23
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +1 -45
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +0 -42
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +1 -75
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +0 -15
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +1 -45
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +0 -447
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +1 -584
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.d.ts +0 -31
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js +1 -52
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +0 -16
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +1 -26
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +0 -54
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +1 -84
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +0 -36
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +1 -52
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +0 -518
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +1 -659
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +0 -36
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +1 -36
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +0 -36
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +1 -59
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +0 -538
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +1 -756
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +0 -945
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +1 -1245
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +0 -18
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +1 -31
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +0 -118
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +1 -193
- package/dist/esm/index.js +1 -33
- package/dist/esm/jsonRpc/client.d.ts +0 -140
- package/dist/esm/jsonRpc/client.js +1 -653
- package/dist/esm/jsonRpc/core.js +1 -590
- package/dist/esm/jsonRpc/errors.js +1 -41
- package/dist/esm/jsonRpc/http-transport.d.ts +0 -3
- package/dist/esm/jsonRpc/http-transport.js +1 -73
- package/dist/esm/jsonRpc/index.js +1 -6
- package/dist/esm/jsonRpc/json-rpc-resolver.js +1 -314
- package/dist/esm/jsonRpc/rpc-websocket-client.d.ts +0 -15
- package/dist/esm/jsonRpc/rpc-websocket-client.js +1 -159
- package/dist/esm/jsonRpc/types/chain.js +1 -4
- package/dist/esm/jsonRpc/types/changes.js +1 -4
- package/dist/esm/jsonRpc/types/coins.js +1 -4
- package/dist/esm/jsonRpc/types/common.js +1 -4
- package/dist/esm/jsonRpc/types/generated.d.ts +56 -542
- package/dist/esm/jsonRpc/types/generated.js +1 -4
- package/dist/esm/jsonRpc/types/index.js +1 -4
- package/dist/esm/jsonRpc/types/params.d.ts +0 -336
- package/dist/esm/jsonRpc/types/params.js +1 -4
- package/dist/esm/keypairs/ed25519/ed25519-hd-key.js +1 -63
- package/dist/esm/keypairs/ed25519/index.js +1 -5
- package/dist/esm/keypairs/ed25519/keypair.d.ts +0 -52
- package/dist/esm/keypairs/ed25519/keypair.js +1 -140
- package/dist/esm/keypairs/ed25519/publickey.d.ts +0 -19
- package/dist/esm/keypairs/ed25519/publickey.js +1 -72
- package/dist/esm/keypairs/index.js +1 -7
- package/dist/esm/keypairs/passkey/index.js +1 -5
- package/dist/esm/keypairs/passkey/keypair.d.ts +0 -80
- package/dist/esm/keypairs/passkey/keypair.js +1 -251
- package/dist/esm/keypairs/passkey/publickey.d.ts +0 -47
- package/dist/esm/keypairs/passkey/publickey.js +1 -170
- package/dist/esm/keypairs/passkey/types.d.ts +0 -6
- package/dist/esm/keypairs/passkey/types.js +1 -4
- package/dist/esm/keypairs/secp256k1/index.js +1 -5
- package/dist/esm/keypairs/secp256k1/keypair.d.ts +0 -51
- package/dist/esm/keypairs/secp256k1/keypair.js +1 -133
- package/dist/esm/keypairs/secp256k1/publickey.d.ts +0 -19
- package/dist/esm/keypairs/secp256k1/publickey.js +1 -73
- package/dist/esm/keypairs/secp256r1/index.js +1 -5
- package/dist/esm/keypairs/secp256r1/keypair.d.ts +0 -51
- package/dist/esm/keypairs/secp256r1/keypair.js +1 -130
- package/dist/esm/keypairs/secp256r1/publickey.d.ts +0 -19
- package/dist/esm/keypairs/secp256r1/publickey.js +1 -74
- package/dist/esm/multisig/index.js +1 -5
- package/dist/esm/multisig/publickey.d.ts +1 -36
- package/dist/esm/multisig/publickey.js +1 -243
- package/dist/esm/multisig/signer.d.ts +0 -1
- package/dist/esm/multisig/signer.js +1 -62
- package/dist/esm/transactions/Arguments.js +1 -12
- package/dist/esm/transactions/Commands.d.ts +0 -3
- package/dist/esm/transactions/Commands.js +1 -110
- package/dist/esm/transactions/Inputs.js +1 -55
- package/dist/esm/transactions/ObjectCache.js +1 -208
- package/dist/esm/transactions/Transaction.d.ts +0 -56
- package/dist/esm/transactions/Transaction.js +1 -646
- package/dist/esm/transactions/TransactionData.d.ts +0 -6
- package/dist/esm/transactions/TransactionData.js +1 -424
- package/dist/esm/transactions/__tests__/Transaction.test.js +1 -167
- package/dist/esm/transactions/__tests__/bcs.test.js +1 -200
- package/dist/esm/transactions/data/internal.js +1 -185
- package/dist/esm/transactions/data/v1.js +1 -474
- package/dist/esm/transactions/data/v2.js +1 -108
- package/dist/esm/transactions/executor/caching.d.ts +0 -4
- package/dist/esm/transactions/executor/caching.js +1 -72
- package/dist/esm/transactions/executor/parallel.d.ts +0 -11
- package/dist/esm/transactions/executor/parallel.js +1 -352
- package/dist/esm/transactions/executor/queue.js +1 -62
- package/dist/esm/transactions/executor/serial.d.ts +0 -1
- package/dist/esm/transactions/executor/serial.js +1 -102
- package/dist/esm/transactions/hash.d.ts +0 -6
- package/dist/esm/transactions/hash.js +1 -17
- package/dist/esm/transactions/index.d.ts +0 -1
- package/dist/esm/transactions/index.js +1 -15
- package/dist/esm/transactions/intents/CoinWithBalance.js +1 -148
- package/dist/esm/transactions/object.js +1 -90
- package/dist/esm/transactions/plugins/NamedPackagesPlugin.d.ts +0 -18
- package/dist/esm/transactions/plugins/NamedPackagesPlugin.js +1 -20
- package/dist/esm/transactions/pure.js +1 -39
- package/dist/esm/transactions/resolve.js +1 -72
- package/dist/esm/transactions/serializer.js +1 -170
- package/dist/esm/transactions/utils.js +1 -124
- package/dist/esm/utils/constants.js +1 -27
- package/dist/esm/utils/derived-objects.d.ts +0 -3
- package/dist/esm/utils/derived-objects.js +1 -14
- package/dist/esm/utils/dynamic-fields.js +1 -20
- package/dist/esm/utils/format.js +1 -15
- package/dist/esm/utils/index.js +1 -15
- package/dist/esm/utils/move-registry.d.ts +0 -4
- package/dist/esm/utils/move-registry.js +1 -41
- package/dist/esm/utils/sui-types.d.ts +0 -12
- package/dist/esm/utils/sui-types.js +1 -86
- package/dist/esm/utils/suins.js +1 -36
- package/dist/esm/verify/index.js +1 -5
- package/dist/esm/verify/verify.js +1 -91
- package/dist/esm/version.js +1 -6
- package/dist/esm/w/call/allocation.js +1 -369
- package/dist/esm/w/call/arb.js +1 -109
- package/dist/esm/w/call/arbitration.js +1 -1223
- package/dist/esm/w/call/base.js +1 -324
- package/dist/esm/w/call/contact.js +1 -350
- package/dist/esm/w/call/demand.js +1 -702
- package/dist/esm/w/call/entity.js +1 -180
- package/dist/esm/w/call/guard-ins.d.ts +0 -3
- package/dist/esm/w/call/guard-ins.js +1 -4387
- package/dist/esm/w/call/guard.d.ts +111 -27
- package/dist/esm/w/call/guard.js +1 -1154
- package/dist/esm/w/call/index.js +1 -27
- package/dist/esm/w/call/machine.js +1 -1146
- package/dist/esm/w/call/order.js +1 -348
- package/dist/esm/w/call/passport.js +1 -234
- package/dist/esm/w/call/payment.js +1 -192
- package/dist/esm/w/call/permission.d.ts +0 -20
- package/dist/esm/w/call/permission.js +1 -1227
- package/dist/esm/w/call/personal.js +1 -142
- package/dist/esm/w/call/progress.js +1 -691
- package/dist/esm/w/call/proof.js +1 -69
- package/dist/esm/w/call/repository.js +1 -1097
- package/dist/esm/w/call/resource.js +1 -119
- package/dist/esm/w/call/reward.js +1 -688
- package/dist/esm/w/call/service.js +1 -1991
- package/dist/esm/w/call/treasury.js +1 -877
- package/dist/esm/w/call/util.d.ts +1 -0
- package/dist/esm/w/call/util.js +1 -624
- package/dist/esm/w/common.d.ts +48 -68
- package/dist/esm/w/common.js +1 -604
- package/dist/esm/w/exception.d.ts +1 -0
- package/dist/esm/w/exception.js +1 -582
- package/dist/esm/w/index.js +1 -12
- package/dist/esm/w/local/account.d.ts +0 -45
- package/dist/esm/w/local/account.js +1 -746
- package/dist/esm/w/local/cache.js +1 -191
- package/dist/esm/w/local/config.d.ts +0 -3
- package/dist/esm/w/local/config.js +1 -50
- package/dist/esm/w/local/index.js +1 -233
- package/dist/esm/w/local/local.js +1 -664
- package/dist/esm/w/local/storage.d.ts +0 -20
- package/dist/esm/w/local/storage.js +1 -222
- package/dist/esm/w/local/token.d.ts +1 -4
- package/dist/esm/w/local/token.js +1 -161
- package/dist/esm/w/local/util.d.ts +0 -4
- package/dist/esm/w/local/util.js +1 -50
- package/dist/esm/w/local/wip.d.ts +0 -92
- package/dist/esm/w/local/wip.js +1 -1202
- package/dist/esm/w/messenger/crypto.d.ts +0 -186
- package/dist/esm/w/messenger/crypto.js +1 -574
- package/dist/esm/w/messenger/index.d.ts +0 -18
- package/dist/esm/w/messenger/index.js +1 -28
- package/dist/esm/w/messenger/messenger-api.d.ts +0 -177
- package/dist/esm/w/messenger/messenger-api.js +1 -1503
- package/dist/esm/w/messenger/messenger-manager.d.ts +0 -24
- package/dist/esm/w/messenger/messenger-manager.js +1 -1065
- package/dist/esm/w/messenger/messenger.d.ts +0 -206
- package/dist/esm/w/messenger/messenger.js +1 -1439
- package/dist/esm/w/messenger/server.d.ts +0 -94
- package/dist/esm/w/messenger/server.js +1 -460
- package/dist/esm/w/messenger/session.d.ts +0 -76
- package/dist/esm/w/messenger/session.js +1 -768
- package/dist/esm/w/messenger/storage.d.ts +0 -143
- package/dist/esm/w/messenger/storage.js +1 -1256
- package/dist/esm/w/messenger/templates/wts-html-template.d.ts +0 -31
- package/dist/esm/w/messenger/templates/wts-html-template.js +1 -414
- package/dist/esm/w/messenger/types.d.ts +7 -218
- package/dist/esm/w/messenger/types.js +1 -98
- package/dist/esm/w/messenger/utils.d.ts +0 -14
- package/dist/esm/w/messenger/utils.js +1 -29
- package/dist/esm/w/query/bult-in.d.ts +0 -11
- package/dist/esm/w/query/bult-in.js +1 -107
- package/dist/esm/w/query/event.d.ts +0 -7
- package/dist/esm/w/query/event.js +1 -140
- package/dist/esm/w/query/index.js +1 -8
- package/dist/esm/w/query/object.d.ts +7 -51
- package/dist/esm/w/query/object.js +1 -1636
- package/dist/esm/w/query/received.d.ts +0 -6
- package/dist/esm/w/query/received.js +1 -67
- package/dist/esm/w/query/util.d.ts +1 -2
- package/dist/esm/w/query/util.js +1 -54
- package/dist/esm/w/util.d.ts +2 -5
- package/dist/esm/w/util.js +1 -616
- package/package.json +5 -2
- package/dist/cjs/bcs/bcs.js.map +0 -1
- package/dist/cjs/bcs/effects.js.map +0 -1
- package/dist/cjs/bcs/index.js.map +0 -1
- package/dist/cjs/bcs/pure.js.map +0 -1
- package/dist/cjs/bcs/type-tag-serializer.js.map +0 -1
- package/dist/cjs/bcs/types.js.map +0 -1
- package/dist/cjs/client/index.js.map +0 -1
- package/dist/cjs/client/network.js.map +0 -1
- package/dist/cjs/cryptography/index.js.map +0 -1
- package/dist/cjs/cryptography/intent.js.map +0 -1
- package/dist/cjs/cryptography/keypair.js.map +0 -1
- package/dist/cjs/cryptography/mnemonics.js.map +0 -1
- package/dist/cjs/cryptography/publickey.js.map +0 -1
- package/dist/cjs/cryptography/signature-scheme.js.map +0 -1
- package/dist/cjs/cryptography/signature.js.map +0 -1
- package/dist/cjs/experimental/cache.js.map +0 -1
- package/dist/cjs/experimental/client.js.map +0 -1
- package/dist/cjs/experimental/core.js.map +0 -1
- package/dist/cjs/experimental/errors.js.map +0 -1
- package/dist/cjs/experimental/index.js.map +0 -1
- package/dist/cjs/experimental/persistent-storage.js.map +0 -1
- package/dist/cjs/experimental/persistent-storage.test.js.map +0 -1
- package/dist/cjs/experimental/transports/utils.js.map +0 -1
- package/dist/cjs/experimental/types.js.map +0 -1
- package/dist/cjs/faucet/faucet.js.map +0 -1
- package/dist/cjs/faucet/index.js.map +0 -1
- package/dist/cjs/grpc/client.js.map +0 -1
- package/dist/cjs/grpc/core.js.map +0 -1
- package/dist/cjs/grpc/index.js.map +0 -1
- package/dist/cjs/grpc/proto/google/protobuf/any.js.map +0 -1
- package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +0 -1
- package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +0 -1
- package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +0 -1
- package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +0 -1
- package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +0 -1
- package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +0 -1
- package/dist/cjs/grpc/proto/google/rpc/status.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +0 -1
- package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/jsonRpc/client.js.map +0 -1
- package/dist/cjs/jsonRpc/core.js.map +0 -1
- package/dist/cjs/jsonRpc/errors.js.map +0 -1
- package/dist/cjs/jsonRpc/http-transport.js.map +0 -1
- package/dist/cjs/jsonRpc/index.js.map +0 -1
- package/dist/cjs/jsonRpc/json-rpc-resolver.js.map +0 -1
- package/dist/cjs/jsonRpc/rpc-websocket-client.js.map +0 -1
- package/dist/cjs/jsonRpc/types/chain.js.map +0 -1
- package/dist/cjs/jsonRpc/types/changes.js.map +0 -1
- package/dist/cjs/jsonRpc/types/coins.js.map +0 -1
- package/dist/cjs/jsonRpc/types/common.js.map +0 -1
- package/dist/cjs/jsonRpc/types/generated.js.map +0 -1
- package/dist/cjs/jsonRpc/types/index.js.map +0 -1
- package/dist/cjs/jsonRpc/types/params.js.map +0 -1
- package/dist/cjs/keypairs/ed25519/ed25519-hd-key.js.map +0 -1
- package/dist/cjs/keypairs/ed25519/index.js.map +0 -1
- package/dist/cjs/keypairs/ed25519/keypair.js.map +0 -1
- package/dist/cjs/keypairs/ed25519/publickey.js.map +0 -1
- package/dist/cjs/keypairs/index.js.map +0 -1
- package/dist/cjs/keypairs/passkey/index.js.map +0 -1
- package/dist/cjs/keypairs/passkey/keypair.js.map +0 -1
- package/dist/cjs/keypairs/passkey/publickey.js.map +0 -1
- package/dist/cjs/keypairs/passkey/types.js.map +0 -1
- package/dist/cjs/keypairs/secp256k1/index.js.map +0 -1
- package/dist/cjs/keypairs/secp256k1/keypair.js.map +0 -1
- package/dist/cjs/keypairs/secp256k1/publickey.js.map +0 -1
- package/dist/cjs/keypairs/secp256r1/index.js.map +0 -1
- package/dist/cjs/keypairs/secp256r1/keypair.js.map +0 -1
- package/dist/cjs/keypairs/secp256r1/publickey.js.map +0 -1
- package/dist/cjs/multisig/index.js.map +0 -1
- package/dist/cjs/multisig/publickey.js.map +0 -1
- package/dist/cjs/multisig/signer.js.map +0 -1
- package/dist/cjs/transactions/Arguments.js.map +0 -1
- package/dist/cjs/transactions/Commands.js.map +0 -1
- package/dist/cjs/transactions/Inputs.js.map +0 -1
- package/dist/cjs/transactions/ObjectCache.js.map +0 -1
- package/dist/cjs/transactions/Transaction.js.map +0 -1
- package/dist/cjs/transactions/TransactionData.js.map +0 -1
- package/dist/cjs/transactions/__tests__/Transaction.test.js.map +0 -1
- package/dist/cjs/transactions/__tests__/bcs.test.js.map +0 -1
- package/dist/cjs/transactions/data/internal.js.map +0 -1
- package/dist/cjs/transactions/data/v1.js.map +0 -1
- package/dist/cjs/transactions/data/v2.js.map +0 -1
- package/dist/cjs/transactions/executor/caching.js.map +0 -1
- package/dist/cjs/transactions/executor/parallel.js.map +0 -1
- package/dist/cjs/transactions/executor/queue.js.map +0 -1
- package/dist/cjs/transactions/executor/serial.js.map +0 -1
- package/dist/cjs/transactions/hash.js.map +0 -1
- package/dist/cjs/transactions/index.js.map +0 -1
- package/dist/cjs/transactions/intents/CoinWithBalance.js.map +0 -1
- package/dist/cjs/transactions/object.js.map +0 -1
- package/dist/cjs/transactions/plugins/NamedPackagesPlugin.js.map +0 -1
- package/dist/cjs/transactions/pure.js.map +0 -1
- package/dist/cjs/transactions/resolve.js.map +0 -1
- package/dist/cjs/transactions/serializer.js.map +0 -1
- package/dist/cjs/transactions/utils.js.map +0 -1
- package/dist/cjs/utils/constants.js.map +0 -1
- package/dist/cjs/utils/derived-objects.js.map +0 -1
- package/dist/cjs/utils/dynamic-fields.js.map +0 -1
- package/dist/cjs/utils/format.js.map +0 -1
- package/dist/cjs/utils/index.js.map +0 -1
- package/dist/cjs/utils/move-registry.js.map +0 -1
- package/dist/cjs/utils/sui-types.js.map +0 -1
- package/dist/cjs/utils/suins.js.map +0 -1
- package/dist/cjs/verify/index.js.map +0 -1
- package/dist/cjs/verify/verify.js.map +0 -1
- package/dist/cjs/version.js.map +0 -1
- package/dist/cjs/w/call/allocation.js.map +0 -1
- package/dist/cjs/w/call/arb.js.map +0 -1
- package/dist/cjs/w/call/arbitration.js.map +0 -1
- package/dist/cjs/w/call/base.js.map +0 -1
- package/dist/cjs/w/call/contact.js.map +0 -1
- package/dist/cjs/w/call/demand.js.map +0 -1
- package/dist/cjs/w/call/entity.js.map +0 -1
- package/dist/cjs/w/call/guard-ins.js.map +0 -1
- package/dist/cjs/w/call/guard.js.map +0 -1
- package/dist/cjs/w/call/index.js.map +0 -1
- package/dist/cjs/w/call/machine.js.map +0 -1
- package/dist/cjs/w/call/order.js.map +0 -1
- package/dist/cjs/w/call/passport.js.map +0 -1
- package/dist/cjs/w/call/payment.js.map +0 -1
- package/dist/cjs/w/call/permission.js.map +0 -1
- package/dist/cjs/w/call/personal.js.map +0 -1
- package/dist/cjs/w/call/progress.js.map +0 -1
- package/dist/cjs/w/call/proof.js.map +0 -1
- package/dist/cjs/w/call/repository.js.map +0 -1
- package/dist/cjs/w/call/resource.js.map +0 -1
- package/dist/cjs/w/call/reward.js.map +0 -1
- package/dist/cjs/w/call/service.js.map +0 -1
- package/dist/cjs/w/call/treasury.js.map +0 -1
- package/dist/cjs/w/call/util.js.map +0 -1
- package/dist/cjs/w/common.js.map +0 -1
- package/dist/cjs/w/exception.js.map +0 -1
- package/dist/cjs/w/index.js.map +0 -1
- package/dist/cjs/w/local/account.js.map +0 -1
- package/dist/cjs/w/local/cache.js.map +0 -1
- package/dist/cjs/w/local/config.js.map +0 -1
- package/dist/cjs/w/local/index.js.map +0 -1
- package/dist/cjs/w/local/local.js.map +0 -1
- package/dist/cjs/w/local/storage.js.map +0 -1
- package/dist/cjs/w/local/token.js.map +0 -1
- package/dist/cjs/w/local/util.js.map +0 -1
- package/dist/cjs/w/local/wip.js.map +0 -1
- package/dist/cjs/w/messenger/crypto.js.map +0 -1
- package/dist/cjs/w/messenger/index.js.map +0 -1
- package/dist/cjs/w/messenger/messenger-api.js.map +0 -1
- package/dist/cjs/w/messenger/messenger-manager.js.map +0 -1
- package/dist/cjs/w/messenger/messenger.js.map +0 -1
- package/dist/cjs/w/messenger/server.js.map +0 -1
- package/dist/cjs/w/messenger/session.js.map +0 -1
- package/dist/cjs/w/messenger/storage.js.map +0 -1
- package/dist/cjs/w/messenger/templates/wts-html-template.js.map +0 -1
- package/dist/cjs/w/messenger/types.js.map +0 -1
- package/dist/cjs/w/messenger/utils.js.map +0 -1
- package/dist/cjs/w/query/bult-in.js.map +0 -1
- package/dist/cjs/w/query/event.js.map +0 -1
- package/dist/cjs/w/query/index.js.map +0 -1
- package/dist/cjs/w/query/object.js.map +0 -1
- package/dist/cjs/w/query/received.js.map +0 -1
- package/dist/cjs/w/query/util.js.map +0 -1
- package/dist/cjs/w/util.js.map +0 -1
- package/dist/esm/bcs/bcs.js.map +0 -1
- package/dist/esm/bcs/effects.js.map +0 -1
- package/dist/esm/bcs/index.js.map +0 -1
- package/dist/esm/bcs/pure.js.map +0 -1
- package/dist/esm/bcs/type-tag-serializer.js.map +0 -1
- package/dist/esm/bcs/types.js.map +0 -1
- package/dist/esm/client/index.js.map +0 -1
- package/dist/esm/client/network.js.map +0 -1
- package/dist/esm/cryptography/index.js.map +0 -1
- package/dist/esm/cryptography/intent.js.map +0 -1
- package/dist/esm/cryptography/keypair.js.map +0 -1
- package/dist/esm/cryptography/mnemonics.js.map +0 -1
- package/dist/esm/cryptography/publickey.js.map +0 -1
- package/dist/esm/cryptography/signature-scheme.js.map +0 -1
- package/dist/esm/cryptography/signature.js.map +0 -1
- package/dist/esm/experimental/cache.js.map +0 -1
- package/dist/esm/experimental/client.js.map +0 -1
- package/dist/esm/experimental/core.js.map +0 -1
- package/dist/esm/experimental/errors.js.map +0 -1
- package/dist/esm/experimental/index.js.map +0 -1
- package/dist/esm/experimental/persistent-storage.js.map +0 -1
- package/dist/esm/experimental/persistent-storage.test.js.map +0 -1
- package/dist/esm/experimental/transports/utils.js.map +0 -1
- package/dist/esm/experimental/types.js.map +0 -1
- package/dist/esm/faucet/faucet.js.map +0 -1
- package/dist/esm/faucet/index.js.map +0 -1
- package/dist/esm/grpc/client.js.map +0 -1
- package/dist/esm/grpc/core.js.map +0 -1
- package/dist/esm/grpc/index.js.map +0 -1
- package/dist/esm/grpc/proto/google/protobuf/any.js.map +0 -1
- package/dist/esm/grpc/proto/google/protobuf/duration.js.map +0 -1
- package/dist/esm/grpc/proto/google/protobuf/empty.js.map +0 -1
- package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +0 -1
- package/dist/esm/grpc/proto/google/protobuf/struct.js.map +0 -1
- package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +0 -1
- package/dist/esm/grpc/proto/google/rpc/error_details.js.map +0 -1
- package/dist/esm/grpc/proto/google/rpc/status.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +0 -1
- package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/jsonRpc/client.js.map +0 -1
- package/dist/esm/jsonRpc/core.js.map +0 -1
- package/dist/esm/jsonRpc/errors.js.map +0 -1
- package/dist/esm/jsonRpc/http-transport.js.map +0 -1
- package/dist/esm/jsonRpc/index.js.map +0 -1
- package/dist/esm/jsonRpc/json-rpc-resolver.js.map +0 -1
- package/dist/esm/jsonRpc/rpc-websocket-client.js.map +0 -1
- package/dist/esm/jsonRpc/types/chain.js.map +0 -1
- package/dist/esm/jsonRpc/types/changes.js.map +0 -1
- package/dist/esm/jsonRpc/types/coins.js.map +0 -1
- package/dist/esm/jsonRpc/types/common.js.map +0 -1
- package/dist/esm/jsonRpc/types/generated.js.map +0 -1
- package/dist/esm/jsonRpc/types/index.js.map +0 -1
- package/dist/esm/jsonRpc/types/params.js.map +0 -1
- package/dist/esm/keypairs/ed25519/ed25519-hd-key.js.map +0 -1
- package/dist/esm/keypairs/ed25519/index.js.map +0 -1
- package/dist/esm/keypairs/ed25519/keypair.js.map +0 -1
- package/dist/esm/keypairs/ed25519/publickey.js.map +0 -1
- package/dist/esm/keypairs/index.js.map +0 -1
- package/dist/esm/keypairs/passkey/index.js.map +0 -1
- package/dist/esm/keypairs/passkey/keypair.js.map +0 -1
- package/dist/esm/keypairs/passkey/publickey.js.map +0 -1
- package/dist/esm/keypairs/passkey/types.js.map +0 -1
- package/dist/esm/keypairs/secp256k1/index.js.map +0 -1
- package/dist/esm/keypairs/secp256k1/keypair.js.map +0 -1
- package/dist/esm/keypairs/secp256k1/publickey.js.map +0 -1
- package/dist/esm/keypairs/secp256r1/index.js.map +0 -1
- package/dist/esm/keypairs/secp256r1/keypair.js.map +0 -1
- package/dist/esm/keypairs/secp256r1/publickey.js.map +0 -1
- package/dist/esm/multisig/index.js.map +0 -1
- package/dist/esm/multisig/publickey.js.map +0 -1
- package/dist/esm/multisig/signer.js.map +0 -1
- package/dist/esm/transactions/Arguments.js.map +0 -1
- package/dist/esm/transactions/Commands.js.map +0 -1
- package/dist/esm/transactions/Inputs.js.map +0 -1
- package/dist/esm/transactions/ObjectCache.js.map +0 -1
- package/dist/esm/transactions/Transaction.js.map +0 -1
- package/dist/esm/transactions/TransactionData.js.map +0 -1
- package/dist/esm/transactions/__tests__/Transaction.test.js.map +0 -1
- package/dist/esm/transactions/__tests__/bcs.test.js.map +0 -1
- package/dist/esm/transactions/data/internal.js.map +0 -1
- package/dist/esm/transactions/data/v1.js.map +0 -1
- package/dist/esm/transactions/data/v2.js.map +0 -1
- package/dist/esm/transactions/executor/caching.js.map +0 -1
- package/dist/esm/transactions/executor/parallel.js.map +0 -1
- package/dist/esm/transactions/executor/queue.js.map +0 -1
- package/dist/esm/transactions/executor/serial.js.map +0 -1
- package/dist/esm/transactions/hash.js.map +0 -1
- package/dist/esm/transactions/index.js.map +0 -1
- package/dist/esm/transactions/intents/CoinWithBalance.js.map +0 -1
- package/dist/esm/transactions/object.js.map +0 -1
- package/dist/esm/transactions/plugins/NamedPackagesPlugin.js.map +0 -1
- package/dist/esm/transactions/pure.js.map +0 -1
- package/dist/esm/transactions/resolve.js.map +0 -1
- package/dist/esm/transactions/serializer.js.map +0 -1
- package/dist/esm/transactions/utils.js.map +0 -1
- package/dist/esm/utils/constants.js.map +0 -1
- package/dist/esm/utils/derived-objects.js.map +0 -1
- package/dist/esm/utils/dynamic-fields.js.map +0 -1
- package/dist/esm/utils/format.js.map +0 -1
- package/dist/esm/utils/index.js.map +0 -1
- package/dist/esm/utils/move-registry.js.map +0 -1
- package/dist/esm/utils/sui-types.js.map +0 -1
- package/dist/esm/utils/suins.js.map +0 -1
- package/dist/esm/verify/index.js.map +0 -1
- package/dist/esm/verify/verify.js.map +0 -1
- package/dist/esm/version.js.map +0 -1
- package/dist/esm/w/call/allocation.js.map +0 -1
- package/dist/esm/w/call/arb.js.map +0 -1
- package/dist/esm/w/call/arbitration.js.map +0 -1
- package/dist/esm/w/call/base.js.map +0 -1
- package/dist/esm/w/call/contact.js.map +0 -1
- package/dist/esm/w/call/demand.js.map +0 -1
- package/dist/esm/w/call/entity.js.map +0 -1
- package/dist/esm/w/call/guard-ins.js.map +0 -1
- package/dist/esm/w/call/guard.js.map +0 -1
- package/dist/esm/w/call/index.js.map +0 -1
- package/dist/esm/w/call/machine.js.map +0 -1
- package/dist/esm/w/call/order.js.map +0 -1
- package/dist/esm/w/call/passport.js.map +0 -1
- package/dist/esm/w/call/payment.js.map +0 -1
- package/dist/esm/w/call/permission.js.map +0 -1
- package/dist/esm/w/call/personal.js.map +0 -1
- package/dist/esm/w/call/progress.js.map +0 -1
- package/dist/esm/w/call/proof.js.map +0 -1
- package/dist/esm/w/call/repository.js.map +0 -1
- package/dist/esm/w/call/resource.js.map +0 -1
- package/dist/esm/w/call/reward.js.map +0 -1
- package/dist/esm/w/call/service.js.map +0 -1
- package/dist/esm/w/call/treasury.js.map +0 -1
- package/dist/esm/w/call/util.js.map +0 -1
- package/dist/esm/w/common.js.map +0 -1
- package/dist/esm/w/exception.js.map +0 -1
- package/dist/esm/w/index.js.map +0 -1
- package/dist/esm/w/local/account.js.map +0 -1
- package/dist/esm/w/local/cache.js.map +0 -1
- package/dist/esm/w/local/config.js.map +0 -1
- package/dist/esm/w/local/index.js.map +0 -1
- package/dist/esm/w/local/local.js.map +0 -1
- package/dist/esm/w/local/storage.js.map +0 -1
- package/dist/esm/w/local/token.js.map +0 -1
- package/dist/esm/w/local/util.js.map +0 -1
- package/dist/esm/w/local/wip.js.map +0 -1
- package/dist/esm/w/messenger/crypto.js.map +0 -1
- package/dist/esm/w/messenger/index.js.map +0 -1
- package/dist/esm/w/messenger/messenger-api.js.map +0 -1
- package/dist/esm/w/messenger/messenger-manager.js.map +0 -1
- package/dist/esm/w/messenger/messenger.js.map +0 -1
- package/dist/esm/w/messenger/server.js.map +0 -1
- package/dist/esm/w/messenger/session.js.map +0 -1
- package/dist/esm/w/messenger/storage.js.map +0 -1
- package/dist/esm/w/messenger/templates/wts-html-template.js.map +0 -1
- package/dist/esm/w/messenger/types.js.map +0 -1
- package/dist/esm/w/messenger/utils.js.map +0 -1
- package/dist/esm/w/query/bult-in.js.map +0 -1
- package/dist/esm/w/query/event.js.map +0 -1
- package/dist/esm/w/query/index.js.map +0 -1
- package/dist/esm/w/query/object.js.map +0 -1
- package/dist/esm/w/query/received.js.map +0 -1
- package/dist/esm/w/query/util.js.map +0 -1
- package/dist/esm/w/util.js.map +0 -1
package/dist/esm/w/exception.js
CHANGED
|
@@ -1,582 +1 @@
|
|
|
1
|
-
// Copyright (c) Wowok.
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
// 定义异常枚举
|
|
4
|
-
export var WErrors;
|
|
5
|
-
(function (WErrors) {
|
|
6
|
-
WErrors["AccountNotFound"] = "account not found";
|
|
7
|
-
WErrors["AddressNotFound"] = "address not found";
|
|
8
|
-
WErrors["IsValidDescription"] = "invalid description";
|
|
9
|
-
WErrors["IsValidName"] = "invalid name";
|
|
10
|
-
WErrors["IsValidName_AllowEmpty"] = "invalid name";
|
|
11
|
-
WErrors["IsValidEndpoint"] = "invalid endpoint";
|
|
12
|
-
WErrors["IsValidAddress"] = "invalid address";
|
|
13
|
-
WErrors["IsValidArgType"] = "invalid argument type";
|
|
14
|
-
WErrors["IsValidTokenType"] = "invalid token type";
|
|
15
|
-
WErrors["IsValidUint"] = "invalid uint";
|
|
16
|
-
WErrors["IsValidInt"] = "invalid int";
|
|
17
|
-
WErrors["IsValidU8"] = "invalid u8";
|
|
18
|
-
WErrors["IsValidU16"] = "invalid u16";
|
|
19
|
-
WErrors["IsValidU32"] = "invalid u32";
|
|
20
|
-
WErrors["IsValidU64"] = "invalid u64";
|
|
21
|
-
WErrors["IsValidU128"] = "invalid u128";
|
|
22
|
-
WErrors["IsValidU256"] = "invalid u256";
|
|
23
|
-
WErrors["IsValidRate"] = "invalid rate[0-10000]";
|
|
24
|
-
WErrors["IsValidArray"] = "invalid array";
|
|
25
|
-
WErrors["IsValidObjects"] = "invalid objects";
|
|
26
|
-
WErrors["AllInvalid"] = "one valid at least";
|
|
27
|
-
WErrors["InvalidParam"] = "invalid parameter";
|
|
28
|
-
WErrors["IsValidPermissionIndex"] = "invalid permission index";
|
|
29
|
-
WErrors["IsValidKey"] = "invalid key";
|
|
30
|
-
WErrors["Fail"] = "fail";
|
|
31
|
-
WErrors["IsValidIdentifier"] = "identifier invalid";
|
|
32
|
-
WErrors["IsValidHttpUrl"] = "invalid url";
|
|
33
|
-
WErrors["IsValidBizPermissionIndex"] = "invalid biz-permission id[1000 - 65535]";
|
|
34
|
-
WErrors["BcsTypeInvalid"] = "invalid bcs type";
|
|
35
|
-
WErrors["IsValidServiceItemName"] = "invalid service item name";
|
|
36
|
-
WErrors["IsValidCoinType"] = "not the coin type";
|
|
37
|
-
WErrors["IsValidGuardIdentifier"] = "guard identifier invalid";
|
|
38
|
-
WErrors["NoPermission"] = "no permission";
|
|
39
|
-
WErrors["IsValidValue"] = "invalid value";
|
|
40
|
-
WErrors["IsValidValueType"] = "invalid value type";
|
|
41
|
-
WErrors["IsValidLocation"] = "invalid location";
|
|
42
|
-
WErrors["NetworkInvalid"] = "protocol network not specified";
|
|
43
|
-
WErrors["WitnessTypeInvalid"] = "witness type invalid";
|
|
44
|
-
WErrors["AddressCountExceeded"] = "address count exceeded";
|
|
45
|
-
WErrors["NumberCountExceeded"] = "number count exceeded";
|
|
46
|
-
WErrors["NewGuardCheckFailed"] = "new guard check failed";
|
|
47
|
-
WErrors["GuardTableItemLengthExceeded"] = "guard table item length exceeded";
|
|
48
|
-
WErrors["AccountPersistentStorageNotSet"] = "account persistent storage not set";
|
|
49
|
-
WErrors["AccountPersistentStorageNotFound"] = "account persistent storage not found";
|
|
50
|
-
WErrors["AccountNameExist"] = "account name exist";
|
|
51
|
-
WErrors["ConfigPersistentStorageNotSet"] = "config persistent storage not set";
|
|
52
|
-
WErrors["TokenNotFoundLocally"] = "token not found";
|
|
53
|
-
WErrors["LocalMarkNameExist"] = "local mark name exist";
|
|
54
|
-
WErrors["MaxObjectsPerQuery"] = "max objects per query";
|
|
55
|
-
WErrors["ResourceTagCountExceeded"] = "resource tag count exceeded";
|
|
56
|
-
WErrors["ParseObjectContentFailed"] = "parse object content failed";
|
|
57
|
-
})(WErrors || (WErrors = {}));
|
|
58
|
-
// 自定义异常类
|
|
59
|
-
export class WException extends Error {
|
|
60
|
-
code;
|
|
61
|
-
details;
|
|
62
|
-
constructor(error, details) {
|
|
63
|
-
const message = error.toString() + (details ? ":" + details : "");
|
|
64
|
-
super(message);
|
|
65
|
-
this.code = error;
|
|
66
|
-
this.details = details;
|
|
67
|
-
// 维护原型链
|
|
68
|
-
Object.setPrototypeOf(this, WException.prototype);
|
|
69
|
-
}
|
|
70
|
-
// 获取错误信息
|
|
71
|
-
getErrorMessage() {
|
|
72
|
-
return this.message;
|
|
73
|
-
}
|
|
74
|
-
// 获取错误代码
|
|
75
|
-
getErrorCode() {
|
|
76
|
-
return this.code;
|
|
77
|
-
}
|
|
78
|
-
// 获取详细信息
|
|
79
|
-
getDetails() {
|
|
80
|
-
return this.details;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
// 异常处理工具函数
|
|
84
|
-
export const W_ERROR = (error, details) => {
|
|
85
|
-
throw new WException(error, details);
|
|
86
|
-
};
|
|
87
|
-
// 成功结果
|
|
88
|
-
export const W_SUCCESS = (data) => ({
|
|
89
|
-
success: true,
|
|
90
|
-
data,
|
|
91
|
-
});
|
|
92
|
-
// 错误结果
|
|
93
|
-
export const W_FAILURE = (error, details) => ({
|
|
94
|
-
success: false,
|
|
95
|
-
error: new WException(error, details),
|
|
96
|
-
});
|
|
97
|
-
// 异常处理装饰器
|
|
98
|
-
export function WValidate(fn) {
|
|
99
|
-
return function (...args) {
|
|
100
|
-
try {
|
|
101
|
-
return fn.apply(this, args);
|
|
102
|
-
}
|
|
103
|
-
catch (error) {
|
|
104
|
-
if (error instanceof WException) {
|
|
105
|
-
throw error;
|
|
106
|
-
}
|
|
107
|
-
throw new WException(WErrors.Fail, error);
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
// 安全执行函数,返回结果而不是抛出异常
|
|
112
|
-
export const W_SAFE = (fn, error, details) => {
|
|
113
|
-
try {
|
|
114
|
-
const result = fn();
|
|
115
|
-
return W_SUCCESS(result);
|
|
116
|
-
}
|
|
117
|
-
catch (err) {
|
|
118
|
-
if (err instanceof WException) {
|
|
119
|
-
return W_FAILURE(err.code, err.details);
|
|
120
|
-
}
|
|
121
|
-
return W_FAILURE(error || WErrors.Fail, details || err);
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
// 条件检查函数
|
|
125
|
-
export const W_ENSURE = (condition, error, details) => {
|
|
126
|
-
if (!condition) {
|
|
127
|
-
W_ERROR(error, details);
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
// 参数验证函数
|
|
131
|
-
export const W_VALIDATE_PARAM = (param, validator, error, details) => {
|
|
132
|
-
if (!validator(param)) {
|
|
133
|
-
W_ERROR(error, details);
|
|
134
|
-
}
|
|
135
|
-
};
|
|
136
|
-
export const MoveErrors = [
|
|
137
|
-
// service.move
|
|
138
|
-
{ module: "service", code: 1, description: "Maximum sale count exceeded" },
|
|
139
|
-
{
|
|
140
|
-
module: "service",
|
|
141
|
-
code: 2,
|
|
142
|
-
description: "Maximum repository count exceeded",
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
module: "service",
|
|
146
|
-
code: 3,
|
|
147
|
-
description: "Maximum arbitration count exceeded",
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
module: "service",
|
|
151
|
-
code: 4,
|
|
152
|
-
description: "Maximum customer required info count exceeded",
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
module: "service",
|
|
156
|
-
code: 5,
|
|
157
|
-
description: "Maximum pubkey length exceeded",
|
|
158
|
-
},
|
|
159
|
-
{ module: "service", code: 6, description: "Service already published" },
|
|
160
|
-
{ module: "service", code: 7, description: "Service not published" },
|
|
161
|
-
{
|
|
162
|
-
module: "service",
|
|
163
|
-
code: 8,
|
|
164
|
-
description: "Invalid off-on discount rates",
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
module: "service",
|
|
168
|
-
code: 9,
|
|
169
|
-
description: "Maximum discount count per operation exceeded",
|
|
170
|
-
},
|
|
171
|
-
{ module: "service", code: 10, description: "Discount not transferable" },
|
|
172
|
-
{ module: "service", code: 11, description: "Discount receiver empty" },
|
|
173
|
-
{ module: "service", code: 12, description: "Discount count empty" },
|
|
174
|
-
{
|
|
175
|
-
module: "service",
|
|
176
|
-
code: 13,
|
|
177
|
-
description: "Maximum discount receiver per operation exceeded",
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
module: "service",
|
|
181
|
-
code: 14,
|
|
182
|
-
description: "Maximum total discount count exceeded",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
module: "service",
|
|
186
|
-
code: 15,
|
|
187
|
-
description: "Service discount does not match",
|
|
188
|
-
},
|
|
189
|
-
{ module: "service", code: 16, description: "Stock not enough" },
|
|
190
|
-
{ module: "service", code: 17, description: "Invalid quote" },
|
|
191
|
-
{
|
|
192
|
-
module: "service",
|
|
193
|
-
code: 18,
|
|
194
|
-
description: "Buyer guard passport required",
|
|
195
|
-
},
|
|
196
|
-
{ module: "service", code: 19, description: "Service is paused" },
|
|
197
|
-
{ module: "service", code: 20, description: "Coin not enough" },
|
|
198
|
-
{ module: "service", code: 22, description: "Machine does not match" },
|
|
199
|
-
{
|
|
200
|
-
module: "service",
|
|
201
|
-
code: 23,
|
|
202
|
-
description: "No allocator configured - service requires allocator for publishing but none was set",
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
module: "service",
|
|
206
|
-
code: 24,
|
|
207
|
-
description: "Compensation withdraw time not enough",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
module: "service",
|
|
211
|
-
code: 25,
|
|
212
|
-
description: "Arbitration not set with compensation fund",
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
module: "service",
|
|
216
|
-
code: 26,
|
|
217
|
-
description: "Order service does not match",
|
|
218
|
-
},
|
|
219
|
-
{ module: "service", code: 27, description: "Compensation does not match" },
|
|
220
|
-
{
|
|
221
|
-
module: "service",
|
|
222
|
-
code: 28,
|
|
223
|
-
description: "Maximum reward count exceeded",
|
|
224
|
-
},
|
|
225
|
-
{ module: "service", code: 29, description: "Invalid discount type" },
|
|
226
|
-
{
|
|
227
|
-
module: "service",
|
|
228
|
-
code: 30,
|
|
229
|
-
description: "Service publication does not match",
|
|
230
|
-
},
|
|
231
|
-
{ module: "service", code: 31, description: "Invalid timestamp ms end" },
|
|
232
|
-
// permission.move
|
|
233
|
-
{
|
|
234
|
-
module: "permission",
|
|
235
|
-
code: 1,
|
|
236
|
-
description: "Not the builder - only builder can perform this operation",
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
module: "permission",
|
|
240
|
-
code: 2,
|
|
241
|
-
description: "Not admin - only admin can perform this operation",
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
module: "permission",
|
|
245
|
-
code: 3,
|
|
246
|
-
description: "Address count in permission exceeded limit",
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
module: "permission",
|
|
250
|
-
code: 4,
|
|
251
|
-
description: "Permission count exceeded limit",
|
|
252
|
-
},
|
|
253
|
-
{ module: "permission", code: 5, description: "Permission denied" },
|
|
254
|
-
{
|
|
255
|
-
module: "permission",
|
|
256
|
-
code: 6,
|
|
257
|
-
description: "Admin count exceeded limit",
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
module: "permission",
|
|
261
|
-
code: 7,
|
|
262
|
-
description: "Permission index not found",
|
|
263
|
-
},
|
|
264
|
-
{ module: "permission", code: 8, description: "Permission does not match" },
|
|
265
|
-
{ module: "permission", code: 9, description: "Not user address" },
|
|
266
|
-
// passport.move
|
|
267
|
-
{ module: "passport", code: 1, description: "Guard count exceeded limit" },
|
|
268
|
-
{ module: "passport", code: 2, description: "Relies guard not added" },
|
|
269
|
-
{
|
|
270
|
-
module: "passport",
|
|
271
|
-
code: 3,
|
|
272
|
-
description: "Submission size exceeded limit",
|
|
273
|
-
},
|
|
274
|
-
{ module: "passport", code: 4, description: "Already verified" },
|
|
275
|
-
{ module: "passport", code: 5, description: "Not verified" },
|
|
276
|
-
{ module: "passport", code: 6, description: "Not impact guard" },
|
|
277
|
-
{ module: "passport", code: 7, description: "Verification failed" },
|
|
278
|
-
{ module: "passport", code: 8, description: "Transaction does not match" },
|
|
279
|
-
{ module: "passport", code: 9, description: "Impact guard not found" },
|
|
280
|
-
{ module: "passport", code: 10, description: "Submission not found" },
|
|
281
|
-
// reward.move
|
|
282
|
-
{
|
|
283
|
-
module: "reward",
|
|
284
|
-
code: 1,
|
|
285
|
-
description: "Guard locked time not increasing",
|
|
286
|
-
},
|
|
287
|
-
{ module: "reward", code: 2, description: "Guard expired" },
|
|
288
|
-
{ module: "reward", code: 3, description: "Guard count exceeded limit" },
|
|
289
|
-
{
|
|
290
|
-
module: "reward",
|
|
291
|
-
code: 4,
|
|
292
|
-
description: "Recipient identifier not address type",
|
|
293
|
-
},
|
|
294
|
-
{ module: "reward", code: 5, description: "Amount not u64 type" },
|
|
295
|
-
{ module: "reward", code: 6, description: "Insufficient balance" },
|
|
296
|
-
{ module: "reward", code: 7, description: "Guard not found" },
|
|
297
|
-
{ module: "reward", code: 8, description: "Record count exceeded limit" },
|
|
298
|
-
{ module: "reward", code: 10, description: "Invalid guard locked time" },
|
|
299
|
-
{ module: "reward", code: 11, description: "Guard locked time invalid" },
|
|
300
|
-
// arbitration.move
|
|
301
|
-
{
|
|
302
|
-
module: "arbitration",
|
|
303
|
-
code: 1,
|
|
304
|
-
description: "Guard identifier not number type",
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
module: "arbitration",
|
|
308
|
-
code: 2,
|
|
309
|
-
description: "Voting guard already used",
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
module: "arbitration",
|
|
313
|
-
code: 3,
|
|
314
|
-
description: "Arbitration does not match",
|
|
315
|
-
},
|
|
316
|
-
{ module: "arbitration", code: 4, description: "Arbitration is paused" },
|
|
317
|
-
{ module: "arbitration", code: 5, description: "Fee not enough" },
|
|
318
|
-
{ module: "arbitration", code: 6, description: "Passport required" },
|
|
319
|
-
{
|
|
320
|
-
module: "arbitration",
|
|
321
|
-
code: 7,
|
|
322
|
-
description: "Guard identifier number invalid",
|
|
323
|
-
},
|
|
324
|
-
{ module: "arbitration", code: 8, description: "Voting guard not found" },
|
|
325
|
-
{
|
|
326
|
-
module: "arbitration",
|
|
327
|
-
code: 9,
|
|
328
|
-
description: "Maximum voting guard count exceeded",
|
|
329
|
-
},
|
|
330
|
-
// demand.move
|
|
331
|
-
{ module: "demand", code: 1, description: "Maximum reward count exceeded" },
|
|
332
|
-
{ module: "demand", code: 2, description: "Maximum guard count exceeded" },
|
|
333
|
-
{ module: "demand", code: 3, description: "Passport required" },
|
|
334
|
-
{ module: "demand", code: 4, description: "Guard not found" },
|
|
335
|
-
// progress.move
|
|
336
|
-
{
|
|
337
|
-
module: "progress",
|
|
338
|
-
code: 1,
|
|
339
|
-
description: "Maximum context repository count exceeded",
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
module: "progress",
|
|
343
|
-
code: 2,
|
|
344
|
-
description: "Maximum named operator count exceeded",
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
module: "progress",
|
|
348
|
-
code: 3,
|
|
349
|
-
description: "Maximum named operator address count exceeded",
|
|
350
|
-
},
|
|
351
|
-
{ module: "progress", code: 4, description: "Machine does not match" },
|
|
352
|
-
{ module: "progress", code: 5, description: "Task already set" },
|
|
353
|
-
{ module: "progress", code: 6, description: "Not the holder" },
|
|
354
|
-
{
|
|
355
|
-
module: "progress",
|
|
356
|
-
code: 7,
|
|
357
|
-
description: "Forward already accomplished",
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
module: "progress",
|
|
361
|
-
code: 8,
|
|
362
|
-
description: "Permission not defined when hold",
|
|
363
|
-
},
|
|
364
|
-
{ module: "progress", code: 9, description: "Passport required" },
|
|
365
|
-
{ module: "progress", code: 10, description: "Order does not match" },
|
|
366
|
-
// guard.move
|
|
367
|
-
{ module: "guard", code: 1, description: "Input empty" },
|
|
368
|
-
{ module: "guard", code: 2, description: "Input size exceeded limit" },
|
|
369
|
-
{ module: "guard", code: 3, description: "Table size exceeded limit" },
|
|
370
|
-
{ module: "guard", code: 5, description: "Dependent count exceeded limit" },
|
|
371
|
-
{ module: "guard", code: 6, description: "Not dependent guard" },
|
|
372
|
-
{ module: "guard", code: 7, description: "Guard cannot depend on itself" },
|
|
373
|
-
{ module: "guard", code: 8, description: "Guard IDs parse error" },
|
|
374
|
-
{ module: "guard", code: 9, description: "Guard IDs type error" },
|
|
375
|
-
{
|
|
376
|
-
module: "guard",
|
|
377
|
-
code: 10,
|
|
378
|
-
description: "ID value count not equal to guard count",
|
|
379
|
-
},
|
|
380
|
-
{ module: "guard", code: 11, description: "Submission ID not found" },
|
|
381
|
-
{ module: "guard", code: 12, description: "Submission value type error" },
|
|
382
|
-
// order.move
|
|
383
|
-
{ module: "order", code: 1, description: "Not the owner" },
|
|
384
|
-
{ module: "order", code: 2, description: "Maximum agent count exceeded" },
|
|
385
|
-
{ module: "order", code: 3, description: "Progress not specified" },
|
|
386
|
-
{ module: "order", code: 5, description: "No operation permission" },
|
|
387
|
-
{ module: "order", code: 6, description: "Maximum dispute count exceeded" },
|
|
388
|
-
{ module: "order", code: 7, description: "Order already claimed" },
|
|
389
|
-
{ module: "order", code: 8, description: "Invalid customer info" },
|
|
390
|
-
{ module: "order", code: 9, description: "Allocation not specified" },
|
|
391
|
-
{ module: "order", code: 10, description: "Allocation already specified" },
|
|
392
|
-
{ module: "order", code: 11, description: "Progress already specified" },
|
|
393
|
-
// machine.move
|
|
394
|
-
{
|
|
395
|
-
module: "machine",
|
|
396
|
-
code: 1,
|
|
397
|
-
description: "Maximum consensus repositories exceeded",
|
|
398
|
-
},
|
|
399
|
-
{ module: "machine", code: 2, description: "Machine not published" },
|
|
400
|
-
{ module: "machine", code: 3, description: "Machine already published" },
|
|
401
|
-
{
|
|
402
|
-
module: "machine",
|
|
403
|
-
code: 4,
|
|
404
|
-
description: "Maximum forward order count exceeded",
|
|
405
|
-
},
|
|
406
|
-
{ module: "machine", code: 5, description: "Maximum node count exceeded" },
|
|
407
|
-
{ module: "machine", code: 6, description: "Duplicate forward name" },
|
|
408
|
-
{ module: "machine", code: 7, description: "Duplicate node previous" },
|
|
409
|
-
{ module: "machine", code: 8, description: "Old node name does not exist" },
|
|
410
|
-
{ module: "machine", code: 9, description: "New node name already exists" },
|
|
411
|
-
{ module: "machine", code: 10, description: "Node not found" },
|
|
412
|
-
{ module: "machine", code: 11, description: "Machine is paused" },
|
|
413
|
-
{ module: "machine", code: 12, description: "Retained submission error" },
|
|
414
|
-
{ module: "machine", code: 13, description: "Info not found" },
|
|
415
|
-
{ module: "machine", code: 14, description: "Permission not defined" },
|
|
416
|
-
{
|
|
417
|
-
module: "machine",
|
|
418
|
-
code: 15,
|
|
419
|
-
description: "Maximum node pair count exceeded",
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
module: "machine",
|
|
423
|
-
code: 16,
|
|
424
|
-
description: "Maximum forward count exceeded",
|
|
425
|
-
},
|
|
426
|
-
// treasury.move
|
|
427
|
-
{
|
|
428
|
-
module: "treasury",
|
|
429
|
-
code: 1,
|
|
430
|
-
description: "Maximum external deposit guard count exceeded",
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
module: "treasury",
|
|
434
|
-
code: 2,
|
|
435
|
-
description: "Maximum external withdraw guard count exceeded",
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
module: "treasury",
|
|
439
|
-
code: 3,
|
|
440
|
-
description: "External deposit guard not found",
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
module: "treasury",
|
|
444
|
-
code: 4,
|
|
445
|
-
description: "External withdraw guard not found",
|
|
446
|
-
},
|
|
447
|
-
{ module: "treasury", code: 5, description: "Identifier not number type" },
|
|
448
|
-
{ module: "treasury", code: 6, description: "Deposit insufficient amount" },
|
|
449
|
-
{
|
|
450
|
-
module: "treasury",
|
|
451
|
-
code: 7,
|
|
452
|
-
description: "Withdraw insufficient amount",
|
|
453
|
-
},
|
|
454
|
-
// arb.move
|
|
455
|
-
{
|
|
456
|
-
module: "arb",
|
|
457
|
-
code: 1,
|
|
458
|
-
description: "Maximum proposition count exceeded",
|
|
459
|
-
},
|
|
460
|
-
{ module: "arb", code: 2, description: "Arbitration order does not match" },
|
|
461
|
-
{ module: "arb", code: 3, description: "Status does not match" },
|
|
462
|
-
{ module: "arb", code: 4, description: "Voting deadline not passed" },
|
|
463
|
-
{ module: "arb", code: 5, description: "Proposition not found" },
|
|
464
|
-
{ module: "arb", code: 6, description: "Maximum voter count exceeded" },
|
|
465
|
-
{ module: "arb", code: 7, description: "Voting deadline passed" },
|
|
466
|
-
{
|
|
467
|
-
module: "arb",
|
|
468
|
-
code: 8,
|
|
469
|
-
description: "Withdraw duration time not passed",
|
|
470
|
-
},
|
|
471
|
-
// repository.move
|
|
472
|
-
{
|
|
473
|
-
module: "repository",
|
|
474
|
-
code: 1,
|
|
475
|
-
description: "Policy description length exceeded",
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
module: "repository",
|
|
479
|
-
code: 2,
|
|
480
|
-
description: "Policy guard count exceeded",
|
|
481
|
-
},
|
|
482
|
-
{ module: "repository", code: 3, description: "Policy count exceeded" },
|
|
483
|
-
{ module: "repository", code: 4, description: "Data size exceeded limit" },
|
|
484
|
-
{ module: "repository", code: 5, description: "ID count exceeded limit" },
|
|
485
|
-
{ module: "repository", code: 6, description: "Quantities not equal" },
|
|
486
|
-
{ module: "repository", code: 7, description: "Policy not found" },
|
|
487
|
-
{ module: "repository", code: 8, description: "Policy ID from none" },
|
|
488
|
-
{ module: "repository", code: 9, description: "Passport required" },
|
|
489
|
-
{ module: "repository", code: 10, description: "Data type does not match" },
|
|
490
|
-
{
|
|
491
|
-
module: "repository",
|
|
492
|
-
code: 11,
|
|
493
|
-
description: "Guard specified ID from submission",
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
module: "repository",
|
|
497
|
-
code: 12,
|
|
498
|
-
description: "Not impact guard in passport",
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
module: "repository",
|
|
502
|
-
code: 13,
|
|
503
|
-
description: "Guard specified not in policy",
|
|
504
|
-
},
|
|
505
|
-
{ module: "repository", code: 14, description: "ID vector not enough" },
|
|
506
|
-
{ module: "repository", code: 15, description: "Data vector not enough" },
|
|
507
|
-
{
|
|
508
|
-
module: "repository",
|
|
509
|
-
code: 16,
|
|
510
|
-
description: "Invalid ID in guard table",
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
module: "repository",
|
|
514
|
-
code: 17,
|
|
515
|
-
description: "Invalid data in guard table",
|
|
516
|
-
},
|
|
517
|
-
{ module: "repository", code: 18, description: "Invalid ID from" },
|
|
518
|
-
{
|
|
519
|
-
module: "repository",
|
|
520
|
-
code: 19,
|
|
521
|
-
description: "Maximum reward count exceeded",
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
module: "repository",
|
|
525
|
-
code: 20,
|
|
526
|
-
description: "Guard not specified ID from submission",
|
|
527
|
-
},
|
|
528
|
-
// common.move
|
|
529
|
-
{ module: "common", code: 1, description: "Name length exceeded limit" },
|
|
530
|
-
{ module: "common", code: 2, description: "Name is empty" },
|
|
531
|
-
{
|
|
532
|
-
module: "common",
|
|
533
|
-
code: 3,
|
|
534
|
-
description: "Endpoint length exceeded limit",
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
module: "common",
|
|
538
|
-
code: 4,
|
|
539
|
-
description: "Description length exceeded limit",
|
|
540
|
-
},
|
|
541
|
-
{ module: "common", code: 6, description: "Invalid value type" },
|
|
542
|
-
{ module: "common", code: 7, description: "Address type does not match" },
|
|
543
|
-
{ module: "common", code: 8, description: "Number type does not match" },
|
|
544
|
-
{ module: "common", code: 9, description: "Invalid data value" },
|
|
545
|
-
{ module: "common", code: 10, description: "Invalid string value" },
|
|
546
|
-
{
|
|
547
|
-
module: "common",
|
|
548
|
-
code: 11,
|
|
549
|
-
description: "Long name length exceeded limit",
|
|
550
|
-
},
|
|
551
|
-
{ module: "common", code: 12, description: "Not u64 type" },
|
|
552
|
-
{ module: "common", code: 13, description: "Invalid service object type" },
|
|
553
|
-
// resource.move
|
|
554
|
-
{ module: "resource", code: 1, description: "Tags count exceeded limit" },
|
|
555
|
-
// allocation.move
|
|
556
|
-
{ module: "allocation", code: 1, description: "Allocation already exists" },
|
|
557
|
-
{ module: "allocation", code: 2, description: "Allocation not found" },
|
|
558
|
-
{
|
|
559
|
-
module: "allocation",
|
|
560
|
-
code: 3,
|
|
561
|
-
description: "Allocation already claimed",
|
|
562
|
-
},
|
|
563
|
-
{ module: "allocation", code: 4, description: "Allocation insufficient" },
|
|
564
|
-
{ module: "allocation", code: 5, description: "Allocation expired" },
|
|
565
|
-
// proof.move
|
|
566
|
-
{ module: "proof", code: 1, description: "Maximum proof size exceeded" },
|
|
567
|
-
{
|
|
568
|
-
module: "proof",
|
|
569
|
-
code: 2,
|
|
570
|
-
description: "Maximum server pubkey size exceeded",
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
module: "proof",
|
|
574
|
-
code: 3,
|
|
575
|
-
description: "Maximum server signature size exceeded",
|
|
576
|
-
},
|
|
577
|
-
];
|
|
578
|
-
export function getMoveErrorDescription(module, code) {
|
|
579
|
-
const error = MoveErrors.find((e) => e.module === module && e.code === code);
|
|
580
|
-
return error ? error.description : null;
|
|
581
|
-
}
|
|
582
|
-
//# sourceMappingURL=exception.js.map
|
|
1
|
+
export var WErrors;(function(a){a['AccountNotFound']='account\x20not\x20found',a['AddressNotFound']='address\x20not\x20found',a['IsValidDescription']='invalid\x20description',a['IsValidName']='invalid\x20name',a['IsValidName_AllowEmpty']='invalid\x20name',a['IsValidEndpoint']='invalid\x20endpoint',a['IsValidAddress']='invalid\x20address',a['IsValidArgType']='invalid\x20argument\x20type',a['IsValidTokenType']='invalid\x20token\x20type',a['IsValidUint']='invalid\x20uint',a['IsValidInt']='invalid\x20int',a['IsValidU8']='invalid\x20u8',a['IsValidU16']='invalid\x20u16',a['IsValidU32']='invalid\x20u32',a['IsValidU64']='invalid\x20u64',a['IsValidU128']='invalid\x20u128',a['IsValidU256']='invalid\x20u256',a['IsValidRate']='invalid\x20rate[0-10000]',a['IsValidArray']='invalid\x20array',a['IsValidObjects']='invalid\x20objects',a['AllInvalid']='one\x20valid\x20at\x20least',a['InvalidParam']='invalid\x20parameter',a['IsValidPermissionIndex']='invalid\x20permission\x20index',a['IsValidKey']='invalid\x20key',a['Fail']='fail',a['IsValidIdentifier']='identifier\x20invalid',a['IsValidHttpUrl']='invalid\x20url',a['IsValidBizPermissionIndex']='invalid\x20biz-permission\x20id[1000\x20-\x2065535]',a['BcsTypeInvalid']='invalid\x20bcs\x20type',a['IsValidServiceItemName']='invalid\x20service\x20item\x20name',a['IsValidCoinType']='not\x20the\x20coin\x20type',a['IsValidGuardIdentifier']='guard\x20identifier\x20invalid',a['NoPermission']='no\x20permission',a['IsValidValue']='invalid\x20value',a['IsValidValueType']='invalid\x20value\x20type',a['IsValidLocation']='invalid\x20location',a['NetworkInvalid']='protocol\x20network\x20not\x20specified',a['WitnessTypeInvalid']='witness\x20type\x20invalid',a['AddressCountExceeded']='address\x20count\x20exceeded',a['NumberCountExceeded']='number\x20count\x20exceeded',a['NewGuardCheckFailed']='new\x20guard\x20check\x20failed',a['GuardTableItemLengthExceeded']='guard\x20table\x20item\x20length\x20exceeded',a['AccountPersistentStorageNotSet']='account\x20persistent\x20storage\x20not\x20set',a['AccountPersistentStorageNotFound']='account\x20persistent\x20storage\x20not\x20found',a['AccountNameExist']='account\x20name\x20exist',a['ConfigPersistentStorageNotSet']='config\x20persistent\x20storage\x20not\x20set',a['TokenNotFoundLocally']='token\x20not\x20found',a['LocalMarkNameExist']='local\x20mark\x20name\x20exist',a['MaxObjectsPerQuery']='max\x20objects\x20per\x20query',a['ResourceTagCountExceeded']='resource\x20tag\x20count\x20exceeded',a['ParseObjectContentFailed']='parse\x20object\x20content\x20failed';}(WErrors||(WErrors={})));export class WException extends Error{['code'];['details'];constructor(a,b){const c=a['toString']()+(b?':'+b:'');super(c),this['code']=a,this['details']=b,Object['setPrototypeOf'](this,WException['prototype']);}['getErrorMessage'](){return this['message'];}['getErrorCode'](){return this['code'];}['getDetails'](){return this['details'];}}export const W_ERROR=(a,b)=>{throw new WException(a,b);};export const W_SUCCESS=a=>({'success':!![],'data':a});export const W_FAILURE=(a,b)=>({'success':![],'error':new WException(a,b)});export function WValidate(a){return function(...b){try{return a['apply'](this,b);}catch(c){if(c instanceof WException)throw c;throw new WException(WErrors['Fail'],c);}};}export const W_SAFE=(a,b,c)=>{try{const d=a();return W_SUCCESS(d);}catch(e){if(e instanceof WException)return W_FAILURE(e['code'],e['details']);return W_FAILURE(b||WErrors['Fail'],c||e);}};export const W_ENSURE=(a,b,c)=>{!a&&W_ERROR(b,c);};export const W_VALIDATE_PARAM=(a,b,c,d)=>{!b(a)&&W_ERROR(c,d);};export const MoveErrors=[{'module':'service','code':0x1,'description':'Maximum\x20sale\x20count\x20exceeded'},{'module':'service','code':0x2,'description':'Maximum\x20repository\x20count\x20exceeded'},{'module':'service','code':0x3,'description':'Maximum\x20arbitration\x20count\x20exceeded'},{'module':'service','code':0x4,'description':'Maximum\x20WIP\x20length\x20exceeded'},{'module':'service','code':0x5,'description':'Maximum\x20WIP\x20hash\x20length\x20exceeded'},{'module':'service','code':0x6,'description':'Service\x20already\x20published'},{'module':'service','code':0x7,'description':'Service\x20not\x20published'},{'module':'service','code':0x8,'description':'Invalid\x20off-on\x20discount\x20rates'},{'module':'service','code':0x9,'description':'Maximum\x20discount\x20count\x20per\x20operation\x20exceeded'},{'module':'service','code':0xa,'description':'Discount\x20not\x20transferable'},{'module':'service','code':0xb,'description':'Discount\x20receiver\x20empty'},{'module':'service','code':0xc,'description':'Discount\x20count\x20empty'},{'module':'service','code':0xd,'description':'Maximum\x20discount\x20receiver\x20per\x20operation\x20exceeded'},{'module':'service','code':0xe,'description':'Maximum\x20total\x20discount\x20count\x20exceeded'},{'module':'service','code':0xf,'description':'Service\x20discount\x20does\x20not\x20match'},{'module':'service','code':0x10,'description':'Stock\x20not\x20enough'},{'module':'service','code':0x11,'description':'Invalid\x20quote'},{'module':'service','code':0x12,'description':'Buyer\x20guard\x20passport\x20required'},{'module':'service','code':0x13,'description':'Service\x20is\x20paused'},{'module':'service','code':0x14,'description':'Coin\x20not\x20enough'},{'module':'service','code':0x15,'description':'Maximum\x20required\x20info\x20size\x20exceeded'},{'module':'service','code':0x16,'description':'Machine\x20does\x20not\x20match'},{'module':'service','code':0x17,'description':'No\x20allocator\x20configured'},{'module':'service','code':0x18,'description':'Compensation\x20withdraw\x20time\x20not\x20enough'},{'module':'service','code':0x19,'description':'Arbitration\x20not\x20set\x20with\x20compensation\x20fund'},{'module':'service','code':0x1a,'description':'Order\x20service\x20does\x20not\x20match'},{'module':'service','code':0x1b,'description':'Compensation\x20does\x20not\x20match'},{'module':'service','code':0x1c,'description':'Maximum\x20reward\x20count\x20exceeded'},{'module':'service','code':0x1d,'description':'Invalid\x20discount\x20type'},{'module':'service','code':0x1e,'description':'Invalid\x20timestamp\x20ms\x20end'},{'module':'service','code':0x1f,'description':'WIP\x20hash\x20not\x20match'},{'module':'service','code':0x20,'description':'Sale\x20item\x20not\x20found'},{'module':'permission','code':0x1,'description':'Not\x20the\x20builder'},{'module':'permission','code':0x2,'description':'Not\x20admin'},{'module':'permission','code':0x3,'description':'Address\x20count\x20in\x20permission\x20exceeded\x20limit'},{'module':'permission','code':0x4,'description':'Permission\x20count\x20exceeded\x20limit'},{'module':'permission','code':0x5,'description':'Permission\x20denied'},{'module':'permission','code':0x6,'description':'Admin\x20count\x20exceeded\x20limit'},{'module':'permission','code':0x7,'description':'Permission\x20index\x20not\x20found'},{'module':'permission','code':0x8,'description':'Permission\x20does\x20not\x20match'},{'module':'permission','code':0x9,'description':'Not\x20user\x20address'},{'module':'passport','code':0x1,'description':'Guard\x20count\x20exceeded\x20limit'},{'module':'passport','code':0x2,'description':'Relies\x20guard\x20not\x20added'},{'module':'passport','code':0x3,'description':'Submission\x20size\x20exceeded\x20limit'},{'module':'passport','code':0x4,'description':'Already\x20verified'},{'module':'passport','code':0x5,'description':'Not\x20verified'},{'module':'passport','code':0x6,'description':'Not\x20impact\x20guard'},{'module':'passport','code':0x7,'description':'Verification\x20failed'},{'module':'passport','code':0x8,'description':'Transaction\x20does\x20not\x20match'},{'module':'passport','code':0x9,'description':'Impact\x20guard\x20not\x20found'},{'module':'passport','code':0xa,'description':'Submission\x20not\x20found'},{'module':'passport','code':0xb,'description':'Digest\x20not\x20match'},{'module':'reward','code':0x1,'description':'Guard\x20locked\x20time\x20not\x20increasing'},{'module':'reward','code':0x2,'description':'Guard\x20expired'},{'module':'reward','code':0x3,'description':'Guard\x20count\x20exceeded\x20limit'},{'module':'reward','code':0x4,'description':'Recipient\x20identifier\x20not\x20address\x20type'},{'module':'reward','code':0x5,'description':'Amount\x20not\x20u64\x20type'},{'module':'reward','code':0x6,'description':'Insufficient\x20balance'},{'module':'reward','code':0x7,'description':'Guard\x20not\x20found'},{'module':'reward','code':0x8,'description':'Record\x20count\x20exceeded\x20limit'},{'module':'reward','code':0xa,'description':'Invalid\x20guard\x20locked\x20time'},{'module':'reward','code':0xb,'description':'Guard\x20locked\x20time\x20invalid'},{'module':'reward','code':0xc,'description':'Store\x20from\x20ID\x20not\x20compatible'},{'module':'arbitration','code':0x1,'description':'Guard\x20identifier\x20not\x20number\x20type'},{'module':'arbitration','code':0x2,'description':'Voting\x20guard\x20already\x20used'},{'module':'arbitration','code':0x3,'description':'Arbitration\x20does\x20not\x20match'},{'module':'arbitration','code':0x4,'description':'Arbitration\x20is\x20paused'},{'module':'arbitration','code':0x5,'description':'Fee\x20not\x20enough'},{'module':'arbitration','code':0x6,'description':'Passport\x20required'},{'module':'arbitration','code':0x7,'description':'Guard\x20identifier\x20number\x20invalid'},{'module':'arbitration','code':0x8,'description':'Voting\x20guard\x20not\x20found'},{'module':'arbitration','code':0x9,'description':'Maximum\x20voting\x20guard\x20count\x20exceeded'},{'module':'demand','code':0x1,'description':'Maximum\x20reward\x20count\x20exceeded'},{'module':'demand','code':0x2,'description':'Maximum\x20guard\x20count\x20exceeded'},{'module':'demand','code':0x3,'description':'Passport\x20required'},{'module':'demand','code':0x4,'description':'Guard\x20not\x20found'},{'module':'progress','code':0x1,'description':'Maximum\x20context\x20repository\x20count\x20exceeded'},{'module':'progress','code':0x2,'description':'Maximum\x20named\x20operator\x20count\x20exceeded'},{'module':'progress','code':0x3,'description':'Maximum\x20named\x20operator\x20address\x20count\x20exceeded'},{'module':'progress','code':0x4,'description':'Machine\x20does\x20not\x20match'},{'module':'progress','code':0x5,'description':'Task\x20already\x20set'},{'module':'progress','code':0x6,'description':'Not\x20the\x20holder'},{'module':'progress','code':0x7,'description':'Forward\x20already\x20accomplished'},{'module':'progress','code':0x8,'description':'Permission\x20not\x20defined\x20when\x20hold'},{'module':'progress','code':0x9,'description':'Passport\x20required'},{'module':'progress','code':0xa,'description':'Order\x20does\x20not\x20match'},{'module':'guard','code':0x1,'description':'Input\x20empty'},{'module':'guard','code':0x2,'description':'Input\x20size\x20exceeded\x20limit'},{'module':'guard','code':0x3,'description':'Table\x20size\x20exceeded\x20limit'},{'module':'guard','code':0x5,'description':'Dependent\x20count\x20exceeded\x20limit'},{'module':'guard','code':0x6,'description':'Not\x20dependent\x20guard'},{'module':'guard','code':0x7,'description':'Guard\x20cannot\x20depend\x20on\x20itself'},{'module':'guard','code':0x8,'description':'Guard\x20IDs\x20parse\x20error'},{'module':'guard','code':0x9,'description':'Guard\x20IDs\x20type\x20error'},{'module':'guard','code':0xa,'description':'ID\x20value\x20count\x20not\x20equal\x20to\x20guard\x20count'},{'module':'guard','code':0xb,'description':'Submission\x20ID\x20not\x20found'},{'module':'guard','code':0xc,'description':'Submission\x20value\x20type\x20error'},{'module':'order','code':0x1,'description':'Not\x20the\x20owner'},{'module':'order','code':0x2,'description':'Maximum\x20agent\x20count\x20exceeded'},{'module':'order','code':0x3,'description':'Progress\x20not\x20specified'},{'module':'order','code':0x5,'description':'No\x20operation\x20permission'},{'module':'order','code':0x6,'description':'Maximum\x20dispute\x20count\x20exceeded'},{'module':'order','code':0x7,'description':'Order\x20already\x20claimed'},{'module':'order','code':0x8,'description':'Invalid\x20customer\x20info'},{'module':'order','code':0x9,'description':'Allocation\x20not\x20specified'},{'module':'order','code':0xa,'description':'Allocation\x20already\x20specified'},{'module':'order','code':0xb,'description':'Progress\x20already\x20specified'},{'module':'machine','code':0x1,'description':'Maximum\x20consensus\x20repositories\x20exceeded'},{'module':'machine','code':0x2,'description':'Machine\x20not\x20published'},{'module':'machine','code':0x3,'description':'Machine\x20already\x20published'},{'module':'machine','code':0x4,'description':'Maximum\x20forward\x20order\x20count\x20exceeded'},{'module':'machine','code':0x5,'description':'Maximum\x20node\x20count\x20exceeded'},{'module':'machine','code':0x6,'description':'Duplicate\x20forward\x20name'},{'module':'machine','code':0x7,'description':'Duplicate\x20node\x20previous'},{'module':'machine','code':0x8,'description':'Old\x20node\x20name\x20does\x20not\x20exist'},{'module':'machine','code':0x9,'description':'New\x20node\x20name\x20already\x20exists'},{'module':'machine','code':0xa,'description':'Node\x20not\x20found'},{'module':'machine','code':0xb,'description':'Machine\x20is\x20paused'},{'module':'machine','code':0xc,'description':'Retained\x20submission\x20error'},{'module':'machine','code':0xd,'description':'Info\x20not\x20found'},{'module':'machine','code':0xe,'description':'Permission\x20not\x20defined'},{'module':'machine','code':0xf,'description':'Maximum\x20node\x20pair\x20count\x20exceeded'},{'module':'machine','code':0x10,'description':'Maximum\x20forward\x20count\x20exceeded'},{'module':'treasury','code':0x1,'description':'Maximum\x20external\x20deposit\x20guard\x20count\x20exceeded'},{'module':'treasury','code':0x2,'description':'Maximum\x20external\x20withdraw\x20guard\x20count\x20exceeded'},{'module':'treasury','code':0x3,'description':'External\x20deposit\x20guard\x20not\x20found'},{'module':'treasury','code':0x4,'description':'External\x20withdraw\x20guard\x20not\x20found'},{'module':'treasury','code':0x5,'description':'Identifier\x20not\x20number\x20type'},{'module':'treasury','code':0x6,'description':'Deposit\x20insufficient\x20amount'},{'module':'treasury','code':0x7,'description':'Withdraw\x20insufficient\x20amount'},{'module':'treasury','code':0x8,'description':'Store\x20from\x20ID\x20not\x20compatible'},{'module':'arb','code':0x1,'description':'Maximum\x20proposition\x20count\x20exceeded'},{'module':'arb','code':0x2,'description':'Arbitration\x20order\x20does\x20not\x20match'},{'module':'arb','code':0x3,'description':'Status\x20does\x20not\x20match'},{'module':'arb','code':0x4,'description':'Voting\x20deadline\x20not\x20passed'},{'module':'arb','code':0x5,'description':'Proposition\x20not\x20found'},{'module':'arb','code':0x6,'description':'Maximum\x20voter\x20count\x20exceeded'},{'module':'arb','code':0x7,'description':'Voting\x20deadline\x20passed'},{'module':'arb','code':0x8,'description':'Withdraw\x20duration\x20time\x20not\x20passed'},{'module':'repository','code':0x1,'description':'Policy\x20description\x20length\x20exceeded'},{'module':'repository','code':0x2,'description':'Policy\x20guard\x20count\x20exceeded'},{'module':'repository','code':0x3,'description':'Policy\x20count\x20exceeded'},{'module':'repository','code':0x4,'description':'Data\x20size\x20exceeded\x20limit'},{'module':'repository','code':0x5,'description':'ID\x20count\x20exceeded\x20limit'},{'module':'repository','code':0x6,'description':'Quantities\x20not\x20equal'},{'module':'repository','code':0x7,'description':'Policy\x20not\x20found'},{'module':'repository','code':0x8,'description':'Policy\x20ID\x20from\x20none'},{'module':'repository','code':0x9,'description':'Passport\x20required'},{'module':'repository','code':0xa,'description':'Data\x20type\x20does\x20not\x20match'},{'module':'repository','code':0xb,'description':'Guard\x20specified\x20ID\x20from\x20submission'},{'module':'repository','code':0xc,'description':'Not\x20impact\x20guard\x20in\x20passport'},{'module':'repository','code':0xd,'description':'Guard\x20specified\x20not\x20in\x20policy'},{'module':'repository','code':0xe,'description':'ID\x20vector\x20not\x20enough'},{'module':'repository','code':0xf,'description':'Data\x20vector\x20not\x20enough'},{'module':'repository','code':0x10,'description':'Invalid\x20ID\x20in\x20guard\x20table'},{'module':'repository','code':0x11,'description':'Invalid\x20data\x20in\x20guard\x20table'},{'module':'repository','code':0x12,'description':'Invalid\x20ID\x20from'},{'module':'repository','code':0x13,'description':'Maximum\x20reward\x20count\x20exceeded'},{'module':'repository','code':0x14,'description':'Guard\x20not\x20specified\x20ID\x20from\x20submission'},{'module':'repository','code':0x15,'description':'Need\x20dependent\x20guard'},{'module':'common','code':0x1,'description':'Name\x20length\x20exceeded\x20limit'},{'module':'common','code':0x2,'description':'Name\x20is\x20empty'},{'module':'common','code':0x3,'description':'Description\x20length\x20exceeded\x20limit'},{'module':'common','code':0x6,'description':'Invalid\x20value\x20type'},{'module':'common','code':0x7,'description':'Address\x20type\x20does\x20not\x20match'},{'module':'common','code':0x8,'description':'Number\x20type\x20does\x20not\x20match'},{'module':'common','code':0x9,'description':'Invalid\x20data\x20value'},{'module':'common','code':0xa,'description':'Invalid\x20string\x20value'},{'module':'common','code':0xb,'description':'Long\x20name\x20length\x20exceeded\x20limit'},{'module':'common','code':0xc,'description':'Not\x20u64\x20type'},{'module':'common','code':0xd,'description':'Invalid\x20service\x20object\x20type'},{'module':'resource','code':0x1,'description':'Tags\x20count\x20exceeded\x20limit'},{'module':'allocation','code':0x1,'description':'Recipient\x20identifier\x20not\x20address\x20type'},{'module':'allocation','code':0x2,'description':'Allocator\x20count\x20exceeded'},{'module':'allocation','code':0x3,'description':'No\x20allocator'},{'module':'allocation','code':0x4,'description':'Rate\x20not\x2010000'},{'module':'allocation','code':0x5,'description':'Multiple\x20surplus'},{'module':'allocation','code':0x6,'description':'Rate\x20exceeds\x2010000'},{'module':'allocation','code':0x7,'description':'Insufficient\x20balance'},{'module':'allocation','code':0x8,'description':'Allocators\x20empty'},{'module':'allocation','code':0x9,'description':'No\x20payment\x20info'},{'module':'allocation','code':0xa,'description':'Sharing\x20count\x20exceeded'},{'module':'allocation','code':0xb,'description':'Sharing\x20mode\x20invalid'},{'module':'allocation','code':0xc,'description':'Amount\x20below\x20threshold'},{'module':'allocation','code':0xd,'description':'Amount\x20exceeds\x20max'},{'module':'proof','code':0x1,'description':'Maximum\x20proof\x20size\x20exceeded'},{'module':'proof','code':0x2,'description':'Maximum\x20server\x20pubkey\x20size\x20exceeded'},{'module':'proof','code':0x3,'description':'Maximum\x20server\x20signature\x20size\x20exceeded'},{'module':'payment','code':0x1,'description':'Recipient\x20count\x20exceeded'},{'module':'payment','code':0x2,'description':'Vector\x20count\x20not\x20equal'},{'module':'payment','code':0x3,'description':'Payment\x20not\x20match'},{'module':'payment','code':0x4,'description':'Recipient\x20empty'},{'module':'contact','code':0x1,'description':'IM\x20count\x20exceeded'},{'module':'registrar','code':0x0,'description':'Not\x20system\x20address'},{'module':'registrar','code':0x1,'description':'Record\x20count\x20exceeded'},{'module':'registrar','code':0x2,'description':'Record\x20length\x20exceeded'},{'module':'registrar','code':0x3,'description':'Record\x20type\x20empty'},{'module':'transfer','code':0x0,'description':'Shared\x20non-new\x20object'},{'module':'transfer','code':0x1,'description':'BCS\x20serialization\x20failure'},{'module':'transfer','code':0x2,'description':'Receiving\x20object\x20type\x20mismatch'},{'module':'transfer','code':0x3,'description':'Unable\x20to\x20receive\x20object'},{'module':'transfer','code':0x4,'description':'Shared\x20object\x20operation\x20not\x20supported'},{'module':'transfer','code':0x5,'description':'Operation\x20not\x20supported'},{'module':'transfer','code':0x6,'description':'Invalid\x20party\x20permissions'},{'module':'tx_context','code':0x0,'description':'Bad\x20transaction\x20hash\x20length'},{'module':'coin','code':0x0,'description':'Bad\x20witness'},{'module':'coin','code':0x1,'description':'Invalid\x20argument'},{'module':'coin','code':0x2,'description':'Not\x20enough\x20balance'},{'module':'coin','code':0x3,'description':'Global\x20pause\x20not\x20allowed'},{'module':'borrow','code':0x0,'description':'Wrong\x20borrow'},{'module':'borrow','code':0x1,'description':'Wrong\x20value'},{'module':'bcs','code':0x0,'description':'Out\x20of\x20range'},{'module':'bcs','code':0x1,'description':'Not\x20bool'},{'module':'bcs','code':0x2,'description':'Length\x20out\x20of\x20range'},{'module':'balance','code':0x0,'description':'Non-zero\x20balance'},{'module':'balance','code':0x1,'description':'Overflow'},{'module':'balance','code':0x2,'description':'Not\x20enough'},{'module':'balance','code':0x3,'description':'Not\x20system\x20address'},{'module':'balance','code':0x4,'description':'Not\x20WOW'},{'module':'parent_table','code':0x0,'description':'Parent\x20table\x20not\x20match'},{'module':'parent_table_vec','code':0x0,'description':'Index\x20out\x20of\x20bound'},{'module':'parent_linked_table','code':0x0,'description':'Table\x20is\x20empty'},{'module':'parent_linked_table','code':0x1,'description':'Table\x20not\x20match'}];export function getMoveErrorDescription(a,b){const c=MoveErrors['find'](d=>d['module']===a&&d['code']===b);return c?c['description']:null;}export function enrichMoveError(a){if(!a||typeof a!=='string')return a;const b=/MoveAbort\([^,]+,\s*(\d+)\)/,c=/name:\s*Identifier\("([^"]+)"\)/,d=/address:\s*([0-9a-fA-Fx]+)/,e=a['match'](b),f=a['match'](c),g=a['match'](d),h='0x0000000000000000000000000000000000000000000000000000000000000002';if(e&&f&&g){const i=parseInt(e[0x1],0xa),j=f[0x1]['toLowerCase'](),k=g[0x1]['toLowerCase']();if(k===h||k==='0x2'){const l=MoveErrors['find'](m=>m['module']['toLowerCase']()===j&&m['code']===i);if(l)return'Error\x20Description:\x20'+l['description']+'\x0a'+a;}}return a;}
|
package/dist/esm/w/index.js
CHANGED
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
export * from "./common.js";
|
|
4
|
-
export * from "./exception.js";
|
|
5
|
-
export * from "./util.js";
|
|
6
|
-
export * from "./call/index.js";
|
|
7
|
-
export * from "./local/index.js";
|
|
8
|
-
export * from "./query/index.js";
|
|
9
|
-
export * from "./messenger/index.js";
|
|
10
|
-
// Export ENTRYPOINT from client/network
|
|
11
|
-
export * from "../client/network.js";
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export*from'./common.js';export*from'./exception.js';export*from'./util.js';export*from'./call/index.js';export*from'./local/index.js';export*from'./query/index.js';export*from'./messenger/index.js';export*from'../client/network.js';
|