@mysten/sui 2.31.2 → 2.31.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mysten/sui.js
2
2
 
3
+ ## 2.31.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 59dedfe: Report unsupported enum variants and their expected values when parsing transaction data.
8
+
3
9
  ## 2.31.2
4
10
 
5
11
  ### Patch Changes
@@ -1,21 +1,21 @@
1
1
  import { TypeTag as TypeTag$1 } from "./types.mjs";
2
- import * as _mysten_bcs1241 from "@mysten/bcs";
2
+ import * as _mysten_bcs1261 from "@mysten/bcs";
3
3
  import { BcsType } from "@mysten/bcs";
4
4
 
5
5
  //#region src/bcs/bcs.d.ts
6
6
  declare const TypeTag: BcsType<string, string | TypeTag$1, string>;
7
- declare function IntentMessage<T extends BcsType<any>>(T: T): _mysten_bcs1241.BcsStruct<{
8
- intent: _mysten_bcs1241.BcsStruct<{
9
- scope: _mysten_bcs1241.BcsEnum<{
7
+ declare function IntentMessage<T extends BcsType<any>>(T: T): _mysten_bcs1261.BcsStruct<{
8
+ intent: _mysten_bcs1261.BcsStruct<{
9
+ scope: _mysten_bcs1261.BcsEnum<{
10
10
  TransactionData: null;
11
11
  TransactionEffects: null;
12
12
  CheckpointSummary: null;
13
13
  PersonalMessage: null;
14
14
  }, "IntentScope">;
15
- version: _mysten_bcs1241.BcsEnum<{
15
+ version: _mysten_bcs1261.BcsEnum<{
16
16
  V0: null;
17
17
  }, "IntentVersion">;
18
- appId: _mysten_bcs1241.BcsEnum<{
18
+ appId: _mysten_bcs1261.BcsEnum<{
19
19
  Sui: null;
20
20
  }, "AppId">;
21
21
  }, string>;
@@ -549,7 +549,7 @@ declare const suiBcs: {
549
549
  version: string;
550
550
  digest: string;
551
551
  };
552
- }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
552
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
553
553
  FundsWithdrawal: {
554
554
  reservation: {
555
555
  MaxAmountU64: string;
@@ -568,7 +568,7 @@ declare const suiBcs: {
568
568
  };
569
569
  }, "Sender" | "Sponsor" | "SenderAllowance">;
570
570
  };
571
- }, "Object" | "Pure" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
571
+ }, "Pure" | "Object" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
572
572
  Pure: {
573
573
  bytes: string | Uint8Array<ArrayBufferLike>;
574
574
  };
@@ -805,7 +805,7 @@ declare const suiBcs: {
805
805
  TransactionEffects: true;
806
806
  CheckpointSummary: true;
807
807
  PersonalMessage: true;
808
- }, "TransactionEffects" | "TransactionData" | "CheckpointSummary" | "PersonalMessage">;
808
+ }, "TransactionData" | "TransactionEffects" | "CheckpointSummary" | "PersonalMessage">;
809
809
  version: {
810
810
  V0: true;
811
811
  $kind: "V0";
@@ -839,7 +839,7 @@ declare const suiBcs: {
839
839
  version: string;
840
840
  digest: string;
841
841
  };
842
- }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
842
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
843
843
  FundsWithdrawal: {
844
844
  reservation: {
845
845
  MaxAmountU64: string;
@@ -858,7 +858,7 @@ declare const suiBcs: {
858
858
  };
859
859
  }, "Sender" | "Sponsor" | "SenderAllowance">;
860
860
  };
861
- }, "Object" | "Pure" | "FundsWithdrawal">[];
861
+ }, "Pure" | "Object" | "FundsWithdrawal">[];
862
862
  commands: _mysten_bcs0.EnumOutputShapeWithKeys<{
863
863
  MoveCall: {
864
864
  package: string;
@@ -997,7 +997,7 @@ declare const suiBcs: {
997
997
  startVersion: string;
998
998
  owner: string;
999
999
  };
1000
- }, "AddressOwner" | "ConsensusAddressOwner" | "Immutable" | "ObjectOwner" | "Shared">;
1000
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">;
1001
1001
  };
1002
1002
  $kind: "RawObject";
1003
1003
  }[];
@@ -1130,7 +1130,7 @@ declare const suiBcs: {
1130
1130
  version: string;
1131
1131
  digest: string;
1132
1132
  };
