@fuel-ts/account 0.0.0-rc-2037-20240501105750 → 0.0.0-rc-2037-20240501152515
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 +92 -95
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +14 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -19
- package/dist/index.mjs.map +1 -1
- package/dist/providers/transaction-request/transaction-request.d.ts +3 -3
- package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
- package/dist/providers/utils/gas.d.ts +1 -1
- package/dist/providers/utils/gas.d.ts.map +1 -1
- package/dist/test-utils.global.js +92 -95
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +14 -15
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +18 -19
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +16 -16
package/dist/index.global.js
CHANGED
@@ -6210,9 +6210,9 @@
|
|
6210
6210
|
}
|
6211
6211
|
});
|
6212
6212
|
|
6213
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6213
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/isObjectLike.js
|
6214
6214
|
var require_isObjectLike = __commonJS({
|
6215
|
-
"../../node_modules/.pnpm/graphql@16.
|
6215
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/isObjectLike.js"(exports) {
|
6216
6216
|
"use strict";
|
6217
6217
|
Object.defineProperty(exports, "__esModule", {
|
6218
6218
|
value: true
|
@@ -6224,9 +6224,9 @@
|
|
6224
6224
|
}
|
6225
6225
|
});
|
6226
6226
|
|
6227
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6227
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/invariant.js
|
6228
6228
|
var require_invariant = __commonJS({
|
6229
|
-
"../../node_modules/.pnpm/graphql@16.
|
6229
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/invariant.js"(exports) {
|
6230
6230
|
"use strict";
|
6231
6231
|
Object.defineProperty(exports, "__esModule", {
|
6232
6232
|
value: true
|
@@ -6243,9 +6243,9 @@
|
|
6243
6243
|
}
|
6244
6244
|
});
|
6245
6245
|
|
6246
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6246
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/location.js
|
6247
6247
|
var require_location = __commonJS({
|
6248
|
-
"../../node_modules/.pnpm/graphql@16.
|
6248
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/location.js"(exports) {
|
6249
6249
|
"use strict";
|
6250
6250
|
Object.defineProperty(exports, "__esModule", {
|
6251
6251
|
value: true
|
@@ -6272,9 +6272,9 @@
|
|
6272
6272
|
}
|
6273
6273
|
});
|
6274
6274
|
|
6275
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6275
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/printLocation.js
|
6276
6276
|
var require_printLocation = __commonJS({
|
6277
|
-
"../../node_modules/.pnpm/graphql@16.
|
6277
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/printLocation.js"(exports) {
|
6278
6278
|
"use strict";
|
6279
6279
|
Object.defineProperty(exports, "__esModule", {
|
6280
6280
|
value: true
|
@@ -6330,9 +6330,9 @@
|
|
6330
6330
|
}
|
6331
6331
|
});
|
6332
6332
|
|
6333
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6333
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/error/GraphQLError.js
|
6334
6334
|
var require_GraphQLError = __commonJS({
|
6335
|
-
"../../node_modules/.pnpm/graphql@16.
|
6335
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/error/GraphQLError.js"(exports) {
|
6336
6336
|
"use strict";
|
6337
6337
|
Object.defineProperty(exports, "__esModule", {
|
6338
6338
|
value: true
|
@@ -6502,9 +6502,9 @@
|
|
6502
6502
|
}
|
6503
6503
|
});
|
6504
6504
|
|
6505
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6505
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/error/syntaxError.js
|
6506
6506
|
var require_syntaxError = __commonJS({
|
6507
|
-
"../../node_modules/.pnpm/graphql@16.
|
6507
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/error/syntaxError.js"(exports) {
|
6508
6508
|
"use strict";
|
6509
6509
|
Object.defineProperty(exports, "__esModule", {
|
6510
6510
|
value: true
|
@@ -6520,9 +6520,9 @@
|
|
6520
6520
|
}
|
6521
6521
|
});
|
6522
6522
|
|
6523
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6523
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/ast.js
|
6524
6524
|
var require_ast = __commonJS({
|
6525
|
-
"../../node_modules/.pnpm/graphql@16.
|
6525
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/ast.js"(exports) {
|
6526
6526
|
"use strict";
|
6527
6527
|
Object.defineProperty(exports, "__esModule", {
|
6528
6528
|
value: true
|
@@ -6704,9 +6704,9 @@
|
|
6704
6704
|
}
|
6705
6705
|
});
|
6706
6706
|
|
6707
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6707
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/directiveLocation.js
|
6708
6708
|
var require_directiveLocation = __commonJS({
|
6709
|
-
"../../node_modules/.pnpm/graphql@16.
|
6709
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/directiveLocation.js"(exports) {
|
6710
6710
|
"use strict";
|
6711
6711
|
Object.defineProperty(exports, "__esModule", {
|
6712
6712
|
value: true
|
@@ -6738,9 +6738,9 @@
|
|
6738
6738
|
}
|
6739
6739
|
});
|
6740
6740
|
|
6741
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6741
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/kinds.js
|
6742
6742
|
var require_kinds = __commonJS({
|
6743
|
-
"../../node_modules/.pnpm/graphql@16.
|
6743
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/kinds.js"(exports) {
|
6744
6744
|
"use strict";
|
6745
6745
|
Object.defineProperty(exports, "__esModule", {
|
6746
6746
|
value: true
|
@@ -6796,9 +6796,9 @@
|
|
6796
6796
|
}
|
6797
6797
|
});
|
6798
6798
|
|
6799
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6799
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/characterClasses.js
|
6800
6800
|
var require_characterClasses = __commonJS({
|
6801
|
-
"../../node_modules/.pnpm/graphql@16.
|
6801
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/characterClasses.js"(exports) {
|
6802
6802
|
"use strict";
|
6803
6803
|
Object.defineProperty(exports, "__esModule", {
|
6804
6804
|
value: true
|
@@ -6827,9 +6827,9 @@
|
|
6827
6827
|
}
|
6828
6828
|
});
|
6829
6829
|
|
6830
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6830
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/blockString.js
|
6831
6831
|
var require_blockString = __commonJS({
|
6832
|
-
"../../node_modules/.pnpm/graphql@16.
|
6832
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/blockString.js"(exports) {
|
6833
6833
|
"use strict";
|
6834
6834
|
Object.defineProperty(exports, "__esModule", {
|
6835
6835
|
value: true
|
@@ -6946,9 +6946,9 @@
|
|
6946
6946
|
}
|
6947
6947
|
});
|
6948
6948
|
|
6949
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6949
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/tokenKind.js
|
6950
6950
|
var require_tokenKind = __commonJS({
|
6951
|
-
"../../node_modules/.pnpm/graphql@16.
|
6951
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/tokenKind.js"(exports) {
|
6952
6952
|
"use strict";
|
6953
6953
|
Object.defineProperty(exports, "__esModule", {
|
6954
6954
|
value: true
|
@@ -6983,9 +6983,9 @@
|
|
6983
6983
|
}
|
6984
6984
|
});
|
6985
6985
|
|
6986
|
-
// ../../node_modules/.pnpm/graphql@16.
|
6986
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/lexer.js
|
6987
6987
|
var require_lexer = __commonJS({
|
6988
|
-
"../../node_modules/.pnpm/graphql@16.
|
6988
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/lexer.js"(exports) {
|
6989
6989
|
"use strict";
|
6990
6990
|
Object.defineProperty(exports, "__esModule", {
|
6991
6991
|
value: true
|
@@ -7590,9 +7590,9 @@
|
|
7590
7590
|
}
|
7591
7591
|
});
|
7592
7592
|
|
7593
|
-
// ../../node_modules/.pnpm/graphql@16.
|
7593
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/devAssert.js
|
7594
7594
|
var require_devAssert = __commonJS({
|
7595
|
-
"../../node_modules/.pnpm/graphql@16.
|
7595
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/devAssert.js"(exports) {
|
7596
7596
|
"use strict";
|
7597
7597
|
Object.defineProperty(exports, "__esModule", {
|
7598
7598
|
value: true
|
@@ -7607,9 +7607,9 @@
|
|
7607
7607
|
}
|
7608
7608
|
});
|
7609
7609
|
|
7610
|
-
// ../../node_modules/.pnpm/graphql@16.
|
7610
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/inspect.js
|
7611
7611
|
var require_inspect = __commonJS({
|
7612
|
-
"../../node_modules/.pnpm/graphql@16.
|
7612
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/inspect.js"(exports) {
|
7613
7613
|
"use strict";
|
7614
7614
|
Object.defineProperty(exports, "__esModule", {
|
7615
7615
|
value: true
|
@@ -7699,9 +7699,9 @@
|
|
7699
7699
|
}
|
7700
7700
|
});
|
7701
7701
|
|
7702
|
-
// ../../node_modules/.pnpm/graphql@16.
|
7702
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/instanceOf.js
|
7703
7703
|
var require_instanceOf = __commonJS({
|
7704
|
-
"../../node_modules/.pnpm/graphql@16.
|
7704
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/instanceOf.js"(exports) {
|
7705
7705
|
"use strict";
|
7706
7706
|
Object.defineProperty(exports, "__esModule", {
|
7707
7707
|
value: true
|
@@ -7711,8 +7711,7 @@
|
|
7711
7711
|
var instanceOf4 = (
|
7712
7712
|
/* c8 ignore next 6 */
|
7713
7713
|
// FIXME: https://github.com/graphql/graphql-js/issues/2317
|
7714
|
-
|
7715
|
-
process.env.NODE_ENV === "production" ? function instanceOf5(value, constructor) {
|
7714
|
+
globalThis.process && globalThis.process.env.NODE_ENV === "production" ? function instanceOf5(value, constructor) {
|
7716
7715
|
return value instanceof constructor;
|
7717
7716
|
} : function instanceOf5(value, constructor) {
|
7718
7717
|
if (value instanceof constructor) {
|
@@ -7748,9 +7747,9 @@ spurious results.`);
|
|
7748
7747
|
}
|
7749
7748
|
});
|
7750
7749
|
|
7751
|
-
// ../../node_modules/.pnpm/graphql@16.
|
7750
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/source.js
|
7752
7751
|
var require_source = __commonJS({
|
7753
|
-
"../../node_modules/.pnpm/graphql@16.
|
7752
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/source.js"(exports) {
|
7754
7753
|
"use strict";
|
7755
7754
|
Object.defineProperty(exports, "__esModule", {
|
7756
7755
|
value: true
|
@@ -7792,9 +7791,9 @@ spurious results.`);
|
|
7792
7791
|
}
|
7793
7792
|
});
|
7794
7793
|
|
7795
|
-
// ../../node_modules/.pnpm/graphql@16.
|
7794
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/parser.js
|
7796
7795
|
var require_parser = __commonJS({
|
7797
|
-
"../../node_modules/.pnpm/graphql@16.
|
7796
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/parser.js"(exports) {
|
7798
7797
|
"use strict";
|
7799
7798
|
Object.defineProperty(exports, "__esModule", {
|
7800
7799
|
value: true
|
@@ -9101,9 +9100,9 @@ spurious results.`);
|
|
9101
9100
|
}
|
9102
9101
|
});
|
9103
9102
|
|
9104
|
-
// ../../node_modules/.pnpm/graphql@16.
|
9103
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/printString.js
|
9105
9104
|
var require_printString = __commonJS({
|
9106
|
-
"../../node_modules/.pnpm/graphql@16.
|
9105
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/printString.js"(exports) {
|
9107
9106
|
"use strict";
|
9108
9107
|
Object.defineProperty(exports, "__esModule", {
|
9109
9108
|
value: true
|
@@ -9286,9 +9285,9 @@ spurious results.`);
|
|
9286
9285
|
}
|
9287
9286
|
});
|
9288
9287
|
|
9289
|
-
// ../../node_modules/.pnpm/graphql@16.
|
9288
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/visitor.js
|
9290
9289
|
var require_visitor = __commonJS({
|
9291
|
-
"../../node_modules/.pnpm/graphql@16.
|
9290
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/visitor.js"(exports) {
|
9292
9291
|
"use strict";
|
9293
9292
|
Object.defineProperty(exports, "__esModule", {
|
9294
9293
|
value: true
|
@@ -9497,9 +9496,9 @@ spurious results.`);
|
|
9497
9496
|
}
|
9498
9497
|
});
|
9499
9498
|
|
9500
|
-
// ../../node_modules/.pnpm/graphql@16.
|
9499
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/printer.js
|
9501
9500
|
var require_printer = __commonJS({
|
9502
|
-
"../../node_modules/.pnpm/graphql@16.
|
9501
|
+
"../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/printer.js"(exports) {
|
9503
9502
|
"use strict";
|
9504
9503
|
Object.defineProperty(exports, "__esModule", {
|
9505
9504
|
value: true
|
@@ -19258,9 +19257,9 @@ spurious results.`);
|
|
19258
19257
|
}
|
19259
19258
|
});
|
19260
19259
|
|
19261
|
-
// ../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.
|
19260
|
+
// ../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.8.1/node_modules/graphql-request/dist/defaultJsonSerializer.js
|
19262
19261
|
var require_defaultJsonSerializer = __commonJS({
|
19263
|
-
"../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.
|
19262
|
+
"../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.8.1/node_modules/graphql-request/dist/defaultJsonSerializer.js"(exports) {
|
19264
19263
|
"use strict";
|
19265
19264
|
Object.defineProperty(exports, "__esModule", { value: true });
|
19266
19265
|
exports.defaultJsonSerializer = void 0;
|
@@ -19271,9 +19270,9 @@ spurious results.`);
|
|
19271
19270
|
}
|
19272
19271
|
});
|
19273
19272
|
|
19274
|
-
// ../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.
|
19273
|
+
// ../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.8.1/node_modules/graphql-request/dist/createRequestBody.js
|
19275
19274
|
var require_createRequestBody = __commonJS({
|
19276
|
-
"../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.
|
19275
|
+
"../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.8.1/node_modules/graphql-request/dist/createRequestBody.js"(exports) {
|
19277
19276
|
"use strict";
|
19278
19277
|
var __importDefault = exports && exports.__importDefault || function(mod2) {
|
19279
19278
|
return mod2 && mod2.__esModule ? mod2 : { "default": mod2 };
|
@@ -19322,9 +19321,9 @@ spurious results.`);
|
|
19322
19321
|
}
|
19323
19322
|
});
|
19324
19323
|
|
19325
|
-
// ../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.
|
19324
|
+
// ../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.8.1/node_modules/graphql-request/dist/parseArgs.js
|
19326
19325
|
var require_parseArgs = __commonJS({
|
19327
|
-
"../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.
|
19326
|
+
"../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.8.1/node_modules/graphql-request/dist/parseArgs.js"(exports) {
|
19328
19327
|
"use strict";
|
19329
19328
|
Object.defineProperty(exports, "__esModule", { value: true });
|
19330
19329
|
exports.parseBatchRequestsExtendedArgs = exports.parseRawRequestExtendedArgs = exports.parseRequestExtendedArgs = exports.parseBatchRequestArgs = exports.parseRawRequestArgs = exports.parseRequestArgs = void 0;
|
@@ -19386,9 +19385,9 @@ spurious results.`);
|
|
19386
19385
|
}
|
19387
19386
|
});
|
19388
19387
|
|
19389
|
-
// ../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.
|
19388
|
+
// ../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.8.1/node_modules/graphql-request/dist/types.js
|
19390
19389
|
var require_types = __commonJS({
|
19391
|
-
"../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.
|
19390
|
+
"../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.8.1/node_modules/graphql-request/dist/types.js"(exports) {
|
19392
19391
|
"use strict";
|
19393
19392
|
var __extends = exports && exports.__extends || function() {
|
19394
19393
|
var extendStatics = function(d, b) {
|
@@ -19446,9 +19445,9 @@ spurious results.`);
|
|
19446
19445
|
}
|
19447
19446
|
});
|
19448
19447
|
|
19449
|
-
// ../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.
|
19448
|
+
// ../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.8.1/node_modules/graphql-request/dist/graphql-ws.js
|
19450
19449
|
var require_graphql_ws = __commonJS({
|
19451
|
-
"../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.
|
19450
|
+
"../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.8.1/node_modules/graphql-request/dist/graphql-ws.js"(exports) {
|
19452
19451
|
"use strict";
|
19453
19452
|
var __assign2 = exports && exports.__assign || function() {
|
19454
19453
|
__assign2 = Object.assign || function(t) {
|
@@ -19818,9 +19817,9 @@ spurious results.`);
|
|
19818
19817
|
}
|
19819
19818
|
});
|
19820
19819
|
|
19821
|
-
// ../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.
|
19820
|
+
// ../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.8.1/node_modules/graphql-request/dist/index.js
|
19822
19821
|
var require_dist2 = __commonJS({
|
19823
|
-
"../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.
|
19822
|
+
"../../node_modules/.pnpm/graphql-request@5.0.0_graphql@16.8.1/node_modules/graphql-request/dist/index.js"(exports) {
|
19824
19823
|
"use strict";
|
19825
19824
|
var __assign2 = exports && exports.__assign || function() {
|
19826
19825
|
__assign2 = Object.assign || function(t) {
|
@@ -33935,7 +33934,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
33935
33934
|
return __assign.apply(this, arguments);
|
33936
33935
|
};
|
33937
33936
|
|
33938
|
-
// ../../node_modules/.pnpm/graphql@16.
|
33937
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/devAssert.mjs
|
33939
33938
|
function devAssert(condition, message) {
|
33940
33939
|
const booleanCondition = Boolean(condition);
|
33941
33940
|
if (!booleanCondition) {
|
@@ -33943,12 +33942,12 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
33943
33942
|
}
|
33944
33943
|
}
|
33945
33944
|
|
33946
|
-
// ../../node_modules/.pnpm/graphql@16.
|
33945
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/isObjectLike.mjs
|
33947
33946
|
function isObjectLike(value) {
|
33948
33947
|
return typeof value == "object" && value !== null;
|
33949
33948
|
}
|
33950
33949
|
|
33951
|
-
// ../../node_modules/.pnpm/graphql@16.
|
33950
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/invariant.mjs
|
33952
33951
|
function invariant(condition, message) {
|
33953
33952
|
const booleanCondition = Boolean(condition);
|
33954
33953
|
if (!booleanCondition) {
|
@@ -33958,7 +33957,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
33958
33957
|
}
|
33959
33958
|
}
|
33960
33959
|
|
33961
|
-
// ../../node_modules/.pnpm/graphql@16.
|
33960
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/location.mjs
|
33962
33961
|
var LineRegExp = /\r\n|[\n\r]/g;
|
33963
33962
|
function getLocation(source, position) {
|
33964
33963
|
let lastLineStart = 0;
|
@@ -33977,7 +33976,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
33977
33976
|
};
|
33978
33977
|
}
|
33979
33978
|
|
33980
|
-
// ../../node_modules/.pnpm/graphql@16.
|
33979
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/printLocation.mjs
|
33981
33980
|
function printLocation(location) {
|
33982
33981
|
return printSourceLocation(
|
33983
33982
|
location.source,
|
@@ -34024,7 +34023,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
34024
34023
|
return existingLines.map(([prefix, line]) => prefix.padStart(padLen) + (line ? " " + line : "")).join("\n");
|
34025
34024
|
}
|
34026
34025
|
|
34027
|
-
// ../../node_modules/.pnpm/graphql@16.
|
34026
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/error/GraphQLError.mjs
|
34028
34027
|
function toNormalizedOptions(args) {
|
34029
34028
|
const firstArg = args[0];
|
34030
34029
|
if (firstArg == null || "kind" in firstArg || "length" in firstArg) {
|
@@ -34173,7 +34172,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
34173
34172
|
return array === void 0 || array.length === 0 ? void 0 : array;
|
34174
34173
|
}
|
34175
34174
|
|
34176
|
-
// ../../node_modules/.pnpm/graphql@16.
|
34175
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/error/syntaxError.mjs
|
34177
34176
|
function syntaxError(source, position, description) {
|
34178
34177
|
return new GraphQLError(`Syntax Error: ${description}`, {
|
34179
34178
|
source,
|
@@ -34181,7 +34180,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
34181
34180
|
});
|
34182
34181
|
}
|
34183
34182
|
|
34184
|
-
// ../../node_modules/.pnpm/graphql@16.
|
34183
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/ast.mjs
|
34185
34184
|
var Location = class {
|
34186
34185
|
/**
|
34187
34186
|
* The character offset at which this Node begins.
|
@@ -34351,7 +34350,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
34351
34350
|
OperationTypeNode2["SUBSCRIPTION"] = "subscription";
|
34352
34351
|
})(OperationTypeNode || (OperationTypeNode = {}));
|
34353
34352
|
|
34354
|
-
// ../../node_modules/.pnpm/graphql@16.
|
34353
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/directiveLocation.mjs
|
34355
34354
|
var DirectiveLocation;
|
34356
34355
|
(function(DirectiveLocation2) {
|
34357
34356
|
DirectiveLocation2["QUERY"] = "QUERY";
|
@@ -34375,7 +34374,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
34375
34374
|
DirectiveLocation2["INPUT_FIELD_DEFINITION"] = "INPUT_FIELD_DEFINITION";
|
34376
34375
|
})(DirectiveLocation || (DirectiveLocation = {}));
|
34377
34376
|
|
34378
|
-
// ../../node_modules/.pnpm/graphql@16.
|
34377
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/kinds.mjs
|
34379
34378
|
var Kind;
|
34380
34379
|
(function(Kind2) {
|
34381
34380
|
Kind2["NAME"] = "Name";
|
@@ -34423,7 +34422,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
34423
34422
|
Kind2["INPUT_OBJECT_TYPE_EXTENSION"] = "InputObjectTypeExtension";
|
34424
34423
|
})(Kind || (Kind = {}));
|
34425
34424
|
|
34426
|
-
// ../../node_modules/.pnpm/graphql@16.
|
34425
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/characterClasses.mjs
|
34427
34426
|
function isWhiteSpace(code) {
|
34428
34427
|
return code === 9 || code === 32;
|
34429
34428
|
}
|
@@ -34441,7 +34440,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
34441
34440
|
return isLetter(code) || isDigit(code) || code === 95;
|
34442
34441
|
}
|
34443
34442
|
|
34444
|
-
// ../../node_modules/.pnpm/graphql@16.
|
34443
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/blockString.mjs
|
34445
34444
|
function dedentBlockStringLines(lines) {
|
34446
34445
|
var _firstNonEmptyLine2;
|
34447
34446
|
let commonIndent = Number.MAX_SAFE_INTEGER;
|
@@ -34495,7 +34494,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
34495
34494
|
return '"""' + result + '"""';
|
34496
34495
|
}
|
34497
34496
|
|
34498
|
-
// ../../node_modules/.pnpm/graphql@16.
|
34497
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/tokenKind.mjs
|
34499
34498
|
var TokenKind;
|
34500
34499
|
(function(TokenKind2) {
|
34501
34500
|
TokenKind2["SOF"] = "<SOF>";
|
@@ -34522,7 +34521,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
34522
34521
|
TokenKind2["COMMENT"] = "Comment";
|
34523
34522
|
})(TokenKind || (TokenKind = {}));
|
34524
34523
|
|
34525
|
-
// ../../node_modules/.pnpm/graphql@16.
|
34524
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/lexer.mjs
|
34526
34525
|
var Lexer = class {
|
34527
34526
|
/**
|
34528
34527
|
* The previously focused non-ignored token.
|
@@ -35023,7 +35022,7 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
35023
35022
|
);
|
35024
35023
|
}
|
35025
35024
|
|
35026
|
-
// ../../node_modules/.pnpm/graphql@16.
|
35025
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/inspect.mjs
|
35027
35026
|
var MAX_ARRAY_LENGTH = 10;
|
35028
35027
|
var MAX_RECURSIVE_DEPTH = 2;
|
35029
35028
|
function inspect(value) {
|
@@ -35106,12 +35105,11 @@ This unreleased fuel-core build may include features and updates not yet support
|
|
35106
35105
|
return tag;
|
35107
35106
|
}
|
35108
35107
|
|
35109
|
-
// ../../node_modules/.pnpm/graphql@16.
|
35108
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/jsutils/instanceOf.mjs
|
35110
35109
|
var instanceOf = (
|
35111
35110
|
/* c8 ignore next 6 */
|
35112
35111
|
// FIXME: https://github.com/graphql/graphql-js/issues/2317
|
35113
|
-
|
35114
|
-
process.env.NODE_ENV === "production" ? function instanceOf2(value, constructor) {
|
35112
|
+
globalThis.process && globalThis.process.env.NODE_ENV === "production" ? function instanceOf2(value, constructor) {
|
35115
35113
|
return value instanceof constructor;
|
35116
35114
|
} : function instanceOf3(value, constructor) {
|
35117
35115
|
if (value instanceof constructor) {
|
@@ -35144,7 +35142,7 @@ spurious results.`);
|
|
35144
35142
|
}
|
35145
35143
|
);
|
35146
35144
|
|
35147
|
-
// ../../node_modules/.pnpm/graphql@16.
|
35145
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/source.mjs
|
35148
35146
|
var Source = class {
|
35149
35147
|
constructor(body, name = "GraphQL request", locationOffset = {
|
35150
35148
|
line: 1,
|
@@ -35171,7 +35169,7 @@ spurious results.`);
|
|
35171
35169
|
return instanceOf(source, Source);
|
35172
35170
|
}
|
35173
35171
|
|
35174
|
-
// ../../node_modules/.pnpm/graphql@16.
|
35172
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/parser.mjs
|
35175
35173
|
function parse(source, options) {
|
35176
35174
|
const parser = new Parser(source, options);
|
35177
35175
|
return parser.parseDocument();
|
@@ -36420,7 +36418,7 @@ spurious results.`);
|
|
36420
36418
|
return isPunctuatorTokenKind(kind) ? `"${kind}"` : kind;
|
36421
36419
|
}
|
36422
36420
|
|
36423
|
-
// ../../node_modules/.pnpm/graphql@16.
|
36421
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/printString.mjs
|
36424
36422
|
function printString(str) {
|
36425
36423
|
return `"${str.replace(escapedRegExp, escapedReplacer)}"`;
|
36426
36424
|
}
|
@@ -36596,7 +36594,7 @@ spurious results.`);
|
|
36596
36594
|
"\\u009F"
|
36597
36595
|
];
|
36598
36596
|
|
36599
|
-
// ../../node_modules/.pnpm/graphql@16.
|
36597
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/visitor.mjs
|
36600
36598
|
var BREAK = Object.freeze({});
|
36601
36599
|
function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
|
36602
36600
|
const enterLeaveMap = /* @__PURE__ */ new Map();
|
@@ -36728,7 +36726,7 @@ spurious results.`);
|
|
36728
36726
|
};
|
36729
36727
|
}
|
36730
36728
|
|
36731
|
-
// ../../node_modules/.pnpm/graphql@16.
|
36729
|
+
// ../../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/language/printer.mjs
|
36732
36730
|
function print(ast) {
|
36733
36731
|
return visit(ast, printDocASTReducer);
|
36734
36732
|
}
|
@@ -36970,7 +36968,7 @@ spurious results.`);
|
|
36970
36968
|
return (_maybeArray$some = maybeArray === null || maybeArray === void 0 ? void 0 : maybeArray.some((str) => str.includes("\n"))) !== null && _maybeArray$some !== void 0 ? _maybeArray$some : false;
|
36971
36969
|
}
|
36972
36970
|
|
36973
|
-
// ../../node_modules/.pnpm/graphql-tag@2.12.6_graphql@16.
|
36971
|
+
// ../../node_modules/.pnpm/graphql-tag@2.12.6_graphql@16.8.1/node_modules/graphql-tag/lib/index.js
|
36974
36972
|
var docCache = /* @__PURE__ */ new Map();
|
36975
36973
|
var fragmentSourceMap = /* @__PURE__ */ new Map();
|
36976
36974
|
var printFragmentWarnings = true;
|
@@ -38645,7 +38643,7 @@ ${MessageCoinFragmentFragmentDoc}`;
|
|
38645
38643
|
}
|
38646
38644
|
var calculateGasFee = (params) => {
|
38647
38645
|
const { gas, gasPrice, priceFactor, tip } = params;
|
38648
|
-
return gas.mul(gasPrice).div(priceFactor).add(tip);
|
38646
|
+
return gas.mul(gasPrice).div(priceFactor).add(bn(tip));
|
38649
38647
|
};
|
38650
38648
|
|
38651
38649
|
// src/providers/utils/json.ts
|
@@ -38859,10 +38857,10 @@ ${PANIC_DOC_URL}#variant.${status.reason}`;
|
|
38859
38857
|
outputs,
|
38860
38858
|
witnesses
|
38861
38859
|
} = {}) {
|
38862
|
-
this.tip = bn(tip);
|
38863
|
-
this.maturity = maturity
|
38864
|
-
this.witnessLimit = witnessLimit ? bn(witnessLimit) : void 0;
|
38865
|
-
this.maxFee =
|
38860
|
+
this.tip = tip ? bn(tip) : void 0;
|
38861
|
+
this.maturity = maturity && maturity > 0 ? maturity : void 0;
|
38862
|
+
this.witnessLimit = isDefined(witnessLimit) ? bn(witnessLimit) : void 0;
|
38863
|
+
this.maxFee = bn(maxFee);
|
38866
38864
|
this.inputs = inputs ?? [];
|
38867
38865
|
this.outputs = outputs ?? [];
|
38868
38866
|
this.witnesses = witnesses ?? [];
|
@@ -38870,22 +38868,21 @@ ${PANIC_DOC_URL}#variant.${status.reason}`;
|
|
38870
38868
|
static getPolicyMeta(req) {
|
38871
38869
|
let policyTypes = 0;
|
38872
38870
|
const policies = [];
|
38873
|
-
|
38871
|
+
const { tip, witnessLimit, maturity } = req;
|
38872
|
+
if (bn(tip).gt(0)) {
|
38874
38873
|
policyTypes += PolicyType.Tip;
|
38875
|
-
policies.push({ data:
|
38874
|
+
policies.push({ data: bn(tip), type: PolicyType.Tip });
|
38876
38875
|
}
|
38877
|
-
if (
|
38876
|
+
if (isDefined(witnessLimit) && bn(witnessLimit).gte(0)) {
|
38878
38877
|
policyTypes += PolicyType.WitnessLimit;
|
38879
|
-
policies.push({ data:
|
38878
|
+
policies.push({ data: bn(witnessLimit), type: PolicyType.WitnessLimit });
|
38880
38879
|
}
|
38881
|
-
if (
|
38880
|
+
if (maturity && maturity > 0) {
|
38882
38881
|
policyTypes += PolicyType.Maturity;
|
38883
|
-
policies.push({ data:
|
38884
|
-
}
|
38885
|
-
if (req.maxFee) {
|
38886
|
-
policyTypes += PolicyType.MaxFee;
|
38887
|
-
policies.push({ data: req.maxFee, type: PolicyType.MaxFee });
|
38882
|
+
policies.push({ data: maturity, type: PolicyType.Maturity });
|
38888
38883
|
}
|
38884
|
+
policyTypes += PolicyType.MaxFee;
|
38885
|
+
policies.push({ data: req.maxFee, type: PolicyType.MaxFee });
|
38889
38886
|
return {
|
38890
38887
|
policyTypes,
|
38891
38888
|
policies
|