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

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 +71 -6
  2. package/package.json +1 -1
package/dist/dalp.js CHANGED
@@ -68080,6 +68080,34 @@ var ENTRIES_INDEX = {
68080
68080
  owner: "webhooks",
68081
68081
  orpcCode: "WEBHOOK_TEST_EVENT_NOT_QUEUED"
68082
68082
  },
68083
+ "DALP-0681": {
68084
+ id: "DALP-0681",
68085
+ kind: "route",
68086
+ category: "auth",
68087
+ status: 400,
68088
+ retryable: false,
68089
+ expectedClientError: true,
68090
+ public: {
68091
+ message: "Wallet verification is required",
68092
+ why: "This operation signs with the wallet, so the request must carry a `walletVerification` object with the code and the verification type. The request carried none.",
68093
+ fix: "Send `walletVerification` in the request body with `secretVerificationCode` and `verificationType` (`PINCODE`, `SECRET_CODES`, `OTP`, or `OIDC_MFA`), then retry."
68094
+ },
68095
+ observability: {
68096
+ severity: "info",
68097
+ otelEventName: "dapi.error",
68098
+ metricAttributeKey: "dapi.error.id",
68099
+ dimensions: [
68100
+ "error.id",
68101
+ "error.category",
68102
+ "surface",
68103
+ "route",
68104
+ "status_class",
68105
+ "retryable"
68106
+ ]
68107
+ },
68108
+ owner: "dapi",
68109
+ orpcCode: "WALLET_VERIFICATION_REQUIRED"
68110
+ },
68083
68111
  "DALP-1001": {
68084
68112
  id: "DALP-1001",
68085
68113
  kind: "contract",
@@ -93302,6 +93330,7 @@ var DALP_ERROR_TYPED_FIELD_NAMES = {
93302
93330
  "DALP-0678": [],
93303
93331
  "DALP-0679": [],
93304
93332
  "DALP-0680": [],
93333
+ "DALP-0681": [],
93305
93334
  "DALP-1001": [
93306
93335
  "args",
93307
93336
  "correlationId",
@@ -103336,6 +103365,7 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID = {
103336
103365
  "DALP-0678": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
103337
103366
  "DALP-0679": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
103338
103367
  "DALP-0680": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
103368
+ "DALP-0681": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
103339
103369
  "DALP-1001": DALP_ORPC_ERROR_DATA_BASE_SCHEMA.extend({
103340
103370
  args: exports_external.record(exports_external.string(), exports_external.string()),
103341
103371
  correlationId: exports_external.string(),
@@ -117472,6 +117502,10 @@ var CUSTOM_ERRORS = {
117472
117502
  status: 503,
117473
117503
  message: "Workflow engine client is not available"
117474
117504
  },
117505
+ WALLET_VERIFICATION_REQUIRED: {
117506
+ status: 400,
117507
+ message: "Wallet verification is required"
117508
+ },
117475
117509
  WEBHOOK_DELIVERY_NOT_FOUND: {
117476
117510
  status: 404,
117477
117511
  message: "Webhook delivery not found"
@@ -135596,10 +135630,10 @@ var RefundSplitterRunwaySnapshotSchema = exports_external.object({
135596
135630
  burn7dWei: RefundSplitterDecimalStringSchema,
135597
135631
  runwayDays: exports_external.string().nullable()
135598
135632
  });
135599
- var RefundSplitterSetBpsInputSchema = exports_external.object({
135633
+ var RefundSplitterSetBpsInputSchema = MutationInputSchema.extend({
135600
135634
  bps: exports_external.number().int().min(0).max(1e4)
135601
135635
  });
135602
- var RefundSplitterSetSponsorshipInputSchema = exports_external.object({
135636
+ var RefundSplitterSetSponsorshipInputSchema = MutationInputSchema.extend({
135603
135637
  enabled: exports_external.boolean()
135604
135638
  });
135605
135639
  var RefundSplitterSetThresholdsInputSchema = exports_external.object({
@@ -135613,11 +135647,11 @@ var RefundSplitterThresholdsSchema = exports_external.object({
135613
135647
  warnDays: exports_external.number().int().min(1),
135614
135648
  criticalDays: exports_external.number().int().min(1)
135615
135649
  });
135616
- var RefundSplitterRecoverNativeInputSchema = exports_external.object({
135650
+ var RefundSplitterRecoverNativeInputSchema = MutationInputSchema.extend({
135617
135651
  to: ethereumAddress,
135618
135652
  amount: RefundSplitterPositiveDecimalStringSchema
135619
135653
  });
135620
- var RefundSplitterRecoverErc20InputSchema = exports_external.object({
135654
+ var RefundSplitterRecoverErc20InputSchema = MutationInputSchema.extend({
135621
135655
  token: ethereumAddress,
135622
135656
  to: ethereumAddress,
135623
135657
  amount: RefundSplitterPositiveDecimalStringSchema
@@ -141911,7 +141945,7 @@ function normalizeDalpBaseUrl(url2) {
141911
141945
  }
141912
141946
  var package_default = {
141913
141947
  name: "@settlemint/dalp-sdk",
141914
- version: "3.1.18-release.33881065704",
141948
+ version: "3.1.18-release.33886186961",
141915
141949
  private: false,
141916
141950
  description: "Fully typed SDK for the DALP tokenization platform API",
141917
141951
  homepage: "https://settlemint.com",
@@ -143083,6 +143117,7 @@ var DAPI_ROUTE_ERROR_IDS = {
143083
143117
  "DALP-0678": "DALP-0678",
143084
143118
  "DALP-0679": "DALP-0679",
143085
143119
  "DALP-0680": "DALP-0680",
143120
+ "DALP-0681": "DALP-0681",
143086
143121
  "DALP-9070": "DALP-9070",
143087
143122
  "DALP-9071": "DALP-9071",
143088
143123
  "DALP-9072": "DALP-9072",
@@ -143134,7 +143169,7 @@ var failedStateSet = new Set(FAILED_TRANSACTION_STATES);
143134
143169
  // package.json
143135
143170
  var package_default2 = {
143136
143171
  name: "@settlemint/dalp-cli",
143137
- version: "3.1.18-release.33881065704",
143172
+ version: "3.1.18-release.33886186961",
143138
143173
  private: false,
143139
143174
  description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
143140
143175
  homepage: "https://settlemint.com",
@@ -161146,6 +161181,34 @@ var ENTRIES_INDEX2 = {
161146
161181
  owner: "webhooks",
161147
161182
  orpcCode: "WEBHOOK_TEST_EVENT_NOT_QUEUED"
161148
161183
  },
161184
+ "DALP-0681": {
161185
+ id: "DALP-0681",
161186
+ kind: "route",
161187
+ category: "auth",
161188
+ status: 400,
161189
+ retryable: false,
161190
+ expectedClientError: true,
161191
+ public: {
161192
+ message: "Wallet verification is required",
161193
+ why: "This operation signs with the wallet, so the request must carry a `walletVerification` object with the code and the verification type. The request carried none.",
161194
+ fix: "Send `walletVerification` in the request body with `secretVerificationCode` and `verificationType` (`PINCODE`, `SECRET_CODES`, `OTP`, or `OIDC_MFA`), then retry."
161195
+ },
161196
+ observability: {
161197
+ severity: "info",
161198
+ otelEventName: "dapi.error",
161199
+ metricAttributeKey: "dapi.error.id",
161200
+ dimensions: [
161201
+ "error.id",
161202
+ "error.category",
161203
+ "surface",
161204
+ "route",
161205
+ "status_class",
161206
+ "retryable"
161207
+ ]
161208
+ },
161209
+ owner: "dapi",
161210
+ orpcCode: "WALLET_VERIFICATION_REQUIRED"
161211
+ },
161149
161212
  "DALP-1001": {
161150
161213
  id: "DALP-1001",
161151
161214
  kind: "contract",
@@ -186385,6 +186448,7 @@ var DALP_ERROR_TYPED_FIELD_NAMES2 = {
186385
186448
  "DALP-0678": [],
186386
186449
  "DALP-0679": [],
186387
186450
  "DALP-0680": [],
186451
+ "DALP-0681": [],
186388
186452
  "DALP-1001": [
186389
186453
  "args",
186390
186454
  "correlationId",
@@ -196421,6 +196485,7 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID2 = {
196421
196485
  "DALP-0678": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
196422
196486
  "DALP-0679": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
196423
196487
  "DALP-0680": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
196488
+ "DALP-0681": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
196424
196489
  "DALP-1001": DALP_ORPC_ERROR_DATA_BASE_SCHEMA2.extend({
196425
196490
  args: exports_external.record(exports_external.string(), exports_external.string()),
196426
196491
  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.33881065704",
3
+ "version": "3.1.18-release.33886186961",
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",