@fuel-ts/account 0.94.3 → 0.94.5

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 (36) hide show
  1. package/dist/account.d.ts.map +1 -1
  2. package/dist/index.global.js +391 -436
  3. package/dist/index.global.js.map +1 -1
  4. package/dist/index.js +345 -195
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +427 -285
  7. package/dist/index.mjs.map +1 -1
  8. package/dist/predicate/predicate.d.ts.map +1 -1
  9. package/dist/providers/__generated__/operations.d.ts +250 -0
  10. package/dist/providers/__generated__/operations.d.ts.map +1 -1
  11. package/dist/providers/fuel-graphql-subscriber.d.ts.map +1 -1
  12. package/dist/providers/message.d.ts +3 -0
  13. package/dist/providers/message.d.ts.map +1 -1
  14. package/dist/providers/provider.d.ts +36 -3
  15. package/dist/providers/provider.d.ts.map +1 -1
  16. package/dist/providers/transaction-request/blob-transaction-request.d.ts.map +1 -1
  17. package/dist/providers/transaction-request/create-transaction-request.d.ts.map +1 -1
  18. package/dist/providers/transaction-request/helpers.d.ts +2 -0
  19. package/dist/providers/transaction-request/helpers.d.ts.map +1 -1
  20. package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
  21. package/dist/providers/transaction-request/transaction-request.d.ts +4 -2
  22. package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
  23. package/dist/providers/transaction-response/transaction-response.d.ts +3 -1
  24. package/dist/providers/transaction-response/transaction-response.d.ts.map +1 -1
  25. package/dist/providers/utils/extract-tx-error.d.ts.map +1 -1
  26. package/dist/providers/utils/handle-gql-error-message.d.ts +6 -0
  27. package/dist/providers/utils/handle-gql-error-message.d.ts.map +1 -0
  28. package/dist/providers/utils/receipts.d.ts.map +1 -1
  29. package/dist/test-utils/launchNode.d.ts.map +1 -1
  30. package/dist/test-utils.global.js +235 -286
  31. package/dist/test-utils.global.js.map +1 -1
  32. package/dist/test-utils.js +300 -162
  33. package/dist/test-utils.js.map +1 -1
  34. package/dist/test-utils.mjs +372 -239
  35. package/dist/test-utils.mjs.map +1 -1
  36. package/package.json +16 -16
