opacity-issuer-core 0.2.2 → 0.3.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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkGMPQFX25_cjs = require('../chunk-GMPQFX25.cjs');
3
+ var chunkGUTZXV5S_cjs = require('../chunk-GUTZXV5S.cjs');
4
4
  var chunk3L7NNVUV_cjs = require('../chunk-3L7NNVUV.cjs');
5
5
  require('../chunk-HJQZWNZJ.cjs');
6
6
 
@@ -8,131 +8,131 @@ require('../chunk-HJQZWNZJ.cjs');
8
8
 
9
9
  Object.defineProperty(exports, "SANDBOX_CHAIN_ID", {
10
10
  enumerable: true,
11
- get: function () { return chunkGMPQFX25_cjs.SANDBOX_CHAIN_ID; }
11
+ get: function () { return chunkGUTZXV5S_cjs.SANDBOX_CHAIN_ID; }
12
12
  });
13
13
  Object.defineProperty(exports, "SANDBOX_DEPLOYMENTS", {
14
14
  enumerable: true,
15
- get: function () { return chunkGMPQFX25_cjs.SANDBOX_DEPLOYMENTS; }
15
+ get: function () { return chunkGUTZXV5S_cjs.SANDBOX_DEPLOYMENTS; }
16
16
  });
17
17
  Object.defineProperty(exports, "SANDBOX_IMPLEMENTATION_VERSION", {
18
18
  enumerable: true,
19
- get: function () { return chunkGMPQFX25_cjs.SANDBOX_IMPLEMENTATION_VERSION; }
19
+ get: function () { return chunkGUTZXV5S_cjs.SANDBOX_IMPLEMENTATION_VERSION; }
20
20
  });
21
21
  Object.defineProperty(exports, "SANDBOX_TRAIT_IDS", {
22
22
  enumerable: true,
23
- get: function () { return chunkGMPQFX25_cjs.SANDBOX_TRAIT_IDS; }
23
+ get: function () { return chunkGUTZXV5S_cjs.SANDBOX_TRAIT_IDS; }
24
24
  });
25
25
  Object.defineProperty(exports, "SEPOLIA_CHAIN_ID", {
26
26
  enumerable: true,
27
- get: function () { return chunkGMPQFX25_cjs.SEPOLIA_CHAIN_ID; }
27
+ get: function () { return chunkGUTZXV5S_cjs.SEPOLIA_CHAIN_ID; }
28
28
  });
29
29
  Object.defineProperty(exports, "assertDocumentMatchesHash", {
30
30
  enumerable: true,
31
- get: function () { return chunkGMPQFX25_cjs.assertDocumentMatchesHash; }
31
+ get: function () { return chunkGUTZXV5S_cjs.assertDocumentMatchesHash; }
32
32
  });
33
33
  Object.defineProperty(exports, "buildAttestDocumentTransaction", {
34
34
  enumerable: true,
35
- get: function () { return chunkGMPQFX25_cjs.buildAttestDocumentTransaction; }
35
+ get: function () { return chunkGUTZXV5S_cjs.buildAttestDocumentTransaction; }
36
36
  });
37
37
  Object.defineProperty(exports, "buildDocumentAcceptanceTypedData", {
38
38
  enumerable: true,
39
- get: function () { return chunkGMPQFX25_cjs.buildDocumentAcceptanceTypedData; }
39
+ get: function () { return chunkGUTZXV5S_cjs.buildDocumentAcceptanceTypedData; }
40
40
  });
41
41
  Object.defineProperty(exports, "buildSandboxAddSelfTransaction", {
42
42
  enumerable: true,
43
- get: function () { return chunkGMPQFX25_cjs.buildSandboxAddSelfTransaction; }
43
+ get: function () { return chunkGUTZXV5S_cjs.buildSandboxAddSelfTransaction; }
44
44
  });
45
45
  Object.defineProperty(exports, "buildSandboxRegisterIssuerTransaction", {
46
46
  enumerable: true,
47
- get: function () { return chunkGMPQFX25_cjs.buildSandboxRegisterIssuerTransaction; }
47
+ get: function () { return chunkGUTZXV5S_cjs.buildSandboxRegisterIssuerTransaction; }
48
48
  });
49
49
  Object.defineProperty(exports, "buildSandboxSetSelfTraitTransaction", {
50
50
  enumerable: true,
51
- get: function () { return chunkGMPQFX25_cjs.buildSandboxSetSelfTraitTransaction; }
51
+ get: function () { return chunkGUTZXV5S_cjs.buildSandboxSetSelfTraitTransaction; }
52
52
  });
