@settlemint/sdk-cli 0.8.6-pre56b5e59 → 0.8.6-predc2ddfc
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/README.md +28 -13
- package/dist/cli.js +24 -259
- package/dist/cli.js.map +3 -5
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Integrate SettleMint into your application with ease.
|
|
8
8
|
</p>
|
|
9
9
|
</p>
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
<p align="center">
|
|
12
12
|
<a href="https://github.com/settlemint/sdk/actions?query=branch%3Amain"><img src="https://github.com/settlemint/sdk/actions/workflows/build.yml/badge.svg?event=push&branch=main" alt="CI status" /></a>
|
|
13
13
|
<a href="https://fsl.software" rel="nofollow"><img src="https://img.shields.io/npm/l/@settlemint/sdk-cli" alt="License"></a>
|
|
@@ -26,23 +26,38 @@
|
|
|
26
26
|
<br />
|
|
27
27
|
</div>
|
|
28
28
|
|
|
29
|
-
##
|
|
29
|
+
## Table of Contents
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
- [About](#about)
|
|
32
|
+
- [Usage](#usage)
|
|
33
|
+
- [API Reference](#api-reference)
|
|
34
|
+
- [Contributing](#contributing)
|
|
35
|
+
- [License](#license)
|
|
32
36
|
|
|
33
|
-
|
|
34
|
-
# Using npx
|
|
35
|
-
npx @settlemint/sdk-cli@latest create
|
|
37
|
+
## About
|
|
36
38
|
|
|
37
|
-
|
|
38
|
-
bunx @settlemint/sdk-cli@latest create
|
|
39
|
+
The SettleMint CLI provides a command-line interface for interacting with the SettleMint platform. It enables you to manage your blockchain networks, deploy smart contracts, configure your SettleMint infrastructure directly from the terminal.
|
|
39
40
|
|
|
40
|
-
|
|
41
|
-
pnpm dlx @settlemint/sdk-cli@latest create
|
|
42
|
-
```
|
|
41
|
+
## Usage
|
|
43
42
|
|
|
44
|
-
|
|
43
|
+
TODO: define default
|
|
45
44
|
|
|
46
|
-
##
|
|
45
|
+
## API Reference
|
|
47
46
|
|
|
48
47
|
See the [documentation](./docs/settlemint.md) for available commands.
|
|
48
|
+
|
|
49
|
+
## Contributing
|
|
50
|
+
|
|
51
|
+
We welcome contributions to the SettleMint SDK! If you'd like to contribute, please follow these steps:
|
|
52
|
+
|
|
53
|
+
1. Fork the repository
|
|
54
|
+
2. Create a new branch for your feature or bug fix
|
|
55
|
+
3. Make your changes and commit them with a clear commit message
|
|
56
|
+
4. Push your changes to your fork
|
|
57
|
+
5. Create a pull request to the main repository
|
|
58
|
+
|
|
59
|
+
Please ensure that your code follows the existing style and includes appropriate tests and documentation.
|
|
60
|
+
|
|
61
|
+
## License
|
|
62
|
+
|
|
63
|
+
The SettleMint SDK is released under the [FSL Software License](https://fsl.software). See the [LICENSE](LICENSE) file for more details.
|
package/dist/cli.js
CHANGED
|
@@ -9260,7 +9260,7 @@ var require_elliptic = __commonJS((exports) => {
|
|
|
9260
9260
|
};
|
|
9261
9261
|
});
|
|
9262
9262
|
|
|
9263
|
-
// ../../node_modules/@noble/hashes/_assert.js
|
|
9263
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/_assert.js
|
|
9264
9264
|
var require__assert3 = __commonJS((exports) => {
|
|
9265
9265
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9266
9266
|
exports.anumber = anumber;
|
|
@@ -9312,7 +9312,7 @@ var require__assert3 = __commonJS((exports) => {
|
|
|
9312
9312
|
exports.default = assert;
|
|
9313
9313
|
});
|
|
9314
9314
|
|
|
9315
|
-
// ../../node_modules/@noble/hashes/cryptoNode.js
|
|
9315
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/cryptoNode.js
|
|
9316
9316
|
var require_cryptoNode3 = __commonJS((exports) => {
|
|
9317
9317
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9318
9318
|
exports.crypto = undefined;
|
|
@@ -9320,7 +9320,7 @@ var require_cryptoNode3 = __commonJS((exports) => {
|
|
|
9320
9320
|
exports.crypto = nc && typeof nc === "object" && "webcrypto" in nc ? nc.webcrypto : nc && typeof nc === "object" && ("randomBytes" in nc) ? nc : undefined;
|
|
9321
9321
|
});
|
|
9322
9322
|
|
|
9323
|
-
// ../../node_modules/@noble/hashes/utils.js
|
|
9323
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/utils.js
|
|
9324
9324
|
var require_utils6 = __commonJS((exports) => {
|
|
9325
9325
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
9326
9326
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -9488,7 +9488,7 @@ var require_utils6 = __commonJS((exports) => {
|
|
|
9488
9488
|
}
|
|
9489
9489
|
});
|
|
9490
9490
|
|
|
9491
|
-
// ../../node_modules/@noble/hashes/hmac.js
|
|
9491
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/hmac.js
|
|
9492
9492
|
var require_hmac2 = __commonJS((exports) => {
|
|
9493
9493
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9494
9494
|
exports.hmac = exports.HMAC = undefined;
|
|
@@ -9562,7 +9562,7 @@ var require_hmac2 = __commonJS((exports) => {
|
|
|
9562
9562
|
exports.hmac.create = (hash, key) => new HMAC(hash, key);
|
|
9563
9563
|
});
|
|
9564
9564
|
|
|
9565
|
-
// ../../node_modules/@noble/hashes/hkdf.js
|
|
9565
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/hkdf.js
|
|
9566
9566
|
var require_hkdf = __commonJS((exports) => {
|
|
9567
9567
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9568
9568
|
exports.hkdf = undefined;
|
|
@@ -9607,7 +9607,7 @@ var require_hkdf = __commonJS((exports) => {
|
|
|
9607
9607
|
exports.hkdf = hkdf;
|
|
9608
9608
|
});
|
|
9609
9609
|
|
|
9610
|
-
// ../../node_modules/@noble/hashes/_md.js
|
|
9610
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/_md.js
|
|
9611
9611
|
var require__md2 = __commonJS((exports) => {
|
|
9612
9612
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9613
9613
|
exports.HashMD = exports.Maj = exports.Chi = undefined;
|
|
@@ -9719,7 +9719,7 @@ var require__md2 = __commonJS((exports) => {
|
|
|
9719
9719
|
exports.HashMD = HashMD;
|
|
9720
9720
|
});
|
|
9721
9721
|
|
|
9722
|
-
// ../../node_modules/@noble/hashes/sha256.js
|
|
9722
|
+
// ../../node_modules/eciesjs/node_modules/@noble/hashes/sha256.js
|
|
9723
9723
|
var require_sha2562 = __commonJS((exports) => {
|
|
9724
9724
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9725
9725
|
exports.sha224 = exports.sha256 = exports.SHA256 = undefined;
|
|
@@ -11921,7 +11921,7 @@ var require_balanced_match = __commonJS((exports, module) => {
|
|
|
11921
11921
|
}
|
|
11922
11922
|
});
|
|
11923
11923
|
|
|
11924
|
-
// ../../node_modules/
|
|
11924
|
+
// ../../node_modules/brace-expansion/index.js
|
|
11925
11925
|
var require_brace_expansion = __commonJS((exports, module) => {
|
|
11926
11926
|
var balanced = require_balanced_match();
|
|
11927
11927
|
module.exports = expandTop;
|
|
@@ -19645,7 +19645,7 @@ var require_lib4 = __commonJS((exports, module) => {
|
|
|
19645
19645
|
var rRel = new RegExp(`^\\.${rSlash.source}`);
|
|
19646
19646
|
var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
19647
19647
|
var getPathInfo = (cmd, {
|
|
19648
|
-
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.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
19648
|
+
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.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.jSav2X77hr:/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",
|
|
19649
19649
|
pathExt: optPathExt = process.env.PATHEXT,
|
|
19650
19650
|
delimiter: optDelimiter = delimiter
|
|
19651
19651
|
}) => {
|
|
@@ -19849,7 +19849,7 @@ var require_lib5 = __commonJS((exports, module) => {
|
|
|
19849
19849
|
let pathToInitial;
|
|
19850
19850
|
try {
|
|
19851
19851
|
pathToInitial = which.sync(initialCmd, {
|
|
19852
|
-
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.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
19852
|
+
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.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.jSav2X77hr:/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",
|
|
19853
19853
|
pathext: options.env && findInObject(options.env, "PATHEXT") || process.env.PATHEXT
|
|
19854
19854
|
}).toLowerCase();
|
|
19855
19855
|
} catch (err) {
|
|
@@ -20566,7 +20566,7 @@ var require_lib6 = __commonJS((exports, module) => {
|
|
|
20566
20566
|
var rRel = new RegExp(`^\\.${rSlash.source}`);
|
|
20567
20567
|
var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
20568
20568
|
var getPathInfo = (cmd, {
|
|
20569
|
-
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.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
20569
|
+
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.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.jSav2X77hr:/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",
|
|
20570
20570
|
pathExt: optPathExt = process.env.PATHEXT,
|
|
20571
20571
|
delimiter: optDelimiter = delimiter
|
|
20572
20572
|
}) => {
|
|
@@ -222109,7 +222109,7 @@ Could not find "${i7}"`);
|
|
|
222109
222109
|
cwd: t7
|
|
222110
222110
|
});
|
|
222111
222111
|
}(function getPkgManager() {
|
|
222112
|
-
var e10 = "bun/1.1.
|
|
222112
|
+
var e10 = "bun/1.1.42 npm/? node/v22.6.0 linux x64";
|
|
222113
222113
|
if (e10.startsWith("yarn")) {
|
|
222114
222114
|
return "yarn";
|
|
222115
222115
|
}
|
|
@@ -223340,7 +223340,7 @@ ${Bt.cyan(Yt)}
|
|
|
223340
223340
|
code: "ENOENT"
|
|
223341
223341
|
}), getPathInfo = (e9, t7) => {
|
|
223342
223342
|
var r6 = t7.colon || or;
|
|
223343
|
-
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.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
223343
|
+
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.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.jSav2X77hr:/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)];
|
|
223344
223344
|
var n6 = nr ? t7.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
223345
223345
|
var a5 = nr ? n6.split(r6) : [""];
|
|
223346
223346
|
if (nr) {
|
|
@@ -226477,7 +226477,7 @@ ${whileRunning(e9)}`;
|
|
|
226477
226477
|
};
|
|
226478
226478
|
ni = Object.assign(async function _main() {
|
|
226479
226479
|
var e9 = new Cli({
|
|
226480
|
-
binaryVersion: "0.8.6-
|
|
226480
|
+
binaryVersion: "0.8.6-predc2ddfc",
|
|
226481
226481
|
binaryLabel: "gql.tada CLI",
|
|
226482
226482
|
binaryName: "gql.tada"
|
|
226483
226483
|
});
|
|
@@ -228233,7 +228233,7 @@ var init_mjs = __esm(() => {
|
|
|
228233
228233
|
} = signalExitWrap(processOk2(process6) ? new SignalExit2(process6) : new SignalExitFallback2));
|
|
228234
228234
|
});
|
|
228235
228235
|
|
|
228236
|
-
// ../../node_modules
|
|
228236
|
+
// ../../node_modules/ansi-escapes/index.js
|
|
228237
228237
|
var require_ansi_escapes = __commonJS((exports, module) => {
|
|
228238
228238
|
var ansiEscapes = exports;
|
|
228239
228239
|
exports.default = ansiEscapes;
|
|
@@ -228351,242 +228351,6 @@ var require_ansi_escapes = __commonJS((exports, module) => {
|
|
|
228351
228351
|
};
|
|
228352
228352
|
});
|
|
228353
228353
|
|
|
228354
|
-
// ../../node_modules/@inquirer/select/node_modules/ansi-escapes/index.js
|
|
228355
|
-
var require_ansi_escapes2 = __commonJS((exports, module) => {
|
|
228356
|
-
var ansiEscapes2 = exports;
|
|
228357
|
-
exports.default = ansiEscapes2;
|
|
228358
|
-
var ESC = "\x1B[";
|
|
228359
|
-
var OSC = "\x1B]";
|
|
228360
|
-
var BEL = "\x07";
|
|
228361
|
-
var SEP = ";";
|
|
228362
|
-
var isTerminalApp = process.env.TERM_PROGRAM === "Apple_Terminal";
|
|
228363
|
-
ansiEscapes2.cursorTo = (x5, y4) => {
|
|
228364
|
-
if (typeof x5 !== "number") {
|
|
228365
|
-
throw new TypeError("The `x` argument is required");
|
|
228366
|
-
}
|
|
228367
|
-
if (typeof y4 !== "number") {
|
|
228368
|
-
return ESC + (x5 + 1) + "G";
|
|
228369
|
-
}
|
|
228370
|
-
return ESC + (y4 + 1) + ";" + (x5 + 1) + "H";
|
|
228371
|
-
};
|
|
228372
|
-
ansiEscapes2.cursorMove = (x5, y4) => {
|
|
228373
|
-
if (typeof x5 !== "number") {
|
|
228374
|
-
throw new TypeError("The `x` argument is required");
|
|
228375
|
-
}
|
|
228376
|
-
let ret = "";
|
|
228377
|
-
if (x5 < 0) {
|
|
228378
|
-
ret += ESC + -x5 + "D";
|
|
228379
|
-
} else if (x5 > 0) {
|
|
228380
|
-
ret += ESC + x5 + "C";
|
|
228381
|
-
}
|
|
228382
|
-
if (y4 < 0) {
|
|
228383
|
-
ret += ESC + -y4 + "A";
|
|
228384
|
-
} else if (y4 > 0) {
|
|
228385
|
-
ret += ESC + y4 + "B";
|
|
228386
|
-
}
|
|
228387
|
-
return ret;
|
|
228388
|
-
};
|
|
228389
|
-
ansiEscapes2.cursorUp = (count = 1) => ESC + count + "A";
|
|
228390
|
-
ansiEscapes2.cursorDown = (count = 1) => ESC + count + "B";
|
|
228391
|
-
ansiEscapes2.cursorForward = (count = 1) => ESC + count + "C";
|
|
228392
|
-
ansiEscapes2.cursorBackward = (count = 1) => ESC + count + "D";
|
|
228393
|
-
ansiEscapes2.cursorLeft = ESC + "G";
|
|
228394
|
-
ansiEscapes2.cursorSavePosition = isTerminalApp ? "\x1B7" : ESC + "s";
|
|
228395
|
-
ansiEscapes2.cursorRestorePosition = isTerminalApp ? "\x1B8" : ESC + "u";
|
|
228396
|
-
ansiEscapes2.cursorGetPosition = ESC + "6n";
|
|
228397
|
-
ansiEscapes2.cursorNextLine = ESC + "E";
|
|
228398
|
-
ansiEscapes2.cursorPrevLine = ESC + "F";
|
|
228399
|
-
ansiEscapes2.cursorHide = ESC + "?25l";
|
|
228400
|
-
ansiEscapes2.cursorShow = ESC + "?25h";
|
|
228401
|
-
ansiEscapes2.eraseLines = (count) => {
|
|
228402
|
-
let clear = "";
|
|
228403
|
-
for (let i6 = 0;i6 < count; i6++) {
|
|
228404
|
-
clear += ansiEscapes2.eraseLine + (i6 < count - 1 ? ansiEscapes2.cursorUp() : "");
|
|
228405
|
-
}
|
|
228406
|
-
if (count) {
|
|
228407
|
-
clear += ansiEscapes2.cursorLeft;
|
|
228408
|
-
}
|
|
228409
|
-
return clear;
|
|
228410
|
-
};
|
|
228411
|
-
ansiEscapes2.eraseEndLine = ESC + "K";
|
|
228412
|
-
ansiEscapes2.eraseStartLine = ESC + "1K";
|
|
228413
|
-
ansiEscapes2.eraseLine = ESC + "2K";
|
|
228414
|
-
ansiEscapes2.eraseDown = ESC + "J";
|
|
228415
|
-
ansiEscapes2.eraseUp = ESC + "1J";
|
|
228416
|
-
ansiEscapes2.eraseScreen = ESC + "2J";
|
|
228417
|
-
ansiEscapes2.scrollUp = ESC + "S";
|
|
228418
|
-
ansiEscapes2.scrollDown = ESC + "T";
|
|
228419
|
-
ansiEscapes2.clearScreen = "\x1Bc";
|
|
228420
|
-
ansiEscapes2.clearTerminal = process.platform === "win32" ? `${ansiEscapes2.eraseScreen}${ESC}0f` : `${ansiEscapes2.eraseScreen}${ESC}3J${ESC}H`;
|
|
228421
|
-
ansiEscapes2.beep = BEL;
|
|
228422
|
-
ansiEscapes2.link = (text2, url) => {
|
|
228423
|
-
return [
|
|
228424
|
-
OSC,
|
|
228425
|
-
"8",
|
|
228426
|
-
SEP,
|
|
228427
|
-
SEP,
|
|
228428
|
-
url,
|
|
228429
|
-
BEL,
|
|
228430
|
-
text2,
|
|
228431
|
-
OSC,
|
|
228432
|
-
"8",
|
|
228433
|
-
SEP,
|
|
228434
|
-
SEP,
|
|
228435
|
-
BEL
|
|
228436
|
-
].join("");
|
|
228437
|
-
};
|
|
228438
|
-
ansiEscapes2.image = (buffer, options = {}) => {
|
|
228439
|
-
let ret = `${OSC}1337;File=inline=1`;
|
|
228440
|
-
if (options.width) {
|
|
228441
|
-
ret += `;width=${options.width}`;
|
|
228442
|
-
}
|
|
228443
|
-
if (options.height) {
|
|
228444
|
-
ret += `;height=${options.height}`;
|
|
228445
|
-
}
|
|
228446
|
-
if (options.preserveAspectRatio === false) {
|
|
228447
|
-
ret += ";preserveAspectRatio=0";
|
|
228448
|
-
}
|
|
228449
|
-
return ret + ":" + buffer.toString("base64") + BEL;
|
|
228450
|
-
};
|
|
228451
|
-
ansiEscapes2.iTerm = {
|
|
228452
|
-
setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
|
|
228453
|
-
annotation: (message, options = {}) => {
|
|
228454
|
-
let ret = `${OSC}1337;`;
|
|
228455
|
-
const hasX = typeof options.x !== "undefined";
|
|
228456
|
-
const hasY = typeof options.y !== "undefined";
|
|
228457
|
-
if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== "undefined")) {
|
|
228458
|
-
throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");
|
|
228459
|
-
}
|
|
228460
|
-
message = message.replace(/\|/g, "");
|
|
228461
|
-
ret += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=";
|
|
228462
|
-
if (options.length > 0) {
|
|
228463
|
-
ret += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|");
|
|
228464
|
-
} else {
|
|
228465
|
-
ret += message;
|
|
228466
|
-
}
|
|
228467
|
-
return ret + BEL;
|
|
228468
|
-
}
|
|
228469
|
-
};
|
|
228470
|
-
});
|
|
228471
|
-
|
|
228472
|
-
// ../../node_modules/@inquirer/password/node_modules/ansi-escapes/index.js
|
|
228473
|
-
var require_ansi_escapes3 = __commonJS((exports, module) => {
|
|
228474
|
-
var ansiEscapes3 = exports;
|
|
228475
|
-
exports.default = ansiEscapes3;
|
|
228476
|
-
var ESC = "\x1B[";
|
|
228477
|
-
var OSC = "\x1B]";
|
|
228478
|
-
var BEL = "\x07";
|
|
228479
|
-
var SEP = ";";
|
|
228480
|
-
var isTerminalApp = process.env.TERM_PROGRAM === "Apple_Terminal";
|
|
228481
|
-
ansiEscapes3.cursorTo = (x5, y4) => {
|
|
228482
|
-
if (typeof x5 !== "number") {
|
|
228483
|
-
throw new TypeError("The `x` argument is required");
|
|
228484
|
-
}
|
|
228485
|
-
if (typeof y4 !== "number") {
|
|
228486
|
-
return ESC + (x5 + 1) + "G";
|
|
228487
|
-
}
|
|
228488
|
-
return ESC + (y4 + 1) + ";" + (x5 + 1) + "H";
|
|
228489
|
-
};
|
|
228490
|
-
ansiEscapes3.cursorMove = (x5, y4) => {
|
|
228491
|
-
if (typeof x5 !== "number") {
|
|
228492
|
-
throw new TypeError("The `x` argument is required");
|
|
228493
|
-
}
|
|
228494
|
-
let ret = "";
|
|
228495
|
-
if (x5 < 0) {
|
|
228496
|
-
ret += ESC + -x5 + "D";
|
|
228497
|
-
} else if (x5 > 0) {
|
|
228498
|
-
ret += ESC + x5 + "C";
|
|
228499
|
-
}
|
|
228500
|
-
if (y4 < 0) {
|
|
228501
|
-
ret += ESC + -y4 + "A";
|
|
228502
|
-
} else if (y4 > 0) {
|
|
228503
|
-
ret += ESC + y4 + "B";
|
|
228504
|
-
}
|
|
228505
|
-
return ret;
|
|
228506
|
-
};
|
|
228507
|
-
ansiEscapes3.cursorUp = (count = 1) => ESC + count + "A";
|
|
228508
|
-
ansiEscapes3.cursorDown = (count = 1) => ESC + count + "B";
|
|
228509
|
-
ansiEscapes3.cursorForward = (count = 1) => ESC + count + "C";
|
|
228510
|
-
ansiEscapes3.cursorBackward = (count = 1) => ESC + count + "D";
|
|
228511
|
-
ansiEscapes3.cursorLeft = ESC + "G";
|
|
228512
|
-
ansiEscapes3.cursorSavePosition = isTerminalApp ? "\x1B7" : ESC + "s";
|
|
228513
|
-
ansiEscapes3.cursorRestorePosition = isTerminalApp ? "\x1B8" : ESC + "u";
|
|
228514
|
-
ansiEscapes3.cursorGetPosition = ESC + "6n";
|
|
228515
|
-
ansiEscapes3.cursorNextLine = ESC + "E";
|
|
228516
|
-
ansiEscapes3.cursorPrevLine = ESC + "F";
|
|
228517
|
-
ansiEscapes3.cursorHide = ESC + "?25l";
|
|
228518
|
-
ansiEscapes3.cursorShow = ESC + "?25h";
|
|
228519
|
-
ansiEscapes3.eraseLines = (count) => {
|
|
228520
|
-
let clear = "";
|
|
228521
|
-
for (let i6 = 0;i6 < count; i6++) {
|
|
228522
|
-
clear += ansiEscapes3.eraseLine + (i6 < count - 1 ? ansiEscapes3.cursorUp() : "");
|
|
228523
|
-
}
|
|
228524
|
-
if (count) {
|
|
228525
|
-
clear += ansiEscapes3.cursorLeft;
|
|
228526
|
-
}
|
|
228527
|
-
return clear;
|
|
228528
|
-
};
|
|
228529
|
-
ansiEscapes3.eraseEndLine = ESC + "K";
|
|
228530
|
-
ansiEscapes3.eraseStartLine = ESC + "1K";
|
|
228531
|
-
ansiEscapes3.eraseLine = ESC + "2K";
|
|
228532
|
-
ansiEscapes3.eraseDown = ESC + "J";
|
|
228533
|
-
ansiEscapes3.eraseUp = ESC + "1J";
|
|
228534
|
-
ansiEscapes3.eraseScreen = ESC + "2J";
|
|
228535
|
-
ansiEscapes3.scrollUp = ESC + "S";
|
|
228536
|
-
ansiEscapes3.scrollDown = ESC + "T";
|
|
228537
|
-
ansiEscapes3.clearScreen = "\x1Bc";
|
|
228538
|
-
ansiEscapes3.clearTerminal = process.platform === "win32" ? `${ansiEscapes3.eraseScreen}${ESC}0f` : `${ansiEscapes3.eraseScreen}${ESC}3J${ESC}H`;
|
|
228539
|
-
ansiEscapes3.beep = BEL;
|
|
228540
|
-
ansiEscapes3.link = (text2, url) => {
|
|
228541
|
-
return [
|
|
228542
|
-
OSC,
|
|
228543
|
-
"8",
|
|
228544
|
-
SEP,
|
|
228545
|
-
SEP,
|
|
228546
|
-
url,
|
|
228547
|
-
BEL,
|
|
228548
|
-
text2,
|
|
228549
|
-
OSC,
|
|
228550
|
-
"8",
|
|
228551
|
-
SEP,
|
|
228552
|
-
SEP,
|
|
228553
|
-
BEL
|
|
228554
|
-
].join("");
|
|
228555
|
-
};
|
|
228556
|
-
ansiEscapes3.image = (buffer, options = {}) => {
|
|
228557
|
-
let ret = `${OSC}1337;File=inline=1`;
|
|
228558
|
-
if (options.width) {
|
|
228559
|
-
ret += `;width=${options.width}`;
|
|
228560
|
-
}
|
|
228561
|
-
if (options.height) {
|
|
228562
|
-
ret += `;height=${options.height}`;
|
|
228563
|
-
}
|
|
228564
|
-
if (options.preserveAspectRatio === false) {
|
|
228565
|
-
ret += ";preserveAspectRatio=0";
|
|
228566
|
-
}
|
|
228567
|
-
return ret + ":" + buffer.toString("base64") + BEL;
|
|
228568
|
-
};
|
|
228569
|
-
ansiEscapes3.iTerm = {
|
|
228570
|
-
setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
|
|
228571
|
-
annotation: (message, options = {}) => {
|
|
228572
|
-
let ret = `${OSC}1337;`;
|
|
228573
|
-
const hasX = typeof options.x !== "undefined";
|
|
228574
|
-
const hasY = typeof options.y !== "undefined";
|
|
228575
|
-
if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== "undefined")) {
|
|
228576
|
-
throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");
|
|
228577
|
-
}
|
|
228578
|
-
message = message.replace(/\|/g, "");
|
|
228579
|
-
ret += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=";
|
|
228580
|
-
if (options.length > 0) {
|
|
228581
|
-
ret += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|");
|
|
228582
|
-
} else {
|
|
228583
|
-
ret += message;
|
|
228584
|
-
}
|
|
228585
|
-
return ret + BEL;
|
|
228586
|
-
}
|
|
228587
|
-
};
|
|
228588
|
-
});
|
|
228589
|
-
|
|
228590
228354
|
// ../../node_modules/tar/lib/high-level-opt.js
|
|
228591
228355
|
var require_high_level_opt = __commonJS((exports, module) => {
|
|
228592
228356
|
var argmap = new Map([
|
|
@@ -235213,7 +234977,7 @@ var require_which2 = __commonJS((exports, module) => {
|
|
|
235213
234977
|
const colon = opt2.colon || COLON;
|
|
235214
234978
|
const pathEnv = cmd2.match(/\//) || isWindows2 && cmd2.match(/\\/) ? [""] : [
|
|
235215
234979
|
...isWindows2 ? [process.cwd()] : [],
|
|
235216
|
-
...(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.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.
|
|
234980
|
+
...(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.12.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.jSav2X77hr:/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)
|
|
235217
234981
|
];
|
|
235218
234982
|
const pathExtExe = isWindows2 ? opt2.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
235219
234983
|
const pathExt = isWindows2 ? pathExtExe.split(colon) : [""];
|
|
@@ -257033,7 +256797,7 @@ ${error.stack}`));
|
|
|
257033
256797
|
var package_default = {
|
|
257034
256798
|
name: "@settlemint/sdk-cli",
|
|
257035
256799
|
description: "SettleMint SDK, integrate SettleMint into your application with ease.",
|
|
257036
|
-
version: "0.8.6-
|
|
256800
|
+
version: "0.8.6-predc2ddfc",
|
|
257037
256801
|
type: "module",
|
|
257038
256802
|
private: false,
|
|
257039
256803
|
license: "FSL-1.1-MIT",
|
|
@@ -257069,7 +256833,8 @@ var package_default = {
|
|
|
257069
256833
|
"test:coverage": "bun test --coverage",
|
|
257070
256834
|
typecheck: "tsc --noEmit",
|
|
257071
256835
|
"publish-npm": "bun publish --tag ${TAG} --access public || exit 0",
|
|
257072
|
-
docs: "bun scripts/create-docs.ts"
|
|
256836
|
+
docs: "bun scripts/create-docs.ts",
|
|
256837
|
+
prepack: "cp ../../LICENSE ."
|
|
257073
256838
|
},
|
|
257074
256839
|
dependencies: {
|
|
257075
256840
|
hardhat: "2.22.17"
|
|
@@ -257085,8 +256850,8 @@ var package_default = {
|
|
|
257085
256850
|
"@inquirer/input": "4.1.1",
|
|
257086
256851
|
"@inquirer/password": "4.0.4",
|
|
257087
256852
|
"@inquirer/select": "4.0.4",
|
|
257088
|
-
"@settlemint/sdk-js": "0.8.6-
|
|
257089
|
-
"@settlemint/sdk-utils": "0.8.6-
|
|
256853
|
+
"@settlemint/sdk-js": "0.8.6-predc2ddfc",
|
|
256854
|
+
"@settlemint/sdk-utils": "0.8.6-predc2ddfc",
|
|
257090
256855
|
"get-tsconfig": "4.8.1",
|
|
257091
256856
|
giget: "1.2.3"
|
|
257092
256857
|
},
|
|
@@ -270005,7 +269770,7 @@ class Separator {
|
|
|
270005
269770
|
}
|
|
270006
269771
|
// ../../node_modules/@inquirer/select/dist/esm/index.js
|
|
270007
269772
|
var import_yoctocolors_cjs3 = __toESM(require_yoctocolors_cjs(), 1);
|
|
270008
|
-
var import_ansi_escapes2 = __toESM(
|
|
269773
|
+
var import_ansi_escapes2 = __toESM(require_ansi_escapes(), 1);
|
|
270009
269774
|
var selectTheme = {
|
|
270010
269775
|
icon: { cursor: esm_default.pointer },
|
|
270011
269776
|
style: {
|
|
@@ -272891,7 +272656,7 @@ var esm_default4 = createPrompt((config4, done) => {
|
|
|
272891
272656
|
});
|
|
272892
272657
|
|
|
272893
272658
|
// ../../node_modules/@inquirer/password/dist/esm/index.js
|
|
272894
|
-
var import_ansi_escapes3 = __toESM(
|
|
272659
|
+
var import_ansi_escapes3 = __toESM(require_ansi_escapes(), 1);
|
|
272895
272660
|
var esm_default5 = createPrompt((config4, done) => {
|
|
272896
272661
|
const { validate: validate4 = () => true } = config4;
|
|
272897
272662
|
const theme = makeTheme(config4.theme);
|
|
@@ -276945,4 +276710,4 @@ function sdkCliCommand(exitOverride = undefined) {
|
|
|
276945
276710
|
ascii();
|
|
276946
276711
|
sdkCliCommand();
|
|
276947
276712
|
|
|
276948
|
-
//# debugId=
|
|
276713
|
+
//# debugId=47B5BE7D9F3D6AAD64756E2164756E21
|