@settlemint/dalp-cli 3.0.7-main.28449343725 → 3.0.7-main.28452110161

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
@@ -93111,6 +93111,34 @@ var ENTRIES_INDEX = {
93111
93111
  owner: "dapi",
93112
93112
  orpcCode: "GOVERNANCE_BALLOT_RATE_LIMITED"
93113
93113
  },
93114
+ "DALP-9165": {
93115
+ id: "DALP-9165",
93116
+ kind: "route",
93117
+ category: "client",
93118
+ status: 422,
93119
+ retryable: false,
93120
+ expectedClientError: true,
93121
+ public: {
93122
+ message: "This XvP settlement spans more than one chain.",
93123
+ why: "An XvP settlement swaps assets that all live on a single chain, but this settlement's legs and contract resolve to different chains, so it cannot settle as one atomic exchange.",
93124
+ fix: "Recreate the settlement with every leg and the settlement contract on the same chain, then submit it from that chain."
93125
+ },
93126
+ observability: {
93127
+ severity: "info",
93128
+ otelEventName: "dapi.error",
93129
+ metricAttributeKey: "dapi.error.id",
93130
+ dimensions: [
93131
+ "error.id",
93132
+ "error.category",
93133
+ "surface",
93134
+ "route",
93135
+ "status_class",
93136
+ "retryable"
93137
+ ]
93138
+ },
93139
+ owner: "dapi",
93140
+ orpcCode: "XVP_MIXED_CHAIN_SETTLEMENT"
93141
+ },
93114
93142
  "DALP-CHAIN-EMPTY-REVERT": {
93115
93143
  id: "DALP-CHAIN-EMPTY-REVERT",
93116
93144
  kind: "contract",
@@ -103514,6 +103542,7 @@ var DALP_ERROR_TYPED_FIELD_NAMES = {
103514
103542
  "DALP-9162": [],
103515
103543
  "DALP-9163": [],
103516
103544
  "DALP-9164": [],
103545
+ "DALP-9165": [],
103517
103546
  "DALP-CHAIN-EMPTY-REVERT": [
103518
103547
  "args",
103519
103548
  "correlationId",
@@ -113593,6 +113622,7 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID = {
113593
113622
  "DALP-9162": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
113594
113623
  "DALP-9163": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
113595
113624
  "DALP-9164": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
113625
+ "DALP-9165": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
113596
113626
  "DALP-CHAIN-EMPTY-REVERT": DALP_ORPC_ERROR_DATA_BASE_SCHEMA.extend({
113597
113627
  args: exports_external.record(exports_external.string(), exports_external.string()),
113598
113628
  correlationId: exports_external.string(),
@@ -118885,6 +118915,10 @@ var CUSTOM_ERRORS = {
118885
118915
  status: 403,
118886
118916
  message: "Only the local sender can approve this XvP settlement"
118887
118917
  },
118918
+ XVP_MIXED_CHAIN_SETTLEMENT: {
118919
+ status: 422,
118920
+ message: "This XvP settlement spans more than one chain."
118921
+ },
118888
118922
  XVP_PARTICIPANT_WALLET_REQUIRED: {
118889
118923
  status: 400,
118890
118924
  message: "Participant wallet address required"
@@ -144832,7 +144866,7 @@ function normalizeDalpBaseUrl(url2) {
144832
144866
  }
144833
144867
  var package_default = {
144834
144868
  name: "@settlemint/dalp-sdk",
144835
- version: "3.0.7-main.28449343725",
144869
+ version: "3.0.7-main.28452110161",
144836
144870
  private: false,
144837
144871
  description: "Fully typed SDK for the DALP tokenization platform API",
144838
144872
  homepage: "https://settlemint.com",
@@ -146058,7 +146092,8 @@ var DAPI_ROUTE_ERROR_IDS = {
146058
146092
  "DALP-9161": "DALP-9161",
146059
146093
  "DALP-9162": "DALP-9162",
146060
146094
  "DALP-9163": "DALP-9163",
146061
- "DALP-9164": "DALP-9164"
146095
+ "DALP-9164": "DALP-9164",
146096
+ "DALP-9165": "DALP-9165"
146062
146097
  };
146063
146098
  var DAPI_ERROR_IDS = {
146064
146099
  ...DAPI_ROUTE_ERROR_IDS,
@@ -146081,7 +146116,7 @@ var failedStateSet = new Set(FAILED_TRANSACTION_STATES);
146081
146116
  // package.json
146082
146117
  var package_default2 = {
146083
146118
  name: "@settlemint/dalp-cli",
146084
- version: "3.0.7-main.28449343725",
146119
+ version: "3.0.7-main.28452110161",
146085
146120
  private: false,
146086
146121
  description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
146087
146122
  homepage: "https://settlemint.com",
@@ -188552,6 +188587,34 @@ var ENTRIES_INDEX2 = {
188552
188587
  owner: "dapi",
188553
188588
  orpcCode: "GOVERNANCE_BALLOT_RATE_LIMITED"
188554
188589
  },
188590
+ "DALP-9165": {
188591
+ id: "DALP-9165",
188592
+ kind: "route",
188593
+ category: "client",
188594
+ status: 422,
188595
+ retryable: false,
188596
+ expectedClientError: true,
188597
+ public: {
188598
+ message: "This XvP settlement spans more than one chain.",
188599
+ why: "An XvP settlement swaps assets that all live on a single chain, but this settlement's legs and contract resolve to different chains, so it cannot settle as one atomic exchange.",
188600
+ fix: "Recreate the settlement with every leg and the settlement contract on the same chain, then submit it from that chain."
188601
+ },
188602
+ observability: {
188603
+ severity: "info",
188604
+ otelEventName: "dapi.error",
188605
+ metricAttributeKey: "dapi.error.id",
188606
+ dimensions: [
188607
+ "error.id",
188608
+ "error.category",
188609
+ "surface",
188610
+ "route",
188611
+ "status_class",
188612
+ "retryable"
188613
+ ]
188614
+ },
188615
+ owner: "dapi",
188616
+ orpcCode: "XVP_MIXED_CHAIN_SETTLEMENT"
188617
+ },
188555
188618
  "DALP-CHAIN-EMPTY-REVERT": {
188556
188619
  id: "DALP-CHAIN-EMPTY-REVERT",
188557
188620
  kind: "contract",
@@ -198972,6 +199035,7 @@ var DALP_ERROR_TYPED_FIELD_NAMES2 = {
198972
199035
  "DALP-9162": [],
198973
199036
  "DALP-9163": [],
198974
199037
  "DALP-9164": [],
199038
+ "DALP-9165": [],
198975
199039
  "DALP-CHAIN-EMPTY-REVERT": [
198976
199040
  "args",
198977
199041
  "correlationId",
@@ -209053,6 +209117,7 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID2 = {
209053
209117
  "DALP-9162": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
209054
209118
  "DALP-9163": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
209055
209119
  "DALP-9164": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
209120
+ "DALP-9165": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
209056
209121
  "DALP-CHAIN-EMPTY-REVERT": DALP_ORPC_ERROR_DATA_BASE_SCHEMA2.extend({
209057
209122
  args: exports_external.record(exports_external.string(), exports_external.string()),
209058
209123
  correlationId: exports_external.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-cli",
3
- "version": "3.0.7-main.28449343725",
3
+ "version": "3.0.7-main.28452110161",
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",