@unconfirmed/sui-effect 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +114 -0
  2. package/LLMS.md +111 -837
  3. package/README.md +9 -5
  4. package/dist/domain/bcs.d.ts.map +1 -1
  5. package/dist/domain/bcs.js +18 -9
  6. package/dist/domain/bcs.js.map +1 -1
  7. package/dist/domain/errors.d.ts +86 -44
  8. package/dist/domain/errors.d.ts.map +1 -1
  9. package/dist/domain/errors.js +121 -37
  10. package/dist/domain/errors.js.map +1 -1
  11. package/dist/domain/executed.d.ts +2 -2
  12. package/dist/domain/executed.d.ts.map +1 -1
  13. package/dist/domain/executed.js +21 -11
  14. package/dist/domain/executed.js.map +1 -1
  15. package/dist/domain/journal-entry.d.ts +51 -51
  16. package/dist/domain/journal-entry.js +2 -2
  17. package/dist/domain/journal-entry.js.map +1 -1
  18. package/dist/domain/schemas.d.ts +150 -69
  19. package/dist/domain/schemas.d.ts.map +1 -1
  20. package/dist/domain/schemas.js +119 -35
  21. package/dist/domain/schemas.js.map +1 -1
  22. package/dist/internal.d.ts +1 -1
  23. package/dist/internal.d.ts.map +1 -1
  24. package/dist/internal.js +1 -1
  25. package/dist/internal.js.map +1 -1
  26. package/dist/services/Script.d.ts.map +1 -1
  27. package/dist/services/Script.js +44 -76
  28. package/dist/services/Script.js.map +1 -1
  29. package/dist/services/SubmitConfig.d.ts +3 -22
  30. package/dist/services/SubmitConfig.d.ts.map +1 -1
  31. package/dist/services/SubmitConfig.js +54 -9
  32. package/dist/services/SubmitConfig.js.map +1 -1
  33. package/dist/services/Sui.d.ts.map +1 -1
  34. package/dist/services/Sui.js +28 -13
  35. package/dist/services/Sui.js.map +1 -1
  36. package/dist/services/SuiCore.d.ts.map +1 -1
  37. package/dist/services/SuiCore.js +47 -33
  38. package/dist/services/SuiCore.js.map +1 -1
  39. package/dist/services/Tx.d.ts +37 -819
  40. package/dist/services/Tx.d.ts.map +1 -1
  41. package/dist/services/Tx.js +18 -2
  42. package/dist/services/Tx.js.map +1 -1
  43. package/docs/extensions.md +95 -13
  44. package/examples/extension-template/package.json +1 -1
  45. package/examples/extension-template/src/errors.ts +29 -0
  46. package/examples/extension-template/src/schema.ts +8 -17
  47. package/examples/extension-template/test/escrow.test.ts +44 -0
  48. package/package.json +1 -1
@@ -152,7 +152,16 @@ export declare const ObjectRef: Schema.Struct<{
152
152
  readonly $kind: Schema.Literal<"Unknown">;
153
153
  }>]>;
154
154
  }>;
155
- export type ObjectRef = typeof ObjectRef.Type;
155
+ type ObjectRefType = typeof ObjectRef.Type;
156
+ /**
157
+ * The decoded shape of {@link ObjectRef}.
158
+ *
159
+ * Declared as an interface rather than as `typeof ObjectRef.Type` so the name
160
+ * survives into `.d.ts`, editor hover and `LLMS.md` instead of being expanded
161
+ * into its structure. Structurally identical to the type alias it replaces.
162
+ */
163
+ export interface ObjectRef extends ObjectRefType {
164
+ }
156
165
  /** A coin balance for one coin type. Mirrors `SuiClientTypes.Balance`. */
