@fuel-ts/account 0.0.0-rc-2021-20240424155454 → 0.0.0-rc-2021-20240424160726
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.
Potentially problematic release.
This version of @fuel-ts/account might be problematic. Click here for more details.
- package/dist/index.global.js +88 -89
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +7 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -10
- package/dist/index.mjs.map +1 -1
- package/dist/providers/__generated__/operations.d.ts +48 -40
- package/dist/providers/__generated__/operations.d.ts.map +1 -1
- package/dist/test-utils.global.js +88 -89
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +7 -10
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +7 -10
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +16 -16
@@ -31,7 +31,6 @@ export type Scalars = {
|
|
31
31
|
Tai64Timestamp: string;
|
32
32
|
TransactionId: string;
|
33
33
|
TxPointer: any;
|
34
|
-
U8: any;
|
35
34
|
U16: any;
|
36
35
|
U32: any;
|
37
36
|
U64: string;
|
@@ -165,7 +164,9 @@ export type GqlConsensusParameters = {
|
|
165
164
|
txParams: GqlTxParameters;
|
166
165
|
version: GqlConsensusParametersVersion;
|
167
166
|
};
|
168
|
-
export
|
167
|
+
export declare enum GqlConsensusParametersVersion {
|
168
|
+
V1 = "V1"
|
169
|
+
}
|
169
170
|
export type GqlContract = {
|
170
171
|
__typename: 'Contract';
|
171
172
|
bytecode: Scalars['HexString'];
|
@@ -216,7 +217,9 @@ export type GqlContractParameters = {
|
|
216
217
|
maxStorageSlots: Scalars['U64'];
|
217
218
|
version: GqlContractParametersVersion;
|
218
219
|
};
|
219
|
-
export
|
220
|
+
export declare enum GqlContractParametersVersion {
|
221
|
+
V1 = "V1"
|
222
|
+
}
|
220
223
|
export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
|
221
224
|
export type GqlDryRunFailureStatus = {
|
222
225
|
__typename: 'DryRunFailureStatus';
|
@@ -261,7 +264,9 @@ export type GqlFeeParameters = {
|
|
261
264
|
gasPriceFactor: Scalars['U64'];
|
262
265
|
version: GqlFeeParametersVersion;
|
263
266
|
};
|
264
|
-
export
|
267
|
+
export declare enum GqlFeeParametersVersion {
|
268
|
+
V1 = "V1"
|
269
|
+
}
|
265
270
|
export type GqlGasCosts = {
|
266
271
|
__typename: 'GasCosts';
|
267
272
|
add: Scalars['U64'];
|
@@ -376,7 +381,9 @@ export type GqlGasCosts = {
|
|
376
381
|
xor: Scalars['U64'];
|
377
382
|
xori: Scalars['U64'];
|
378
383
|
};
|
379
|
-
export
|
384
|
+
export declare enum GqlGasCostsVersion {
|
385
|
+
V1 = "V1"
|
386
|
+
}
|
380
387
|
export type GqlGenesis = {
|
381
388
|
__typename: 'Genesis';
|
382
389
|
/**
|
@@ -676,7 +683,9 @@ export type GqlPredicateParameters = {
|
|
676
683
|
maxPredicateLength: Scalars['U64'];
|
677
684
|
version: GqlPredicateParametersVersion;
|
678
685
|
};
|
679
|
-
export
|
686
|
+
export declare enum GqlPredicateParametersVersion {
|
687
|
+
V1 = "V1"
|
688
|
+
}
|
680
689
|
export type GqlProgramState = {
|
681
690
|
__typename: 'ProgramState';
|
682
691
|
data: Scalars['HexString'];
|
@@ -898,7 +907,9 @@ export type GqlScriptParameters = {
|
|
898
907
|
maxScriptLength: Scalars['U64'];
|
899
908
|
version: GqlScriptParametersVersion;
|
900
909
|
};
|
901
|
-
export
|
910
|
+
export declare enum GqlScriptParametersVersion {
|
911
|
+
V1 = "V1"
|
912
|
+
}
|
902
913
|
export type GqlSpendQueryElementInput = {
|
903
914
|
/** Target amount for the query. */
|
904
915
|
amount: Scalars['U64'];
|
@@ -1006,17 +1017,15 @@ export type GqlTxParameters = {
|
|
1006
1017
|
maxWitnesses: Scalars['U32'];
|
1007
1018
|
version: GqlTxParametersVersion;
|
1008
1019
|
};
|
1009
|
-
export
|
1020
|
+
export declare enum GqlTxParametersVersion {
|
1021
|
+
V1 = "V1"
|
1022
|
+
}
|
1010
1023
|
export type GqlVariableOutput = {
|
1011
1024
|
__typename: 'VariableOutput';
|
1012
1025
|
amount: Scalars['U64'];
|
1013
1026
|
assetId: Scalars['AssetId'];
|
1014
1027
|
to: Scalars['Address'];
|
1015
1028
|
};
|
1016
|
-
export type GqlVersion = {
|
1017
|
-
__typename: 'Version';
|
1018
|
-
value: Scalars['U8'];
|
1019
|
-
};
|
1020
1029
|
type GqlTransactionStatusFragment_FailureStatus_Fragment = {
|
1021
1030
|
__typename: 'FailureStatus';
|
1022
1031
|
time: string;
|
@@ -1486,6 +1495,7 @@ export type GqlBalanceFragmentFragment = {
|
|
1486
1495
|
};
|
1487
1496
|
export type GqlTxParametersFragmentFragment = {
|
1488
1497
|
__typename: 'TxParameters';
|
1498
|
+
version: GqlTxParametersVersion;
|
1489
1499
|
maxInputs: any;
|
1490
1500
|
maxOutputs: any;
|
1491
1501
|
maxWitnesses: any;
|
@@ -1494,6 +1504,7 @@ export type GqlTxParametersFragmentFragment = {
|
|
1494
1504
|
};
|
1495
1505
|
export type GqlPredicateParametersFragmentFragment = {
|
1496
1506
|
__typename: 'PredicateParameters';
|
1507
|
+
version: GqlPredicateParametersVersion;
|
1497
1508
|
maxPredicateLength: string;
|
1498
1509
|
maxPredicateDataLength: string;
|
1499
1510
|
maxGasPerPredicate: string;
|
@@ -1501,16 +1512,19 @@ export type GqlPredicateParametersFragmentFragment = {
|
|
1501
1512
|
};
|
1502
1513
|
export type GqlScriptParametersFragmentFragment = {
|
1503
1514
|
__typename: 'ScriptParameters';
|
1515
|
+
version: GqlScriptParametersVersion;
|
1504
1516
|
maxScriptLength: string;
|
1505
1517
|
maxScriptDataLength: string;
|
1506
1518
|
};
|
1507
1519
|
export type GqlContractParametersFragmentFragment = {
|
1508
1520
|
__typename: 'ContractParameters';
|
1521
|
+
version: GqlContractParametersVersion;
|
1509
1522
|
contractMaxSize: string;
|
1510
1523
|
maxStorageSlots: string;
|
1511
1524
|
};
|
1512
1525
|
export type GqlFeeParametersFragmentFragment = {
|
1513
1526
|
__typename: 'FeeParameters';
|
1527
|
+
version: GqlFeeParametersVersion;
|
1514
1528
|
gasPriceFactor: string;
|
1515
1529
|
gasPerByte: string;
|
1516
1530
|
};
|
@@ -1527,6 +1541,7 @@ type GqlDependentCostFragment_LightOperation_Fragment = {
|
|
1527
1541
|
export type GqlDependentCostFragmentFragment = GqlDependentCostFragment_HeavyOperation_Fragment | GqlDependentCostFragment_LightOperation_Fragment;
|
1528
1542
|
export type GqlGasCostsFragmentFragment = {
|
1529
1543
|
__typename: 'GasCosts';
|
1544
|
+
version: GqlGasCostsVersion;
|
1530
1545
|
add: string;
|
1531
1546
|
addi: string;
|
1532
1547
|
aloc: string;
|
@@ -1616,10 +1631,6 @@ export type GqlGasCostsFragmentFragment = {
|
|
1616
1631
|
xor: string;
|
1617
1632
|
xori: string;
|
1618
1633
|
newStoragePerByte: string;
|
1619
|
-
version: {
|
1620
|
-
__typename: 'Version';
|
1621
|
-
value: any;
|
1622
|
-
};
|
1623
1634
|
call: {
|
1624
1635
|
__typename: 'HeavyOperation';
|
1625
1636
|
base: string;
|
@@ -1812,14 +1823,12 @@ export type GqlGasCostsFragmentFragment = {
|
|
1812
1823
|
};
|
1813
1824
|
export type GqlConsensusParametersFragmentFragment = {
|
1814
1825
|
__typename: 'ConsensusParameters';
|
1826
|
+
version: GqlConsensusParametersVersion;
|
1815
1827
|
baseAssetId: string;
|
1816
1828
|
chainId: string;
|
1817
|
-
version: {
|
1818
|
-
__typename: 'Version';
|
1819
|
-
value: any;
|
1820
|
-
};
|
1821
1829
|
txParams: {
|
1822
1830
|
__typename: 'TxParameters';
|
1831
|
+
version: GqlTxParametersVersion;
|
1823
1832
|
maxInputs: any;
|
1824
1833
|
maxOutputs: any;
|
1825
1834
|
maxWitnesses: any;
|
@@ -1828,6 +1837,7 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1828
1837
|
};
|
1829
1838
|
predicateParams: {
|
1830
1839
|
__typename: 'PredicateParameters';
|
1840
|
+
version: GqlPredicateParametersVersion;
|
1831
1841
|
maxPredicateLength: string;
|
1832
1842
|
maxPredicateDataLength: string;
|
1833
1843
|
maxGasPerPredicate: string;
|
@@ -1835,21 +1845,25 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1835
1845
|
};
|
1836
1846
|
scriptParams: {
|
1837
1847
|
__typename: 'ScriptParameters';
|
1848
|
+
version: GqlScriptParametersVersion;
|
1838
1849
|
maxScriptLength: string;
|
1839
1850
|
maxScriptDataLength: string;
|
1840
1851
|
};
|
1841
1852
|
contractParams: {
|
1842
1853
|
__typename: 'ContractParameters';
|
1854
|
+
version: GqlContractParametersVersion;
|
1843
1855
|
contractMaxSize: string;
|
1844
1856
|
maxStorageSlots: string;
|
1845
1857
|
};
|
1846
1858
|
feeParams: {
|
1847
1859
|
__typename: 'FeeParameters';
|
1860
|
+
version: GqlFeeParametersVersion;
|
1848
1861
|
gasPriceFactor: string;
|
1849
1862
|
gasPerByte: string;
|
1850
1863
|
};
|
1851
1864
|
gasCosts: {
|
1852
1865
|
__typename: 'GasCosts';
|
1866
|
+
version: GqlGasCostsVersion;
|
1853
1867
|
add: string;
|
1854
1868
|
addi: string;
|
1855
1869
|
aloc: string;
|
@@ -1939,10 +1953,6 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1939
1953
|
xor: string;
|
1940
1954
|
xori: string;
|
1941
1955
|
newStoragePerByte: string;
|
1942
|
-
version: {
|
1943
|
-
__typename: 'Version';
|
1944
|
-
value: any;
|
1945
|
-
};
|
1946
1956
|
call: {
|
1947
1957
|
__typename: 'HeavyOperation';
|
1948
1958
|
base: string;
|
@@ -2153,14 +2163,12 @@ export type GqlChainInfoFragmentFragment = {
|
|
2153
2163
|
};
|
2154
2164
|
consensusParameters: {
|
2155
2165
|
__typename: 'ConsensusParameters';
|
2166
|
+
version: GqlConsensusParametersVersion;
|
2156
2167
|
baseAssetId: string;
|
2157
2168
|
chainId: string;
|
2158
|
-
version: {
|
2159
|
-
__typename: 'Version';
|
2160
|
-
value: any;
|
2161
|
-
};
|
2162
2169
|
txParams: {
|
2163
2170
|
__typename: 'TxParameters';
|
2171
|
+
version: GqlTxParametersVersion;
|
2164
2172
|
maxInputs: any;
|
2165
2173
|
maxOutputs: any;
|
2166
2174
|
maxWitnesses: any;
|
@@ -2169,6 +2177,7 @@ export type GqlChainInfoFragmentFragment = {
|
|
2169
2177
|
};
|
2170
2178
|
predicateParams: {
|
2171
2179
|
__typename: 'PredicateParameters';
|
2180
|
+
version: GqlPredicateParametersVersion;
|
2172
2181
|
maxPredicateLength: string;
|
2173
2182
|
maxPredicateDataLength: string;
|
2174
2183
|
maxGasPerPredicate: string;
|
@@ -2176,21 +2185,25 @@ export type GqlChainInfoFragmentFragment = {
|
|
2176
2185
|
};
|
2177
2186
|
scriptParams: {
|
2178
2187
|
__typename: 'ScriptParameters';
|
2188
|
+
version: GqlScriptParametersVersion;
|
2179
2189
|
maxScriptLength: string;
|
2180
2190
|
maxScriptDataLength: string;
|
2181
2191
|
};
|
2182
2192
|
contractParams: {
|
2183
2193
|
__typename: 'ContractParameters';
|
2194
|
+
version: GqlContractParametersVersion;
|
2184
2195
|
contractMaxSize: string;
|
2185
2196
|
maxStorageSlots: string;
|
2186
2197
|
};
|
2187
2198
|
feeParams: {
|
2188
2199
|
__typename: 'FeeParameters';
|
2200
|
+
version: GqlFeeParametersVersion;
|
2189
2201
|
gasPriceFactor: string;
|
2190
2202
|
gasPerByte: string;
|
2191
2203
|
};
|
2192
2204
|
gasCosts: {
|
2193
2205
|
__typename: 'GasCosts';
|
2206
|
+
version: GqlGasCostsVersion;
|
2194
2207
|
add: string;
|
2195
2208
|
addi: string;
|
2196
2209
|
aloc: string;
|
@@ -2280,10 +2293,6 @@ export type GqlChainInfoFragmentFragment = {
|
|
2280
2293
|
xor: string;
|
2281
2294
|
xori: string;
|
2282
2295
|
newStoragePerByte: string;
|
2283
|
-
version: {
|
2284
|
-
__typename: 'Version';
|
2285
|
-
value: any;
|
2286
|
-
};
|
2287
2296
|
call: {
|
2288
2297
|
__typename: 'HeavyOperation';
|
2289
2298
|
base: string;
|
@@ -2545,14 +2554,12 @@ export type GqlGetChainQuery = {
|
|
2545
2554
|
};
|
2546
2555
|
consensusParameters: {
|
2547
2556
|
__typename: 'ConsensusParameters';
|
2557
|
+
version: GqlConsensusParametersVersion;
|
2548
2558
|
baseAssetId: string;
|
2549
2559
|
chainId: string;
|
2550
|
-
version: {
|
2551
|
-
__typename: 'Version';
|
2552
|
-
value: any;
|
2553
|
-
};
|
2554
2560
|
txParams: {
|
2555
2561
|
__typename: 'TxParameters';
|
2562
|
+
version: GqlTxParametersVersion;
|
2556
2563
|
maxInputs: any;
|
2557
2564
|
maxOutputs: any;
|
2558
2565
|
maxWitnesses: any;
|
@@ -2561,6 +2568,7 @@ export type GqlGetChainQuery = {
|
|
2561
2568
|
};
|
2562
2569
|
predicateParams: {
|
2563
2570
|
__typename: 'PredicateParameters';
|
2571
|
+
version: GqlPredicateParametersVersion;
|
2564
2572
|
maxPredicateLength: string;
|
2565
2573
|
maxPredicateDataLength: string;
|
2566
2574
|
maxGasPerPredicate: string;
|
@@ -2568,21 +2576,25 @@ export type GqlGetChainQuery = {
|
|
2568
2576
|
};
|
2569
2577
|
scriptParams: {
|
2570
2578
|
__typename: 'ScriptParameters';
|
2579
|
+
version: GqlScriptParametersVersion;
|
2571
2580
|
maxScriptLength: string;
|
2572
2581
|
maxScriptDataLength: string;
|
2573
2582
|
};
|
2574
2583
|
contractParams: {
|
2575
2584
|
__typename: 'ContractParameters';
|
2585
|
+
version: GqlContractParametersVersion;
|
2576
2586
|
contractMaxSize: string;
|
2577
2587
|
maxStorageSlots: string;
|
2578
2588
|
};
|
2579
2589
|
feeParams: {
|
2580
2590
|
__typename: 'FeeParameters';
|
2591
|
+
version: GqlFeeParametersVersion;
|
2581
2592
|
gasPriceFactor: string;
|
2582
2593
|
gasPerByte: string;
|
2583
2594
|
};
|
2584
2595
|
gasCosts: {
|
2585
2596
|
__typename: 'GasCosts';
|
2597
|
+
version: GqlGasCostsVersion;
|
2586
2598
|
add: string;
|
2587
2599
|
addi: string;
|
2588
2600
|
aloc: string;
|
@@ -2672,10 +2684,6 @@ export type GqlGetChainQuery = {
|
|
2672
2684
|
xor: string;
|
2673
2685
|
xori: string;
|
2674
2686
|
newStoragePerByte: string;
|
2675
|
-
version: {
|
2676
|
-
__typename: 'Version';
|
2677
|
-
value: any;
|
2678
|
-
};
|
2679
2687
|
call: {
|
2680
2688
|
__typename: 'HeavyOperation';
|
2681
2689
|
base: string;
|