@settlemint/dalp-cli 3.1.18-main.33839196085 → 3.1.18-main.33839391088
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 +8 -5
- package/dist/dalp.js.map +4 -4
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -49275,6 +49275,7 @@ class DalpApiError extends Error {
|
|
|
49275
49275
|
why;
|
|
49276
49276
|
fix;
|
|
49277
49277
|
retryAfterSeconds;
|
|
49278
|
+
data;
|
|
49278
49279
|
constructor(options) {
|
|
49279
49280
|
super(options.message, { cause: options.cause });
|
|
49280
49281
|
this.name = "DalpApiError";
|
|
@@ -49286,6 +49287,7 @@ class DalpApiError extends Error {
|
|
|
49286
49287
|
this.why = options.why;
|
|
49287
49288
|
this.fix = options.fix;
|
|
49288
49289
|
this.retryAfterSeconds = options.retryAfterSeconds;
|
|
49290
|
+
this.data = options.data;
|
|
49289
49291
|
}
|
|
49290
49292
|
static make(options) {
|
|
49291
49293
|
return new DalpApiError(options);
|
|
@@ -49337,7 +49339,8 @@ var makeDalpApiError = (error61) => {
|
|
|
49337
49339
|
why: sdkError.why,
|
|
49338
49340
|
fix: sdkError.fix,
|
|
49339
49341
|
status: sdkError.status,
|
|
49340
|
-
retryAfterSeconds: sdkError.retryAfterSeconds
|
|
49342
|
+
retryAfterSeconds: sdkError.retryAfterSeconds,
|
|
49343
|
+
data: sdkError.details
|
|
49341
49344
|
});
|
|
49342
49345
|
};
|
|
49343
49346
|
|
|
@@ -49951,7 +49954,7 @@ function sdkErrorFromEnvelope(payload, response) {
|
|
|
49951
49954
|
message: readString(envelope, "message") ?? `DALP API responded ${String(response.status)}`,
|
|
49952
49955
|
why: readString(data2, "why") ?? `The platform answered ${String(response.status)}.`,
|
|
49953
49956
|
fix: readString(data2, "fix") ?? "Inspect the response body and the request id before retrying.",
|
|
49954
|
-
...
|
|
49957
|
+
...Object.keys(data2).length === 0 ? {} : { details: data2 }
|
|
49955
49958
|
});
|
|
49956
49959
|
}
|
|
49957
49960
|
async function readResponse(response) {
|
|
@@ -50259,7 +50262,7 @@ var WEBHOOK_MANIFEST_VERSION = Webhook.MANIFEST_VERSION;
|
|
|
50259
50262
|
// ../sdk/package.json
|
|
50260
50263
|
var package_default = {
|
|
50261
50264
|
name: "@settlemint/dalp-sdk",
|
|
50262
|
-
version: "3.1.18-main.
|
|
50265
|
+
version: "3.1.18-main.33839391088",
|
|
50263
50266
|
private: false,
|
|
50264
50267
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
50265
50268
|
homepage: "https://settlemint.com",
|
|
@@ -117071,7 +117074,7 @@ async function runCommand(context, operation, errorContext = UNKNOWN_COMMAND_ERR
|
|
|
117071
117074
|
// package.json
|
|
117072
117075
|
var package_default2 = {
|
|
117073
117076
|
name: "@settlemint/dalp-cli",
|
|
117074
|
-
version: "3.1.18-main.
|
|
117077
|
+
version: "3.1.18-main.33839391088",
|
|
117075
117078
|
private: false,
|
|
117076
117079
|
description: "CLI for the Digital Asset Lifecycle Platform \u2014 manage tokens, identities, compliance, and more from the command line.",
|
|
117077
117080
|
homepage: "https://settlemint.com",
|
|
@@ -118376,4 +118379,4 @@ if (false) {}
|
|
|
118376
118379
|
// src/bin.ts
|
|
118377
118380
|
await cli.serve();
|
|
118378
118381
|
|
|
118379
|
-
//# debugId=
|
|
118382
|
+
//# debugId=26BF6BCA0F2E3F7064756E2164756E21
|