1133
- }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
1133
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
1134
1134
  FundsWithdrawal: {
1135
1135
  reservation: {
1136
1136
  MaxAmountU64: string;
@@ -1149,7 +1149,7 @@ declare const suiBcs: {
1149
1149
  };
1150
1150
  }, "Sender" | "Sponsor" | "SenderAllowance">;
1151
1151
  };
1152
- }, "Object" | "Pure" | "FundsWithdrawal">[];
1152
+ }, "Pure" | "Object" | "FundsWithdrawal">[];
1153
1153
  commands: _mysten_bcs0.EnumOutputShapeWithKeys<{
1154
1154
  MoveCall: {
1155
1155
  package: string;
@@ -1231,7 +1231,7 @@ declare const suiBcs: {
1231
1231
  };
1232
1232
  }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade">[];
1233
1233
  };
1234
- }, "EndOfEpochTransaction" | "ProgrammableSystemTransaction" | "ProgrammableTransaction" | "ChangeEpoch" | "Genesis" | "ConsensusCommitPrologue" | "AuthenticatorStateUpdate" | "RandomnessStateUpdate" | "ConsensusCommitPrologueV2" | "ConsensusCommitPrologueV3" | "ConsensusCommitPrologueV4">;
1234
+ }, "ProgrammableTransaction" | "ChangeEpoch" | "Genesis" | "ConsensusCommitPrologue" | "AuthenticatorStateUpdate" | "EndOfEpochTransaction" | "RandomnessStateUpdate" | "ConsensusCommitPrologueV2" | "ConsensusCommitPrologueV3" | "ConsensusCommitPrologueV4" | "ProgrammableSystemTransaction">;
1235
1235
  sender: string;
1236
1236
  gasData: {
1237
1237
  payment: {
@@ -1266,7 +1266,7 @@ declare const suiBcs: {
1266
1266
  proposers: number[];
1267
1267
  } | null;
1268
1268
  };
1269
- }, "Epoch" | "None" | "ValidDuring" | "Validity">;
1269
+ }, "None" | "Epoch" | "ValidDuring" | "Validity">;
1270
1270
  };
1271
1271
  $kind: "V1";
1272
1272
  };
@@ -1877,7 +1877,7 @@ declare const suiBcs: {
1877
1877
  version: string;
1878
1878
  digest: string;
1879
1879
  };
1880
- }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
1880
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
1881
1881
  FundsWithdrawal: {
1882
1882
  reservation: {
1883
1883
  MaxAmountU64: string;
@@ -1896,7 +1896,7 @@ declare const suiBcs: {
1896
1896
  };
1897
1897
  }, "Sender" | "Sponsor" | "SenderAllowance">;
1898
1898
  };
1899
- }, "Object" | "Pure" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
1899
+ }, "Pure" | "Object" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
1900
1900
  Pure: {
1901
1901
  bytes: string | Uint8Array<ArrayBufferLike>;
1902
1902
  };
@@ -2181,7 +2181,7 @@ declare const suiBcs: {
2181
2181
  startVersion: string;
2182
2182
  owner: string;
2183
2183
  };
2184
- }, "AddressOwner" | "ConsensusAddressOwner" | "Immutable" | "ObjectOwner" | "Shared">;
2184
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">;
2185
2185
  };
2186
2186
  $kind: "RawObject";
2187
2187
  }[], Iterable<{
@@ -2459,7 +2459,7 @@ declare const suiBcs: {
2459
2459
  version: string;
2460
2460
  digest: string;
2461
2461
  };
2462
- }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
2462
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
2463
2463
  FundsWithdrawal: {
2464
2464
  reservation: {
2465
2465
  MaxAmountU64: string;
@@ -2478,7 +2478,7 @@ declare const suiBcs: {
2478
2478
  };
2479
2479
  }, "Sender" | "Sponsor" | "SenderAllowance">;
2480
2480
  };
2481
- }, "Object" | "Pure" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
2481
+ }, "Pure" | "Object" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
2482
2482
  Pure: {
2483
2483
  bytes: string | Uint8Array<ArrayBufferLike>;
2484
2484
  };
@@ -2794,7 +2794,7 @@ declare const suiBcs: {
2794
2794
  version: string;
2795
2795
  digest: string;
2796
2796
  };