53
53
  Object.defineProperty(exports, "documentAttestorAbi", {
54
54
  enumerable: true,
55
- get: function () { return chunkGMPQFX25_cjs.documentAttestorAbi; }
55
+ get: function () { return chunkGUTZXV5S_cjs.documentAttestorAbi; }
56
56
  });
57
57
  Object.defineProperty(exports, "documentTraitId", {
58
58
  enumerable: true,
59
- get: function () { return chunkGMPQFX25_cjs.documentTraitId; }
59
+ get: function () { return chunkGUTZXV5S_cjs.documentTraitId; }
60
60
  });
61
61
  Object.defineProperty(exports, "getSandboxDeployment", {
62
62
  enumerable: true,
63
- get: function () { return chunkGMPQFX25_cjs.getSandboxDeployment; }
63
+ get: function () { return chunkGUTZXV5S_cjs.getSandboxDeployment; }
64
64
  });
65
65
  Object.defineProperty(exports, "hashDocument", {
66
66
  enumerable: true,
67
- get: function () { return chunkGMPQFX25_cjs.hashDocument; }
67
+ get: function () { return chunkGUTZXV5S_cjs.hashDocument; }
68
68
  });
69
69
  Object.defineProperty(exports, "hashDocumentAcceptance", {
70
70
  enumerable: true,
71
- get: function () { return chunkGMPQFX25_cjs.hashDocumentAcceptance; }
71
+ get: function () { return chunkGUTZXV5S_cjs.hashDocumentAcceptance; }
72
72
  });
73
73
  Object.defineProperty(exports, "probeSandboxRegistry", {
74
74
  enumerable: true,
75
- get: function () { return chunkGMPQFX25_cjs.probeSandboxRegistry; }
75
+ get: function () { return chunkGUTZXV5S_cjs.probeSandboxRegistry; }
76
76
  });
77
77
  Object.defineProperty(exports, "requireSandboxDeployment", {
78
78
  enumerable: true,
79
- get: function () { return chunkGMPQFX25_cjs.requireSandboxDeployment; }
79
+ get: function () { return chunkGUTZXV5S_cjs.requireSandboxDeployment; }
80
80
  });
81
81
  Object.defineProperty(exports, "sandboxAllowlistRegistryAbi", {
82
82
  enumerable: true,
83
- get: function () { return chunkGMPQFX25_cjs.sandboxAllowlistRegistryAbi; }
83
+ get: function () { return chunkGUTZXV5S_cjs.sandboxAllowlistRegistryAbi; }
84
84
  });
85
85
  Object.defineProperty(exports, "sandboxUserId", {
86
86
  enumerable: true,
87
- get: function () { return chunkGMPQFX25_cjs.sandboxUserId; }
87
+ get: function () { return chunkGUTZXV5S_cjs.sandboxUserId; }
88
88
  });
89
89
  Object.defineProperty(exports, "toEip1193Json", {
90
90
  enumerable: true,
91
- get: function () { return chunkGMPQFX25_cjs.toEip1193Json; }
91
+ get: function () { return chunkGUTZXV5S_cjs.toEip1193Json; }
92
92
  });
93
93
  Object.defineProperty(exports, "toEip1193TypedData", {
94
94
  enumerable: true,
95
- get: function () { return chunkGMPQFX25_cjs.toEip1193TypedData; }
95
+ get: function () { return chunkGUTZXV5S_cjs.toEip1193TypedData; }
96
96
  });
97
97
  Object.defineProperty(exports, "toEip712Json", {
98
98
  enumerable: true,
99
- get: function () { return chunkGMPQFX25_cjs.toEip712Json; }
99
+ get: function () { return chunkGUTZXV5S_cjs.toEip712Json; }
100
100
  });
101
101
  Object.defineProperty(exports, "toEip712JsonPayload", {
102
102
  enumerable: true,
103
- get: function () { return chunkGMPQFX25_cjs.toEip712JsonPayload; }
103
+ get: function () { return chunkGUTZXV5S_cjs.toEip712JsonPayload; }
104
104
  });
105
105
  Object.defineProperty(exports, "toEthersTypedData", {
106
106
  enumerable: true,
107
- get: function () { return chunkGMPQFX25_cjs.toEthersTypedData; }
107
+ get: function () { return chunkGUTZXV5S_cjs.toEthersTypedData; }
108
108
  });
109
109
  Object.defineProperty(exports, "toJsonRpcTransaction", {
110
110
  enumerable: true,
111
- get: function () { return chunkGMPQFX25_cjs.toJsonRpcTransaction; }
111
+ get: function () { return chunkGUTZXV5S_cjs.toJsonRpcTransaction; }
112
112
  });
