@nextera.one/axis-server-sdk 2.1.4 → 2.1.6
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 +910 -906
- package/dist/index.d.ts +910 -906
- package/dist/index.js +214 -171
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +200 -157
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -139,6 +139,171 @@ 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_META_KEY: () => AXIS_META_KEY,
|
|
147
|
+
AXIS_PUBLIC_KEY: () => AXIS_PUBLIC_KEY,
|
|
148
|
+
AXIS_RATE_LIMIT_KEY: () => AXIS_RATE_LIMIT_KEY,
|
|
149
|
+
Axis: () => Axis,
|
|
150
|
+
AxisAnonymous: () => AxisAnonymous,
|
|
151
|
+
AxisPublic: () => AxisPublic,
|
|
152
|
+
AxisRateLimit: () => AxisRateLimit,
|
|
153
|
+
CONTRACT_METADATA_KEY: () => CONTRACT_METADATA_KEY,
|
|
154
|
+
Capsule: () => Capsule,
|
|
155
|
+
Contract: () => Contract,
|
|
156
|
+
REQUIRED_PROOF_METADATA_KEY: () => REQUIRED_PROOF_METADATA_KEY,
|
|
157
|
+
RequiredProof: () => RequiredProof,
|
|
158
|
+
SENSITIVITY_METADATA_KEY: () => SENSITIVITY_METADATA_KEY,
|
|
159
|
+
Sensitivity: () => Sensitivity,
|
|
160
|
+
Witness: () => Witness
|
|
161
|
+
});
|
|
162
|
+
import "reflect-metadata";
|
|
163
|
+
function Sensitivity(level) {
|
|
164
|
+
return ((target, propertyKey) => {
|
|
165
|
+
if (propertyKey !== void 0) {
|
|
166
|
+
Reflect.defineMetadata(
|
|
167
|
+
SENSITIVITY_METADATA_KEY,
|
|
168
|
+
level,
|
|
169
|
+
target,
|
|
170
|
+
propertyKey
|
|
171
|
+
);
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
Reflect.defineMetadata(SENSITIVITY_METADATA_KEY, level, target);
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
function Contract(options) {
|
|
178
|
+
return ((target, propertyKey) => {
|
|
179
|
+
if (propertyKey !== void 0) {
|
|
180
|
+
Reflect.defineMetadata(
|
|
181
|
+
CONTRACT_METADATA_KEY,
|
|
182
|
+
options,
|
|
183
|
+
target,
|
|
184
|
+
propertyKey
|
|
185
|
+
);
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
Reflect.defineMetadata(CONTRACT_METADATA_KEY, options, target);
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
function RequiredProof(proofs) {
|
|
192
|
+
return ((target, propertyKey) => {
|
|
193
|
+
if (propertyKey !== void 0) {
|
|
194
|
+
Reflect.defineMetadata(
|
|
195
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
196
|
+
proofs,
|
|
197
|
+
target,
|
|
198
|
+
propertyKey
|
|
199
|
+
);
|
|
200
|
+
return;
|
|
201
|
+
}
|
|
202
|
+
Reflect.defineMetadata(
|
|
203
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
204
|
+
proofs,
|
|
205
|
+
target
|
|
206
|
+
);
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
function Capsule() {
|
|
210
|
+
return ((target, propertyKey) => {
|
|
211
|
+
const existing = propertyKey !== void 0 ? Reflect.getMetadata(
|
|
212
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
213
|
+
target,
|
|
214
|
+
propertyKey
|
|
215
|
+
) ?? [] : Reflect.getMetadata(
|
|
216
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
217
|
+
target
|
|
218
|
+
) ?? [];
|
|
219
|
+
const merged = existing.includes("CAPSULE") ? existing : [...existing, "CAPSULE"];
|
|
220
|
+
if (propertyKey !== void 0) {
|
|
221
|
+
Reflect.defineMetadata(
|
|
222
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
223
|
+
merged,
|
|
224
|
+
target,
|
|
225
|
+
propertyKey
|
|
226
|
+
);
|
|
227
|
+
} else {
|
|
228
|
+
Reflect.defineMetadata(
|
|
229
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
230
|
+
merged,
|
|
231
|
+
target
|
|
232
|
+
);
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
function Witness() {
|
|
237
|
+
return ((target, propertyKey) => {
|
|
238
|
+
const existing = propertyKey !== void 0 ? Reflect.getMetadata(
|
|
239
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
240
|
+
target,
|
|
241
|
+
propertyKey
|
|
242
|
+
) ?? [] : Reflect.getMetadata(
|
|
243
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
244
|
+
target
|
|
245
|
+
) ?? [];
|
|
246
|
+
const merged = existing.includes("WITNESS") ? existing : [...existing, "WITNESS"];
|
|
247
|
+
if (propertyKey !== void 0) {
|
|
248
|
+
Reflect.defineMetadata(
|
|
249
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
250
|
+
merged,
|
|
251
|
+
target,
|
|
252
|
+
propertyKey
|
|
253
|
+
);
|
|
254
|
+
} else {
|
|
255
|
+
Reflect.defineMetadata(
|
|
256
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
257
|
+
merged,
|
|
258
|
+
target
|
|
259
|
+
);
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
function Axis() {
|
|
264
|
+
return (target) => {
|
|
265
|
+
Reflect.defineMetadata(AXIS_META_KEY, { entry: true }, target);
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
function AxisPublic() {
|
|
269
|
+
return (target, propertyKey, descriptor) => {
|
|
270
|
+
if (descriptor) {
|
|
271
|
+
Reflect.defineMetadata(AXIS_PUBLIC_KEY, true, target, propertyKey);
|
|
272
|
+
return descriptor;
|
|
273
|
+
}
|
|
274
|
+
Reflect.defineMetadata(AXIS_PUBLIC_KEY, true, target);
|
|
275
|
+
return target;
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
function AxisAnonymous() {
|
|
279
|
+
return (target, propertyKey, descriptor) => {
|
|
280
|
+
if (descriptor) {
|
|
281
|
+
Reflect.defineMetadata(AXIS_ANONYMOUS_KEY, true, target, propertyKey);
|
|
282
|
+
return descriptor;
|
|
283
|
+
}
|
|
284
|
+
Reflect.defineMetadata(AXIS_ANONYMOUS_KEY, true, target);
|
|
285
|
+
return target;
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
function AxisRateLimit(config) {
|
|
289
|
+
return (target, propertyKey, descriptor) => {
|
|
290
|
+
Reflect.defineMetadata(AXIS_RATE_LIMIT_KEY, config, target, propertyKey);
|
|
291
|
+
return descriptor;
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
var AXIS_META_KEY, SENSITIVITY_METADATA_KEY, CONTRACT_METADATA_KEY, REQUIRED_PROOF_METADATA_KEY, AXIS_PUBLIC_KEY, AXIS_ANONYMOUS_KEY, AXIS_RATE_LIMIT_KEY;
|
|
295
|
+
var init_intent_policy_decorator = __esm({
|
|
296
|
+
"src/decorators/intent-policy.decorator.ts"() {
|
|
297
|
+
AXIS_META_KEY = "axis:axis";
|
|
298
|
+
SENSITIVITY_METADATA_KEY = "axis:sensitivity";
|
|
299
|
+
CONTRACT_METADATA_KEY = "axis:contract";
|
|
300
|
+
REQUIRED_PROOF_METADATA_KEY = "axis:required_proof";
|
|
301
|
+
AXIS_PUBLIC_KEY = "axis:public";
|
|
302
|
+
AXIS_ANONYMOUS_KEY = "axis:anonymous";
|
|
303
|
+
AXIS_RATE_LIMIT_KEY = "axis:rateLimit";
|
|
304
|
+
}
|
|
305
|
+
});
|
|
306
|
+
|
|
142
307
|
// src/decorators/handler.decorator.ts
|
|
143
308
|
var handler_decorator_exports = {};
|
|
144
309
|
__export(handler_decorator_exports, {
|
|
@@ -1805,163 +1970,6 @@ var init_axis_error = __esm({
|
|
|
1805
1970
|
}
|
|
1806
1971
|
});
|
|
1807
1972
|
|
|
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
1973
|
// src/security/scopes.ts
|
|
1966
1974
|
function hasScope(scopes, required) {
|
|
1967
1975
|
if (!Array.isArray(scopes) || scopes.length === 0) {
|
|
@@ -7357,8 +7365,10 @@ var init_crypto = __esm({
|
|
|
7357
7365
|
var decorators_exports = {};
|
|
7358
7366
|
__export(decorators_exports, {
|
|
7359
7367
|
AXIS_ANONYMOUS_KEY: () => AXIS_ANONYMOUS_KEY,
|
|
7368
|
+
AXIS_META_KEY: () => AXIS_META_KEY,
|
|
7360
7369
|
AXIS_PUBLIC_KEY: () => AXIS_PUBLIC_KEY,
|
|
7361
7370
|
AXIS_RATE_LIMIT_KEY: () => AXIS_RATE_LIMIT_KEY,
|
|
7371
|
+
Axis: () => Axis,
|
|
7362
7372
|
AxisAnonymous: () => AxisAnonymous,
|
|
7363
7373
|
AxisPublic: () => AxisPublic,
|
|
7364
7374
|
AxisRateLimit: () => AxisRateLimit,
|
|
@@ -9503,14 +9513,20 @@ var index_exports = {};
|
|
|
9503
9513
|
__export(index_exports, {
|
|
9504
9514
|
ATS1_HDR: () => ATS1_HDR,
|
|
9505
9515
|
ATS1_SCHEMA: () => ATS1_SCHEMA,
|
|
9516
|
+
AXIS_ANONYMOUS_KEY: () => AXIS_ANONYMOUS_KEY,
|
|
9506
9517
|
AXIS_EXECUTION_CONTEXT_KEY: () => AXIS_EXECUTION_CONTEXT_KEY,
|
|
9507
9518
|
AXIS_MAGIC: () => AXIS_MAGIC,
|
|
9519
|
+
AXIS_META_KEY: () => AXIS_META_KEY,
|
|
9508
9520
|
AXIS_OPCODES: () => AXIS_OPCODES,
|
|
9521
|
+
AXIS_PUBLIC_KEY: () => AXIS_PUBLIC_KEY,
|
|
9522
|
+
AXIS_RATE_LIMIT_KEY: () => AXIS_RATE_LIMIT_KEY,
|
|
9509
9523
|
AXIS_UPLOAD_FILE_STORE: () => AXIS_UPLOAD_FILE_STORE,
|
|
9510
9524
|
AXIS_UPLOAD_RECEIPT_SIGNER: () => AXIS_UPLOAD_RECEIPT_SIGNER,
|
|
9511
9525
|
AXIS_UPLOAD_SESSION_STORE: () => AXIS_UPLOAD_SESSION_STORE,
|
|
9512
9526
|
AXIS_VERSION: () => AXIS_VERSION,
|
|
9513
9527
|
Ats1Codec: () => ats1_exports,
|
|
9528
|
+
Axis: () => Axis,
|
|
9529
|
+
AxisAnonymous: () => AxisAnonymous,
|
|
9514
9530
|
AxisChainExecutor: () => import_axis_chain.AxisChainExecutor,
|
|
9515
9531
|
AxisContext: () => import_axis_request.AxisContext,
|
|
9516
9532
|
AxisDemoPubkey: () => import_axis_request.AxisDemoPubkey,
|
|
@@ -9524,6 +9540,8 @@ __export(index_exports, {
|
|
|
9524
9540
|
AxisMediaTypes: () => AxisMediaTypes,
|
|
9525
9541
|
AxisPacketTags: () => T,
|
|
9526
9542
|
AxisPartialType: () => AxisPartialType,
|
|
9543
|
+
AxisPublic: () => AxisPublic,
|
|
9544
|
+
AxisRateLimit: () => AxisRateLimit,
|
|
9527
9545
|
AxisRaw: () => import_axis_request.AxisRaw,
|
|
9528
9546
|
AxisResponseDto: () => import_axis_response.AxisResponseDto,
|
|
9529
9547
|
AxisSensorChainService: () => import_axis_sensor_chain.AxisSensorChainService,
|
|
@@ -9535,9 +9553,12 @@ __export(index_exports, {
|
|
|
9535
9553
|
CCE_ERROR: () => CCE_ERROR,
|
|
9536
9554
|
CCE_PROTOCOL_VERSION: () => CCE_PROTOCOL_VERSION,
|
|
9537
9555
|
CHAIN_METADATA_KEY: () => CHAIN_METADATA_KEY,
|
|
9556
|
+
CONTRACT_METADATA_KEY: () => CONTRACT_METADATA_KEY,
|
|
9557
|
+
Capsule: () => Capsule,
|
|
9538
9558
|
CapsulePolicy: () => CapsulePolicy,
|
|
9539
9559
|
CceError: () => CceError,
|
|
9540
9560
|
Chain: () => Chain,
|
|
9561
|
+
Contract: () => Contract,
|
|
9541
9562
|
ContractViolationError: () => ContractViolationError,
|
|
9542
9563
|
DEFAULT_CONTRACTS: () => DEFAULT_CONTRACTS,
|
|
9543
9564
|
DEFAULT_TIMEOUT: () => DEFAULT_TIMEOUT,
|
|
@@ -9598,18 +9619,22 @@ __export(index_exports, {
|
|
|
9598
9619
|
PROOF_NONE: () => PROOF_NONE,
|
|
9599
9620
|
PROOF_WITNESS: () => PROOF_WITNESS,
|
|
9600
9621
|
ProofType: () => ProofType,
|
|
9622
|
+
REQUIRED_PROOF_METADATA_KEY: () => REQUIRED_PROOF_METADATA_KEY,
|
|
9601
9623
|
RESPONSE_TAG_CREATED_AT: () => import_axis_response.RESPONSE_TAG_CREATED_AT,
|
|
9602
9624
|
RESPONSE_TAG_CREATED_BY: () => import_axis_response.RESPONSE_TAG_CREATED_BY,
|
|
9603
9625
|
RESPONSE_TAG_ID: () => import_axis_response.RESPONSE_TAG_ID,
|
|
9604
9626
|
RESPONSE_TAG_UPDATED_AT: () => import_axis_response.RESPONSE_TAG_UPDATED_AT,
|
|
9605
9627
|
RESPONSE_TAG_UPDATED_BY: () => import_axis_response.RESPONSE_TAG_UPDATED_BY,
|
|
9628
|
+
RequiredProof: () => RequiredProof,
|
|
9606
9629
|
ResponseObserver: () => ResponseObserver,
|
|
9607
9630
|
RiskDecision: () => RiskDecision,
|
|
9631
|
+
SENSITIVITY_METADATA_KEY: () => SENSITIVITY_METADATA_KEY,
|
|
9608
9632
|
SENSOR_METADATA_KEY: () => SENSOR_METADATA_KEY,
|
|
9609
9633
|
Schema2002_PasskeyLoginOptionsRes: () => Schema2002_PasskeyLoginOptionsRes,
|
|
9610
9634
|
Schema2011_PasskeyLoginVerifyReq: () => Schema2011_PasskeyLoginVerifyReq,
|
|
9611
9635
|
Schema2012_PasskeyLoginVerifyRes: () => Schema2012_PasskeyLoginVerifyRes,
|
|
9612
9636
|
Schema2021_PasskeyRegisterOptionsReq: () => Schema2021_PasskeyRegisterOptionsReq,
|
|
9637
|
+
Sensitivity: () => Sensitivity,
|
|
9613
9638
|
Sensor: () => Sensor,
|
|
9614
9639
|
SensorDecisions: () => SensorDecisions,
|
|
9615
9640
|
SensorDiscoveryService: () => import_sensor_discovery.SensorDiscoveryService,
|
|
@@ -9657,6 +9682,7 @@ __export(index_exports, {
|
|
|
9657
9682
|
TlvRange: () => TlvRange,
|
|
9658
9683
|
TlvUtf8Pattern: () => TlvUtf8Pattern,
|
|
9659
9684
|
TlvValidate: () => TlvValidate,
|
|
9685
|
+
Witness: () => Witness,
|
|
9660
9686
|
axis1SigningBytes: () => axis1SigningBytes,
|
|
9661
9687
|
b64urlDecode: () => b64urlDecode,
|
|
9662
9688
|
b64urlDecodeString: () => b64urlDecodeString,
|
|
@@ -9754,6 +9780,7 @@ var init_index = __esm({
|
|
|
9754
9780
|
"src/index.ts"() {
|
|
9755
9781
|
init_chain_decorator();
|
|
9756
9782
|
init_capsule_policy_decorator();
|
|
9783
|
+
init_intent_policy_decorator();
|
|
9757
9784
|
init_handler_decorator();
|
|
9758
9785
|
init_intent_decorator();
|
|
9759
9786
|
init_intent_body_decorator();
|
|
@@ -9859,14 +9886,20 @@ var export_extractDtoSchema = import_dto_schema.extractDtoSchema;
|
|
|
9859
9886
|
export {
|
|
9860
9887
|
ATS1_HDR,
|
|
9861
9888
|
ATS1_SCHEMA,
|
|
9889
|
+
AXIS_ANONYMOUS_KEY,
|
|
9862
9890
|
AXIS_EXECUTION_CONTEXT_KEY,
|
|
9863
9891
|
AXIS_MAGIC,
|
|
9892
|
+
AXIS_META_KEY,
|
|
9864
9893
|
AXIS_OPCODES,
|
|
9894
|
+
AXIS_PUBLIC_KEY,
|
|
9895
|
+
AXIS_RATE_LIMIT_KEY,
|
|
9865
9896
|
AXIS_UPLOAD_FILE_STORE,
|
|
9866
9897
|
AXIS_UPLOAD_RECEIPT_SIGNER,
|
|
9867
9898
|
AXIS_UPLOAD_SESSION_STORE,
|
|
9868
9899
|
AXIS_VERSION,
|
|
9869
9900
|
ats1_exports as Ats1Codec,
|
|
9901
|
+
Axis,
|
|
9902
|
+
AxisAnonymous,
|
|
9870
9903
|
export_AxisChainExecutor as AxisChainExecutor,
|
|
9871
9904
|
export_AxisContext as AxisContext,
|
|
9872
9905
|
export_AxisDemoPubkey as AxisDemoPubkey,
|
|
@@ -9880,6 +9913,8 @@ export {
|
|
|
9880
9913
|
AxisMediaTypes,
|
|
9881
9914
|
T as AxisPacketTags,
|
|
9882
9915
|
AxisPartialType,
|
|
9916
|
+
AxisPublic,
|
|
9917
|
+
AxisRateLimit,
|
|
9883
9918
|
export_AxisRaw as AxisRaw,
|
|
9884
9919
|
export_AxisResponseDto as AxisResponseDto,
|
|
9885
9920
|
export_AxisSensorChainService as AxisSensorChainService,
|
|
@@ -9891,9 +9926,12 @@ export {
|
|
|
9891
9926
|
CCE_ERROR,
|
|
9892
9927
|
CCE_PROTOCOL_VERSION,
|
|
9893
9928
|
CHAIN_METADATA_KEY,
|
|
9929
|
+
CONTRACT_METADATA_KEY,
|
|
9930
|
+
Capsule,
|
|
9894
9931
|
CapsulePolicy,
|
|
9895
9932
|
CceError,
|
|
9896
9933
|
Chain,
|
|
9934
|
+
Contract,
|
|
9897
9935
|
ContractViolationError,
|
|
9898
9936
|
DEFAULT_CONTRACTS,
|
|
9899
9937
|
DEFAULT_TIMEOUT,
|
|
@@ -9954,18 +9992,22 @@ export {
|
|
|
9954
9992
|
PROOF_NONE,
|
|
9955
9993
|
PROOF_WITNESS,
|
|
9956
9994
|
ProofType,
|
|
9995
|
+
REQUIRED_PROOF_METADATA_KEY,
|
|
9957
9996
|
export_RESPONSE_TAG_CREATED_AT as RESPONSE_TAG_CREATED_AT,
|
|
9958
9997
|
export_RESPONSE_TAG_CREATED_BY as RESPONSE_TAG_CREATED_BY,
|
|
9959
9998
|
export_RESPONSE_TAG_ID as RESPONSE_TAG_ID,
|
|
9960
9999
|
export_RESPONSE_TAG_UPDATED_AT as RESPONSE_TAG_UPDATED_AT,
|
|
9961
10000
|
export_RESPONSE_TAG_UPDATED_BY as RESPONSE_TAG_UPDATED_BY,
|
|
10001
|
+
RequiredProof,
|
|
9962
10002
|
ResponseObserver,
|
|
9963
10003
|
RiskDecision,
|
|
10004
|
+
SENSITIVITY_METADATA_KEY,
|
|
9964
10005
|
SENSOR_METADATA_KEY,
|
|
9965
10006
|
Schema2002_PasskeyLoginOptionsRes,
|
|
9966
10007
|
Schema2011_PasskeyLoginVerifyReq,
|
|
9967
10008
|
Schema2012_PasskeyLoginVerifyRes,
|
|
9968
10009
|
Schema2021_PasskeyRegisterOptionsReq,
|
|
10010
|
+
Sensitivity,
|
|
9969
10011
|
Sensor,
|
|
9970
10012
|
SensorDecisions,
|
|
9971
10013
|
export_SensorDiscoveryService as SensorDiscoveryService,
|
|
@@ -10013,6 +10055,7 @@ export {
|
|
|
10013
10055
|
TlvRange,
|
|
10014
10056
|
TlvUtf8Pattern,
|
|
10015
10057
|
TlvValidate,
|
|
10058
|
+
Witness,
|
|
10016
10059
|
axis1SigningBytes,
|
|
10017
10060
|
b64urlDecode,
|
|
10018
10061
|
b64urlDecodeString,
|