@unconfirmed/sui-effect 0.1.1 → 0.1.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.
Files changed (74) hide show
  1. package/AGENTS.md +34 -11
  2. package/CHANGELOG.md +77 -0
  3. package/LLMS.md +630 -704
  4. package/README.md +175 -9
  5. package/dist/domain/bcs.d.ts.map +1 -1
  6. package/dist/domain/bcs.js +25 -9
  7. package/dist/domain/bcs.js.map +1 -1
  8. package/dist/domain/errors.d.ts +178 -40
  9. package/dist/domain/errors.d.ts.map +1 -1
  10. package/dist/domain/errors.js +271 -37
  11. package/dist/domain/errors.js.map +1 -1
  12. package/dist/domain/executed.d.ts +71 -2
  13. package/dist/domain/executed.d.ts.map +1 -1
  14. package/dist/domain/executed.js +210 -9
  15. package/dist/domain/executed.js.map +1 -1
  16. package/dist/domain/journal-entry.d.ts +37 -37
  17. package/dist/domain/journal-entry.js +1 -1
  18. package/dist/domain/schemas.d.ts +172 -65
  19. package/dist/domain/schemas.d.ts.map +1 -1
  20. package/dist/domain/schemas.js +131 -32
  21. package/dist/domain/schemas.js.map +1 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +1 -1
  25. package/dist/index.js.map +1 -1
  26. package/dist/internal.d.ts +1 -1
  27. package/dist/internal.d.ts.map +1 -1
  28. package/dist/internal.js +1 -1
  29. package/dist/internal.js.map +1 -1
  30. package/dist/script.d.ts +1 -1
  31. package/dist/script.d.ts.map +1 -1
  32. package/dist/script.js +1 -1
  33. package/dist/script.js.map +1 -1
  34. package/dist/services/Script.d.ts +42 -0
  35. package/dist/services/Script.d.ts.map +1 -1
  36. package/dist/services/Script.js +112 -77
  37. package/dist/services/Script.js.map +1 -1
  38. package/dist/services/Signer.d.ts +32 -7
  39. package/dist/services/Signer.d.ts.map +1 -1
  40. package/dist/services/Signer.js +69 -10
  41. package/dist/services/Signer.js.map +1 -1
  42. package/dist/services/SubmitConfig.d.ts +3 -22
  43. package/dist/services/SubmitConfig.d.ts.map +1 -1
  44. package/dist/services/SubmitConfig.js +54 -9
  45. package/dist/services/SubmitConfig.js.map +1 -1
  46. package/dist/services/Sui.d.ts +42 -1
  47. package/dist/services/Sui.d.ts.map +1 -1
  48. package/dist/services/Sui.js +46 -17
  49. package/dist/services/Sui.js.map +1 -1
  50. package/dist/services/SuiCore.d.ts.map +1 -1
  51. package/dist/services/SuiCore.js +47 -33
  52. package/dist/services/SuiCore.js.map +1 -1
  53. package/dist/services/SuiCoreFake.d.ts +47 -4
  54. package/dist/services/SuiCoreFake.d.ts.map +1 -1
  55. package/dist/services/SuiCoreFake.js +193 -22
  56. package/dist/services/SuiCoreFake.js.map +1 -1
  57. package/dist/services/Tx.d.ts +236 -402
  58. package/dist/services/Tx.d.ts.map +1 -1
  59. package/dist/services/Tx.js +205 -10
  60. package/dist/services/Tx.js.map +1 -1
  61. package/dist/testing.d.ts +1 -0
  62. package/dist/testing.d.ts.map +1 -1
  63. package/dist/testing.js +9 -0
  64. package/dist/testing.js.map +1 -1
  65. package/dist/tx.d.ts +1 -1
  66. package/dist/tx.d.ts.map +1 -1
  67. package/dist/tx.js +1 -1
  68. package/dist/tx.js.map +1 -1
  69. package/docs/extensions.md +608 -19
  70. package/examples/extension-template/src/Escrow.ts +1 -1
  71. package/examples/extension-template/src/errors.ts +29 -0
  72. package/examples/extension-template/src/schema.ts +8 -17
  73. package/examples/extension-template/test/escrow.test.ts +44 -0
  74. 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">;
@@ -306,7 +351,17 @@ export declare const BalanceChange: Schema.Struct<{
306
351
  readonly amount: Schema.BigIntFromString;
307
352
  }>;
308
353
  export type BalanceChange = typeof BalanceChange.Type;