2797
- }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
2797
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
2798
2798
  FundsWithdrawal: {
2799
2799
  reservation: {
2800
2800
  MaxAmountU64: string;
@@ -2813,7 +2813,7 @@ declare const suiBcs: {
2813
2813
  };
2814
2814
  }, "Sender" | "Sponsor" | "SenderAllowance">;
2815
2815
  };
2816
- }, "Object" | "Pure" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
2816
+ }, "Pure" | "Object" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
2817
2817
  Pure: {
2818
2818
  bytes: string | Uint8Array<ArrayBufferLike>;
2819
2819
  };
@@ -3098,7 +3098,7 @@ declare const suiBcs: {
3098
3098
  startVersion: string;
3099
3099
  owner: string;
3100
3100
  };
3101
- }, "AddressOwner" | "ConsensusAddressOwner" | "Immutable" | "ObjectOwner" | "Shared">;
3101
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">;
3102
3102
  };
3103
3103
  $kind: "RawObject";
3104
3104
  }[], Iterable<{
@@ -3376,7 +3376,7 @@ declare const suiBcs: {
3376
3376
  version: string;
3377
3377
  digest: string;
3378
3378
  };
3379
- }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
3379
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
3380
3380
  FundsWithdrawal: {
3381
3381
  reservation: {
3382
3382
  MaxAmountU64: string;
@@ -3395,7 +3395,7 @@ declare const suiBcs: {
3395
3395
  };
3396
3396
  }, "Sender" | "Sponsor" | "SenderAllowance">;
3397
3397
  };
3398
- }, "Object" | "Pure" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
3398
+ }, "Pure" | "Object" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
3399
3399
  Pure: {
3400
3400
  bytes: string | Uint8Array<ArrayBufferLike>;
3401
3401
  };
@@ -3687,7 +3687,7 @@ declare const suiBcs: {
3687
3687
  version: string;
3688
3688
  digest: string;
3689
3689
  };
3690
- }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
3690
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
3691
3691
  FundsWithdrawal: {
3692
3692
  reservation: {
3693
3693
  MaxAmountU64: string;
@@ -3706,7 +3706,7 @@ declare const suiBcs: {
3706
3706
  };
3707
3707
  }, "Sender" | "Sponsor" | "SenderAllowance">;
3708
3708
  };
3709
- }, "Object" | "Pure" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
3709
+ }, "Pure" | "Object" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
3710
3710
  Pure: {
3711
3711
  bytes: string | Uint8Array<ArrayBufferLike>;
3712
3712
  };
@@ -3991,7 +3991,7 @@ declare const suiBcs: {
3991
3991
  startVersion: string;
3992
3992
  owner: string;
3993
3993
  };
3994
- }, "AddressOwner" | "ConsensusAddressOwner" | "Immutable" | "ObjectOwner" | "Shared">;
3994
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">;
3995
3995
  };
3996
3996
  $kind: "RawObject";
3997
3997
  }[], Iterable<{
@@ -4269,7 +4269,7 @@ declare const suiBcs: {
4269
4269
  version: string;
4270
4270
  digest: string;
4271
4271
  };
4272
- }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
4272
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
4273
4273
  FundsWithdrawal: {
4274
4274
  reservation: {
4275
4275
  MaxAmountU64: string;
@@ -4288,7 +4288,7 @@ declare const suiBcs: {
4288
4288
  };
4289
4289
  }, "Sender" | "Sponsor" | "SenderAllowance">;
4290
4290
  };
4291
- }, "Object" | "Pure" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
4291
+ }, "Pure" | "Object" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
4292
4292
  Pure: {
4293
4293
  bytes: string | Uint8Array<ArrayBufferLike>;
4294
4294
  };
@@ -4762,7 +4762,7 @@ declare const suiBcs: {
4762
4762
  startVersion: string;
4763
4763
  owner: string;
4764
4764
  };
