@settlemint/sdk-cli 1.0.4-pr54aafd96 → 1.0.4-pr6d546fe9
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.
- package/dist/cli.js +36 -75
- package/dist/cli.js.map +5 -5
- package/package.json +4 -6
package/dist/cli.js
CHANGED
|
@@ -32,7 +32,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
|
32
32
|
// ../../node_modules/@dotenvx/dotenvx/package.json
|
|
33
33
|
var require_package = __commonJS((exports, module) => {
|
|
34
34
|
module.exports = {
|
|
35
|
-
version: "1.
|
|
35
|
+
version: "1.32.1",
|
|
36
36
|
name: "@dotenvx/dotenvx",
|
|
37
37
|
description: "a better dotenv–from the creator of `dotenv`",
|
|
38
38
|
author: "@motdotla",
|
|
@@ -52,16 +52,6 @@ var require_package = __commonJS((exports, module) => {
|
|
|
52
52
|
],
|
|
53
53
|
main: "src/lib/main.js",
|
|
54
54
|
types: "src/lib/main.d.ts",
|
|
55
|
-
exports: {
|
|
56
|
-
".": {
|
|
57
|
-
types: "./src/lib/main.d.ts",
|
|
58
|
-
require: "./src/lib/main.js",
|
|
59
|
-
default: "./src/lib/main.js"
|
|
60
|
-
},
|
|
61
|
-
"./config": "./src/lib/config.js",
|
|
62
|
-
"./config.js": "./src/lib/config.js",
|
|
63
|
-
"./package.json": "./package.json"
|
|
64
|
-
},
|
|
65
55
|
bin: {
|
|
66
56
|
dotenvx: "./src/cli/dotenvx.js",
|
|
67
57
|
"git-dotenvx": "./src/cli/dotenvx.js"
|
|
@@ -209465,7 +209455,7 @@ ${Bt.cyan(Yt)}
|
|
|
209465
209455
|
code: "ENOENT"
|
|
209466
209456
|
}), getPathInfo = (e9, t7) => {
|
|
209467
209457
|
var r6 = t7.colon || or;
|
|
209468
|
-
var i6 = e9.match(/\//) || nr && e9.match(/\\/) ? [""] : [...nr ? [process.cwd()] : [], ...(t7.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
209458
|
+
var i6 = e9.match(/\//) || nr && e9.match(/\\/) ? [""] : [...nr ? [process.cwd()] : [], ...(t7.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.9rq66Gv7W8:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(r6)];
|
|
209469
209459
|
var n6 = nr ? t7.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
209470
209460
|
var a5 = nr ? n6.split(r6) : [""];
|
|
209471
209461
|
if (nr) {
|
|
@@ -212602,7 +212592,7 @@ ${whileRunning(e9)}`;
|
|
|
212602
212592
|
};
|
|
212603
212593
|
ni = Object.assign(async function _main() {
|
|
212604
212594
|
var e9 = new Cli({
|
|
212605
|
-
binaryVersion: "1.0.4-
|
|
212595
|
+
binaryVersion: "1.0.4-pr6d546fe9",
|
|
212606
212596
|
binaryLabel: "gql.tada CLI",
|
|
212607
212597
|
binaryName: "gql.tada"
|
|
212608
212598
|
});
|
|
@@ -220192,7 +220182,7 @@ var require_lib4 = __commonJS((exports, module) => {
|
|
|
220192
220182
|
var rRel = new RegExp(`^\\.${rSlash.source}`);
|
|
220193
220183
|
var getNotFoundError2 = (cmd2) => Object.assign(new Error(`not found: ${cmd2}`), { code: "ENOENT" });
|
|
220194
220184
|
var getPathInfo2 = (cmd2, {
|
|
220195
|
-
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
220185
|
+
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.9rq66Gv7W8:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
|
|
220196
220186
|
pathExt: optPathExt = process.env.PATHEXT,
|
|
220197
220187
|
delimiter: optDelimiter = delimiter
|
|
220198
220188
|
}) => {
|
|
@@ -220396,7 +220386,7 @@ var require_lib5 = __commonJS((exports, module) => {
|
|
|
220396
220386
|
let pathToInitial;
|
|
220397
220387
|
try {
|
|
220398
220388
|
pathToInitial = which.sync(initialCmd, {
|
|
220399
|
-
path: options.env && findInObject(options.env, "PATH") || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
220389
|
+
path: options.env && findInObject(options.env, "PATH") || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.9rq66Gv7W8:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
|
|
220400
220390
|
pathext: options.env && findInObject(options.env, "PATHEXT") || process.env.PATHEXT
|
|
220401
220391
|
}).toLowerCase();
|
|
220402
220392
|
} catch (err) {
|
|
@@ -221113,7 +221103,7 @@ var require_lib6 = __commonJS((exports, module) => {
|
|
|
221113
221103
|
var rRel = new RegExp(`^\\.${rSlash.source}`);
|
|
221114
221104
|
var getNotFoundError2 = (cmd2) => Object.assign(new Error(`not found: ${cmd2}`), { code: "ENOENT" });
|
|
221115
221105
|
var getPathInfo2 = (cmd2, {
|
|
221116
|
-
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
221106
|
+
path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.9rq66Gv7W8:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
|
|
221117
221107
|
pathExt: optPathExt = process.env.PATHEXT,
|
|
221118
221108
|
delimiter: optDelimiter = delimiter
|
|
221119
221109
|
}) => {
|
|
@@ -223867,7 +223857,6 @@ var require_spdx_license_ids = __commonJS((exports, module) => {
|
|
|
223867
223857
|
"Bitstream-Vera",
|
|
223868
223858
|
"BlueOak-1.0.0",
|
|
223869
223859
|
"Boehm-GC",
|
|
223870
|
-
"Boehm-GC-without-fee",
|
|
223871
223860
|
"Borceux",
|
|
223872
223861
|
"Brian-Gladman-2-Clause",
|
|
223873
223862
|
"Brian-Gladman-3-Clause",
|
|
@@ -223927,8 +223916,6 @@ var require_spdx_license_ids = __commonJS((exports, module) => {
|
|
|
223927
223916
|
"CC-BY-SA-3.0-IGO",
|
|
223928
223917
|
"CC-BY-SA-4.0",
|
|
223929
223918
|
"CC-PDDC",
|
|
223930
|
-
"CC-PDM-1.0",
|
|
223931
|
-
"CC-SA-1.0",
|
|
223932
223919
|
"CC0-1.0",
|
|
223933
223920
|
"CDDL-1.0",
|
|
223934
223921
|
"CDDL-1.1",
|
|
@@ -223979,7 +223966,6 @@ var require_spdx_license_ids = __commonJS((exports, module) => {
|
|
|
223979
223966
|
"DRL-1.1",
|
|
223980
223967
|
"DSDP",
|
|
223981
223968
|
"DocBook-Schema",
|
|
223982
|
-
"DocBook-Stylesheet",
|
|
223983
223969
|
"DocBook-XML",
|
|
223984
223970
|
"Dotseqn",
|
|
223985
223971
|
"ECL-1.0",
|
|
@@ -224087,7 +224073,6 @@ var require_spdx_license_ids = __commonJS((exports, module) => {
|
|
|
224087
224073
|
"Imlib2",
|
|
224088
224074
|
"Info-ZIP",
|
|
224089
224075
|
"Inner-Net-2.0",
|
|
224090
|
-
"InnoSetup",
|
|
224091
224076
|
"Intel",
|
|
224092
224077
|
"Intel-ACPI",
|
|
224093
224078
|
"Interbase-1.0",
|
|
@@ -224132,11 +224117,9 @@ var require_spdx_license_ids = __commonJS((exports, module) => {
|
|
|
224132
224117
|
"Linux-man-pages-copyleft-2-para",
|
|
224133
224118
|
"Linux-man-pages-copyleft-var",
|
|
224134
224119
|
"Lucida-Bitmap-Fonts",
|
|
224135
|
-
"MIPS",
|
|
224136
224120
|
"MIT",
|
|
224137
224121
|
"MIT-0",
|
|
224138
224122
|
"MIT-CMU",
|
|
224139
|
-
"MIT-Click",
|
|
224140
224123
|
"MIT-Festival",
|
|
224141
224124
|
"MIT-Khronos-old",
|
|
224142
224125
|
"MIT-Modern-Variant",
|
|
@@ -224287,7 +224270,6 @@ var require_spdx_license_ids = __commonJS((exports, module) => {
|
|
|
224287
224270
|
"SISSL",
|
|
224288
224271
|
"SISSL-1.2",
|
|
224289
224272
|
"SL",
|
|
224290
|
-
"SMAIL-GPL",
|
|
224291
224273
|
"SMLNJ",
|
|
224292
224274
|
"SMPPL",
|
|
224293
224275
|
"SNIA",
|
|
@@ -224301,7 +224283,6 @@ var require_spdx_license_ids = __commonJS((exports, module) => {
|
|
|
224301
224283
|
"SchemeReport",
|
|
224302
224284
|
"Sendmail",
|
|
224303
224285
|
"Sendmail-8.23",
|
|
224304
|
-
"Sendmail-Open-Source-1.1",
|
|
224305
224286
|
"SimPL-2.0",
|
|
224306
224287
|
"Sleepycat",
|
|
224307
224288
|
"Soundex",
|
|
@@ -224327,8 +224308,6 @@ var require_spdx_license_ids = __commonJS((exports, module) => {
|
|
|
224327
224308
|
"TU-Berlin-1.0",
|
|
224328
224309
|
"TU-Berlin-2.0",
|
|
224329
224310
|
"TermReadKey",
|
|
224330
|
-
"ThirdEye",
|
|
224331
|
-
"TrustedQSL",
|
|
224332
224311
|
"UCAR",
|
|
224333
224312
|
"UCL-1.0",
|
|
224334
224313
|
"UMich-Merit",
|
|
@@ -224372,7 +224351,6 @@ var require_spdx_license_ids = __commonJS((exports, module) => {
|
|
|
224372
224351
|
"Zimbra-1.4",
|
|
224373
224352
|
"Zlib",
|
|
224374
224353
|
"any-OSI",
|
|
224375
|
-
"any-OSI-perl-modules",
|
|
224376
224354
|
"bcrypt-Solar-Designer",
|
|
224377
224355
|
"blessing",
|
|
224378
224356
|
"bzip2-1.0.6",
|
|
@@ -224389,7 +224367,6 @@ var require_spdx_license_ids = __commonJS((exports, module) => {
|
|
|
224389
224367
|
"etalab-2.0",
|
|
224390
224368
|
"fwlw",
|
|
224391
224369
|
"gSOAP-1.3b",
|
|
224392
|
-
"generic-xts",
|
|
224393
224370
|
"gnuplot",
|
|
224394
224371
|
"gtkbook",
|
|
224395
224372
|
"hdparm",
|
|
@@ -224418,7 +224395,6 @@ var require_spdx_license_ids = __commonJS((exports, module) => {
|
|
|
224418
224395
|
"threeparttable",
|
|
224419
224396
|
"ulem",
|
|
224420
224397
|
"w3m",
|
|
224421
|
-
"wwl",
|
|
224422
224398
|
"xinetd",
|
|
224423
224399
|
"xkeyboard-config-Zinoviev",
|
|
224424
224400
|
"xlock",
|
|
@@ -234988,7 +234964,7 @@ var require_which2 = __commonJS((exports, module) => {
|
|
|
234988
234964
|
const colon = opt2.colon || COLON;
|
|
234989
234965
|
const pathEnv = cmd2.match(/\//) || isWindows2 && cmd2.match(/\\/) ? [""] : [
|
|
234990
234966
|
...isWindows2 ? [process.cwd()] : [],
|
|
234991
|
-
...(opt2.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
234967
|
+
...(opt2.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.9rq66Gv7W8:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(colon)
|
|
234992
234968
|
];
|
|
234993
234969
|
const pathExtExe = isWindows2 ? opt2.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
234994
234970
|
const pathExt = isWindows2 ? pathExtExe.split(colon) : [""];
|
|
@@ -267538,7 +267514,7 @@ ${error.stack}`));
|
|
|
267538
267514
|
var package_default = {
|
|
267539
267515
|
name: "@settlemint/sdk-cli",
|
|
267540
267516
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
|
267541
|
-
version: "1.0.4-
|
|
267517
|
+
version: "1.0.4-pr6d546fe9",
|
|
267542
267518
|
type: "module",
|
|
267543
267519
|
private: false,
|
|
267544
267520
|
license: "FSL-1.1-MIT",
|
|
@@ -267578,12 +267554,10 @@ var package_default = {
|
|
|
267578
267554
|
prepack: "cp ../../LICENSE ."
|
|
267579
267555
|
},
|
|
267580
267556
|
dependencies: {
|
|
267581
|
-
hardhat: "2.22.18"
|
|
267582
|
-
tinyexec: "0.3.2"
|
|
267557
|
+
hardhat: "2.22.18"
|
|
267583
267558
|
},
|
|
267584
267559
|
devDependencies: {
|
|
267585
267560
|
"@types/semver": "7.5.8",
|
|
267586
|
-
"@types/node": "22.10.6",
|
|
267587
267561
|
"is-in-ci": "1.0.0",
|
|
267588
267562
|
semver: "7.6.3",
|
|
267589
267563
|
slugify: "1.6.6",
|
|
@@ -267593,8 +267567,8 @@ var package_default = {
|
|
|
267593
267567
|
"@inquirer/input": "4.1.3",
|
|
267594
267568
|
"@inquirer/password": "4.0.6",
|
|
267595
267569
|
"@inquirer/select": "4.0.6",
|
|
267596
|
-
"@settlemint/sdk-js": "1.0.4-
|
|
267597
|
-
"@settlemint/sdk-utils": "1.0.4-
|
|
267570
|
+
"@settlemint/sdk-js": "1.0.4-pr6d546fe9",
|
|
267571
|
+
"@settlemint/sdk-utils": "1.0.4-pr6d546fe9",
|
|
267598
267572
|
"get-tsconfig": "4.8.1",
|
|
267599
267573
|
giget: "1.2.3"
|
|
267600
267574
|
},
|
|
@@ -268283,16 +268257,15 @@ async function testGqlEndpoint({
|
|
|
268283
268257
|
if (!gqlEndpoint) {
|
|
268284
268258
|
return false;
|
|
268285
268259
|
}
|
|
268286
|
-
|
|
268287
|
-
|
|
268288
|
-
|
|
268289
|
-
|
|
268290
|
-
|
|
268291
|
-
|
|
268292
|
-
|
|
268293
|
-
|
|
268294
|
-
|
|
268295
|
-
query: `
|
|
268260
|
+
await graphqlFetchWithRetry(gqlEndpoint, {
|
|
268261
|
+
method: "POST",
|
|
268262
|
+
headers: {
|
|
268263
|
+
"x-auth-token": accessToken,
|
|
268264
|
+
...isHasura ? { "x-hasura-admin-secret": hasuraAdminSecret ?? "" } : {},
|
|
268265
|
+
"Content-Type": "application/json"
|
|
268266
|
+
},
|
|
268267
|
+
body: JSON.stringify({
|
|
268268
|
+
query: `
|
|
268296
268269
|
query {
|
|
268297
268270
|
__schema {
|
|
268298
268271
|
types {
|
|
@@ -268301,14 +268274,9 @@ async function testGqlEndpoint({
|
|
|
268301
268274
|
}
|
|
268302
268275
|
}
|
|
268303
268276
|
`
|
|
268304
|
-
|
|
268305
|
-
|
|
268306
|
-
|
|
268307
|
-
} catch (err) {
|
|
268308
|
-
const error5 = err;
|
|
268309
|
-
note(`GraphQL endpoint '${gqlEndpoint}' is not reachable: ${error5.message}`, "warn");
|
|
268310
|
-
return false;
|
|
268311
|
-
}
|
|
268277
|
+
})
|
|
268278
|
+
});
|
|
268279
|
+
return true;
|
|
268312
268280
|
}
|
|
268313
268281
|
|
|
268314
268282
|
// ../../node_modules/get-tsconfig/dist/index.mjs
|
|
@@ -269198,7 +269166,6 @@ async function codegenTsconfig(env2, thegraphSubgraphNames) {
|
|
|
269198
269166
|
prefer: "application"
|
|
269199
269167
|
});
|
|
269200
269168
|
if (!accessToken) {
|
|
269201
|
-
note("No access token found, skipping codegen for hasura, portal, thegraph and blockscout", "warn");
|
|
269202
269169
|
return {
|
|
269203
269170
|
hasura: false,
|
|
269204
269171
|
portal: false,
|
|
@@ -270342,16 +270309,14 @@ async function codegenBlockscout(env2) {
|
|
|
270342
270309
|
if (!accessToken) {
|
|
270343
270310
|
return;
|
|
270344
270311
|
}
|
|
270345
|
-
const
|
|
270346
|
-
|
|
270347
|
-
|
|
270348
|
-
|
|
270349
|
-
|
|
270350
|
-
|
|
270351
|
-
|
|
270352
|
-
|
|
270353
|
-
body: JSON.stringify({
|
|
270354
|
-
query: `
|
|
270312
|
+
const data = await graphqlFetchWithRetry(endpoint, {
|
|
270313
|
+
method: "POST",
|
|
270314
|
+
headers: {
|
|
270315
|
+
"x-auth-token": accessToken,
|
|
270316
|
+
"Content-Type": "application/json"
|
|
270317
|
+
},
|
|
270318
|
+
body: JSON.stringify({
|
|
270319
|
+
query: `
|
|
270355
270320
|
query IntrospectionQuery {
|
|
270356
270321
|
__schema {
|
|
270357
270322
|
queryType { name }
|
|
@@ -270451,14 +270416,10 @@ async function codegenBlockscout(env2) {
|
|
|
270451
270416
|
}
|
|
270452
270417
|
}
|
|
270453
270418
|
`
|
|
270454
|
-
|
|
270455
|
-
|
|
270456
|
-
|
|
270457
|
-
|
|
270458
|
-
const error5 = err;
|
|
270459
|
-
note(`GraphQL endpoint '${endpoint}' is not reachable: ${error5.message}`, "warn");
|
|
270460
|
-
return;
|
|
270461
|
-
}
|
|
270419
|
+
})
|
|
270420
|
+
});
|
|
270421
|
+
const introspectionJsonPath = resolve5(process.cwd(), "__blockscout-introspection__.json");
|
|
270422
|
+
await writeFile6(introspectionJsonPath, JSON.stringify(data));
|
|
270462
270423
|
try {
|
|
270463
270424
|
await generateSchema({
|
|
270464
270425
|
input: basename(introspectionJsonPath),
|
|
@@ -277249,4 +277210,4 @@ function sdkCliCommand(exitOverride = undefined) {
|
|
|
277249
277210
|
ascii();
|
|
277250
277211
|
sdkCliCommand();
|
|
277251
277212
|
|
|
277252
|
-
//# debugId=
|
|
277213
|
+
//# debugId=E2F548A387CE241B64756E2164756E21
|