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