4765
- }, "AddressOwner" | "ConsensusAddressOwner" | "Immutable" | "ObjectOwner" | "Shared">][], Iterable<readonly [{
4765
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">][], Iterable<readonly [{
4766
4766
  objectId: string | Uint8Array<ArrayBufferLike>;
4767
4767
  version: string | number | bigint;
4768
4768
  digest: string;
@@ -4795,7 +4795,7 @@ declare const suiBcs: {
4795
4795
  startVersion: string;
4796
4796
  owner: string;
4797
4797
  };
4798
- }, "AddressOwner" | "ConsensusAddressOwner" | "Immutable" | "ObjectOwner" | "Shared">][], Iterable<readonly [{
4798
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">][], Iterable<readonly [{
4799
4799
  objectId: string | Uint8Array<ArrayBufferLike>;
4800
4800
  version: string | number | bigint;
4801
4801
  digest: string;
@@ -4828,7 +4828,7 @@ declare const suiBcs: {
4828
4828
  startVersion: string;
4829
4829
  owner: string;
4830
4830
  };
4831
- }, "AddressOwner" | "ConsensusAddressOwner" | "Immutable" | "ObjectOwner" | "Shared">][], Iterable<readonly [{
4831
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">][], Iterable<readonly [{
4832
4832
  objectId: string | Uint8Array<ArrayBufferLike>;
4833
4833
  version: string | number | bigint;
4834
4834
  digest: string;
@@ -5096,7 +5096,7 @@ declare const suiBcs: {
5096
5096
  startVersion: string;
5097
5097
  owner: string;
5098
5098
  };
5099
- }, "AddressOwner" | "ConsensusAddressOwner" | "Immutable" | "ObjectOwner" | "Shared">];
5099
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">];
5100
5100
  }, "NotExist" | "Exist">;
5101
5101
  outputState: _mysten_bcs0.EnumOutputShapeWithKeys<{
5102
5102
  NotExist: true;
@@ -5111,7 +5111,7 @@ declare const suiBcs: {
5111
5111
  startVersion: string;
5112
5112
  owner: string;
5113
5113
  };
5114
- }, "AddressOwner" | "ConsensusAddressOwner" | "Immutable" | "ObjectOwner" | "Shared">];
5114
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">];
5115
5115
  PackageWrite: [string, string];
5116
5116
  AccumulatorWriteV1: {
5117
5117
  address: {
@@ -5197,7 +5197,7 @@ declare const suiBcs: {
5197
5197
  ReadConsensusStreamEnded: string;
5198
5198
  Cancelled: string;
5199
5199
  PerEpochConfig: true;
5200
- }, "MutateConsensusStreamEnded" | "PerEpochConfig" | "ReadConsensusStreamEnded" | "ReadOnlyRoot" | "Cancelled">][], Iterable<readonly [string | Uint8Array<ArrayBufferLike>, _mysten_bcs0.EnumInputShape<{
5200
+ }, "ReadOnlyRoot" | "MutateConsensusStreamEnded" | "ReadConsensusStreamEnded" | "Cancelled" | "PerEpochConfig">][], Iterable<readonly [string | Uint8Array<ArrayBufferLike>, _mysten_bcs0.EnumInputShape<{
5201
5201
  ReadOnlyRoot: readonly [string | number | bigint, string];
5202
5202
  MutateConsensusStreamEnded: string | number | bigint;
5203
5203
  ReadConsensusStreamEnded: string | number | bigint;
@@ -5258,7 +5258,7 @@ declare const suiBcs: {
5258
5258
  version: string;
5259
5259
  digest: string;
5260
5260
  };
5261
- }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
5261
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
5262
5262
  FundsWithdrawal: {
5263
5263
  reservation: {
5264
5264
  MaxAmountU64: string;
@@ -5277,7 +5277,7 @@ declare const suiBcs: {
5277
5277
  };
5278
5278
  }, "Sender" | "Sponsor" | "SenderAllowance">;
5279
5279
  };
5280
- }, "Object" | "Pure" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
5280
+ }, "Pure" | "Object" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
5281
5281
  Pure: {
5282
5282
  bytes: string | Uint8Array<ArrayBufferLike>;
5283
5283
  };
@@ -5562,7 +5562,7 @@ declare const suiBcs: {
5562
5562
  startVersion: string;
5563
5563
  owner: string;
5564
5564
  };
5565
- }, "AddressOwner" | "ConsensusAddressOwner" | "Immutable" | "ObjectOwner" | "Shared">;
5565
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">;
5566
5566
  };
5567
5567
  $kind: "RawObject";
5568
5568
  }[], Iterable<{
@@ -5840,7 +5840,7 @@ declare const suiBcs: {
5840
5840
  version: string;
5841
5841
  digest: string;
5842
5842
  };
5843
- }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
5843
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
5844
5844
  FundsWithdrawal: {
5845
5845
  reservation: {
5846
5846
  MaxAmountU64: string;
@@ -5859,7 +5859,7 @@ declare const suiBcs: {
5859
5859
  };
5860
5860
  }, "Sender" | "Sponsor" | "SenderAllowance">;
5861
5861
  };
