esigncomply 1.0.0 → 1.0.1

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.
@@ -4,6 +4,6 @@ import { type Io } from "./io";
4
4
  * webhooks listen, verify. Output is plain text; colours appear only when
5
5
  * stdout is a terminal.
6
6
  */
7
- export declare const HELP = "esigncomply 1.0.0\n\nUsage\n esigncomply <command> [options]\n\nCommands\n demo Serve a local signup page, run a test ceremony, print the record ID.\n check Conformance check of your page at three window sizes; exit code for CI.\n documents publish Publish a file as a new version of a document.\n webhooks listen Forward test webhook deliveries to a server on your machine.\n verify Verify an evidence package offline.\n\n esigncomply <command> --help Options of one command.\n esigncomply --version\n\nEnvironment\n ESIGNCOMPLY_API_KEY Your secret key. demo, check and webhooks listen take test keys only.\n ESIGNCOMPLY_API_URL API base URL. Default: the host for the region in the key.\n";
7
+ export declare const HELP = "esigncomply 1.0.1\n\nUsage\n esigncomply <command> [options]\n\nCommands\n demo Serve a local signup page, run a test ceremony, print the record ID.\n check Conformance check of your page at three window sizes; exit code for CI.\n documents publish Publish a file as a new version of a document.\n webhooks listen Forward test webhook deliveries to a server on your machine.\n verify Verify an evidence package offline.\n\n esigncomply <command> --help Options of one command.\n esigncomply --version\n\nEnvironment\n ESIGNCOMPLY_API_KEY Your secret key. demo, check and webhooks listen take test keys only.\n ESIGNCOMPLY_API_URL API base URL. Default: the host for the region in the key.\n";
8
8
  /** Run the command line. Returns the exit code and writes only through `io`. */
9
9
  export declare function run(argv: string[], io?: Io): Promise<number>;
package/dist/cli.js CHANGED
@@ -5,7 +5,7 @@ import { realpathSync } from "node:fs";
5
5
  import { fileURLToPath } from "node:url";
6
6
 
7
7
  // packages/esigncomply/src/version.ts
8
- var VERSION = "1.0.0";
8
+ var VERSION = "1.0.1";
9
9
 
10
10
  // packages/esigncomply/src/cli/args.ts
11
11
  var UsageError = class extends Error {
package/dist/index.js CHANGED
@@ -47,7 +47,7 @@ function networkError(err, context) {
47
47
  }
48
48
 
49
49
  // packages/esigncomply/src/version.ts
50
- var VERSION = "1.0.0";
50
+ var VERSION = "1.0.1";
51
51
 
52
52
  // packages/esigncomply/src/client.ts
53
53
  var US_BASE = "https://esigncomply.com/v1";
package/dist/types.d.ts CHANGED
@@ -327,6 +327,7 @@ export interface SessionSignerParams {
327
327
  external_id: string;
328
328
  email?: string | null;
329
329
  name?: string | null;
330
+ /** Asserted by you and recorded as given. Esign Comply sends nothing to it and does not verify it. */
330
331
  phone?: string | null;
331
332
  class?: Open<"consumer" | "business" | "employee"> | null;
332
333
  /** ISO 3166-1 alpha-2. */
@@ -658,7 +659,6 @@ export interface EscRecord {
658
659
  country?: string | null;
659
660
  region?: string | null;
660
661
  verified_email?: string;
661
- verified_phone?: string;
662
662
  typed_name?: string;
663
663
  [key: string]: unknown;
664
664
  };
@@ -1422,10 +1422,6 @@ export interface Usage {
1422
1422
  /** False on Free: certificates exist for test records only. */
1423
1423
  live_available?: boolean;
1424
1424
  };
1425
- verifications?: {
1426
- sms_used: number;
1427
- sms_included: number;
1428
- };
1429
1425
  supplements: {
1430
1426
  count?: number;
1431
1427
  storage_used_bytes: number;
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  /** The SDK version, sent as `X-Esc-Sdk: node/<version>`. Kept equal to package.json by a test. */
2
- export declare const VERSION = "1.0.0";
2
+ export declare const VERSION = "1.0.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esigncomply",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Server SDK and CLI for Esign Comply: documents, sessions, records, supplements, certificates, guidance and webhook verification.",
5
5
  "type": "module",
6
6
  "sideEffects": false,