@settlemint/dalp-cli 2.1.7-main.23619085876 → 2.1.7-main.23633091438

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 +18 -13
  2. package/package.json +1 -1
package/dist/dalp.js CHANGED
@@ -57199,7 +57199,6 @@ init_zod();
57199
57199
  init_zod();
57200
57200
  init_zod();
57201
57201
  init_zod();
57202
- init_zod();
57203
57202
 
57204
57203
  // ../../node_modules/.bun/currency-codes@2.2.0/node_modules/currency-codes/index.js
57205
57204
  var first = require_first_match();
@@ -57542,6 +57541,7 @@ init_zod();
57542
57541
  init_zod();
57543
57542
  init_zod();
57544
57543
  init_zod();
57544
+ init_zod();
57545
57545
  function resolveMaybeOptionalOptions2(rest) {
57546
57546
  return rest[0] ?? {};
57547
57547
  }
@@ -60309,17 +60309,16 @@ var DecimalsSchema = exports_external.union([exports_external.string(), exports_
60309
60309
  message: "Decimals cannot exceed 18 (ERC20 standard maximum)"
60310
60310
  }).meta({ description: "Number of decimal places for the asset", examples: [0, 2, 6, 8, 18] });
60311
60311
  var decimals = () => DecimalsSchema;
60312
- var ethereumHex = exports_external.string().meta({
60313
- description: "A valid Ethereum hex string (starting with 0x)",
60314
- examples: ["0x1234abcd", "0x00", "0xdeadbeef"]
60315
- }).min(2, "Hex string must be at least 2 characters long (0x)").refine(isHex, {
60316
- message: "Invalid hex format - must start with '0x' followed by hexadecimal characters"
60317
- }).transform((value22) => value22);
60312
+ function fixedYieldSchedulePeriodId() {
60313
+ return exports_external.string().refine((id) => /^0x[a-f0-9]{40}-period-\d+$/i.test(id), {
60314
+ message: 'Period ID must be in format "0x{40-hex-chars}-period-{index}"'
60315
+ }).meta({
60316
+ description: "Unique identifier for a fixed yield period (composite: {scheduleAddress}-period-{index})",
60317
+ examples: ["0x1234567890abcdef1234567890abcdef12345678-period-0"]
60318
+ });
60319
+ }
60318
60320
  var FixedYieldSchedulePeriodSchema = exports_external.object({
60319
- id: ethereumHex.meta({
60320
- description: "Unique identifier for the yield period (composite hex ID from subgraph)",
60321
- examples: ["0x1234567890abcdef"]
60322
- }),
60321
+ id: fixedYieldSchedulePeriodId(),
60323
60322
  startDate: timestamp().meta({
60324
60323
  description: "Unix timestamp when period starts",
60325
60324
  examples: [1680354000, 1704067200]
@@ -61374,6 +61373,12 @@ var status = v1Contract.route({
61374
61373
  successDescription: "Recovery status retrieved successfully",
61375
61374
  tags: TAGS2
61376
61375
  }).input(RecoveryStatusInputSchema).output(RecoveryStatusOutputSchema);
61376
+ var ethereumHex = exports_external.string().meta({
61377
+ description: "A valid Ethereum hex string (starting with 0x)",
61378
+ examples: ["0x1234abcd", "0x00", "0xdeadbeef"]
61379
+ }).min(2, "Hex string must be at least 2 characters long (0x)").refine(isHex, {
61380
+ message: "Invalid hex format - must start with '0x' followed by hexadecimal characters"
61381
+ }).transform((value22) => value22);
61377
61382
  var roles = [
61378
61383
  "addonModule",
61379
61384
  "addonRegistryModule",
@@ -79852,7 +79857,7 @@ var timestampSerializer = {
79852
79857
  };
79853
79858
  var package_default = {
79854
79859
  name: "@settlemint/dalp-sdk",
79855
- version: "2.1.7-main.23619085876",
79860
+ version: "2.1.7-main.23633091438",
79856
79861
  private: false,
79857
79862
  description: "Fully typed SDK for the DALP tokenization platform API",
79858
79863
  homepage: "https://settlemint.com",
@@ -79995,7 +80000,7 @@ function createDalpClient(config3) {
79995
80000
  // package.json
79996
80001
  var package_default2 = {
79997
80002
  name: "@settlemint/dalp-cli",
79998
- version: "2.1.7-main.23619085876",
80003
+ version: "2.1.7-main.23633091438",
79999
80004
  private: false,
80000
80005
  description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
80001
80006
  homepage: "https://settlemint.com",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-cli",
3
- "version": "2.1.7-main.23619085876",
3
+ "version": "2.1.7-main.23633091438",
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",