5862
- }, "Object" | "Pure" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
5862
+ }, "Pure" | "Object" | "FundsWithdrawal">[], Iterable<_mysten_bcs0.EnumInputShape<{
5863
5863
  Pure: {
5864
5864
  bytes: string | Uint8Array<ArrayBufferLike>;
5865
5865
  };
@@ -23,12 +23,6 @@ declare function toSerializedSignature({
23
23
  * Decodes a serialized signature into its constituent components: the signature scheme, the actual signature, and the public key
24
24
  */
25
25
  declare function parseSerializedSignature(serializedSignature: string): {
26
- serializedSignature: string;
27
- signatureScheme: "ED25519" | "Secp256k1" | "Secp256r1";
28
- signature: Uint8Array<ArrayBuffer>;
29
- publicKey: Uint8Array<ArrayBuffer>;
30
- bytes: Uint8Array<ArrayBuffer>;
31
- } | {
32
26
  signatureScheme: "Passkey";
33
27
  serializedSignature: string;
34
28
  signature: Uint8Array<ArrayBufferLike>;
@@ -60,6 +54,12 @@ declare function parseSerializedSignature(serializedSignature: string): {
60
54
  };
61
55
  signature: Uint8Array<ArrayBufferLike>;
62
56
  publicKey: Uint8Array<ArrayBuffer>;
57
+ } | {
58
+ serializedSignature: string;
59
+ signatureScheme: "ED25519" | "Secp256k1" | "Secp256r1";
60
+ signature: Uint8Array<ArrayBuffer>;
61
+ publicKey: Uint8Array<ArrayBuffer>;
62
+ bytes: Uint8Array<ArrayBuffer>;
63
63
  } | {
64
64
  serializedSignature: string;
65
65
  signatureScheme: "MultiSig";
@@ -1,6 +1,6 @@
1
1
  import { AdvanceCheckpointRequest, AdvanceCheckpointResponse, AdvanceClockRequest, AdvanceClockResponse, GetStatusRequest, GetStatusResponse } from "./forking_service.mjs";
2
- import * as _protobuf_ts_runtime1 from "@protobuf-ts/runtime";
3
- import * as _protobuf_ts_runtime_rpc1 from "@protobuf-ts/runtime-rpc";
2
+ import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
3
+ import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
4
4
  import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
5
5
 
6
6
  //#region src/grpc/proto/sui/forking/v1alpha/forking_service.client.d.ts
@@ -37,9 +37,9 @@ interface IForkingServiceClient {
37
37
  declare class ForkingServiceClient implements IForkingServiceClient, ServiceInfo {
38
38
  private readonly _transport;
39
39
  typeName: string;
40
- methods: _protobuf_ts_runtime_rpc1.MethodInfo<any, any>[];
40
+ methods: _protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
41
41
  options: {
42
- [extensionName: string]: _protobuf_ts_runtime1.JsonValue;
42
+ [extensionName: string]: _protobuf_ts_runtime0.JsonValue;
43
43
  };
44
44
  constructor(_transport: RpcTransport);
45
45
  /**
@@ -1,6 +1,6 @@
1
1
  import { BatchGetObjectsRequest, BatchGetObjectsResponse, BatchGetTransactionsRequest, BatchGetTransactionsResponse, GetCheckpointRequest, GetCheckpointResponse, GetEpochRequest, GetEpochResponse, GetObjectRequest, GetObjectResponse, GetServiceInfoRequest, GetServiceInfoResponse, GetTransactionRequest, GetTransactionResponse, ListCheckpointsRequest, ListCheckpointsResponse, ListEventsRequest, ListEventsResponse, ListTransactionsRequest, ListTransactionsResponse } from "./ledger_service.mjs";
2
- import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
3
- import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
2
+ import * as _protobuf_ts_runtime1 from "@protobuf-ts/runtime";
3
+ import * as _protobuf_ts_runtime_rpc1 from "@protobuf-ts/runtime-rpc";
4
4
  import { RpcOptions, RpcTransport, ServerStreamingCall, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
5
5
 
6
6
  //#region src/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts
@@ -73,9 +73,9 @@ interface ILedgerServiceClient {
73
73
  declare class LedgerServiceClient implements ILedgerServiceClient, ServiceInfo {
74
74
  private readonly _transport;
75
75
  typeName: string;
76
- methods: _protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
76
+ methods: _protobuf_ts_runtime_rpc1.MethodInfo<any, any>[];
77
77
  options: {
78
- [extensionName: string]: _protobuf_ts_runtime0.JsonValue;
78
+ [extensionName: string]: _protobuf_ts_runtime1.JsonValue;
79
79
  };
80
80
  constructor(_transport: RpcTransport);
81
81
  /**
@@ -1,6 +1,6 @@
1
1
  import { VerifySignatureRequest, VerifySignatureResponse } from "./signature_verification_service.mjs";
2
- import * as _protobuf_ts_runtime5 from "@protobuf-ts/runtime";
3
- import * as _protobuf_ts_runtime_rpc5 from "@protobuf-ts/runtime-rpc";
2
+ import * as _protobuf_ts_runtime3 from "@protobuf-ts/runtime";
3
+ import * as _protobuf_ts_runtime_rpc3 from "@protobuf-ts/runtime-rpc";
4
4
  import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
5
5
 
6
6
  //#region src/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts
@@ -21,9 +21,9 @@ interface ISignatureVerificationServiceClient {
21
21
  declare class SignatureVerificationServiceClient implements ISignatureVerificationServiceClient, ServiceInfo {
22
22
  private readonly _transport;
23
23
  typeName: string;
24
- methods: _protobuf_ts_runtime_rpc5.MethodInfo<any, any>[];
24
+ methods: _protobuf_ts_runtime_rpc3.MethodInfo<any, any>[];
25
25
  options: {
26
- [extensionName: string]: _protobuf_ts_runtime5.JsonValue;
26
+ [extensionName: string]: _protobuf_ts_runtime3.JsonValue;
27
27
  };
28
28
  constructor(_transport: RpcTransport);
29
29
  /**
@@ -1,6 +1,6 @@
1
1
  import { GetBalanceRequest, GetBalanceResponse, GetCoinInfoRequest, GetCoinInfoResponse, ListBalancesRequest, ListBalancesResponse, ListDynamicFieldsRequest, ListDynamicFieldsResponse, ListOwnedObjectsRequest, ListOwnedObjectsResponse } from "./state_service.mjs";
2
- import * as _protobuf_ts_runtime3 from "@protobuf-ts/runtime";
3
- import * as _protobuf_ts_runtime_rpc3 from "@protobuf-ts/runtime-rpc";
2
+ import * as _protobuf_ts_runtime4 from "@protobuf-ts/runtime";
3
+ import * as _protobuf_ts_runtime_rpc4 from "@protobuf-ts/runtime-rpc";
4
4
  import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
5
5
 
6
6
  //#region src/grpc/proto/sui/rpc/v2/state_service.client.d.ts
@@ -35,9 +35,9 @@ interface IStateServiceClient {
35
35
  declare class StateServiceClient implements IStateServiceClient, ServiceInfo {
36
36
  private readonly _transport;
37
37
  typeName: string;
38
- methods: _protobuf_ts_runtime_rpc3.MethodInfo<any, any>[];
38
+ methods: _protobuf_ts_runtime_rpc4.MethodInfo<any, any>[];
39
39
  options: {
40
- [extensionName: string]: _protobuf_ts_runtime3.JsonValue;
40
+ [extensionName: string]: _protobuf_ts_runtime4.JsonValue;
41
41
  };
42
42
  constructor(_transport: RpcTransport);
43
43
  /**
@@ -1,6 +1,6 @@
1
1
  import { SubscribeCheckpointsRequest, SubscribeCheckpointsResponse, SubscribeEventsRequest, SubscribeEventsResponse, SubscribeTransactionsRequest, SubscribeTransactionsResponse } from "./subscription_service.mjs";
2
- import * as _protobuf_ts_runtime4 from "@protobuf-ts/runtime";
3
- import * as _protobuf_ts_runtime_rpc4 from "@protobuf-ts/runtime-rpc";
2
+ import * as _protobuf_ts_runtime5 from "@protobuf-ts/runtime";
3
+ import * as _protobuf_ts_runtime_rpc5 from "@protobuf-ts/runtime-rpc";
4
4
  import { RpcOptions, RpcTransport, ServerStreamingCall, ServiceInfo } from "@protobuf-ts/runtime-rpc";
5
5
 
6
6
  //#region src/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts
@@ -100,9 +100,9 @@ interface ISubscriptionServiceClient {
100
100
  declare class SubscriptionServiceClient implements ISubscriptionServiceClient, ServiceInfo {
101
101
  private readonly _transport;
102
102
  typeName: string;
103
- methods: _protobuf_ts_runtime_rpc4.MethodInfo<any, any>[];
103
+ methods: _protobuf_ts_runtime_rpc5.MethodInfo<any, any>[];
104
104
  options: {
105
- [extensionName: string]: _protobuf_ts_runtime4.JsonValue;
105
+ [extensionName: string]: _protobuf_ts_runtime5.JsonValue;
106
106
  };
107
107
  constructor(_transport: RpcTransport);
108
108
  /**
@@ -8,7 +8,7 @@ import { createPure } from "./pure.mjs";
8
8
  import { BalanceOptions } from "./intents/BalanceOptions.mjs";
9
9
  import { SignatureWithBytes, Signer } from "../cryptography/keypair.mjs";
10
10
  import "../cryptography/index.mjs";
11
- import * as _mysten_bcs1397 from "@mysten/bcs";
11
+ import * as _mysten_bcs1241 from "@mysten/bcs";
12
12
  import { SerializedBcs } from "@mysten/bcs";
13
13
  import { InferInput } from "valibot";
14
14
 
@@ -107,7 +107,7 @@ declare class Transaction {
107
107
  getData(): {
108
108
  version: 2;
109
109
  sender?: string | null | undefined;
110
- expiration?: _mysten_bcs1397.EnumOutputShapeWithKeys<{
110
+ expiration?: _mysten_bcs1241.EnumOutputShapeWithKeys<{
111
111
  None: true;
112
112
  Epoch: string | number;
113
113
  ValidDuring: {
@@ -130,7 +130,7 @@ declare class Transaction {
130
130
  chain: string;
131
131
  nonce: number;
132
132
  };
133
- }, "Epoch" | "None" | "ValidDuring" | "Validity"> | null | undefined;
133
+ }, "None" | "Epoch" | "ValidDuring" | "Validity"> | null | undefined;
134
134
  gasData: {
135
135
  budget: string | number | null;
136
136
  price: string | number | null;
@@ -141,8 +141,8 @@ declare class Transaction {
141
141
  digest: string;
142
142
  }[] | null;
143
143
  };
144
- inputs: _mysten_bcs1397.EnumOutputShapeWithKeys<{
145
- Object: _mysten_bcs1397.EnumOutputShapeWithKeys<{
144
+ inputs: _mysten_bcs1241.EnumOutputShapeWithKeys<{
145
+ Object: _mysten_bcs1241.EnumOutputShapeWithKeys<{
146
146
  ImmOrOwnedObject: {
147
147
  objectId: string;
148
148
  version: string | number;
@@ -158,7 +158,7 @@ declare class Transaction {
158
158
  version: string | number;
159
159
  digest: string;
160
160
  };
161
- }, "Receiving" | "ImmOrOwnedObject" | "SharedObject">;
161
+ }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
162
162
  Pure: {
163
163
  bytes: string;
164
164
  };
@@ -181,7 +181,7 @@ declare class Transaction {
181
181
  Balance: string;
182
182
  $kind: "Balance";
183
183
  };
184
- withdrawFrom: _mysten_bcs1397.EnumOutputShapeWithKeys<{
184
+ withdrawFrom: _mysten_bcs1241.EnumOutputShapeWithKeys<{
185
185
  Sender: true;
186
186
  Sponsor: true;
187
187
  SenderAllowance: {
@@ -190,8 +190,8 @@ declare class Transaction {
190
190
  };
191
191
  }, "Sender" | "Sponsor" | "SenderAllowance">;
192
192
  };
193
- }, "Object" | "Pure" | "FundsWithdrawal" | "UnresolvedPure" | "UnresolvedObject">[];
194
- commands: _mysten_bcs1397.EnumOutputShapeWithKeys<{
193
+ }, "Pure" | "Object" | "FundsWithdrawal" | "UnresolvedPure" | "UnresolvedObject">[];
194
+ commands: _mysten_bcs1241.EnumOutputShapeWithKeys<{
195
195
  MoveCall: {
196
196
  package: string;
197
197
  module: string;