@settlemint/dalp-cli 2.1.7-main.26060897156 → 2.1.7-main.26061603708
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 +21 -21
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -52349,8 +52349,8 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
52349
52349
|
category: "client",
|
|
52350
52350
|
status: 409,
|
|
52351
52351
|
message: "Compliance provider cannot transition to the requested state.",
|
|
52352
|
-
why: "The provider is not in a state that permits the requested
|
|
52353
|
-
fix: "Refresh the provider and choose an
|
|
52352
|
+
why: "The provider is not in a state that permits the requested operation (for example, resume requires paused; revoke is terminal).",
|
|
52353
|
+
fix: "Refresh the provider and choose an operation that matches its current state.",
|
|
52354
52354
|
retryable: false,
|
|
52355
52355
|
expectedClientError: true,
|
|
52356
52356
|
surfaces: ["orpc-v2-rest", "orpc-rpc"],
|
|
@@ -52384,7 +52384,7 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
52384
52384
|
status: 404,
|
|
52385
52385
|
message: "Compliance provider topic not found.",
|
|
52386
52386
|
why: "DAPI could not find the requested topic on the compliance provider.",
|
|
52387
|
-
fix: "Verify the webhook identifier and provider before retrying, or add a new topic
|
|
52387
|
+
fix: "Verify the webhook identifier and provider before retrying, or add a new topic through the provider webhook add endpoint.",
|
|
52388
52388
|
retryable: false,
|
|
52389
52389
|
expectedClientError: true,
|
|
52390
52390
|
surfaces: ["orpc-v2-rest", "orpc-rpc"],
|
|
@@ -52650,7 +52650,7 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
52650
52650
|
status: 409,
|
|
52651
52651
|
message: "Idempotency key was reused with a different request",
|
|
52652
52652
|
why: "The same Idempotency-Key was previously used for a request with a different method, path, or body hash.",
|
|
52653
|
-
fix: "Reuse an Idempotency-Key only for the
|
|
52653
|
+
fix: "Reuse an Idempotency-Key only for the same request, or send a new key for a different request.",
|
|
52654
52654
|
retryable: false,
|
|
52655
52655
|
expectedClientError: true,
|
|
52656
52656
|
owner: "dapi"
|
|
@@ -52664,7 +52664,7 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
52664
52664
|
status: 409,
|
|
52665
52665
|
message: "Idempotency key is already in flight",
|
|
52666
52666
|
why: "Another request with the same Idempotency-Key is still being processed for this tenant.",
|
|
52667
|
-
fix: "Wait for the in-flight request to finish, then retry the
|
|
52667
|
+
fix: "Wait for the in-flight request to finish, then retry the same request.",
|
|
52668
52668
|
retryable: true,
|
|
52669
52669
|
expectedClientError: true,
|
|
52670
52670
|
owner: "dapi",
|
|
@@ -53634,7 +53634,7 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
53634
53634
|
status: 504,
|
|
53635
53635
|
message: "Durable execution engine workflow call timed out",
|
|
53636
53636
|
why: "A durable execution engine endpoint returned HTTP 504 before the downstream operation completed.",
|
|
53637
|
-
fix: "Check the resource or deployment status before retrying so you do not duplicate a workflow
|
|
53637
|
+
fix: "Check the resource or deployment status before retrying so you do not duplicate a workflow step that may still complete.",
|
|
53638
53638
|
retryable: true,
|
|
53639
53639
|
expectedClientError: false,
|
|
53640
53640
|
severity: "warning"
|
|
@@ -53983,7 +53983,7 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
53983
53983
|
status: 422,
|
|
53984
53984
|
message: "One or more target currencies are not supported by the configured exchange-rate provider",
|
|
53985
53985
|
why: "The provider's supported-currency snapshot does not contain every requested code.",
|
|
53986
|
-
fix: "Pick currencies from
|
|
53986
|
+
fix: "Pick currencies from the supported-currencies endpoint, or wait for the next provider refresh if you expect the code to appear.",
|
|
53987
53987
|
retryable: false,
|
|
53988
53988
|
expectedClientError: true,
|
|
53989
53989
|
data: exports_external.object({
|
|
@@ -53998,8 +53998,8 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
53998
53998
|
category: "dependency",
|
|
53999
53999
|
status: 503,
|
|
54000
54000
|
message: "Currency-feed creation could not be queued",
|
|
54001
|
-
why: "The workflow
|
|
54002
|
-
fix: "Retry the request
|
|
54001
|
+
why: "The addCurrencyFeeds workflow dispatch was not durably accepted. The new currencies were not persisted.",
|
|
54002
|
+
fix: "Retry the request. If it continues, contact support with the request id.",
|
|
54003
54003
|
retryable: true,
|
|
54004
54004
|
expectedClientError: false
|
|
54005
54005
|
})
|
|
@@ -55569,7 +55569,7 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
55569
55569
|
category: "client",
|
|
55570
55570
|
status: 404,
|
|
55571
55571
|
message: "Paymaster not found with address the requested value. Verify the paymaster address is correct and the paymaster has been indexed. List available paymasters via GET /v2/system/paymasters",
|
|
55572
|
-
why: "DAPI could not find the
|
|
55572
|
+
why: "DAPI could not find the requested indexed system paymaster in the active system, organization, or indexer scope.",
|
|
55573
55573
|
fix: "Verify the identifier, ownership scope, and indexing state before retrying.",
|
|
55574
55574
|
retryable: false,
|
|
55575
55575
|
expectedClientError: true
|
|
@@ -55966,8 +55966,8 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
55966
55966
|
category: "client",
|
|
55967
55967
|
status: 400,
|
|
55968
55968
|
message: "Scoped compliance module configuration requires a V2 token compliance engine",
|
|
55969
|
-
why: "The token uses the
|
|
55970
|
-
fix: "Use configureComplianceModule for
|
|
55969
|
+
why: "The token uses the legacy compliance model, which has no scoped module bindings and cannot atomically update module parameters with a scope.",
|
|
55970
|
+
fix: "Use configureComplianceModule for legacy tokens, or migrate the asset to a current compliance-engine token before configuring scoped modules.",
|
|
55971
55971
|
retryable: false,
|
|
55972
55972
|
expectedClientError: true
|
|
55973
55973
|
})
|
|
@@ -55979,8 +55979,8 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
55979
55979
|
category: "client",
|
|
55980
55980
|
status: 400,
|
|
55981
55981
|
message: "Scoped compliance module install requires a V2 token compliance engine",
|
|
55982
|
-
why: "The token uses the
|
|
55983
|
-
fix: "Use installComplianceModule for
|
|
55982
|
+
why: "The token uses the legacy compliance model, which supports only the single-instance compliance-module install flow.",
|
|
55983
|
+
fix: "Use installComplianceModule for legacy tokens, or migrate the asset to a current compliance-engine token before installing scoped module instances.",
|
|
55984
55984
|
retryable: false,
|
|
55985
55985
|
expectedClientError: true
|
|
55986
55986
|
})
|
|
@@ -55992,8 +55992,8 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
55992
55992
|
category: "client",
|
|
55993
55993
|
status: 400,
|
|
55994
55994
|
message: "Setting a compliance module scope requires a V2 token compliance engine",
|
|
55995
|
-
why: "The token uses the
|
|
55996
|
-
fix: "Use
|
|
55995
|
+
why: "The token uses the legacy compliance model, which has no per-instance scope state to update.",
|
|
55996
|
+
fix: "Use legacy compliance-module configuration routes for legacy tokens, or migrate the asset to a current compliance-engine token before setting module scope.",
|
|
55997
55997
|
retryable: false,
|
|
55998
55998
|
expectedClientError: true
|
|
55999
55999
|
})
|
|
@@ -57557,7 +57557,7 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
57557
57557
|
category: "client",
|
|
57558
57558
|
status: 404,
|
|
57559
57559
|
message: "KYC profile not found for this action request",
|
|
57560
|
-
why: "DAPI could not find the user
|
|
57560
|
+
why: "DAPI could not find the user KYC profile for this request in the active system, organization, or indexer scope.",
|
|
57561
57561
|
fix: "Verify the identifier, ownership scope, and indexing state before retrying.",
|
|
57562
57562
|
retryable: false,
|
|
57563
57563
|
expectedClientError: true
|
|
@@ -57597,7 +57597,7 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
57597
57597
|
category: "client",
|
|
57598
57598
|
status: 404,
|
|
57599
57599
|
message: "KYC version not found for this action request",
|
|
57600
|
-
why: "DAPI could not find the user
|
|
57600
|
+
why: "DAPI could not find the user KYC version for this request in the active system, organization, or indexer scope.",
|
|
57601
57601
|
fix: "Verify the identifier, ownership scope, and indexing state before retrying.",
|
|
57602
57602
|
retryable: false,
|
|
57603
57603
|
expectedClientError: true
|
|
@@ -57978,7 +57978,7 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
57978
57978
|
status: 409,
|
|
57979
57979
|
message: "Maturity-redemption treasury has not granted enough allowance to cover this redemption",
|
|
57980
57980
|
why: "Before `redeem(amount)` runs, the dapi handler reads `allowance(treasury, featureAddress)` on the denomination asset and compares it to the on-chain `calculatePayout(amount)` payout. The treasury is an externally-owned wallet and its ERC-20 allowance to the maturity-redemption feature contract is below that payout, so `TreasuryPayoutLib.payoutFrom` would revert with `ERC20InsufficientAllowance` inside the redeem transaction. The preflight refuses up front so the redeemer is not charged gas for a doomed tx.",
|
|
57981
|
-
fix: "Sign in as the configured treasury wallet (see `data.treasury`) and grant the maturity-redemption feature an allowance of at least `data.required` base units of the denomination asset via the bond's Manage maturity → Approve allowance
|
|
57981
|
+
fix: "Sign in as the configured treasury wallet (see `data.treasury`) and grant the maturity-redemption feature an allowance of at least `data.required` base units of the denomination asset via the bond's Manage maturity → Approve allowance control, then retry the redemption. Since ERC-20 `approve` overwrites (not adds), agents should submit `data.required` as the approve amount, not `data.required - data.allowance`. The error's `data` payload carries `allowance` and `required` as base-unit decimal strings, plus the `denominationAsset`, `feature`, and `treasury` addresses.",
|
|
57982
57982
|
retryable: true,
|
|
57983
57983
|
expectedClientError: false,
|
|
57984
57984
|
data: exports_external.object({
|
|
@@ -78517,7 +78517,7 @@ function normalizeDalpBaseUrl(url2) {
|
|
|
78517
78517
|
}
|
|
78518
78518
|
var package_default = {
|
|
78519
78519
|
name: "@settlemint/dalp-sdk",
|
|
78520
|
-
version: "2.1.7-main.
|
|
78520
|
+
version: "2.1.7-main.26061603708",
|
|
78521
78521
|
private: false,
|
|
78522
78522
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
78523
78523
|
homepage: "https://settlemint.com",
|
|
@@ -79089,7 +79089,7 @@ function toStandardWebhookSecret(secret) {
|
|
|
79089
79089
|
// package.json
|
|
79090
79090
|
var package_default2 = {
|
|
79091
79091
|
name: "@settlemint/dalp-cli",
|
|
79092
|
-
version: "2.1.7-main.
|
|
79092
|
+
version: "2.1.7-main.26061603708",
|
|
79093
79093
|
private: false,
|
|
79094
79094
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
79095
79095
|
homepage: "https://settlemint.com",
|
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.26061603708",
|
|
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",
|