113
113
  Object.defineProperty(exports, "toSandboxAddSelfWriteContractRequest", {
114
114
  enumerable: true,
115
- get: function () { return chunkGMPQFX25_cjs.toSandboxAddSelfWriteContractRequest; }
115
+ get: function () { return chunkGUTZXV5S_cjs.toSandboxAddSelfWriteContractRequest; }
116
116
  });
117
117
  Object.defineProperty(exports, "toSandboxRegisterIssuerWriteContractRequest", {
118
118
  enumerable: true,
119
- get: function () { return chunkGMPQFX25_cjs.toSandboxRegisterIssuerWriteContractRequest; }
119
+ get: function () { return chunkGUTZXV5S_cjs.toSandboxRegisterIssuerWriteContractRequest; }
120
120
  });
121
121
  Object.defineProperty(exports, "toSandboxSetSelfTraitWriteContractRequest", {
122
122
  enumerable: true,
123
- get: function () { return chunkGMPQFX25_cjs.toSandboxSetSelfTraitWriteContractRequest; }
123
+ get: function () { return chunkGUTZXV5S_cjs.toSandboxSetSelfTraitWriteContractRequest; }
124
124
  });
125
125
  Object.defineProperty(exports, "toViemTypedData", {
126
126
  enumerable: true,
127
- get: function () { return chunkGMPQFX25_cjs.toViemTypedData; }
127
+ get: function () { return chunkGUTZXV5S_cjs.toViemTypedData; }
128
128
  });
129
129
  Object.defineProperty(exports, "toWriteContractRequest", {
130
130
  enumerable: true,
131
- get: function () { return chunkGMPQFX25_cjs.toWriteContractRequest; }
131
+ get: function () { return chunkGUTZXV5S_cjs.toWriteContractRequest; }
132
132
  });
133
133
  Object.defineProperty(exports, "verifyAttestationSession", {
134
134
  enumerable: true,
135
- get: function () { return chunkGMPQFX25_cjs.verifyAttestationSession; }
135
+ get: function () { return chunkGUTZXV5S_cjs.verifyAttestationSession; }
136
136
  });
