@settlemint/dalp-cli 2.1.7-main.25334048521 → 2.1.7-main.25337927328
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/dalp.js +5 -5
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -77820,7 +77820,7 @@ function normalizeDalpBaseUrl(url3) {
|
|
|
77820
77820
|
}
|
|
77821
77821
|
var package_default = {
|
|
77822
77822
|
name: "@settlemint/dalp-sdk",
|
|
77823
|
-
version: "2.1.7-main.
|
|
77823
|
+
version: "2.1.7-main.25337927328",
|
|
77824
77824
|
private: false,
|
|
77825
77825
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
77826
77826
|
homepage: "https://settlemint.com",
|
|
@@ -78371,7 +78371,7 @@ function trimConfigValue(name, value3) {
|
|
|
78371
78371
|
// package.json
|
|
78372
78372
|
var package_default2 = {
|
|
78373
78373
|
name: "@settlemint/dalp-cli",
|
|
78374
|
-
version: "2.1.7-main.
|
|
78374
|
+
version: "2.1.7-main.25337927328",
|
|
78375
78375
|
private: false,
|
|
78376
78376
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
78377
78377
|
homepage: "https://settlemint.com",
|
|
@@ -79602,6 +79602,8 @@ kycCommand.command("action-request-fulfill", {
|
|
|
79602
79602
|
});
|
|
79603
79603
|
|
|
79604
79604
|
// src/commands/login.ts
|
|
79605
|
+
import { execFile as execFile2 } from "node:child_process";
|
|
79606
|
+
import { hostname as hostname3 } from "node:os";
|
|
79605
79607
|
var deviceCodeSchema = exports_external.object({
|
|
79606
79608
|
device_code: exports_external.string(),
|
|
79607
79609
|
user_code: exports_external.string(),
|
|
@@ -79731,7 +79733,6 @@ Open this URL in your browser:
|
|
|
79731
79733
|
throw new Error("HTTPS required. Use http://localhost for local development only.");
|
|
79732
79734
|
}
|
|
79733
79735
|
const safeUri = parsedUrl.href;
|
|
79734
|
-
const { execFile: execFile2 } = await import("node:child_process");
|
|
79735
79736
|
let openCmd;
|
|
79736
79737
|
let openArgs;
|
|
79737
79738
|
if (process.platform === "darwin") {
|
|
@@ -79760,7 +79761,6 @@ Open this URL in your browser:
|
|
|
79760
79761
|
});
|
|
79761
79762
|
}
|
|
79762
79763
|
const session = sessionResponseSchema.parse(await sessionResponse.json());
|
|
79763
|
-
const hostname3 = await import("node:os").then((os5) => os5.hostname());
|
|
79764
79764
|
const apiKeyResponse = await fetch(`${apiUrl}/api/auth/api-key/create`, {
|
|
79765
79765
|
method: "POST",
|
|
79766
79766
|
headers: {
|
|
@@ -79769,7 +79769,7 @@ Open this URL in your browser:
|
|
|
79769
79769
|
Cookie: sessionCookie
|
|
79770
79770
|
},
|
|
79771
79771
|
body: JSON.stringify({
|
|
79772
|
-
name: `dalp-cli (${hostname3})`,
|
|
79772
|
+
name: `dalp-cli (${hostname3()})`,
|
|
79773
79773
|
metadata: {
|
|
79774
79774
|
...session.session.activeOrganizationId ? { organizationId: session.session.activeOrganizationId } : {},
|
|
79775
79775
|
scope: "read-write"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-cli",
|
|
3
|
-
"version": "2.1.7-main.
|
|
3
|
+
"version": "2.1.7-main.25337927328",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
6
6
|
"homepage": "https://settlemint.com",
|