157
166
  export declare const Balance: Schema.Struct<{
158
167
  readonly coinType: Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "CoinType">;
@@ -160,13 +169,31 @@ export declare const Balance: Schema.Struct<{
160
169
  readonly coinBalance: Schema.brand<Schema.BigIntFromString, "Mist">;
161
170
  readonly addressBalance: Schema.brand<Schema.BigIntFromString, "Mist">;
162
171
  }>;
163
- export type Balance = typeof Balance.Type;
172
+ type BalanceType = typeof Balance.Type;
173
+ /**
174
+ * The decoded shape of {@link Balance}.
175
+ *
176
+ * Declared as an interface rather than as `typeof Balance.Type` so the name
177
+ * survives into `.d.ts`, editor hover and `LLMS.md` instead of being expanded
178
+ * into its structure. Structurally identical to the type alias it replaces.
179
+ */
180
+ export interface Balance extends BalanceType {
181
+ }
164
182
  /** The BCS-encoded name of a dynamic field. Mirrors `SuiClientTypes.DynamicFieldName`. */
165
183
  export declare const DynamicFieldName: Schema.Struct<{
166
184
  readonly type: Schema.String;
167
185
  readonly bcs: Schema.Uint8Array;
168
186
  }>;
169
- export type DynamicFieldName = typeof DynamicFieldName.Type;
187
+ type DynamicFieldNameType = typeof DynamicFieldName.Type;
188
+ /**
189
+ * The decoded shape of {@link DynamicFieldName}.
190
+ *
191
+ * Declared as an interface rather than as `typeof DynamicFieldName.Type` so the name
192
+ * survives into `.d.ts`, editor hover and `LLMS.md` instead of being expanded
193
+ * into its structure. Structurally identical to the type alias it replaces.
194
+ */
195
+ export interface DynamicFieldName extends DynamicFieldNameType {
196
+ }
170
197
  /** One entry of a dynamic-field listing. Mirrors `SuiClientTypes.DynamicFieldEntry`. */
171
198
  export declare const DynamicFieldEntry: Schema.Struct<{
172
199
  readonly fieldId: Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "ObjectId"> & {
@@ -183,7 +210,16 @@ export declare const DynamicFieldEntry: Schema.Struct<{
183
210
  normalize: (input: string) => typeof ObjectIdSchema.Type;
184
211
  }>;
185
212
  }>;
186
- export type DynamicFieldEntry = typeof DynamicFieldEntry.Type;
213
+ type DynamicFieldEntryType = typeof DynamicFieldEntry.Type;
214
+ /**
215
+ * The decoded shape of {@link DynamicFieldEntry}.
216
+ *
217
+ * Declared as an interface rather than as `typeof DynamicFieldEntry.Type` so the name
218
+ * survives into `.d.ts`, editor hover and `LLMS.md` instead of being expanded
219
+ * into its structure. Structurally identical to the type alias it replaces.
220
+ */
221
+ export interface DynamicFieldEntry extends DynamicFieldEntryType {
222
+ }
187
223
  /** A dynamic field with its value. Mirrors `SuiClientTypes.DynamicField`. */
188
224
  export declare const DynamicField: Schema.Struct<{
189
225
  readonly fieldId: Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "ObjectId"> & {
@@ -206,7 +242,16 @@ export declare const DynamicField: Schema.Struct<{
206
242
  readonly version: Schema.brand<Schema.BigIntFromString, "Version">;
207
243
  readonly digest: Schema.String;
208
244
  }>;
209
- export type DynamicField = typeof DynamicField.Type;
245
+ type DynamicFieldType = typeof DynamicField.Type;
246
+ /**
247
+ * The decoded shape of {@link DynamicField}.
248
+ *
249
+ * Declared as an interface rather than as `typeof DynamicField.Type` so the name
250
+ * survives into `.d.ts`, editor hover and `LLMS.md` instead of being expanded
251
+ * into its structure. Structurally identical to the type alias it replaces.
252
+ */
253
+ export interface DynamicField extends DynamicFieldType {
254
+ }
210
255
  /** Gas cost breakdown. Mirrors `SuiClientTypes.GasCostSummary`. */
211
256
  export declare const GasCostSummary: Schema.Struct<{
212
257
  readonly computationCost: Schema.brand<Schema.BigIntFromString, "Mist">;
@@ -346,15 +391,15 @@ export type Event = typeof Event.Type;
346
391
  export declare const MoveLocation: Schema.Struct<{
347
392
  readonly package: Schema.optional<Schema.String>;
348
393
  readonly module: Schema.optional<Schema.String>;
349
- readonly function: Schema.optional<Schema.Number>;
394
+ readonly function: Schema.optional<Schema.Finite>;
350
395
  readonly functionName: Schema.optional<Schema.String>;
351
- readonly instruction: Schema.optional<Schema.Number>;
396
+ readonly instruction: Schema.optional<Schema.Finite>;
352
397
  }>;
353
398
  export type MoveLocation = typeof MoveLocation.Type;
354
399
  /** A decoded `#[error]` constant. Mirrors `SuiClientTypes.CleverError`. */
355
400
  export declare const CleverError: Schema.Struct<{
356
- readonly errorCode: Schema.optional<Schema.Number>;
357
- readonly lineNumber: Schema.optional<Schema.Number>;
401
+ readonly errorCode: Schema.optional<Schema.Finite>;
402
+ readonly lineNumber: Schema.optional<Schema.Finite>;
358
403
  readonly constantName: Schema.optional<Schema.String>;
359
404
  readonly constantType: Schema.optional<Schema.String>;
360
405
  readonly value: Schema.optional<Schema.String>;
@@ -374,13 +419,13 @@ export declare const ExecutionReason: Schema.toTaggedUnion<"$kind", readonly [Sc
374
419
  readonly location: Schema.optional<Schema.Struct<{
375
420
  readonly package: Schema.optional<Schema.String>;
376
421
  readonly module: Schema.optional<Schema.String>;
377
- readonly function: Schema.optional<Schema.Number>;
422
+ readonly function: Schema.optional<Schema.Finite>;
378
423
  readonly functionName: Schema.optional<Schema.String>;
379
- readonly instruction: Schema.optional<Schema.Number>;
424
+ readonly instruction: Schema.optional<Schema.Finite>;
380
425
  }>>;
381
426
  readonly cleverError: Schema.optional<Schema.Struct<{
382
- readonly errorCode: Schema.optional<Schema.Number>;
383
- readonly lineNumber: Schema.optional<Schema.Number>;
427
+ readonly errorCode: Schema.optional<Schema.Finite>;
428
+ readonly lineNumber: Schema.optional<Schema.Finite>;
384
429
  readonly constantName: Schema.optional<Schema.String>;
385
430
  readonly constantType: Schema.optional<Schema.String>;
386
431
  readonly value: Schema.optional<Schema.String>;
@@ -390,19 +435,19 @@ export declare const ExecutionReason: Schema.toTaggedUnion<"$kind", readonly [Sc
390
435
  readonly $kind: Schema.Literal<"SizeError">;
391
436
  readonly SizeError: Schema.Struct<{
392
437
  readonly name: Schema.String;
393
- readonly size: Schema.Number;
394
- readonly maxSize: Schema.Number;
438
+ readonly size: Schema.Finite;
439
+ readonly maxSize: Schema.Finite;
395
440
  }>;
396
441
  }>, Schema.Struct<{
397
442
  readonly $kind: Schema.Literal<"CommandArgumentError">;
398
443
  readonly CommandArgumentError: Schema.Struct<{
399
- readonly argument: Schema.Number;
444
+ readonly argument: Schema.Finite;
400
445
  readonly name: Schema.String;
401
446
  }>;
402
447
  }>, Schema.Struct<{
403
448
  readonly $kind: Schema.Literal<"TypeArgumentError">;
404
449
  readonly TypeArgumentError: Schema.Struct<{
405
- readonly typeArgument: Schema.Number;
450
+ readonly typeArgument: Schema.Finite;
406
451
  readonly name: Schema.String;
407
452
  }>;
408
453
  }>, Schema.Struct<{
@@ -415,8 +460,8 @@ export declare const ExecutionReason: Schema.toTaggedUnion<"$kind", readonly [Sc
415
460
  }>, Schema.Struct<{
416
461
  readonly $kind: Schema.Literal<"IndexError">;
417
462
  readonly IndexError: Schema.Struct<{
418
- readonly index: Schema.optional<Schema.Number>;
419
- readonly subresult: Schema.optional<Schema.Number>;
463
+ readonly index: Schema.optional<Schema.Finite>;
464
+ readonly subresult: Schema.optional<Schema.Finite>;
420
465
  }>;
421
466
  }>, Schema.Struct<{
422
467
  readonly $kind: Schema.Literal<"CoinDenyListError">;
@@ -453,7 +498,7 @@ export declare const ExecutionStatus: Schema.Struct<{
453
498
  export type ExecutionStatus = typeof ExecutionStatus.Type;
454
499
  /** Transaction effects. Mirrors `SuiClientTypes.TransactionEffects`. */
455
500
  export declare const TransactionEffects: Schema.Struct<{
456
- readonly version: Schema.Number;
501
+ readonly version: Schema.Finite;
457
502
  readonly status: Schema.Struct<{
458
503
  readonly success: Schema.Boolean;
459
504
  }>;
@@ -644,30 +689,30 @@ export declare const TransactionExpiration: Schema.toTaggedUnion<"$kind", readon
644
689
  readonly None: Schema.Literal<true>;
645
690
  }>, Schema.Struct<{
646
691
  readonly $kind: Schema.Literal<"Epoch">;
647
- readonly Epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>;
692
+ readonly Epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>;
648
693
  }>, Schema.Struct<{
649
694
  readonly $kind: Schema.Literal<"ValidDuring">;
650
695
  readonly ValidDuring: Schema.Struct<{
651
- readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
652
- readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
653
- readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
654
- readonly maxTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
696
+ readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
697
+ readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
698
+ readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
699
+ readonly maxTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
655
700
  readonly chain: Schema.String;
656
- readonly nonce: Schema.Number;
701
+ readonly nonce: Schema.Finite;
657
702
  }>;
658
703
  }>, Schema.Struct<{
659
704
  readonly $kind: Schema.Literal<"Validity">;
660
705
  readonly Validity: Schema.Struct<{
661
706
  readonly allowedProposers: Schema.NullOr<Schema.Struct<{
662
- readonly epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>;
663
- readonly proposers: Schema.$Array<Schema.Number>;
707
+ readonly epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>;
708
+ readonly proposers: Schema.$Array<Schema.Finite>;
664
709
  }>>;
665
- readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
666
- readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
667
- readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
668
- readonly maxTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
710
+ readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
711
+ readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
712
+ readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
713
+ readonly maxTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
669
714
  readonly chain: Schema.String;
670
- readonly nonce: Schema.Number;
715
+ readonly nonce: Schema.Finite;
671
716
  }>;
672
717
  }>]>;
673
718
  export type TransactionExpiration = typeof TransactionExpiration.Type;
@@ -688,35 +733,35 @@ export declare const SignedTransaction: Schema.Struct<{
688
733
  readonly sender: Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "SuiAddress"> & {
689
734
  normalize: (input: string) => typeof SuiAddressSchema.Type;
690
735
  };
691
- readonly expiration: Schema.optional<Schema.toTaggedUnion<"$kind", readonly [Schema.Struct<{
736
+ readonly expiration: Schema.optionalKey<Schema.toTaggedUnion<"$kind", readonly [Schema.Struct<{
692
737
  readonly $kind: Schema.Literal<"None">;
693
738
  readonly None: Schema.Literal<true>;
694
739
  }>, Schema.Struct<{
695
740
  readonly $kind: Schema.Literal<"Epoch">;
696
- readonly Epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>;
741
+ readonly Epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>;
697
742
  }>, Schema.Struct<{
698
743
  readonly $kind: Schema.Literal<"ValidDuring">;
699
744
  readonly ValidDuring: Schema.Struct<{
700
- readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
701
- readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
702
- readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
703
- readonly maxTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
745
+ readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
746
+ readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
747
+ readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
748
+ readonly maxTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
704
749
  readonly chain: Schema.String;
705
- readonly nonce: Schema.Number;
750
+ readonly nonce: Schema.Finite;
706
751
  }>;
707
752
  }>, Schema.Struct<{
708
753
  readonly $kind: Schema.Literal<"Validity">;
709
754
  readonly Validity: Schema.Struct<{
710
755
  readonly allowedProposers: Schema.NullOr<Schema.Struct<{
711
- readonly epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>;
712
- readonly proposers: Schema.$Array<Schema.Number>;
756
+ readonly epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>;
757
+ readonly proposers: Schema.$Array<Schema.Finite>;
713
758
  }>>;
714
- readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
715
- readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
716
- readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
717
- readonly maxTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
759
+ readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
760
+ readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
761
+ readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
762
+ readonly maxTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
718
763
  readonly chain: Schema.String;
719
- readonly nonce: Schema.Number;
764
+ readonly nonce: Schema.Finite;
720
765
  }>;
721
766
  }>]>>;
722
767
  /**
@@ -730,9 +775,18 @@ export declare const SignedTransaction: Schema.Struct<{
730
775
  * a process-wide journal holding submissions from two networks cannot settle
731
776
  * one of them against the other's epoch.
732
777
  */
733
- readonly chain: Schema.optional<Schema.String>;
778
+ readonly chain: Schema.optionalKey<Schema.String>;
734
779
  }>;
735
- export type SignedTransaction = typeof SignedTransaction.Type;
780
+ type SignedTransactionType = typeof SignedTransaction.Type;
781
+ /**
782
+ * The decoded shape of {@link SignedTransaction}.
783
+ *
784
+ * Declared as an interface rather than as `typeof SignedTransaction.Type` so the name
785
+ * survives into `.d.ts`, editor hover and `LLMS.md` instead of being expanded
786
+ * into its structure. Structurally identical to the type alias it replaces.
787
+ */
788
+ export interface SignedTransaction extends SignedTransactionType {
789
+ }
736
790
  /**
737
791
  * Why a transaction provably never applied, and never will.
738
792
  *
@@ -758,44 +812,53 @@ export declare const Built: Schema.Struct<{
758
812
  readonly sender: Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "SuiAddress"> & {
759
813
  normalize: (input: string) => typeof SuiAddressSchema.Type;
760
814
  };
761
- readonly gasOwner: Schema.optional<Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "SuiAddress"> & {
815
+ readonly gasOwner: Schema.optionalKey<Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "SuiAddress"> & {
762
816
  normalize: (input: string) => typeof SuiAddressSchema.Type;
763
817
  }>;
764
- readonly expiration: Schema.optional<Schema.toTaggedUnion<"$kind", readonly [Schema.Struct<{
818
+ readonly expiration: Schema.optionalKey<Schema.toTaggedUnion<"$kind", readonly [Schema.Struct<{
765
819
  readonly $kind: Schema.Literal<"None">;
766
820
  readonly None: Schema.Literal<true>;
767
821
  }>, Schema.Struct<{
768
822
  readonly $kind: Schema.Literal<"Epoch">;
769
- readonly Epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>;
823
+ readonly Epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>;
770
824
  }>, Schema.Struct<{
771
825
  readonly $kind: Schema.Literal<"ValidDuring">;
772
826
  readonly ValidDuring: Schema.Struct<{
773
- readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
774
- readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
775
- readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
776
- readonly maxTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
827
+ readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
828
+ readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
829
+ readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
830
+ readonly maxTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
777
831
  readonly chain: Schema.String;
778
- readonly nonce: Schema.Number;
832
+ readonly nonce: Schema.Finite;
779
833
  }>;
780
834
  }>, Schema.Struct<{
781
835
  readonly $kind: Schema.Literal<"Validity">;
782
836
  readonly Validity: Schema.Struct<{
783
837
  readonly allowedProposers: Schema.NullOr<Schema.Struct<{
784
- readonly epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>;
785
- readonly proposers: Schema.$Array<Schema.Number>;
838
+ readonly epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>;
839
+ readonly proposers: Schema.$Array<Schema.Finite>;
786
840
  }>>;
787
- readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
788
- readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
789
- readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
790
- readonly maxTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
841
+ readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
842
+ readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
843
+ readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
844
+ readonly maxTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Finite]>, never, never>>;
791
845
  readonly chain: Schema.String;
792
- readonly nonce: Schema.Number;
846
+ readonly nonce: Schema.Finite;
793
847
  }>;
794
848
  }>]>>;
795
849
  /** The chain identifier `Tx.build` was run against. See `SignedTransaction.chain`. */
796
- readonly chain: Schema.optional<Schema.String>;
850
+ readonly chain: Schema.optionalKey<Schema.String>;
797
851
  }>;
798
- export type Built = typeof Built.Type;
852
+ type BuiltType = typeof Built.Type;
853
+ /**
854
+ * The decoded shape of {@link Built}.
855
+ *
856
+ * Declared as an interface rather than as `typeof Built.Type` so the name
857
+ * survives into `.d.ts`, editor hover and `LLMS.md` instead of being expanded
858
+ * into its structure. Structurally identical to the type alias it replaces.
859
+ */
860
+ export interface Built extends BuiltType {
861
+ }
799
862
  /**
800
863
  * The last epoch in which a transaction can still be applied, or `undefined`
801
864
  * when its expiration sets no such bound (`None`, or a `ValidDuring` with no
@@ -873,7 +936,16 @@ export declare const ObjectEnvelope: Schema.Struct<{
873
936
  }>]>;
874
937
  readonly type: Schema.Union<readonly [Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "StructTag">, Schema.Literal<"package">]>;
875
938
  }>;
876
- export type ObjectEnvelope = typeof ObjectEnvelope.Type;
939
+ type ObjectEnvelopeType = typeof ObjectEnvelope.Type;
940
+ /**
941
+ * The decoded shape of {@link ObjectEnvelope}.
942
+ *
943
+ * Declared as an interface rather than as `typeof ObjectEnvelope.Type` so the name
944
+ * survives into `.d.ts`, editor hover and `LLMS.md` instead of being expanded
945
+ * into its structure. Structurally identical to the type alias it replaces.
946
+ */
947
+ export interface ObjectEnvelope extends ObjectEnvelopeType {
948
+ }
877
949
  /**
878
950
  * An object read through `Sui`, with its BCS content already decoded to `S` and
879
951
  * a `ref` ready to feed straight back into the transaction builder.
@@ -906,7 +978,7 @@ export type CommandResult = typeof CommandResult.Type;
906
978
  export declare const Simulation: Schema.Struct<{
907
979
  readonly digest: Schema.brand<Schema.String, "Digest">;
908
980
  readonly effects: Schema.Struct<{
909
- readonly version: Schema.Number;
981
+ readonly version: Schema.Finite;
910
982
  readonly status: Schema.Struct<{
911
983
  readonly success: Schema.Boolean;
912
984
  }>;
@@ -1106,7 +1178,16 @@ export declare const Simulation: Schema.Struct<{
1106
1178
  }>>;
1107
1179
  }>>;
1108
1180
  }>;
1109
- export type Simulation = typeof Simulation.Type;
1181
+ type SimulationType = typeof Simulation.Type;
1182
+ /**
1183
+ * The decoded shape of {@link Simulation}.
1184
+ *
1185
+ * Declared as an interface rather than as `typeof Simulation.Type` so the name
1186
+ * survives into `.d.ts`, editor hover and `LLMS.md` instead of being expanded
1187
+ * into its structure. Structurally identical to the type alias it replaces.
1188
+ */
1189
+ export interface Simulation extends SimulationType {
1190
+ }
1110
1191
  /**
1111
1192
  * Decodes the SDK's `ExecutionError` into an {@link ExecutionReason}, falling
1112
1193
  * back to `Unknown` when the node reports a variant this version does not
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/domain/schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAU,MAAM,EAAmD,MAAM,QAAQ,CAAA;AAiBxF;;;;;;;;GAQG;AACH,QAAA,MAAM,gBAAgB,wGAWrB,CAAA;AAgCD,mFAAmF;AACnF,eAAO,MAAM,UAAU;uBALiB,MAAM,KAAK,OAAO,gBAAgB,CAAC,IAAI;CAO7E,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAA;AAErD;;;;;;GAMG;AACH,QAAA,MAAM,cAAc,sGAWnB,CAAA;AAwBD,+EAA+E;AAC/E,eAAO,MAAM,QAAQ;uBALiB,MAAM,KAAK,OAAO,cAAc,CAAC,IAAI;CAKiB,CAAA;AAC5F,MAAM,MAAM,QAAQ,GAAG,OAAO,cAAc,CAAC,IAAI,CAAA;A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