137
137
  Object.defineProperty(exports, "DOCUMENT_ACCEPTANCE_PRIMARY_TYPE", {
138
138
  enumerable: true,
@@ -1180,17 +1180,17 @@ interface SandboxDeployment {
1180
1180
  documentAttestor: Address;
1181
1181
  }
1182
1182
  /**
1183
- * Built-in sandbox deployments, keyed by chain id. Sepolia only, today.
1183
+ * Historical sandbox deployment snapshots, keyed by chain id. Sepolia only, today.
1184
1184
  *
1185
1185
  * These and `SANDBOX_PURCHASE_DEPLOYMENT` are testnet-only constants; production addresses are
1186
- * never baked in. They serve as
1187
- * the FALLBACK for `client.sandbox` when discovery cannot answer, and as constants a consumer can
1188
- * pin (`expectedAttestor`) or use with the pure builders without a backend at all.
1186
+ * never baked in. Consumers may explicitly use these snapshots with pure builders after checking
1187
+ * their intended environment. They are NOT automatic fallbacks for `client.sandbox`: discovery
1188
+ * failures and missing registries reject rather than silently selecting another deployment.
1189
1189
  *
1190
1190
  * Source and receipt provenance: SEPOLIA_SANDBOX_MANIFEST and
1191
1191
  * deployments/sepolia-sandbox-v3.json. Verified sandboxVersion() = 3 after all
1192
- * deployment and MMF seed transactions confirmed. Discovery remains backend-owned;
1193
- * pin these addresses explicitly during the subgraph/backend cutover.
1192
+ * deployment and MMF seed transactions confirmed. Discovery remains backend-owned; this snapshot
1193
+ * does not identify the backend's current deployment or follow later redeployments/upgrades.
1194
1194
  */
1195
1195
  declare const SANDBOX_DEPLOYMENTS: Readonly<Partial<Record<number, SandboxDeployment>>>;
1196
1196
  /** The built-in sandbox deployment for a chain, or `undefined` when the SDK ships none for it. */
@@ -1180,17 +1180,17 @@ interface SandboxDeployment {
1180
1180
  documentAttestor: Address;
1181
1181
  }
1182
1182
  /**
1183
- * Built-in sandbox deployments, keyed by chain id. Sepolia only, today.
1183
+ * Historical sandbox deployment snapshots, keyed by chain id. Sepolia only, today.
1184
1184
  *
1185
1185
  * These and `SANDBOX_PURCHASE_DEPLOYMENT` are testnet-only constants; production addresses are
1186
- * never baked in. They serve as
1187
- * the FALLBACK for `client.sandbox` when discovery cannot answer, and as constants a consumer can
1188
- * pin (`expectedAttestor`) or use with the pure builders without a backend at all.
1186
+ * never baked in. Consumers may explicitly use these snapshots with pure builders after checking
1187
+ * their intended environment. They are NOT automatic fallbacks for `client.sandbox`: discovery
1188
+ * failures and missing registries reject rather than silently selecting another deployment.
1189
1189
  *
1190
1190
  * Source and receipt provenance: SEPOLIA_SANDBOX_MANIFEST and
1191
1191
  * deployments/sepolia-sandbox-v3.json. Verified sandboxVersion() = 3 after all
1192
- * deployment and MMF seed transactions confirmed. Discovery remains backend-owned;
1193
- * pin these addresses explicitly during the subgraph/backend cutover.
1192
+ * deployment and MMF seed transactions confirmed. Discovery remains backend-owned; this snapshot
1193
+ * does not identify the backend's current deployment or follow later redeployments/upgrades.
1194
1194
  */
1195
1195
  declare const SANDBOX_DEPLOYMENTS: Readonly<Partial<Record<number, SandboxDeployment>>>;
1196
1196
  /** The built-in sandbox deployment for a chain, or `undefined` when the SDK ships none for it. */
@@ -1,4 +1,4 @@
1
- export { SANDBOX_CHAIN_ID, SANDBOX_DEPLOYMENTS, SANDBOX_IMPLEMENTATION_VERSION, SANDBOX_TRAIT_IDS, SEPOLIA_CHAIN_ID, assertDocumentMatchesHash, buildAttestDocumentTransaction, buildDocumentAcceptanceTypedData, buildSandboxAddSelfTransaction, buildSandboxRegisterIssuerTransaction, buildSandboxSetSelfTraitTransaction, documentAttestorAbi, documentTraitId, getSandboxDeployment, hashDocument, hashDocumentAcceptance, probeSandboxRegistry, requireSandboxDeployment, sandboxAllowlistRegistryAbi, sandboxUserId, toEip1193Json, toEip1193TypedData, toEip712Json, toEip712JsonPayload, toEthersTypedData, toJsonRpcTransaction, toSandboxAddSelfWriteContractRequest, toSandboxRegisterIssuerWriteContractRequest, toSandboxSetSelfTraitWriteContractRequest, toViemTypedData, toWriteContractRequest, verifyAttestationSession } from '../chunk-7ODYBEZH.js';
1
+ export { SANDBOX_CHAIN_ID, SANDBOX_DEPLOYMENTS, SANDBOX_IMPLEMENTATION_VERSION, SANDBOX_TRAIT_IDS, SEPOLIA_CHAIN_ID, assertDocumentMatchesHash, buildAttestDocumentTransaction, buildDocumentAcceptanceTypedData, buildSandboxAddSelfTransaction, buildSandboxRegisterIssuerTransaction, buildSandboxSetSelfTraitTransaction, documentAttestorAbi, documentTraitId, getSandboxDeployment, hashDocument, hashDocumentAcceptance, probeSandboxRegistry, requireSandboxDeployment, sandboxAllowlistRegistryAbi, sandboxUserId, toEip1193Json, toEip1193TypedData, toEip712Json, toEip712JsonPayload, toEthersTypedData, toJsonRpcTransaction, toSandboxAddSelfWriteContractRequest, toSandboxRegisterIssuerWriteContractRequest, toSandboxSetSelfTraitWriteContractRequest, toViemTypedData, toWriteContractRequest, verifyAttestationSession } from '../chunk-F73OBTKE.js';
2
2
  export { DOCUMENT_ACCEPTANCE_PRIMARY_TYPE, DOCUMENT_ACCEPTANCE_TYPEHASH, DOCUMENT_ACCEPTANCE_TYPES, DOCUMENT_ATTESTOR_DOMAIN_NAME, DOCUMENT_ATTESTOR_DOMAIN_VERSION, ECDSA_SIGNATURE_BYTES, EIP712_DOMAIN_TYPE, MAX_ATTESTATION_LIFETIME_SECONDS } from '../chunk-2STMWRIV.js';
3
3
  import '../chunk-54Q3MU62.js';
4
4
  //# sourceMappingURL=index.js.map