@settlemint/dalp-cli 3.1.18-release.33864081845 → 3.1.18-release.33881065704

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.
Files changed (2) hide show
  1. package/dist/dalp.js +68 -3
  2. package/package.json +1 -1
package/dist/dalp.js CHANGED
@@ -92009,6 +92009,34 @@ var ENTRIES_INDEX = {
92009
92009
  owner: "dapi",
92010
92010
  orpcCode: "USER_ONBOARDING_RESET_FAILED"
92011
92011
  },
92012
+ "DALP-9102": {
92013
+ id: "DALP-9102",
92014
+ kind: "route",
92015
+ category: "client",
92016
+ status: 409,
92017
+ retryable: false,
92018
+ expectedClientError: true,
92019
+ public: {
92020
+ message: "This identity creation already failed. Start a new one with a fresh idempotency key.",
92021
+ why: "An earlier identity creation sent under this idempotency key ended in failure, and the platform keeps that outcome so the same key never produces a second on-chain attempt.",
92022
+ fix: "Send the identity creation again with a new `Idempotency-Key` value. The wallet stays eligible, so the fresh attempt runs from the start."
92023
+ },
92024
+ observability: {
92025
+ severity: "info",
92026
+ otelEventName: "dapi.error",
92027
+ metricAttributeKey: "dapi.error.id",
92028
+ dimensions: [
92029
+ "error.id",
92030
+ "error.category",
92031
+ "surface",
92032
+ "route",
92033
+ "status_class",
92034
+ "retryable"
92035
+ ]
92036
+ },
92037
+ owner: "dapi",
92038
+ orpcCode: "SYSTEM_IDENTITY_CREATE_PREVIOUS_ATTEMPT_FAILED"
92039
+ },
92012
92040
  "DALP-CHAIN-EMPTY-REVERT": {
92013
92041
  id: "DALP-CHAIN-EMPTY-REVERT",
92014
92042
  kind: "contract",
@@ -102346,6 +102374,7 @@ var DALP_ERROR_TYPED_FIELD_NAMES = {
102346
102374
  "DALP-9099": [],
102347
102375
  "DALP-9100": [],
102348
102376
  "DALP-9101": [],
102377
+ "DALP-9102": [],
102349
102378
  "DALP-CHAIN-EMPTY-REVERT": [
102350
102379
  "args",
102351
102380
  "correlationId",
@@ -112379,6 +112408,7 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID = {
112379
112408
  "DALP-9099": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
112380
112409
  "DALP-9100": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
112381
112410
  "DALP-9101": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
112411
+ "DALP-9102": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
112382
112412
  "DALP-CHAIN-EMPTY-REVERT": DALP_ORPC_ERROR_DATA_BASE_SCHEMA.extend({
112383
112413
  args: exports_external.record(exports_external.string(), exports_external.string()),
112384
112414
  correlationId: exports_external.string(),
@@ -116412,6 +116442,10 @@ var CUSTOM_ERRORS = {
116412
116442
  status: 503,
116413
116443
  message: "System context not available. Ensure systemMiddleware is active"
116414
116444
  },
116445
+ SYSTEM_IDENTITY_CREATE_PREVIOUS_ATTEMPT_FAILED: {
116446
+ status: 409,
116447
+ message: "This identity creation already failed. Start a new one with a fresh idempotency key."
116448
+ },
116415
116449
  SYSTEM_IDENTITY_DATABASE_CONTEXT_REQUIRED_VALIDATE_KNOWYOURCUSTOMER_CLAIM_VALUES: {
116416
116450
  status: 500,
116417
116451
  message: "Database context missing; needed to validate knowYourCustomer claim values",
@@ -141877,7 +141911,7 @@ function normalizeDalpBaseUrl(url2) {
141877
141911
  }
141878
141912
  var package_default = {
141879
141913
  name: "@settlemint/dalp-sdk",
141880
- version: "3.1.18-release.33864081845",
141914
+ version: "3.1.18-release.33881065704",
141881
141915
  private: false,
141882
141916
  description: "Fully typed SDK for the DALP tokenization platform API",
141883
141917
  homepage: "https://settlemint.com",
@@ -143076,7 +143110,8 @@ var DAPI_ROUTE_ERROR_IDS = {
143076
143110
  "DALP-9098": "DALP-9098",
143077
143111
  "DALP-9099": "DALP-9099",
143078
143112
  "DALP-9100": "DALP-9100",
143079
- "DALP-9101": "DALP-9101"
143113
+ "DALP-9101": "DALP-9101",
143114
+ "DALP-9102": "DALP-9102"
143080
143115
  };
143081
143116
  var DAPI_ERROR_IDS = {
143082
143117
  ...DAPI_ROUTE_ERROR_IDS,
@@ -143099,7 +143134,7 @@ var failedStateSet = new Set(FAILED_TRANSACTION_STATES);
143099
143134
  // package.json
143100
143135
  var package_default2 = {
143101
143136
  name: "@settlemint/dalp-cli",
143102
- version: "3.1.18-release.33864081845",
143137
+ version: "3.1.18-release.33881065704",
143103
143138
  private: false,
143104
143139
  description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
143105
143140
  homepage: "https://settlemint.com",
@@ -185040,6 +185075,34 @@ var ENTRIES_INDEX2 = {
185040
185075
  owner: "dapi",
185041
185076
  orpcCode: "USER_ONBOARDING_RESET_FAILED"
185042
185077
  },
185078
+ "DALP-9102": {
185079
+ id: "DALP-9102",
185080
+ kind: "route",
185081
+ category: "client",
185082
+ status: 409,
185083
+ retryable: false,
185084
+ expectedClientError: true,
185085
+ public: {
185086
+ message: "This identity creation already failed. Start a new one with a fresh idempotency key.",
185087
+ why: "An earlier identity creation sent under this idempotency key ended in failure, and the platform keeps that outcome so the same key never produces a second on-chain attempt.",
185088
+ fix: "Send the identity creation again with a new `Idempotency-Key` value. The wallet stays eligible, so the fresh attempt runs from the start."
185089
+ },
185090
+ observability: {
185091
+ severity: "info",
185092
+ otelEventName: "dapi.error",
185093
+ metricAttributeKey: "dapi.error.id",
185094
+ dimensions: [
185095
+ "error.id",
185096
+ "error.category",
185097
+ "surface",
185098
+ "route",
185099
+ "status_class",
185100
+ "retryable"
185101
+ ]
185102
+ },
185103
+ owner: "dapi",
185104
+ orpcCode: "SYSTEM_IDENTITY_CREATE_PREVIOUS_ATTEMPT_FAILED"
185105
+ },
185043
185106
  "DALP-CHAIN-EMPTY-REVERT": {
185044
185107
  id: "DALP-CHAIN-EMPTY-REVERT",
185045
185108
  kind: "contract",
@@ -195394,6 +195457,7 @@ var DALP_ERROR_TYPED_FIELD_NAMES2 = {
195394
195457
  "DALP-9099": [],
195395
195458
  "DALP-9100": [],
195396
195459
  "DALP-9101": [],
195460
+ "DALP-9102": [],
195397
195461
  "DALP-CHAIN-EMPTY-REVERT": [
195398
195462
  "args",
195399
195463
  "correlationId",
@@ -205429,6 +205493,7 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID2 = {
205429
205493
  "DALP-9099": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
205430
205494
  "DALP-9100": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
205431
205495
  "DALP-9101": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
205496
+ "DALP-9102": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
205432
205497
  "DALP-CHAIN-EMPTY-REVERT": DALP_ORPC_ERROR_DATA_BASE_SCHEMA2.extend({
205433
205498
  args: exports_external.record(exports_external.string(), exports_external.string()),
205434
205499
  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.33864081845",
3
+ "version": "3.1.18-release.33881065704",
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",