309
- /** An emitted Move event. Mirrors `SuiClientTypes.Event`; `json` is dropped on purpose. */
354
+ /**
355
+ * An emitted Move event. Mirrors `SuiClientTypes.Event` with the branded ids
356
+ * this package uses.
357
+ *
358
+ * The decode a caller wants is `SuiSchema.decode(codec, event.bcs)`, which
359
+ * gives a typed value; `json` is the node's own rendering and is **not**
360
+ * something to build on — it is absent on most transports and its shape follows
361
+ * whatever the node feels like. It is kept only when the source carried it,
362
+ * which in practice means a relay or sponsor envelope decoded through
363
+ * `Executed.fromPartial`, where it may be the only form of the event there is.
364
+ */
310
365
  export declare const Event: Schema.Struct<{
311
366
  readonly packageId: Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "ObjectId"> & {
312
367
  normalize: (input: string) => typeof ObjectIdSchema.Type;
@@ -317,6 +372,14 @@ export declare const Event: Schema.Struct<{
317
372
  };
318
373
  readonly eventType: Schema.String;
319
374
  readonly bcs: Schema.Uint8Array;
375
+ /**
376
+ * The node's own JSON rendering of the event, when whatever produced this
377
+ * carried one. Never populated from a gRPC execute; never to be preferred
378
+ * over `bcs`.
379
+ *
380
+ * @since 0.1.2
381
+ */
382
+ readonly json: Schema.optional<Schema.Unknown>;
320
383
  }>;
321
384
  export type Event = typeof Event.Type;
322
385
  /**
@@ -328,15 +391,15 @@ export type Event = typeof Event.Type;
328
391
  export declare const MoveLocation: Schema.Struct<{
329
392
  readonly package: Schema.optional<Schema.String>;
330
393
  readonly module: Schema.optional<Schema.String>;
331
- readonly function: Schema.optional<Schema.Number>;
394
+ readonly function: Schema.optional<Schema.Finite>;
332
395
  readonly functionName: Schema.optional<Schema.String>;
333
- readonly instruction: Schema.optional<Schema.Number>;
396
+ readonly instruction: Schema.optional<Schema.Finite>;
334
397
  }>;
335
398
  export type MoveLocation = typeof MoveLocation.Type;
336
399
  /** A decoded `#[error]` constant. Mirrors `SuiClientTypes.CleverError`. */
337
400
  export declare const CleverError: Schema.Struct<{
338
- readonly errorCode: Schema.optional<Schema.Number>;
339
- readonly lineNumber: Schema.optional<Schema.Number>;
401
+ readonly errorCode: Schema.optional<Schema.Finite>;
402
+ readonly lineNumber: Schema.optional<Schema.Finite>;
340
403
  readonly constantName: Schema.optional<Schema.String>;
341
404
  readonly constantType: Schema.optional<Schema.String>;
342
405
  readonly value: Schema.optional<Schema.String>;
@@ -356,13 +419,13 @@ export declare const ExecutionReason: Schema.toTaggedUnion<"$kind", readonly [Sc
356
419
  readonly location: Schema.optional<Schema.Struct<{
357
420
  readonly package: Schema.optional<Schema.String>;
358
421
  readonly module: Schema.optional<Schema.String>;
359
- readonly function: Schema.optional<Schema.Number>;
422
+ readonly function: Schema.optional<Schema.Finite>;
360
423
  readonly functionName: Schema.optional<Schema.String>;
361
- readonly instruction: Schema.optional<Schema.Number>;
424
+ readonly instruction: Schema.optional<Schema.Finite>;
362
425
  }>>;
363
426
  readonly cleverError: Schema.optional<Schema.Struct<{
364
- readonly errorCode: Schema.optional<Schema.Number>;
365
- readonly lineNumber: Schema.optional<Schema.Number>;
427
+ readonly errorCode: Schema.optional<Schema.Finite>;
428
+ readonly lineNumber: Schema.optional<Schema.Finite>;
366
429
  readonly constantName: Schema.optional<Schema.String>;
367
430
  readonly constantType: Schema.optional<Schema.String>;
368
431
  readonly value: Schema.optional<Schema.String>;
@@ -372,19 +435,19 @@ export declare const ExecutionReason: Schema.toTaggedUnion<"$kind", readonly [Sc
372
435
  readonly $kind: Schema.Literal<"SizeError">;
373
436
  readonly SizeError: Schema.Struct<{
374
437
  readonly name: Schema.String;
375
- readonly size: Schema.Number;
376
- readonly maxSize: Schema.Number;
438
+ readonly size: Schema.Finite;
439
+ readonly maxSize: Schema.Finite;
377
440
  }>;
378
441
  }>, Schema.Struct<{
379
442
  readonly $kind: Schema.Literal<"CommandArgumentError">;
380
443
  readonly CommandArgumentError: Schema.Struct<{
381
- readonly argument: Schema.Number;
444
+ readonly argument: Schema.Finite;
382
445
  readonly name: Schema.String;
383
446
  }>;
384
447
  }>, Schema.Struct<{
385
448
  readonly $kind: Schema.Literal<"TypeArgumentError">;
386
449
  readonly TypeArgumentError: Schema.Struct<{
387
- readonly typeArgument: Schema.Number;
450
+ readonly typeArgument: Schema.Finite;
388
451
  readonly name: Schema.String;
389
452
  }>;
390
453
  }>, Schema.Struct<{
@@ -397,8 +460,8 @@ export declare const ExecutionReason: Schema.toTaggedUnion<"$kind", readonly [Sc
397
460
  }>, Schema.Struct<{
398
461
  readonly $kind: Schema.Literal<"IndexError">;
399
462
  readonly IndexError: Schema.Struct<{
400
- readonly index: Schema.optional<Schema.Number>;
401
- readonly subresult: Schema.optional<Schema.Number>;
463
+ readonly index: Schema.optional<Schema.Finite>;
464
+ readonly subresult: Schema.optional<Schema.Finite>;
402
465
  }>;
403
466
  }>, Schema.Struct<{
404
467
  readonly $kind: Schema.Literal<"CoinDenyListError">;
@@ -435,7 +498,7 @@ export declare const ExecutionStatus: Schema.Struct<{
435
498
  export type ExecutionStatus = typeof ExecutionStatus.Type;
436
499
  /** Transaction effects. Mirrors `SuiClientTypes.TransactionEffects`. */
437
500
  export declare const TransactionEffects: Schema.Struct<{
438
- readonly version: Schema.Number;
501
+ readonly version: Schema.Finite;
439
502
  readonly status: Schema.Struct<{
440
503
  readonly success: Schema.Boolean;
441
504
  }>;
@@ -626,30 +689,30 @@ export declare const TransactionExpiration: Schema.toTaggedUnion<"$kind", readon
626
689
  readonly None: Schema.Literal<true>;
627
690
  }>, Schema.Struct<{
628
691
  readonly $kind: Schema.Literal<"Epoch">;
629
- 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>;
630
693
  }>, Schema.Struct<{
631
694
  readonly $kind: Schema.Literal<"ValidDuring">;
632
695
  readonly ValidDuring: Schema.Struct<{
633
- readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
634
- readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
635
- readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
636
- 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>>;
637
700
  readonly chain: Schema.String;
638
- readonly nonce: Schema.Number;
701
+ readonly nonce: Schema.Finite;
639
702
  }>;
640
703
  }>, Schema.Struct<{
641
704
  readonly $kind: Schema.Literal<"Validity">;
642
705
  readonly Validity: Schema.Struct<{
643
706
  readonly allowedProposers: Schema.NullOr<Schema.Struct<{
644
- readonly epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>;
645
- 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>;
646
709
  }>>;
647
- readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
648
- readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
649
- readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
650
- 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>>;
651
714
  readonly chain: Schema.String;
652
- readonly nonce: Schema.Number;
715
+ readonly nonce: Schema.Finite;
653
716
  }>;
654
717
  }>]>;
655
718
  export type TransactionExpiration = typeof TransactionExpiration.Type;
@@ -675,30 +738,30 @@ export declare const SignedTransaction: Schema.Struct<{
675
738
  readonly None: Schema.Literal<true>;
676
739
  }>, Schema.Struct<{
677
740
  readonly $kind: Schema.Literal<"Epoch">;
678
- 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>;
679
742
  }>, Schema.Struct<{
680
743
  readonly $kind: Schema.Literal<"ValidDuring">;
681
744
  readonly ValidDuring: Schema.Struct<{
682
- readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
683
- readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
684
- readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
685
- 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>>;
686
749
  readonly chain: Schema.String;
687
- readonly nonce: Schema.Number;
750
+ readonly nonce: Schema.Finite;
688
751
  }>;
689
752
  }>, Schema.Struct<{
690
753
  readonly $kind: Schema.Literal<"Validity">;
691
754
  readonly Validity: Schema.Struct<{
692
755
  readonly allowedProposers: Schema.NullOr<Schema.Struct<{
693
- readonly epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>;
694
- 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>;
695
758
  }>>;
696
- readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
697
- readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
698
- readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
699
- 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>>;
700
763
  readonly chain: Schema.String;
701
- readonly nonce: Schema.Number;
764
+ readonly nonce: Schema.Finite;
702
765
  }>;
703
766
  }>]>>;
704
767
  /**
@@ -714,7 +777,16 @@ export declare const SignedTransaction: Schema.Struct<{
714
777
  */
715
778
  readonly chain: Schema.optional<Schema.String>;
716
779
  }>;
717
- 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
+ }
718
790
  /**
719
791
  * Why a transaction provably never applied, and never will.
720
792
  *
@@ -748,36 +820,45 @@ export declare const Built: Schema.Struct<{
748
820
  readonly None: Schema.Literal<true>;
749
821
  }>, Schema.Struct<{
750
822
  readonly $kind: Schema.Literal<"Epoch">;
751
- 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>;
752
824
  }>, Schema.Struct<{
753
825
  readonly $kind: Schema.Literal<"ValidDuring">;
754
826
  readonly ValidDuring: Schema.Struct<{
755
- readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
756
- readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
757
- readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
758
- 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>>;
759
831
  readonly chain: Schema.String;
760
- readonly nonce: Schema.Number;
832
+ readonly nonce: Schema.Finite;
761
833
  }>;
762
834
  }>, Schema.Struct<{
763
835
  readonly $kind: Schema.Literal<"Validity">;
764
836
  readonly Validity: Schema.Struct<{
765
837
  readonly allowedProposers: Schema.NullOr<Schema.Struct<{
766
- readonly epoch: Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>;
767
- 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>;
768
840
  }>>;
769
- readonly minEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
770
- readonly maxEpoch: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
771
- readonly minTimestamp: Schema.NullOr<Schema.decodeTo<Schema.BigInt, Schema.Union<readonly [Schema.String, Schema.Number]>, never, never>>;
772
- 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>>;
773
845
  readonly chain: Schema.String;
774
- readonly nonce: Schema.Number;
846
+ readonly nonce: Schema.Finite;
775
847
  }>;
776
848
  }>]>>;
777
849
  /** The chain identifier `Tx.build` was run against. See `SignedTransaction.chain`. */
778
850
  readonly chain: Schema.optional<Schema.String>;
779
851
  }>;
780
- 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
+ }
781
862
  /**
782
863
  * The last epoch in which a transaction can still be applied, or `undefined`
783
864
  * when its expiration sets no such bound (`None`, or a `ValidDuring` with no
@@ -855,7 +936,16 @@ export declare const ObjectEnvelope: Schema.Struct<{
855
936
  }>]>;
856
937
  readonly type: Schema.Union<readonly [Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "StructTag">, Schema.Literal<"package">]>;
857
938
  }>;
858
- 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
+ }
859
949
  /**
860
950
  * An object read through `Sui`, with its BCS content already decoded to `S` and
861
951
  * a `ref` ready to feed straight back into the transaction builder.
@@ -888,7 +978,7 @@ export type CommandResult = typeof CommandResult.Type;
888
978
  export declare const Simulation: Schema.Struct<{
889
979
  readonly digest: Schema.brand<Schema.String, "Digest">;
890
980
  readonly effects: Schema.Struct<{
891
- readonly version: Schema.Number;
981
+ readonly version: Schema.Finite;
892
982
  readonly status: Schema.Struct<{
893
983
  readonly success: Schema.Boolean;
894
984
  }>;
@@ -1062,6 +1152,14 @@ export declare const Simulation: Schema.Struct<{
1062
1152
  };
1063
1153
  readonly eventType: Schema.String;
1064
1154
  readonly bcs: Schema.Uint8Array;
1155
+ /**
1156
+ * The node's own JSON rendering of the event, when whatever produced this
1157
+ * carried one. Never populated from a gRPC execute; never to be preferred
1158
+ * over `bcs`.
1159
+ *
1160
+ * @since 0.1.2
1161
+ */
1162
+ readonly json: Schema.optional<Schema.Unknown>;
1065
1163
  }>>;
1066
1164
  readonly balanceChanges: Schema.$Array<Schema.Struct<{
1067
1165
  readonly coinType: Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "CoinType">;
@@ -1080,7 +1178,16 @@ export declare const Simulation: Schema.Struct<{
1080
1178
  }>>;
1081
1179
  }>>;
1082
1180
  }>;
1083
- 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
+ }
1084
1191
  /**
1085
1192
  * Decodes the SDK's `ExecutionError` into an {@link ExecutionReason}, falling
1086
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;AAEjD,+EAA+E;AAC/E,eAAO,MAAM,MAAM,uCAOlB,CAAA;AACD,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC,IAAI,CAAA;AAEvC;;;GAG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