@@ -1 +1 @@
1
- {"version":3,"file":"predicate.d.ts","sourceRoot":"","sources":["../../src/predicate/predicate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAG/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,eAAe,CACzB,KAAK,SAAS,UAAU,EAAE,GAAG,UAAU,EAAE,EACzC,cAAc,SAAS;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG,SAAS,GAAG;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,IAC1F;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,QAAQ,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,qBAAqB,CAAC,EAAE,cAAc,CAAC;CACxC,CAAC;AAEF;;GAEG;AACH,qBAAa,SAAS,CACpB,KAAK,SAAS,UAAU,EAAE,GAAG,UAAU,EAAE,EACzC,cAAc,SAAS;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG,SAAS,GAAG;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAC5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,eAAe,CAAC,sBAAsB,EAAE,sBAAsB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAM7F;;;;;OAKG;IACH,mBAAmB,CAAC,sBAAsB,EAAE,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC;IAKxF,OAAO,CAAC,gBAAgB;IASxB;;;;;;;OAOG;IACH,OAAO,CAAC,MAAM,CAAC,oBAAoB;IAgCnC;;;;;;OAMG;IACG,mBAAmB,CACvB,UAAU,EAAE,gBAAgB,EAAE,CAAC,8BAA8B,EAC7D,WAAW,CAAC,EAAE,sBAAsB,GACnC,OAAO,CAAC,QAAQ,EAAE,CAAC;IAatB;;;;;OAKG;IACH,qBAAqB,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC,QAAQ,CAAC;IAQ9D;;;;;;;OAOG;IACH,OAAO,CAAC,MAAM,CAAC,wBAAwB;IA8CvC;;;;;OAKG;IACH,OAAO,CAAC,8BAA8B;CAgCvC"}
@@ -778,6 +778,7 @@ export type GqlQuery = {
778
778
  * is the same.
779
779
  */
780
780
  coinsToSpend: Array<Array<GqlCoinType>>;
781
+ consensusParameters: GqlConsensusParameters;
781
782
  contract?: Maybe<GqlContract>;
782
783
  contractBalance: GqlContractBalance;
783
784
  contractBalances: GqlContractBalanceConnection;
@@ -797,6 +798,8 @@ export type GqlQuery = {
797
798
  /** Read register value by index. */
798
799
  register: Scalars['U64']['output'];
799
800
  relayedTransactionStatus?: Maybe<GqlRelayedTransactionStatus>;
801
+ stateTransitionBytecodeByRoot: GqlStateTransitionBytecode;
802
+ stateTransitionBytecodeByVersion?: Maybe<GqlStateTransitionBytecode>;
800
803
  transaction?: Maybe<GqlTransaction>;
801
804
  transactions: GqlTransactionConnection;
802
805
  transactionsByOwner: GqlTransactionConnection;
@@ -840,6 +843,9 @@ export type GqlQueryCoinsToSpendArgs = {
840
843
  owner: Scalars['Address']['input'];
841
844
  queryPerAsset: Array<GqlSpendQueryElementInput>;
842
845
  };
846
+ export type GqlQueryConsensusParametersArgs = {
847
+ version: Scalars['Int']['input'];
848
+ };
843
849
  export type GqlQueryContractArgs = {
844
850
  id: Scalars['ContractId']['input'];
845
851
  };
@@ -891,6 +897,12 @@ export type GqlQueryRegisterArgs = {
891
897
  export type GqlQueryRelayedTransactionStatusArgs = {
892
898
  id: Scalars['RelayedTransactionId']['input'];
893
899
  };
900
+ export type GqlQueryStateTransitionBytecodeByRootArgs = {
901
+ root: Scalars['HexString']['input'];
902
+ };
903
+ export type GqlQueryStateTransitionBytecodeByVersionArgs = {
904
+ version: Scalars['Int']['input'];
905
+ };
894
906
  export type GqlQueryTransactionArgs = {
895
907
  id: Scalars['TransactionId']['input'];
896
908
  };
@@ -993,6 +1005,10 @@ export type GqlSpendQueryElementInput = {
993
1005
  export type GqlSqueezedOutStatus = {
994
1006
  reason: Scalars['String']['output'];
995
1007
  };
1008
+ export type GqlStateTransitionBytecode = {
1009
+ bytecode: GqlUploadedBytecode;
1010
+ root: Scalars['HexString']['output'];
1011
+ };
996
1012
  export type GqlStateTransitionPurpose = {
997
1013
  root: Scalars['Bytes32']['output'];
998
1014
  };
@@ -1017,6 +1033,12 @@ export type GqlSubscription = {
1017
1033
  statusChange: GqlTransactionStatus;
1018
1034
  /** Submits transaction to the `TxPool` and await either confirmation or failure. */
1019
1035
  submitAndAwait: GqlTransactionStatus;
1036
+ /**
1037
+ * Submits the transaction to the `TxPool` and returns a stream of events.
1038
+ * Compared to the `submitAndAwait`, the stream also contains `
1039
+ * SubmittedStatus` as an intermediate state.
1040
+ */
1041
+ submitAndAwaitStatus: GqlTransactionStatus;
1020
1042
  };
1021
1043
  export type GqlSubscriptionStatusChangeArgs = {
1022
1044
  id: Scalars['TransactionId']['input'];
@@ -1024,6 +1046,9 @@ export type GqlSubscriptionStatusChangeArgs = {
1024
1046
  export type GqlSubscriptionSubmitAndAwaitArgs = {
1025
1047
  tx: Scalars['HexString']['input'];
1026
1048
  };
1049
+ export type GqlSubscriptionSubmitAndAwaitStatusArgs = {
1050
+ tx: Scalars['HexString']['input'];
1051
+ };
1027
1052
  export type GqlSuccessStatus = {
1028
1053
  block: GqlBlock;
1029
1054
  blockHeight: Scalars['U32']['output'];
@@ -1102,6 +1127,14 @@ export declare enum GqlTxParametersVersion {
1102
1127
  V1 = "V1"
1103
1128
  }
1104
1129
  export type GqlUpgradePurpose = GqlConsensusParametersPurpose | GqlStateTransitionPurpose;
1130
+ export type GqlUploadedBytecode = {
1131
+ /** Combined bytecode of all uploaded subsections. */
1132
+ bytecode: Scalars['HexString']['output'];
1133
+ /** Indicates if the bytecode upload is complete. */
1134
+ completed: Scalars['Boolean']['output'];
1135
+ /** Number of uploaded subsections (if incomplete). */
1136
+ uploadedSubsectionsNumber?: Maybe<Scalars['Int']['output']>;
1137
+ };
1105
1138
  export type GqlVariableOutput = {
1106
1139
  amount: Scalars['U64']['output'];
1107
1140
  assetId: Scalars['AssetId']['output'];
@@ -1725,6 +1758,14 @@ export type GqlBlockFragment = {
1725
1758
  height: string;
1726
1759
  header: {
1727
1760
  time: string;
1761
+ daHeight: string;
1762
+ stateTransitionBytecodeVersion: string;
1763
+ transactionsCount: string;
1764
+ transactionsRoot: string;
1765
+ messageOutboxRoot: string;
1766
+ eventInboxRoot: string;
1767
+ prevRoot: string;
1768
+ applicationHash: string;
1728
1769
  };
1729
1770
  transactions: Array<{
1730
1771
  id: string;
@@ -2564,6 +2605,14 @@ export type GqlChainInfoFragment = {
2564
2605
  height: string;
2565
2606
  header: {
2566
2607
  time: string;
2608
+ daHeight: string;
2609
+ stateTransitionBytecodeVersion: string;
2610
+ transactionsCount: string;
2611
+ transactionsRoot: string;
2612
+ messageOutboxRoot: string;
2613
+ eventInboxRoot: string;
2614
+ prevRoot: string;
2615
+ applicationHash: string;
2567
2616
  };
2568
2617
  transactions: Array<{
2569
2618
  id: string;
@@ -2995,6 +3044,14 @@ export type GqlGetChainQuery = {
2995
3044
  height: string;
2996
3045
  header: {
2997
3046
  time: string;
3047
+ daHeight: string;
3048
+ stateTransitionBytecodeVersion: string;
3049
+ transactionsCount: string;
3050
+ transactionsRoot: string;
3051
+ messageOutboxRoot: string;
3052
+ eventInboxRoot: string;
3053
+ prevRoot: string;
3054
+ applicationHash: string;
2998
3055
  };
2999
3056
  transactions: Array<{
3000
3057
  id: string;
@@ -3810,6 +3867,14 @@ export type GqlGetBlockQuery = {
3810
3867
  height: string;
3811
3868
  header: {
3812
3869
  time: string;
3870
+ daHeight: string;
3871
+ stateTransitionBytecodeVersion: string;
3872
+ transactionsCount: string;
3873
+ transactionsRoot: string;
3874
+ messageOutboxRoot: string;
3875
+ eventInboxRoot: string;
3876
+ prevRoot: string;
3877
+ applicationHash: string;
3813
3878
  };
3814
3879
  transactions: Array<{
3815
3880
  id: string;
@@ -3918,6 +3983,14 @@ export type GqlGetBlockWithTransactionsQuery = {
3918
3983
  }>;
3919
3984
  header: {
3920
3985
  time: string;
3986
+ daHeight: string;
3987
+ stateTransitionBytecodeVersion: string;
3988
+ transactionsCount: string;
3989
+ transactionsRoot: string;
3990
+ messageOutboxRoot: string;
3991
+ eventInboxRoot: string;
3992
+ prevRoot: string;
3993
+ applicationHash: string;
3921
3994
  };
3922
3995
  } | null;
3923
3996
  };
@@ -3941,6 +4014,14 @@ export type GqlGetBlocksQuery = {
3941
4014
  height: string;
3942
4015
  header: {
3943
4016
  time: string;
4017
+ daHeight: string;
4018
+ stateTransitionBytecodeVersion: string;
4019
+ transactionsCount: string;
4020
+ transactionsRoot: string;
4021
+ messageOutboxRoot: string;
4022
+ eventInboxRoot: string;
4023
+ prevRoot: string;
4024
+ applicationHash: string;
3944
4025
  };
3945
4026
  transactions: Array<{
3946
4027
  id: string;
@@ -4438,6 +4519,173 @@ export type GqlSubmitAndAwaitSubscription = {
4438
4519
  }>;
4439
4520
  };
4440
4521
  };
4522
+ export type GqlSubmitAndAwaitStatusSubscriptionVariables = Exact<{
4523
+ encodedTransaction: Scalars['HexString']['input'];
4524
+ }>;
4525
+ export type GqlSubmitAndAwaitStatusSubscription = {
4526
+ submitAndAwaitStatus: {
4527
+ totalGas: string;
4528
+ totalFee: string;
4529
+ time: string;
4530
+ reason: string;
4531
+ type: 'FailureStatus';
4532
+ transaction: {
4533
+ receiptsRoot?: string | null;
4534
+ inputs?: Array<{
4535
+ txPointer: string;
4536
+ type: 'InputCoin';
4537
+ } | {
4538
+ txPointer: string;
4539
+ type: 'InputContract';
4540
+ } | {
4541
+ type: 'InputMessage';
4542
+ }> | null;
4543
+ outputs: Array<{
4544
+ to: string;
4545
+ amount: string;
4546
+ assetId: string;
4547
+ type: 'ChangeOutput';
4548
+ } | {
4549
+ to: string;
4550
+ amount: string;
4551
+ assetId: string;
4552
+ type: 'CoinOutput';
4553
+ } | {
4554
+ contract: string;
4555
+ stateRoot: string;
4556
+ type: 'ContractCreated';
4557
+ } | {
4558
+ inputIndex: string;
4559
+ balanceRoot: string;
4560
+ stateRoot: string;
4561
+ type: 'ContractOutput';
4562
+ } | {
4563
+ to: string;
4564
+ amount: string;
4565
+ assetId: string;
4566
+ type: 'VariableOutput';
4567
+ }>;
4568
+ };
4569
+ block: {
4570
+ id: string;
4571
+ };
4572
+ receipts: Array<{
4573
+ id?: string | null;
4574
+ pc?: string | null;
4575
+ is?: string | null;
4576
+ to?: string | null;
4577
+ toAddress?: string | null;
4578
+ amount?: string | null;
4579
+ assetId?: string | null;
4580
+ gas?: string | null;
4581
+ param1?: string | null;
4582
+ param2?: string | null;
4583
+ val?: string | null;
4584
+ ptr?: string | null;
4585
+ digest?: string | null;
4586
+ reason?: string | null;
4587
+ ra?: string | null;
4588
+ rb?: string | null;
4589
+ rc?: string | null;
4590
+ rd?: string | null;
4591
+ len?: string | null;
4592
+ receiptType: GqlReceiptType;
4593
+ result?: string | null;
4594
+ gasUsed?: string | null;
4595
+ data?: string | null;
4596
+ sender?: string | null;
4597
+ recipient?: string | null;
4598
+ nonce?: string | null;
4599
+ contractId?: string | null;
4600
+ subId?: string | null;
4601
+ }>;
4602
+ } | {
4603
+ reason: string;
4604
+ type: 'SqueezedOutStatus';
4605
+ } | {
4606
+ time: string;
4607
+ type: 'SubmittedStatus';
4608
+ } | {
4609
+ time: string;
4610
+ totalGas: string;
4611
+ totalFee: string;
4612
+ type: 'SuccessStatus';
4613
+ transaction: {
4614
+ receiptsRoot?: string | null;
4615
+ inputs?: Array<{
4616
+ txPointer: string;
4617
+ type: 'InputCoin';
4618
+ } | {
4619
+ txPointer: string;
4620
+ type: 'InputContract';
4621
+ } | {
4622
+ type: 'InputMessage';
4623
+ }> | null;
4624
+ outputs: Array<{
4625
+ to: string;
4626
+ amount: string;
4627
+ assetId: string;
4628
+ type: 'ChangeOutput';
4629
+ } | {
4630
+ to: string;
4631
+ amount: string;
4632
+ assetId: string;
4633
+ type: 'CoinOutput';
4634
+ } | {
4635
+ contract: string;
4636
+ stateRoot: string;
4637
+ type: 'ContractCreated';
4638
+ } | {
4639
+ inputIndex: string;
4640
+ balanceRoot: string;
4641
+ stateRoot: string;
4642
+ type: 'ContractOutput';
4643
+ } | {
4644
+ to: string;
4645
+ amount: string;
4646
+ assetId: string;
4647
+ type: 'VariableOutput';
4648
+ }>;
4649
+ };
4650
+ block: {
4651
+ id: string;
4652
+ };
4653
+ programState?: {
4654
+ returnType: GqlReturnType;
4655
+ data: string;
4656
+ } | null;
4657
+ receipts: Array<{
4658
+ id?: string | null;
4659
+ pc?: string | null;
4660
+ is?: string | null;
4661
+ to?: string | null;
4662
+ toAddress?: string | null;
4663
+ amount?: string | null;
4664
+ assetId?: string | null;
4665
+ gas?: string | null;
4666
+ param1?: string | null;
4667
+ param2?: string | null;
4668
+ val?: string | null;
4669
+ ptr?: string | null;
4670
+ digest?: string | null;
4671
+ reason?: string | null;
4672
+ ra?: string | null;
4673
+ rb?: string | null;
4674
+ rc?: string | null;
4675
+ rd?: string | null;
4676
+ len?: string | null;
4677
+ receiptType: GqlReceiptType;
4678
+ result?: string | null;
4679
+ gasUsed?: string | null;
4680
+ data?: string | null;
4681
+ sender?: string | null;
4682
+ recipient?: string | null;
4683
+ nonce?: string | null;
4684
+ contractId?: string | null;
4685
+ subId?: string | null;
4686
+ }>;
4687
+ };
4688
+ };
4441
4689
  export type GqlStatusChangeSubscriptionVariables = Exact<{
4442
4690
  transactionId: Scalars['TransactionId']['input'];
4443
4691
  }>;
@@ -4668,6 +4916,7 @@ export declare const SubmitDocument: DocumentNode;
4668
4916
  export declare const ProduceBlocksDocument: DocumentNode;
4669
4917
  export declare const GetMessageByNonceDocument: DocumentNode;
4670
4918
  export declare const SubmitAndAwaitDocument: DocumentNode;
4919
+ export declare const SubmitAndAwaitStatusDocument: DocumentNode;
4671
4920
  export declare const StatusChangeDocument: DocumentNode;
4672
4921
  export type Requester<C = {}> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
4673
4922
  export declare function getSdk<C>(requester: Requester<C>): {
@@ -4700,6 +4949,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
4700
4949
  produceBlocks(variables: GqlProduceBlocksMutationVariables, options?: C): Promise<GqlProduceBlocksMutation>;
4701
4950
  getMessageByNonce(variables: GqlGetMessageByNonceQueryVariables, options?: C): Promise<GqlGetMessageByNonceQuery>;
4702
4951
  submitAndAwait(variables: GqlSubmitAndAwaitSubscriptionVariables, options?: C): AsyncIterable<GqlSubmitAndAwaitSubscription>;
4952
+ submitAndAwaitStatus(variables: GqlSubmitAndAwaitStatusSubscriptionVariables, options?: C): AsyncIterable<GqlSubmitAndAwaitStatusSubscription>;
4703
4953
  statusChange(variables: GqlStatusChangeSubscriptionVariables, options?: C): AsyncIterable<GqlStatusChangeSubscription>;
4704
4954
  };
4705
4955
  export type Sdk = ReturnType<typeof getSdk>;