@zkpassport/sdk 0.8.8 → 0.9.0

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.
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/constants.ts
21
+ var constants_exports = {};
22
+ __export(constants_exports, {
23
+ APPLE_APP_ATTEST_ROOT_KEY_HASH: () => APPLE_APP_ATTEST_ROOT_KEY_HASH,
24
+ DEFAULT_DATE_VALUE: () => DEFAULT_DATE_VALUE,
25
+ DEFAULT_VALIDITY: () => DEFAULT_VALIDITY,
26
+ VERSION: () => VERSION,
27
+ ZKPASSPORT_APP_ID_HASH: () => ZKPASSPORT_APP_ID_HASH
28
+ });
29
+ module.exports = __toCommonJS(constants_exports);
30
+ var VERSION = "0.9.0";
31
+ var DEFAULT_VALIDITY = 7 * 24 * 60 * 60;
32
+ var DEFAULT_DATE_VALUE = /* @__PURE__ */ new Date(0);
33
+ var ZKPASSPORT_APP_ID_HASH = "0x1fa73686cf510f8f85757b0602de0dd72a13e68ae2092462be8b72662e7f179b";
34
+ var APPLE_APP_ATTEST_ROOT_KEY_HASH = "0x2532418a107c5306fa8308c22255792cf77e4a290cbce8a840a642a3e591340b";
35
+ // Annotate the CommonJS export names for ESM import in node:
36
+ 0 && (module.exports = {
37
+ APPLE_APP_ATTEST_ROOT_KEY_HASH,
38
+ DEFAULT_DATE_VALUE,
39
+ DEFAULT_VALIDITY,
40
+ VERSION,
41
+ ZKPASSPORT_APP_ID_HASH
42
+ });
@@ -0,0 +1,7 @@
1
+ declare const VERSION = "0.9.0";
2
+ declare const DEFAULT_VALIDITY: number;
3
+ declare const DEFAULT_DATE_VALUE: Date;
4
+ declare const ZKPASSPORT_APP_ID_HASH = "0x1fa73686cf510f8f85757b0602de0dd72a13e68ae2092462be8b72662e7f179b";
5
+ declare const APPLE_APP_ATTEST_ROOT_KEY_HASH = "0x2532418a107c5306fa8308c22255792cf77e4a290cbce8a840a642a3e591340b";
6
+
7
+ export { APPLE_APP_ATTEST_ROOT_KEY_HASH, DEFAULT_DATE_VALUE, DEFAULT_VALIDITY, VERSION, ZKPASSPORT_APP_ID_HASH };