@settlemint/dalp-cli 3.1.26-release.37363645870 → 3.1.26-release.37847916238
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 +80 -3
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -92121,6 +92121,34 @@ var ENTRIES_INDEX = {
|
|
|
92121
92121
|
owner: "dapi",
|
|
92122
92122
|
orpcCode: "TOKEN_FACTORY_TYPE_DEPRECATED"
|
|
92123
92123
|
},
|
|
92124
|
+
"DALP-9563": {
|
|
92125
|
+
id: "DALP-9563",
|
|
92126
|
+
kind: "route",
|
|
92127
|
+
category: "client",
|
|
92128
|
+
status: 400,
|
|
92129
|
+
retryable: false,
|
|
92130
|
+
expectedClientError: true,
|
|
92131
|
+
public: {
|
|
92132
|
+
message: "Compliance modules {typeIds} are v1 modules and cannot be installed on a v2 asset.",
|
|
92133
|
+
why: "A DALP asset is a v2 token. A v1 compliance module looks for the older token interface, which a v2 token does not report, so it would reject every mint. `data.typeIds` lists the v1 modules in the request.",
|
|
92134
|
+
fix: "Replace each module in `data.typeIds` with its `-v2` module, for example `collateral-v2` instead of `collateral`. A module without a v2 version cannot be used on a DALP asset yet; remove it from `initialModulePairs`."
|
|
92135
|
+
},
|
|
92136
|
+
observability: {
|
|
92137
|
+
severity: "info",
|
|
92138
|
+
otelEventName: "dapi.error",
|
|
92139
|
+
metricAttributeKey: "dapi.error.id",
|
|
92140
|
+
dimensions: [
|
|
92141
|
+
"error.id",
|
|
92142
|
+
"error.category",
|
|
92143
|
+
"surface",
|
|
92144
|
+
"route",
|
|
92145
|
+
"status_class",
|
|
92146
|
+
"retryable"
|
|
92147
|
+
]
|
|
92148
|
+
},
|
|
92149
|
+
owner: "dapi",
|
|
92150
|
+
orpcCode: "TOKEN_CREATE_COMPLIANCE_MODULE_INCOMPATIBLE"
|
|
92151
|
+
},
|
|
92124
92152
|
"DALP-CHAIN-EMPTY-REVERT": {
|
|
92125
92153
|
id: "DALP-CHAIN-EMPTY-REVERT",
|
|
92126
92154
|
kind: "contract",
|
|
@@ -102466,6 +102494,9 @@ var DALP_ERROR_TYPED_FIELD_NAMES = {
|
|
|
102466
102494
|
"DALP-9104": [
|
|
102467
102495
|
"type"
|
|
102468
102496
|
],
|
|
102497
|
+
"DALP-9563": [
|
|
102498
|
+
"typeIds"
|
|
102499
|
+
],
|
|
102469
102500
|
"DALP-CHAIN-EMPTY-REVERT": [
|
|
102470
102501
|
"args",
|
|
102471
102502
|
"correlationId",
|
|
@@ -112507,6 +112538,9 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID = {
|
|
|
112507
112538
|
"DALP-9104": DALP_ORPC_ERROR_DATA_BASE_SCHEMA.extend({
|
|
112508
112539
|
type: exports_external.string().optional()
|
|
112509
112540
|
}).catchall(DALP_ORPC_JSON_VALUE_SCHEMA),
|
|
112541
|
+
"DALP-9563": DALP_ORPC_ERROR_DATA_BASE_SCHEMA.extend({
|
|
112542
|
+
typeIds: exports_external.array(exports_external.string())
|
|
112543
|
+
}).catchall(DALP_ORPC_JSON_VALUE_SCHEMA),
|
|
112510
112544
|
"DALP-CHAIN-EMPTY-REVERT": DALP_ORPC_ERROR_DATA_BASE_SCHEMA.extend({
|
|
112511
112545
|
args: exports_external.record(exports_external.string(), exports_external.string()),
|
|
112512
112546
|
correlationId: exports_external.string(),
|
|
@@ -113232,6 +113266,9 @@ var CUSTOM_ERROR_DATA_SCHEMAS = {
|
|
|
113232
113266
|
TOKEN_CLAIM_DOES_NOT_ASSOCIATED_IDENTITY_CONTRACT: dapiErrorContextDataSchema,
|
|
113233
113267
|
TOKEN_CLAIM_TOPIC_NOT_REGISTERED_SCHEME_REGISTRY: dapiErrorContextDataSchema,
|
|
113234
113268
|
TOKEN_CREATE_DATABASE_CONTEXT_REQUIRED_DALP_ASSET_CREATION: dapiErrorContextDataSchema,
|
|
113269
|
+
TOKEN_CREATE_COMPLIANCE_MODULE_INCOMPATIBLE: dapiPublicErrorDataSchema({
|
|
113270
|
+
typeIds: exports_external.array(exports_external.string())
|
|
113271
|
+
}),
|
|
113235
113272
|
TOKEN_CREATE_FEATURES_INCOMPATIBLE: dapiPublicErrorDataSchema({
|
|
113236
113273
|
conflictingPairs: exports_external.array(exports_external.tuple([tokenFeatureIdSchema, tokenFeatureIdSchema]))
|
|
113237
113274
|
}),
|
|
@@ -116870,6 +116907,11 @@ var CUSTOM_ERRORS = {
|
|
|
116870
116907
|
status: 409,
|
|
116871
116908
|
message: "Convert is settling this holder's accrued-interest backlog to target tokens; re-submit to finish the conversion"
|
|
116872
116909
|
},
|
|
116910
|
+
TOKEN_CREATE_COMPLIANCE_MODULE_INCOMPATIBLE: {
|
|
116911
|
+
status: 400,
|
|
116912
|
+
message: "Compliance modules {typeIds} are v1 modules and cannot be installed on a v2 asset.",
|
|
116913
|
+
data: CUSTOM_ERROR_DATA_SCHEMAS.TOKEN_CREATE_COMPLIANCE_MODULE_INCOMPATIBLE
|
|
116914
|
+
},
|
|
116873
116915
|
TOKEN_CREATE_CREATION_WORKFLOW_FAILED: {
|
|
116874
116916
|
status: 500,
|
|
116875
116917
|
message: "Token creation workflow failed: {error}"
|
|
@@ -142047,7 +142089,7 @@ function normalizeDalpBaseUrl(url2) {
|
|
|
142047
142089
|
}
|
|
142048
142090
|
return `${parsed.origin}${parsed.pathname.replace(/\/+$/, "")}`;
|
|
142049
142091
|
}
|
|
142050
|
-
var SDK_PACKAGE_VERSION = "3.1.26-release.
|
|
142092
|
+
var SDK_PACKAGE_VERSION = "3.1.26-release.37847916238";
|
|
142051
142093
|
var SDK_VERSION = SDK_PACKAGE_VERSION;
|
|
142052
142094
|
var SDK_USER_AGENT = `DALP SDK v${SDK_VERSION}`;
|
|
142053
142095
|
var DEFAULT_MUTATION_PREFER = "wait=99";
|
|
@@ -143174,7 +143216,8 @@ var DAPI_ROUTE_ERROR_IDS = {
|
|
|
143174
143216
|
"DALP-9101": "DALP-9101",
|
|
143175
143217
|
"DALP-9102": "DALP-9102",
|
|
143176
143218
|
"DALP-9103": "DALP-9103",
|
|
143177
|
-
"DALP-9104": "DALP-9104"
|
|
143219
|
+
"DALP-9104": "DALP-9104",
|
|
143220
|
+
"DALP-9563": "DALP-9563"
|
|
143178
143221
|
};
|
|
143179
143222
|
var DAPI_ERROR_IDS = {
|
|
143180
143223
|
...DAPI_ROUTE_ERROR_IDS,
|
|
@@ -143197,7 +143240,7 @@ var failedStateSet = new Set(FAILED_TRANSACTION_STATES);
|
|
|
143197
143240
|
// package.json
|
|
143198
143241
|
var package_default = {
|
|
143199
143242
|
name: "@settlemint/dalp-cli",
|
|
143200
|
-
version: "3.1.26-release.
|
|
143243
|
+
version: "3.1.26-release.37847916238",
|
|
143201
143244
|
private: false,
|
|
143202
143245
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
143203
143246
|
homepage: "https://settlemint.com",
|
|
@@ -185260,6 +185303,34 @@ var ENTRIES_INDEX2 = {
|
|
|
185260
185303
|
owner: "dapi",
|
|
185261
185304
|
orpcCode: "TOKEN_FACTORY_TYPE_DEPRECATED"
|
|
185262
185305
|
},
|
|
185306
|
+
"DALP-9563": {
|
|
185307
|
+
id: "DALP-9563",
|
|
185308
|
+
kind: "route",
|
|
185309
|
+
category: "client",
|
|
185310
|
+
status: 400,
|
|
185311
|
+
retryable: false,
|
|
185312
|
+
expectedClientError: true,
|
|
185313
|
+
public: {
|
|
185314
|
+
message: "Compliance modules {typeIds} are v1 modules and cannot be installed on a v2 asset.",
|
|
185315
|
+
why: "A DALP asset is a v2 token. A v1 compliance module looks for the older token interface, which a v2 token does not report, so it would reject every mint. `data.typeIds` lists the v1 modules in the request.",
|
|
185316
|
+
fix: "Replace each module in `data.typeIds` with its `-v2` module, for example `collateral-v2` instead of `collateral`. A module without a v2 version cannot be used on a DALP asset yet; remove it from `initialModulePairs`."
|
|
185317
|
+
},
|
|
185318
|
+
observability: {
|
|
185319
|
+
severity: "info",
|
|
185320
|
+
otelEventName: "dapi.error",
|
|
185321
|
+
metricAttributeKey: "dapi.error.id",
|
|
185322
|
+
dimensions: [
|
|
185323
|
+
"error.id",
|
|
185324
|
+
"error.category",
|
|
185325
|
+
"surface",
|
|
185326
|
+
"route",
|
|
185327
|
+
"status_class",
|
|
185328
|
+
"retryable"
|
|
185329
|
+
]
|
|
185330
|
+
},
|
|
185331
|
+
owner: "dapi",
|
|
185332
|
+
orpcCode: "TOKEN_CREATE_COMPLIANCE_MODULE_INCOMPATIBLE"
|
|
185333
|
+
},
|
|
185263
185334
|
"DALP-CHAIN-EMPTY-REVERT": {
|
|
185264
185335
|
id: "DALP-CHAIN-EMPTY-REVERT",
|
|
185265
185336
|
kind: "contract",
|
|
@@ -195622,6 +195693,9 @@ var DALP_ERROR_TYPED_FIELD_NAMES2 = {
|
|
|
195622
195693
|
"DALP-9104": [
|
|
195623
195694
|
"type"
|
|
195624
195695
|
],
|
|
195696
|
+
"DALP-9563": [
|
|
195697
|
+
"typeIds"
|
|
195698
|
+
],
|
|
195625
195699
|
"DALP-CHAIN-EMPTY-REVERT": [
|
|
195626
195700
|
"args",
|
|
195627
195701
|
"correlationId",
|
|
@@ -205665,6 +205739,9 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID2 = {
|
|
|
205665
205739
|
"DALP-9104": DALP_ORPC_ERROR_DATA_BASE_SCHEMA2.extend({
|
|
205666
205740
|
type: exports_external.string().optional()
|
|
205667
205741
|
}).catchall(DALP_ORPC_JSON_VALUE_SCHEMA2),
|
|
205742
|
+
"DALP-9563": DALP_ORPC_ERROR_DATA_BASE_SCHEMA2.extend({
|
|
205743
|
+
typeIds: exports_external.array(exports_external.string())
|
|
205744
|
+
}).catchall(DALP_ORPC_JSON_VALUE_SCHEMA2),
|
|
205668
205745
|
"DALP-CHAIN-EMPTY-REVERT": DALP_ORPC_ERROR_DATA_BASE_SCHEMA2.extend({
|
|
205669
205746
|
args: exports_external.record(exports_external.string(), exports_external.string()),
|
|
205670
205747
|
correlationId: exports_external.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-cli",
|
|
3
|
-
"version": "3.1.26-release.
|
|
3
|
+
"version": "3.1.26-release.37847916238",
|
|
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",
|