@josephomills/esign 0.9.0 → 0.9.2

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.
@@ -29,7 +29,7 @@ declare const DATE_FORMATS: readonly DateFormat[];
29
29
  declare const DEFAULT_DATE_FORMAT: DateFormat;
30
30
  /** Render an ISO `yyyy-mm-dd` date in the chosen format. Parses the parts directly. */
31
31
  declare function formatPickedDate(iso: string, format: DateFormat): string;
32
- /** A human label for each format, for pickers. */
32
+ /** Generic pattern label for each format, for pickers. */
33
33
  declare const DATE_FORMAT_LABELS: Record<DateFormat, string>;
34
34
 
35
35
  type EsignChannel = "EMAIL" | "TELEGRAM" | "SMS" | "WHATSAPP";
@@ -29,7 +29,7 @@ declare const DATE_FORMATS: readonly DateFormat[];
29
29
  declare const DEFAULT_DATE_FORMAT: DateFormat;
30
30
  /** Render an ISO `yyyy-mm-dd` date in the chosen format. Parses the parts directly. */
31
31
  declare function formatPickedDate(iso: string, format: DateFormat): string;
32
- /** A human label for each format, for pickers. */
32
+ /** Generic pattern label for each format, for pickers. */
33
33
  declare const DATE_FORMAT_LABELS: Record<DateFormat, string>;
34
34
 
35
35
  type EsignChannel = "EMAIL" | "TELEGRAM" | "SMS" | "WHATSAPP";
@@ -1,4 +1,4 @@
1
- import { P as PersistencePort } from '../ports--YsOnh8H.cjs';
1
+ import { P as PersistencePort } from '../ports-Cdml5OIu.cjs';
2
2
  import 'zod';
3
3
 
4
4
  interface Delegate {
@@ -1,4 +1,4 @@
1
- import { P as PersistencePort } from '../ports--YsOnh8H.js';
1
+ import { P as PersistencePort } from '../ports-Cdml5OIu.js';
2
2
  import 'zod';
3
3
 
4
4
  interface Delegate {
@@ -155,13 +155,13 @@ function formatPickedDate(iso, format) {
155
155
  }
156
156
  }
157
157
  var DATE_FORMAT_LABELS = {
158
- "DD/MM/YYYY": "02/10/2026",
159
- "MM/DD/YYYY": "10/02/2026",
160
- "YYYY-MM-DD": "2026-10-02",
161
- "D MMM YYYY": "2 Oct 2026",
162
- "Do MMM YYYY": "2nd Oct 2026",
163
- "Do MMMM YYYY": "2nd October 2026",
164
- "MMMM D, YYYY": "October 2, 2026"
158
+ "DD/MM/YYYY": "DD/MM/YYYY",
159
+ "MM/DD/YYYY": "MM/DD/YYYY",
160
+ "YYYY-MM-DD": "YYYY-MM-DD",
161
+ "D MMM YYYY": "D Mon YYYY",
162
+ "Do MMM YYYY": "Do Mon YYYY",
163
+ "Do MMMM YYYY": "Do Month YYYY",
164
+ "MMMM D, YYYY": "Month D, YYYY"
165
165
  };
166
166
 
167
167
  // src/server/types.ts