@settlemint/dalp-cli 3.1.4-main.32596885813 → 3.1.4-main.32597622340
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/dist/dalp.js.map +3 -3
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -46201,7 +46201,7 @@ var API_ERROR_CATEGORIES = new Set([
|
|
|
46201
46201
|
// ../sdk/package.json
|
|
46202
46202
|
var package_default = {
|
|
46203
46203
|
name: "@settlemint/dalp-sdk",
|
|
46204
|
-
version: "3.1.4-main.
|
|
46204
|
+
version: "3.1.4-main.32597622340",
|
|
46205
46205
|
private: false,
|
|
46206
46206
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
46207
46207
|
homepage: "https://settlemint.com",
|
|
@@ -165909,7 +165909,7 @@ async function runCommand(context, operation, errorContext = UNKNOWN_COMMAND_ERR
|
|
|
165909
165909
|
// package.json
|
|
165910
165910
|
var package_default2 = {
|
|
165911
165911
|
name: "@settlemint/dalp-cli",
|
|
165912
|
-
version: "3.1.4-main.
|
|
165912
|
+
version: "3.1.4-main.32597622340",
|
|
165913
165913
|
private: false,
|
|
165914
165914
|
description: "CLI for the Digital Asset Lifecycle Platform \u2014 manage tokens, identities, compliance, and more from the command line.",
|
|
165915
165915
|
homepage: "https://settlemint.com",
|
|
@@ -166736,8 +166736,8 @@ function formatSettlementMessage(status) {
|
|
|
166736
166736
|
}
|
|
166737
166737
|
|
|
166738
166738
|
// ../sdk/src/wait-for-transaction.ts
|
|
166739
|
-
var terminalStates = new Set(["COMPLETED", "FAILED", "DEAD_LETTER", "CANCELLED"]);
|
|
166740
166739
|
var failedStates = new Set(["FAILED", "DEAD_LETTER", "CANCELLED"]);
|
|
166740
|
+
var isWaitForTransactionSuccess = (status) => status.status === "COMPLETED";
|
|
166741
166741
|
|
|
166742
166742
|
class DalpTransactionWaitError extends Error {
|
|
166743
166743
|
code = "sdk.transaction.WAIT_FAILED";
|
|
@@ -166825,7 +166825,7 @@ async function waitForTransaction(client2, transactionId, options = {}) {
|
|
|
166825
166825
|
if (failedStates.has(lastStatus.status)) {
|
|
166826
166826
|
throw new DalpTransactionWaitError(transactionId, "terminal-failure", lastStatus);
|
|
166827
166827
|
}
|
|
166828
|
-
if (
|
|
166828
|
+
if (isWaitForTransactionSuccess(lastStatus)) {
|
|
166829
166829
|
return lastStatus;
|
|
166830
166830
|
}
|
|
166831
166831
|
try {
|
|
@@ -167640,4 +167640,4 @@ if (false) {}
|
|
|
167640
167640
|
// src/bin.ts
|
|
167641
167641
|
await cli.serve();
|
|
167642
167642
|
|
|
167643
|
-
//# debugId=
|
|
167643
|
+
//# debugId=8500B811D4BC4B3364756E2164756E21
|