@settlemint/sdk-cli 2.3.13-pr3f17b352 → 2.3.13
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 +7 -7
- package/dist/cli.js.map +4 -4
- package/package.json +3 -3
package/dist/cli.js
CHANGED
@@ -263764,7 +263764,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
263764
263764
|
var package_default = {
|
263765
263765
|
name: "@settlemint/sdk-cli",
|
263766
263766
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
263767
|
-
version: "2.3.13
|
263767
|
+
version: "2.3.13",
|
263768
263768
|
type: "module",
|
263769
263769
|
private: false,
|
263770
263770
|
license: "FSL-1.1-MIT",
|
@@ -263813,8 +263813,8 @@ var package_default = {
|
|
263813
263813
|
"@inquirer/input": "4.1.12",
|
263814
263814
|
"@inquirer/password": "4.0.15",
|
263815
263815
|
"@inquirer/select": "4.2.3",
|
263816
|
-
"@settlemint/sdk-js": "2.3.13
|
263817
|
-
"@settlemint/sdk-utils": "2.3.13
|
263816
|
+
"@settlemint/sdk-js": "2.3.13",
|
263817
|
+
"@settlemint/sdk-utils": "2.3.13",
|
263818
263818
|
"@types/node": "24.0.0",
|
263819
263819
|
"@types/semver": "7.7.0",
|
263820
263820
|
"@types/which": "3.0.4",
|
@@ -289281,11 +289281,11 @@ function getPincodeVerificationChallengeResponse({ verificationChallenge, pincod
|
|
289281
289281
|
}
|
289282
289282
|
function createSettleMintClient(options) {
|
289283
289283
|
ensureServer();
|
289284
|
-
if (options.instance === STANDALONE_INSTANCE2
|
289284
|
+
if (options.instance === STANDALONE_INSTANCE2)
|
289285
289285
|
if (options.anonymous)
|
289286
289286
|
options.instance = "https://console.settlemint.com";
|
289287
289287
|
else
|
289288
|
-
throw new Error("Standalone
|
289288
|
+
throw new Error("Standalone instances cannot connect to the SettleMint platform");
|
289289
289289
|
const validatedOptions = options.anonymous ? validate2(exports_external.object({
|
289290
289290
|
...ClientOptionsSchema.shape,
|
289291
289291
|
accessToken: exports_external.literal("")
|
@@ -301366,7 +301366,7 @@ async function validateSdkVersionFromCommand(command, interval = 5 * 60 * 1000)
|
|
301366
301366
|
}
|
301367
301367
|
await setLastSdkVersionCheck(new Date(now).toJSON());
|
301368
301368
|
const instance = await getInstanceFromCommand(command);
|
301369
|
-
if (instance !== STANDALONE_INSTANCE2
|
301369
|
+
if (instance !== STANDALONE_INSTANCE2) {
|
301370
301370
|
await validateSdkVersion(instance);
|
301371
301371
|
}
|
301372
301372
|
}
|
@@ -329871,4 +329871,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
329871
329871
|
// src/cli.ts
|
329872
329872
|
sdkCliCommand();
|
329873
329873
|
|
329874
|
-
//# debugId=
|
329874
|
+
//# debugId=EA5707B49750639B64756E2164756E21
|