@nextera.one/axis-server-sdk 2.1.4 → 2.1.5
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.
- package/dist/index.d.mts +905 -905
- package/dist/index.d.ts +905 -905
- package/dist/index.js +200 -171
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +186 -157
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -139,6 +139,163 @@ var init_capsule_policy_decorator = __esm({
|
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
+
// src/decorators/intent-policy.decorator.ts
|
|
143
|
+
var intent_policy_decorator_exports = {};
|
|
144
|
+
__export(intent_policy_decorator_exports, {
|
|
145
|
+
AXIS_ANONYMOUS_KEY: () => AXIS_ANONYMOUS_KEY,
|
|
146
|
+
AXIS_PUBLIC_KEY: () => AXIS_PUBLIC_KEY,
|
|
147
|
+
AXIS_RATE_LIMIT_KEY: () => AXIS_RATE_LIMIT_KEY,
|
|
148
|
+
AxisAnonymous: () => AxisAnonymous,
|
|
149
|
+
AxisPublic: () => AxisPublic,
|
|
150
|
+
AxisRateLimit: () => AxisRateLimit,
|
|
151
|
+
CONTRACT_METADATA_KEY: () => CONTRACT_METADATA_KEY,
|
|
152
|
+
Capsule: () => Capsule,
|
|
153
|
+
Contract: () => Contract,
|
|
154
|
+
REQUIRED_PROOF_METADATA_KEY: () => REQUIRED_PROOF_METADATA_KEY,
|
|
155
|
+
RequiredProof: () => RequiredProof,
|
|
156
|
+
SENSITIVITY_METADATA_KEY: () => SENSITIVITY_METADATA_KEY,
|
|
157
|
+
Sensitivity: () => Sensitivity,
|
|
158
|
+
Witness: () => Witness
|
|
159
|
+
});
|
|
160
|
+
import "reflect-metadata";
|
|
161
|
+
function Sensitivity(level) {
|
|
162
|
+
return ((target, propertyKey) => {
|
|
163
|
+
if (propertyKey !== void 0) {
|
|
164
|
+
Reflect.defineMetadata(
|
|
165
|
+
SENSITIVITY_METADATA_KEY,
|
|
166
|
+
level,
|
|
167
|
+
target,
|
|
168
|
+
propertyKey
|
|
169
|
+
);
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
Reflect.defineMetadata(SENSITIVITY_METADATA_KEY, level, target);
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
function Contract(options) {
|
|
176
|
+
return ((target, propertyKey) => {
|
|
177
|
+
if (propertyKey !== void 0) {
|
|
178
|
+
Reflect.defineMetadata(
|
|
179
|
+
CONTRACT_METADATA_KEY,
|
|
180
|
+
options,
|
|
181
|
+
target,
|
|
182
|
+
propertyKey
|
|
183
|
+
);
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
Reflect.defineMetadata(CONTRACT_METADATA_KEY, options, target);
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
function RequiredProof(proofs) {
|
|
190
|
+
return ((target, propertyKey) => {
|
|
191
|
+
if (propertyKey !== void 0) {
|
|
192
|
+
Reflect.defineMetadata(
|
|
193
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
194
|
+
proofs,
|
|
195
|
+
target,
|
|
196
|
+
propertyKey
|
|
197
|
+
);
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
Reflect.defineMetadata(
|
|
201
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
202
|
+
proofs,
|
|
203
|
+
target
|
|
204
|
+
);
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
function Capsule() {
|
|
208
|
+
return ((target, propertyKey) => {
|
|
209
|
+
const existing = propertyKey !== void 0 ? Reflect.getMetadata(
|
|
210
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
211
|
+
target,
|
|
212
|
+
propertyKey
|
|
213
|
+
) ?? [] : Reflect.getMetadata(
|
|
214
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
215
|
+
target
|
|
216
|
+
) ?? [];
|
|
217
|
+
const merged = existing.includes("CAPSULE") ? existing : [...existing, "CAPSULE"];
|
|
218
|
+
if (propertyKey !== void 0) {
|
|
219
|
+
Reflect.defineMetadata(
|
|
220
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
221
|
+
merged,
|
|
222
|
+
target,
|
|
223
|
+
propertyKey
|
|
224
|
+
);
|
|
225
|
+
} else {
|
|
226
|
+
Reflect.defineMetadata(
|
|
227
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
228
|
+
merged,
|
|
229
|
+
target
|
|
230
|
+
);
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
function Witness() {
|
|
235
|
+
return ((target, propertyKey) => {
|
|
236
|
+
const existing = propertyKey !== void 0 ? Reflect.getMetadata(
|
|
237
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
238
|
+
target,
|
|
239
|
+
propertyKey
|
|
240
|
+
) ?? [] : Reflect.getMetadata(
|
|
241
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
242
|
+
target
|
|
243
|
+
) ?? [];
|
|
244
|
+
const merged = existing.includes("WITNESS") ? existing : [...existing, "WITNESS"];
|
|
245
|
+
if (propertyKey !== void 0) {
|
|
246
|
+
Reflect.defineMetadata(
|
|
247
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
248
|
+
merged,
|
|
249
|
+
target,
|
|
250
|
+
propertyKey
|
|
251
|
+
);
|
|
252
|
+
} else {
|
|
253
|
+
Reflect.defineMetadata(
|
|
254
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
255
|
+
merged,
|
|
256
|
+
target
|
|
257
|
+
);
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
function AxisPublic() {
|
|
262
|
+
return (target, propertyKey, descriptor) => {
|
|
263
|
+
if (descriptor) {
|
|
264
|
+
Reflect.defineMetadata(AXIS_PUBLIC_KEY, true, target, propertyKey);
|
|
265
|
+
return descriptor;
|
|
266
|
+
}
|
|
267
|
+
Reflect.defineMetadata(AXIS_PUBLIC_KEY, true, target);
|
|
268
|
+
return target;
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
function AxisAnonymous() {
|
|
272
|
+
return (target, propertyKey, descriptor) => {
|
|
273
|
+
if (descriptor) {
|
|
274
|
+
Reflect.defineMetadata(AXIS_ANONYMOUS_KEY, true, target, propertyKey);
|
|
275
|
+
return descriptor;
|
|
276
|
+
}
|
|
277
|
+
Reflect.defineMetadata(AXIS_ANONYMOUS_KEY, true, target);
|
|
278
|
+
return target;
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
function AxisRateLimit(config) {
|
|
282
|
+
return (target, propertyKey, descriptor) => {
|
|
283
|
+
Reflect.defineMetadata(AXIS_RATE_LIMIT_KEY, config, target, propertyKey);
|
|
284
|
+
return descriptor;
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
var SENSITIVITY_METADATA_KEY, CONTRACT_METADATA_KEY, REQUIRED_PROOF_METADATA_KEY, AXIS_PUBLIC_KEY, AXIS_ANONYMOUS_KEY, AXIS_RATE_LIMIT_KEY;
|
|
288
|
+
var init_intent_policy_decorator = __esm({
|
|
289
|
+
"src/decorators/intent-policy.decorator.ts"() {
|
|
290
|
+
SENSITIVITY_METADATA_KEY = "axis:sensitivity";
|
|
291
|
+
CONTRACT_METADATA_KEY = "axis:contract";
|
|
292
|
+
REQUIRED_PROOF_METADATA_KEY = "axis:required_proof";
|
|
293
|
+
AXIS_PUBLIC_KEY = "axis:public";
|
|
294
|
+
AXIS_ANONYMOUS_KEY = "axis:anonymous";
|
|
295
|
+
AXIS_RATE_LIMIT_KEY = "axis:rateLimit";
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
|
|
142
299
|
// src/decorators/handler.decorator.ts
|
|
143
300
|
var handler_decorator_exports = {};
|
|
144
301
|
__export(handler_decorator_exports, {
|
|
@@ -1805,163 +1962,6 @@ var init_axis_error = __esm({
|
|
|
1805
1962
|
}
|
|
1806
1963
|
});
|
|
1807
1964
|
|
|
1808
|
-
// src/decorators/intent-policy.decorator.ts
|
|
1809
|
-
var intent_policy_decorator_exports = {};
|
|
1810
|
-
__export(intent_policy_decorator_exports, {
|
|
1811
|
-
AXIS_ANONYMOUS_KEY: () => AXIS_ANONYMOUS_KEY,
|
|
1812
|
-
AXIS_PUBLIC_KEY: () => AXIS_PUBLIC_KEY,
|
|
1813
|
-
AXIS_RATE_LIMIT_KEY: () => AXIS_RATE_LIMIT_KEY,
|
|
1814
|
-
AxisAnonymous: () => AxisAnonymous,
|
|
1815
|
-
AxisPublic: () => AxisPublic,
|
|
1816
|
-
AxisRateLimit: () => AxisRateLimit,
|
|
1817
|
-
CONTRACT_METADATA_KEY: () => CONTRACT_METADATA_KEY,
|
|
1818
|
-
Capsule: () => Capsule,
|
|
1819
|
-
Contract: () => Contract,
|
|
1820
|
-
REQUIRED_PROOF_METADATA_KEY: () => REQUIRED_PROOF_METADATA_KEY,
|
|
1821
|
-
RequiredProof: () => RequiredProof,
|
|
1822
|
-
SENSITIVITY_METADATA_KEY: () => SENSITIVITY_METADATA_KEY,
|
|
1823
|
-
Sensitivity: () => Sensitivity,
|
|
1824
|
-
Witness: () => Witness
|
|
1825
|
-
});
|
|
1826
|
-
import "reflect-metadata";
|
|
1827
|
-
function Sensitivity(level) {
|
|
1828
|
-
return ((target, propertyKey) => {
|
|
1829
|
-
if (propertyKey !== void 0) {
|
|
1830
|
-
Reflect.defineMetadata(
|
|
1831
|
-
SENSITIVITY_METADATA_KEY,
|
|
1832
|
-
level,
|
|
1833
|
-
target,
|
|
1834
|
-
propertyKey
|
|
1835
|
-
);
|
|
1836
|
-
return;
|
|
1837
|
-
}
|
|
1838
|
-
Reflect.defineMetadata(SENSITIVITY_METADATA_KEY, level, target);
|
|
1839
|
-
});
|
|
1840
|
-
}
|
|
1841
|
-
function Contract(options) {
|
|
1842
|
-
return ((target, propertyKey) => {
|
|
1843
|
-
if (propertyKey !== void 0) {
|
|
1844
|
-
Reflect.defineMetadata(
|
|
1845
|
-
CONTRACT_METADATA_KEY,
|
|
1846
|
-
options,
|
|
1847
|
-
target,
|
|
1848
|
-
propertyKey
|
|
1849
|
-
);
|
|
1850
|
-
return;
|
|
1851
|
-
}
|
|
1852
|
-
Reflect.defineMetadata(CONTRACT_METADATA_KEY, options, target);
|
|
1853
|
-
});
|
|
1854
|
-
}
|
|
1855
|
-
function RequiredProof(proofs) {
|
|
1856
|
-
return ((target, propertyKey) => {
|
|
1857
|
-
if (propertyKey !== void 0) {
|
|
1858
|
-
Reflect.defineMetadata(
|
|
1859
|
-
REQUIRED_PROOF_METADATA_KEY,
|
|
1860
|
-
proofs,
|
|
1861
|
-
target,
|
|
1862
|
-
propertyKey
|
|
1863
|
-
);
|
|
1864
|
-
return;
|
|
1865
|
-
}
|
|
1866
|
-
Reflect.defineMetadata(
|
|
1867
|
-
REQUIRED_PROOF_METADATA_KEY,
|
|
1868
|
-
proofs,
|
|
1869
|
-
target
|
|
1870
|
-
);
|
|
1871
|
-
});
|
|
1872
|
-
}
|
|
1873
|
-
function Capsule() {
|
|
1874
|
-
return ((target, propertyKey) => {
|
|
1875
|
-
const existing = propertyKey !== void 0 ? Reflect.getMetadata(
|
|
1876
|
-
REQUIRED_PROOF_METADATA_KEY,
|
|
1877
|
-
target,
|
|
1878
|
-
propertyKey
|
|
1879
|
-
) ?? [] : Reflect.getMetadata(
|
|
1880
|
-
REQUIRED_PROOF_METADATA_KEY,
|
|
1881
|
-
target
|
|
1882
|
-
) ?? [];
|
|
1883
|
-
const merged = existing.includes("CAPSULE") ? existing : [...existing, "CAPSULE"];
|
|
1884
|
-
if (propertyKey !== void 0) {
|
|
1885
|
-
Reflect.defineMetadata(
|
|
1886
|
-
REQUIRED_PROOF_METADATA_KEY,
|
|
1887
|
-
merged,
|
|
1888
|
-
target,
|
|
1889
|
-
propertyKey
|
|
1890
|
-
);
|
|
1891
|
-
} else {
|
|
1892
|
-
Reflect.defineMetadata(
|
|
1893
|
-
REQUIRED_PROOF_METADATA_KEY,
|
|
1894
|
-
merged,
|
|
1895
|
-
target
|
|
1896
|
-
);
|
|
1897
|
-
}
|
|
1898
|
-
});
|
|
1899
|
-
}
|
|
1900
|
-
function Witness() {
|
|
1901
|
-
return ((target, propertyKey) => {
|
|
1902
|
-
const existing = propertyKey !== void 0 ? Reflect.getMetadata(
|
|
1903
|
-
REQUIRED_PROOF_METADATA_KEY,
|
|
1904
|
-
target,
|
|
1905
|
-
propertyKey
|
|
1906
|
-
) ?? [] : Reflect.getMetadata(
|
|
1907
|
-
REQUIRED_PROOF_METADATA_KEY,
|
|
1908
|
-
target
|
|
1909
|
-
) ?? [];
|
|
1910
|
-
const merged = existing.includes("WITNESS") ? existing : [...existing, "WITNESS"];
|
|
1911
|
-
if (propertyKey !== void 0) {
|
|
1912
|
-
Reflect.defineMetadata(
|
|
1913
|
-
REQUIRED_PROOF_METADATA_KEY,
|
|
1914
|
-
merged,
|
|
1915
|
-
target,
|
|
1916
|
-
propertyKey
|
|
1917
|
-
);
|
|
1918
|
-
} else {
|
|
1919
|
-
Reflect.defineMetadata(
|
|
1920
|
-
REQUIRED_PROOF_METADATA_KEY,
|
|
1921
|
-
merged,
|
|
1922
|
-
target
|
|
1923
|
-
);
|
|
1924
|
-
}
|
|
1925
|
-
});
|
|
1926
|
-
}
|
|
1927
|
-
function AxisPublic() {
|
|
1928
|
-
return (target, propertyKey, descriptor) => {
|
|
1929
|
-
if (descriptor) {
|
|
1930
|
-
Reflect.defineMetadata(AXIS_PUBLIC_KEY, true, target, propertyKey);
|
|
1931
|
-
return descriptor;
|
|
1932
|
-
}
|
|
1933
|
-
Reflect.defineMetadata(AXIS_PUBLIC_KEY, true, target);
|
|
1934
|
-
return target;
|
|
1935
|
-
};
|
|
1936
|
-
}
|
|
1937
|
-
function AxisAnonymous() {
|
|
1938
|
-
return (target, propertyKey, descriptor) => {
|
|
1939
|
-
if (descriptor) {
|
|
1940
|
-
Reflect.defineMetadata(AXIS_ANONYMOUS_KEY, true, target, propertyKey);
|
|
1941
|
-
return descriptor;
|
|
1942
|
-
}
|
|
1943
|
-
Reflect.defineMetadata(AXIS_ANONYMOUS_KEY, true, target);
|
|
1944
|
-
return target;
|
|
1945
|
-
};
|
|
1946
|
-
}
|
|
1947
|
-
function AxisRateLimit(config) {
|
|
1948
|
-
return (target, propertyKey, descriptor) => {
|
|
1949
|
-
Reflect.defineMetadata(AXIS_RATE_LIMIT_KEY, config, target, propertyKey);
|
|
1950
|
-
return descriptor;
|
|
1951
|
-
};
|
|
1952
|
-
}
|
|
1953
|
-
var SENSITIVITY_METADATA_KEY, CONTRACT_METADATA_KEY, REQUIRED_PROOF_METADATA_KEY, AXIS_PUBLIC_KEY, AXIS_ANONYMOUS_KEY, AXIS_RATE_LIMIT_KEY;
|
|
1954
|
-
var init_intent_policy_decorator = __esm({
|
|
1955
|
-
"src/decorators/intent-policy.decorator.ts"() {
|
|
1956
|
-
SENSITIVITY_METADATA_KEY = "axis:sensitivity";
|
|
1957
|
-
CONTRACT_METADATA_KEY = "axis:contract";
|
|
1958
|
-
REQUIRED_PROOF_METADATA_KEY = "axis:required_proof";
|
|
1959
|
-
AXIS_PUBLIC_KEY = "axis:public";
|
|
1960
|
-
AXIS_ANONYMOUS_KEY = "axis:anonymous";
|
|
1961
|
-
AXIS_RATE_LIMIT_KEY = "axis:rateLimit";
|
|
1962
|
-
}
|
|
1963
|
-
});
|
|
1964
|
-
|
|
1965
1965
|
// src/security/scopes.ts
|
|
1966
1966
|
function hasScope(scopes, required) {
|
|
1967
1967
|
if (!Array.isArray(scopes) || scopes.length === 0) {
|
|
@@ -9503,14 +9503,18 @@ var index_exports = {};
|
|
|
9503
9503
|
__export(index_exports, {
|
|
9504
9504
|
ATS1_HDR: () => ATS1_HDR,
|
|
9505
9505
|
ATS1_SCHEMA: () => ATS1_SCHEMA,
|
|
9506
|
+
AXIS_ANONYMOUS_KEY: () => AXIS_ANONYMOUS_KEY,
|
|
9506
9507
|
AXIS_EXECUTION_CONTEXT_KEY: () => AXIS_EXECUTION_CONTEXT_KEY,
|
|
9507
9508
|
AXIS_MAGIC: () => AXIS_MAGIC,
|
|
9508
9509
|
AXIS_OPCODES: () => AXIS_OPCODES,
|
|
9510
|
+
AXIS_PUBLIC_KEY: () => AXIS_PUBLIC_KEY,
|
|
9511
|
+
AXIS_RATE_LIMIT_KEY: () => AXIS_RATE_LIMIT_KEY,
|
|
9509
9512
|
AXIS_UPLOAD_FILE_STORE: () => AXIS_UPLOAD_FILE_STORE,
|
|
9510
9513
|
AXIS_UPLOAD_RECEIPT_SIGNER: () => AXIS_UPLOAD_RECEIPT_SIGNER,
|
|
9511
9514
|
AXIS_UPLOAD_SESSION_STORE: () => AXIS_UPLOAD_SESSION_STORE,
|
|
9512
9515
|
AXIS_VERSION: () => AXIS_VERSION,
|
|
9513
9516
|
Ats1Codec: () => ats1_exports,
|
|
9517
|
+
AxisAnonymous: () => AxisAnonymous,
|
|
9514
9518
|
AxisChainExecutor: () => import_axis_chain.AxisChainExecutor,
|
|
9515
9519
|
AxisContext: () => import_axis_request.AxisContext,
|
|
9516
9520
|
AxisDemoPubkey: () => import_axis_request.AxisDemoPubkey,
|
|
@@ -9524,6 +9528,8 @@ __export(index_exports, {
|
|
|
9524
9528
|
AxisMediaTypes: () => AxisMediaTypes,
|
|
9525
9529
|
AxisPacketTags: () => T,
|
|
9526
9530
|
AxisPartialType: () => AxisPartialType,
|
|
9531
|
+
AxisPublic: () => AxisPublic,
|
|
9532
|
+
AxisRateLimit: () => AxisRateLimit,
|
|
9527
9533
|
AxisRaw: () => import_axis_request.AxisRaw,
|
|
9528
9534
|
AxisResponseDto: () => import_axis_response.AxisResponseDto,
|
|
9529
9535
|
AxisSensorChainService: () => import_axis_sensor_chain.AxisSensorChainService,
|
|
@@ -9535,9 +9541,12 @@ __export(index_exports, {
|
|
|
9535
9541
|
CCE_ERROR: () => CCE_ERROR,
|
|
9536
9542
|
CCE_PROTOCOL_VERSION: () => CCE_PROTOCOL_VERSION,
|
|
9537
9543
|
CHAIN_METADATA_KEY: () => CHAIN_METADATA_KEY,
|
|
9544
|
+
CONTRACT_METADATA_KEY: () => CONTRACT_METADATA_KEY,
|
|
9545
|
+
Capsule: () => Capsule,
|
|
9538
9546
|
CapsulePolicy: () => CapsulePolicy,
|
|
9539
9547
|
CceError: () => CceError,
|
|
9540
9548
|
Chain: () => Chain,
|
|
9549
|
+
Contract: () => Contract,
|
|
9541
9550
|
ContractViolationError: () => ContractViolationError,
|
|
9542
9551
|
DEFAULT_CONTRACTS: () => DEFAULT_CONTRACTS,
|
|
9543
9552
|
DEFAULT_TIMEOUT: () => DEFAULT_TIMEOUT,
|
|
@@ -9598,18 +9607,22 @@ __export(index_exports, {
|
|
|
9598
9607
|
PROOF_NONE: () => PROOF_NONE,
|
|
9599
9608
|
PROOF_WITNESS: () => PROOF_WITNESS,
|
|
9600
9609
|
ProofType: () => ProofType,
|
|
9610
|
+
REQUIRED_PROOF_METADATA_KEY: () => REQUIRED_PROOF_METADATA_KEY,
|
|
9601
9611
|
RESPONSE_TAG_CREATED_AT: () => import_axis_response.RESPONSE_TAG_CREATED_AT,
|
|
9602
9612
|
RESPONSE_TAG_CREATED_BY: () => import_axis_response.RESPONSE_TAG_CREATED_BY,
|
|
9603
9613
|
RESPONSE_TAG_ID: () => import_axis_response.RESPONSE_TAG_ID,
|
|
9604
9614
|
RESPONSE_TAG_UPDATED_AT: () => import_axis_response.RESPONSE_TAG_UPDATED_AT,
|
|
9605
9615
|
RESPONSE_TAG_UPDATED_BY: () => import_axis_response.RESPONSE_TAG_UPDATED_BY,
|
|
9616
|
+
RequiredProof: () => RequiredProof,
|
|
9606
9617
|
ResponseObserver: () => ResponseObserver,
|
|
9607
9618
|
RiskDecision: () => RiskDecision,
|
|
9619
|
+
SENSITIVITY_METADATA_KEY: () => SENSITIVITY_METADATA_KEY,
|
|
9608
9620
|
SENSOR_METADATA_KEY: () => SENSOR_METADATA_KEY,
|
|
9609
9621
|
Schema2002_PasskeyLoginOptionsRes: () => Schema2002_PasskeyLoginOptionsRes,
|
|
9610
9622
|
Schema2011_PasskeyLoginVerifyReq: () => Schema2011_PasskeyLoginVerifyReq,
|
|
9611
9623
|
Schema2012_PasskeyLoginVerifyRes: () => Schema2012_PasskeyLoginVerifyRes,
|
|
9612
9624
|
Schema2021_PasskeyRegisterOptionsReq: () => Schema2021_PasskeyRegisterOptionsReq,
|
|
9625
|
+
Sensitivity: () => Sensitivity,
|
|
9613
9626
|
Sensor: () => Sensor,
|
|
9614
9627
|
SensorDecisions: () => SensorDecisions,
|
|
9615
9628
|
SensorDiscoveryService: () => import_sensor_discovery.SensorDiscoveryService,
|
|
@@ -9657,6 +9670,7 @@ __export(index_exports, {
|
|
|
9657
9670
|
TlvRange: () => TlvRange,
|
|
9658
9671
|
TlvUtf8Pattern: () => TlvUtf8Pattern,
|
|
9659
9672
|
TlvValidate: () => TlvValidate,
|
|
9673
|
+
Witness: () => Witness,
|
|
9660
9674
|
axis1SigningBytes: () => axis1SigningBytes,
|
|
9661
9675
|
b64urlDecode: () => b64urlDecode,
|
|
9662
9676
|
b64urlDecodeString: () => b64urlDecodeString,
|
|
@@ -9754,6 +9768,7 @@ var init_index = __esm({
|
|
|
9754
9768
|
"src/index.ts"() {
|
|
9755
9769
|
init_chain_decorator();
|
|
9756
9770
|
init_capsule_policy_decorator();
|
|
9771
|
+
init_intent_policy_decorator();
|
|
9757
9772
|
init_handler_decorator();
|
|
9758
9773
|
init_intent_decorator();
|
|
9759
9774
|
init_intent_body_decorator();
|
|
@@ -9859,14 +9874,18 @@ var export_extractDtoSchema = import_dto_schema.extractDtoSchema;
|
|
|
9859
9874
|
export {
|
|
9860
9875
|
ATS1_HDR,
|
|
9861
9876
|
ATS1_SCHEMA,
|
|
9877
|
+
AXIS_ANONYMOUS_KEY,
|
|
9862
9878
|
AXIS_EXECUTION_CONTEXT_KEY,
|
|
9863
9879
|
AXIS_MAGIC,
|
|
9864
9880
|
AXIS_OPCODES,
|
|
9881
|
+
AXIS_PUBLIC_KEY,
|
|
9882
|
+
AXIS_RATE_LIMIT_KEY,
|
|
9865
9883
|
AXIS_UPLOAD_FILE_STORE,
|
|
9866
9884
|
AXIS_UPLOAD_RECEIPT_SIGNER,
|
|
9867
9885
|
AXIS_UPLOAD_SESSION_STORE,
|
|
9868
9886
|
AXIS_VERSION,
|
|
9869
9887
|
ats1_exports as Ats1Codec,
|
|
9888
|
+
AxisAnonymous,
|
|
9870
9889
|
export_AxisChainExecutor as AxisChainExecutor,
|
|
9871
9890
|
export_AxisContext as AxisContext,
|
|
9872
9891
|
export_AxisDemoPubkey as AxisDemoPubkey,
|
|
@@ -9880,6 +9899,8 @@ export {
|
|
|
9880
9899
|
AxisMediaTypes,
|
|
9881
9900
|
T as AxisPacketTags,
|
|
9882
9901
|
AxisPartialType,
|
|
9902
|
+
AxisPublic,
|
|
9903
|
+
AxisRateLimit,
|
|
9883
9904
|
export_AxisRaw as AxisRaw,
|
|
9884
9905
|
export_AxisResponseDto as AxisResponseDto,
|
|
9885
9906
|
export_AxisSensorChainService as AxisSensorChainService,
|
|
@@ -9891,9 +9912,12 @@ export {
|
|
|
9891
9912
|
CCE_ERROR,
|
|
9892
9913
|
CCE_PROTOCOL_VERSION,
|
|
9893
9914
|
CHAIN_METADATA_KEY,
|
|
9915
|
+
CONTRACT_METADATA_KEY,
|
|
9916
|
+
Capsule,
|
|
9894
9917
|
CapsulePolicy,
|
|
9895
9918
|
CceError,
|
|
9896
9919
|
Chain,
|
|
9920
|
+
Contract,
|
|
9897
9921
|
ContractViolationError,
|
|
9898
9922
|
DEFAULT_CONTRACTS,
|
|
9899
9923
|
DEFAULT_TIMEOUT,
|
|
@@ -9954,18 +9978,22 @@ export {
|
|
|
9954
9978
|
PROOF_NONE,
|
|
9955
9979
|
PROOF_WITNESS,
|
|
9956
9980
|
ProofType,
|
|
9981
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
9957
9982
|
export_RESPONSE_TAG_CREATED_AT as RESPONSE_TAG_CREATED_AT,
|
|
9958
9983
|
export_RESPONSE_TAG_CREATED_BY as RESPONSE_TAG_CREATED_BY,
|
|
9959
9984
|
export_RESPONSE_TAG_ID as RESPONSE_TAG_ID,
|
|
9960
9985
|
export_RESPONSE_TAG_UPDATED_AT as RESPONSE_TAG_UPDATED_AT,
|
|
9961
9986
|
export_RESPONSE_TAG_UPDATED_BY as RESPONSE_TAG_UPDATED_BY,
|
|
9987
|
+
RequiredProof,
|
|
9962
9988
|
ResponseObserver,
|
|
9963
9989
|
RiskDecision,
|
|
9990
|
+
SENSITIVITY_METADATA_KEY,
|
|
9964
9991
|
SENSOR_METADATA_KEY,
|
|
9965
9992
|
Schema2002_PasskeyLoginOptionsRes,
|
|
9966
9993
|
Schema2011_PasskeyLoginVerifyReq,
|
|
9967
9994
|
Schema2012_PasskeyLoginVerifyRes,
|
|
9968
9995
|
Schema2021_PasskeyRegisterOptionsReq,
|
|
9996
|
+
Sensitivity,
|
|
9969
9997
|
Sensor,
|
|
9970
9998
|
SensorDecisions,
|
|
9971
9999
|
export_SensorDiscoveryService as SensorDiscoveryService,
|
|
@@ -10013,6 +10041,7 @@ export {
|
|
|
10013
10041
|
TlvRange,
|
|
10014
10042
|
TlvUtf8Pattern,
|
|
10015
10043
|
TlvValidate,
|
|
10044
|
+
Witness,
|
|
10016
10045
|
axis1SigningBytes,
|
|
10017
10046
|
b64urlDecode,
|
|
10018
10047
|
b64urlDecodeString,
|