@settlemint/dalp-cli 3.1.18-release.34018936553 → 3.1.18-release.34199783687
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 +171 -4
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -92065,6 +92065,62 @@ var ENTRIES_INDEX = {
|
|
|
92065
92065
|
owner: "dapi",
|
|
92066
92066
|
orpcCode: "SYSTEM_IDENTITY_CREATE_PREVIOUS_ATTEMPT_FAILED"
|
|
92067
92067
|
},
|
|
92068
|
+
"DALP-9103": {
|
|
92069
|
+
id: "DALP-9103",
|
|
92070
|
+
kind: "route",
|
|
92071
|
+
category: "domain",
|
|
92072
|
+
status: 400,
|
|
92073
|
+
retryable: false,
|
|
92074
|
+
expectedClientError: true,
|
|
92075
|
+
public: {
|
|
92076
|
+
message: 'Asset type "{type}" is supported for existing deployments but cannot be created new. Create a DALP asset from a template instead.',
|
|
92077
|
+
why: "The seven original asset families predate instrument templates and use an older identity model that does not evaluate compliance claims, so this deployment creates no new tokens of that family. It has not opted in with `features.legacyAssetCreation`, so the create is refused before the deployment workflow starts.",
|
|
92078
|
+
fix: "Create the token as a DALP asset from an instrument template. A deployment that still issues legacy assets sets `FEATURE_LEGACY_ASSET_CREATION=true` to restore creation. Tokens already issued keep working either way."
|
|
92079
|
+
},
|
|
92080
|
+
observability: {
|
|
92081
|
+
severity: "info",
|
|
92082
|
+
otelEventName: "dapi.error",
|
|
92083
|
+
metricAttributeKey: "dapi.error.id",
|
|
92084
|
+
dimensions: [
|
|
92085
|
+
"error.id",
|
|
92086
|
+
"error.category",
|
|
92087
|
+
"surface",
|
|
92088
|
+
"route",
|
|
92089
|
+
"status_class",
|
|
92090
|
+
"retryable"
|
|
92091
|
+
]
|
|
92092
|
+
},
|
|
92093
|
+
owner: "dapi",
|
|
92094
|
+
orpcCode: "TOKEN_CREATE_TYPE_DEPRECATED"
|
|
92095
|
+
},
|
|
92096
|
+
"DALP-9104": {
|
|
92097
|
+
id: "DALP-9104",
|
|
92098
|
+
kind: "route",
|
|
92099
|
+
category: "domain",
|
|
92100
|
+
status: 422,
|
|
92101
|
+
retryable: false,
|
|
92102
|
+
expectedClientError: true,
|
|
92103
|
+
public: {
|
|
92104
|
+
message: 'Asset type "{type}" is supported for existing deployments but cannot be created new. Create a DALP asset from a template instead.',
|
|
92105
|
+
why: "The seven original asset families predate instrument templates and use an older identity model that does not evaluate compliance claims, so this deployment installs no new factories of that family. It has not opted in with `features.legacyAssetCreation`, so the install is refused before any contract is deployed.",
|
|
92106
|
+
fix: "Install the `dalp-asset` factory and design the instrument from a template. A deployment that still issues legacy assets sets `FEATURE_LEGACY_ASSET_CREATION=true` to restore the install."
|
|
92107
|
+
},
|
|
92108
|
+
observability: {
|
|
92109
|
+
severity: "info",
|
|
92110
|
+
otelEventName: "dapi.error",
|
|
92111
|
+
metricAttributeKey: "dapi.error.id",
|
|
92112
|
+
dimensions: [
|
|
92113
|
+
"error.id",
|
|
92114
|
+
"error.category",
|
|
92115
|
+
"surface",
|
|
92116
|
+
"route",
|
|
92117
|
+
"status_class",
|
|
92118
|
+
"retryable"
|
|
92119
|
+
]
|
|
92120
|
+
},
|
|
92121
|
+
owner: "dapi",
|
|
92122
|
+
orpcCode: "TOKEN_FACTORY_TYPE_DEPRECATED"
|
|
92123
|
+
},
|
|
92068
92124
|
"DALP-CHAIN-EMPTY-REVERT": {
|
|
92069
92125
|
id: "DALP-CHAIN-EMPTY-REVERT",
|
|
92070
92126
|
kind: "contract",
|
|
@@ -102404,6 +102460,12 @@ var DALP_ERROR_TYPED_FIELD_NAMES = {
|
|
|
102404
102460
|
"DALP-9100": [],
|
|
102405
102461
|
"DALP-9101": [],
|
|
102406
102462
|
"DALP-9102": [],
|
|
102463
|
+
"DALP-9103": [
|
|
102464
|
+
"type"
|
|
102465
|
+
],
|
|
102466
|
+
"DALP-9104": [
|
|
102467
|
+
"type"
|
|
102468
|
+
],
|
|
102407
102469
|
"DALP-CHAIN-EMPTY-REVERT": [
|
|
102408
102470
|
"args",
|
|
102409
102471
|
"correlationId",
|
|
@@ -112439,6 +112501,12 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID = {
|
|
|
112439
112501
|
"DALP-9100": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
|
|
112440
112502
|
"DALP-9101": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
|
|
112441
112503
|
"DALP-9102": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
|
|
112504
|
+
"DALP-9103": DALP_ORPC_ERROR_DATA_BASE_SCHEMA.extend({
|
|
112505
|
+
type: exports_external.string().optional()
|
|
112506
|
+
}).catchall(DALP_ORPC_JSON_VALUE_SCHEMA),
|
|
112507
|
+
"DALP-9104": DALP_ORPC_ERROR_DATA_BASE_SCHEMA.extend({
|
|
112508
|
+
type: exports_external.string().optional()
|
|
112509
|
+
}).catchall(DALP_ORPC_JSON_VALUE_SCHEMA),
|
|
112442
112510
|
"DALP-CHAIN-EMPTY-REVERT": DALP_ORPC_ERROR_DATA_BASE_SCHEMA.extend({
|
|
112443
112511
|
args: exports_external.record(exports_external.string(), exports_external.string()),
|
|
112444
112512
|
correlationId: exports_external.string(),
|
|
@@ -116832,6 +116900,10 @@ var CUSTOM_ERRORS = {
|
|
|
116832
116900
|
status: 503,
|
|
116833
116901
|
message: "Transaction processing service not available. Check server configuration"
|
|
116834
116902
|
},
|
|
116903
|
+
TOKEN_CREATE_TYPE_DEPRECATED: {
|
|
116904
|
+
status: 400,
|
|
116905
|
+
message: 'Asset type "{type}" is supported for existing deployments but cannot be created new. Create a DALP asset from a template instead.'
|
|
116906
|
+
},
|
|
116835
116907
|
TOKEN_CREATE_USER_ADDRESS_DOES_NOT_ASSOCIATED_IDENTITY_CONTRACT: {
|
|
116836
116908
|
status: 500,
|
|
116837
116909
|
message: "User with address {address} does not have an associated identity contract"
|
|
@@ -116881,6 +116953,10 @@ var CUSTOM_ERRORS = {
|
|
|
116881
116953
|
status: 404,
|
|
116882
116954
|
message: "Token factory not found for current system"
|
|
116883
116955
|
},
|
|
116956
|
+
TOKEN_FACTORY_TYPE_DEPRECATED: {
|
|
116957
|
+
status: 422,
|
|
116958
|
+
message: 'Asset type "{type}" is supported for existing deployments but cannot be created new. Create a DALP asset from a template instead.'
|
|
116959
|
+
},
|
|
116884
116960
|
TOKEN_FEATURE_CONTEXT_REQUIRED: {
|
|
116885
116961
|
status: 500,
|
|
116886
116962
|
message: "Token feature context is missing"
|
|
@@ -119907,6 +119983,16 @@ var AssetExtensionArraySchema = exports_external.array(AssetExtensionSchema).met
|
|
|
119907
119983
|
var assetExtensionArray = () => AssetExtensionArraySchema;
|
|
119908
119984
|
var AssetExtensionSetSchema = exports_external.set(AssetExtensionSchema).meta({ description: "Set of unique asset extensions", examples: [["BURNABLE", "PAUSABLE"]] });
|
|
119909
119985
|
var assetTypes = ["bond", "equity", "fund", "stablecoin", "deposit", "real-estate", "precious-metal"];
|
|
119986
|
+
var LEGACY_ASSET_TYPES = [
|
|
119987
|
+
"bond",
|
|
119988
|
+
"equity",
|
|
119989
|
+
"fund",
|
|
119990
|
+
"stablecoin",
|
|
119991
|
+
"deposit",
|
|
119992
|
+
"real-estate",
|
|
119993
|
+
"precious-metal"
|
|
119994
|
+
];
|
|
119995
|
+
var DEPRECATED_ASSET_TYPES = new Set(LEGACY_ASSET_TYPES);
|
|
119910
119996
|
var assetClassSlug = () => exports_external.string().min(1).meta({ description: "Asset class slug (system or custom)" });
|
|
119911
119997
|
var AssetTypeEnum = {
|
|
119912
119998
|
bond: "bond",
|
|
@@ -121859,7 +121945,8 @@ var PublicConfigFeaturesSchema = exports_external.object({
|
|
|
121859
121945
|
i18nLanguageSelector: exports_external.boolean(),
|
|
121860
121946
|
changeEmail: exports_external.boolean(),
|
|
121861
121947
|
tokenSale: exports_external.boolean(),
|
|
121862
|
-
accountAbstraction: exports_external.boolean()
|
|
121948
|
+
accountAbstraction: exports_external.boolean(),
|
|
121949
|
+
legacyAssetCreation: exports_external.boolean().default(false)
|
|
121863
121950
|
});
|
|
121864
121951
|
var PublicConfigGetOutputSchema = exports_external.object({
|
|
121865
121952
|
app: exports_external.object({
|
|
@@ -141945,7 +142032,7 @@ function normalizeDalpBaseUrl(url2) {
|
|
|
141945
142032
|
}
|
|
141946
142033
|
var package_default = {
|
|
141947
142034
|
name: "@settlemint/dalp-sdk",
|
|
141948
|
-
version: "3.1.18-release.
|
|
142035
|
+
version: "3.1.18-release.34199783687",
|
|
141949
142036
|
private: false,
|
|
141950
142037
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
141951
142038
|
homepage: "https://settlemint.com",
|
|
@@ -143146,7 +143233,9 @@ var DAPI_ROUTE_ERROR_IDS = {
|
|
|
143146
143233
|
"DALP-9099": "DALP-9099",
|
|
143147
143234
|
"DALP-9100": "DALP-9100",
|
|
143148
143235
|
"DALP-9101": "DALP-9101",
|
|
143149
|
-
"DALP-9102": "DALP-9102"
|
|
143236
|
+
"DALP-9102": "DALP-9102",
|
|
143237
|
+
"DALP-9103": "DALP-9103",
|
|
143238
|
+
"DALP-9104": "DALP-9104"
|
|
143150
143239
|
};
|
|
143151
143240
|
var DAPI_ERROR_IDS = {
|
|
143152
143241
|
...DAPI_ROUTE_ERROR_IDS,
|
|
@@ -143169,7 +143258,7 @@ var failedStateSet = new Set(FAILED_TRANSACTION_STATES);
|
|
|
143169
143258
|
// package.json
|
|
143170
143259
|
var package_default2 = {
|
|
143171
143260
|
name: "@settlemint/dalp-cli",
|
|
143172
|
-
version: "3.1.18-release.
|
|
143261
|
+
version: "3.1.18-release.34199783687",
|
|
143173
143262
|
private: false,
|
|
143174
143263
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
143175
143264
|
homepage: "https://settlemint.com",
|
|
@@ -143572,6 +143661,16 @@ adminCommand.command(users);
|
|
|
143572
143661
|
|
|
143573
143662
|
// ../../packages/core/validation/src/asset-types.ts
|
|
143574
143663
|
var assetTypes2 = ["bond", "equity", "fund", "stablecoin", "deposit", "real-estate", "precious-metal"];
|
|
143664
|
+
var LEGACY_ASSET_TYPES2 = [
|
|
143665
|
+
"bond",
|
|
143666
|
+
"equity",
|
|
143667
|
+
"fund",
|
|
143668
|
+
"stablecoin",
|
|
143669
|
+
"deposit",
|
|
143670
|
+
"real-estate",
|
|
143671
|
+
"precious-metal"
|
|
143672
|
+
];
|
|
143673
|
+
var DEPRECATED_ASSET_TYPES2 = new Set(LEGACY_ASSET_TYPES2);
|
|
143575
143674
|
var assetFactoryTypeIds2 = [
|
|
143576
143675
|
"bond",
|
|
143577
143676
|
"equity",
|
|
@@ -185166,6 +185265,62 @@ var ENTRIES_INDEX2 = {
|
|
|
185166
185265
|
owner: "dapi",
|
|
185167
185266
|
orpcCode: "SYSTEM_IDENTITY_CREATE_PREVIOUS_ATTEMPT_FAILED"
|
|
185168
185267
|
},
|
|
185268
|
+
"DALP-9103": {
|
|
185269
|
+
id: "DALP-9103",
|
|
185270
|
+
kind: "route",
|
|
185271
|
+
category: "domain",
|
|
185272
|
+
status: 400,
|
|
185273
|
+
retryable: false,
|
|
185274
|
+
expectedClientError: true,
|
|
185275
|
+
public: {
|
|
185276
|
+
message: 'Asset type "{type}" is supported for existing deployments but cannot be created new. Create a DALP asset from a template instead.',
|
|
185277
|
+
why: "The seven original asset families predate instrument templates and use an older identity model that does not evaluate compliance claims, so this deployment creates no new tokens of that family. It has not opted in with `features.legacyAssetCreation`, so the create is refused before the deployment workflow starts.",
|
|
185278
|
+
fix: "Create the token as a DALP asset from an instrument template. A deployment that still issues legacy assets sets `FEATURE_LEGACY_ASSET_CREATION=true` to restore creation. Tokens already issued keep working either way."
|
|
185279
|
+
},
|
|
185280
|
+
observability: {
|
|
185281
|
+
severity: "info",
|
|
185282
|
+
otelEventName: "dapi.error",
|
|
185283
|
+
metricAttributeKey: "dapi.error.id",
|
|
185284
|
+
dimensions: [
|
|
185285
|
+
"error.id",
|
|
185286
|
+
"error.category",
|
|
185287
|
+
"surface",
|
|
185288
|
+
"route",
|
|
185289
|
+
"status_class",
|
|
185290
|
+
"retryable"
|
|
185291
|
+
]
|
|
185292
|
+
},
|
|
185293
|
+
owner: "dapi",
|
|
185294
|
+
orpcCode: "TOKEN_CREATE_TYPE_DEPRECATED"
|
|
185295
|
+
},
|
|
185296
|
+
"DALP-9104": {
|
|
185297
|
+
id: "DALP-9104",
|
|
185298
|
+
kind: "route",
|
|
185299
|
+
category: "domain",
|
|
185300
|
+
status: 422,
|
|
185301
|
+
retryable: false,
|
|
185302
|
+
expectedClientError: true,
|
|
185303
|
+
public: {
|
|
185304
|
+
message: 'Asset type "{type}" is supported for existing deployments but cannot be created new. Create a DALP asset from a template instead.',
|
|
185305
|
+
why: "The seven original asset families predate instrument templates and use an older identity model that does not evaluate compliance claims, so this deployment installs no new factories of that family. It has not opted in with `features.legacyAssetCreation`, so the install is refused before any contract is deployed.",
|
|
185306
|
+
fix: "Install the `dalp-asset` factory and design the instrument from a template. A deployment that still issues legacy assets sets `FEATURE_LEGACY_ASSET_CREATION=true` to restore the install."
|
|
185307
|
+
},
|
|
185308
|
+
observability: {
|
|
185309
|
+
severity: "info",
|
|
185310
|
+
otelEventName: "dapi.error",
|
|
185311
|
+
metricAttributeKey: "dapi.error.id",
|
|
185312
|
+
dimensions: [
|
|
185313
|
+
"error.id",
|
|
185314
|
+
"error.category",
|
|
185315
|
+
"surface",
|
|
185316
|
+
"route",
|
|
185317
|
+
"status_class",
|
|
185318
|
+
"retryable"
|
|
185319
|
+
]
|
|
185320
|
+
},
|
|
185321
|
+
owner: "dapi",
|
|
185322
|
+
orpcCode: "TOKEN_FACTORY_TYPE_DEPRECATED"
|
|
185323
|
+
},
|
|
185169
185324
|
"DALP-CHAIN-EMPTY-REVERT": {
|
|
185170
185325
|
id: "DALP-CHAIN-EMPTY-REVERT",
|
|
185171
185326
|
kind: "contract",
|
|
@@ -195522,6 +195677,12 @@ var DALP_ERROR_TYPED_FIELD_NAMES2 = {
|
|
|
195522
195677
|
"DALP-9100": [],
|
|
195523
195678
|
"DALP-9101": [],
|
|
195524
195679
|
"DALP-9102": [],
|
|
195680
|
+
"DALP-9103": [
|
|
195681
|
+
"type"
|
|
195682
|
+
],
|
|
195683
|
+
"DALP-9104": [
|
|
195684
|
+
"type"
|
|
195685
|
+
],
|
|
195525
195686
|
"DALP-CHAIN-EMPTY-REVERT": [
|
|
195526
195687
|
"args",
|
|
195527
195688
|
"correlationId",
|
|
@@ -205559,6 +205720,12 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID2 = {
|
|
|
205559
205720
|
"DALP-9100": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
|
|
205560
205721
|
"DALP-9101": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
|
|
205561
205722
|
"DALP-9102": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
|
|
205723
|
+
"DALP-9103": DALP_ORPC_ERROR_DATA_BASE_SCHEMA2.extend({
|
|
205724
|
+
type: exports_external.string().optional()
|
|
205725
|
+
}).catchall(DALP_ORPC_JSON_VALUE_SCHEMA2),
|
|
205726
|
+
"DALP-9104": DALP_ORPC_ERROR_DATA_BASE_SCHEMA2.extend({
|
|
205727
|
+
type: exports_external.string().optional()
|
|
205728
|
+
}).catchall(DALP_ORPC_JSON_VALUE_SCHEMA2),
|
|
205562
205729
|
"DALP-CHAIN-EMPTY-REVERT": DALP_ORPC_ERROR_DATA_BASE_SCHEMA2.extend({
|
|
205563
205730
|
args: exports_external.record(exports_external.string(), exports_external.string()),
|
|
205564
205731
|
correlationId: exports_external.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-cli",
|
|
3
|
-
"version": "3.1.18-release.
|
|
3
|
+
"version": "3.1.18-release.34199783687",
|
|
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",
|