@nextera.one/axis-server-sdk 2.3.16 → 2.3.17
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-CQGfX-P_.d.mts → index-D4Oz7vc1.d.mts} +2 -1
- package/dist/{index-DBEYhMJc.d.ts → index-DwBRLF9t.d.ts} +2 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -7
- package/dist/index.mjs.map +1 -1
- package/dist/sensors/index.d.mts +1 -1
- package/dist/sensors/index.d.ts +1 -1
- package/dist/sensors/index.js +8 -6
- package/dist/sensors/index.js.map +1 -1
- package/dist/sensors/index.mjs +12 -7
- package/dist/sensors/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/sensors/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { n as AccessProfileResolverSensor, $ as BodyBudgetSensor, a2 as CapabilityEnforcementSensor, a7 as ChunkHashSensor, aa as EntropySensor, ac as ExecutionTimeoutSensor, ae as FrameBudgetSensor, af as FrameHeaderSanitySensor, ag as HeaderTLVLimitSensor, ak as IntentAllowlistSensor, an as IntentRegistrySensor, ap as LawArticlePresenceMode, aq as LawArticlePresenceSensor, ar as LawArticlePresenceSensorOptions, as as LawEvaluationSensor, ay as ProofPresenceSensor, az as ProtocolStrictSensor, aB as ReceiptPolicySensor, aG as RiskGateSensor, aH as RiskGateSensorOptions, aJ as RiskSignalCollector, aL as SchemaValidationSensor, aN as StreamScopeSensor, aO as TLVParseSensor, aR as TickAuthCapsuleRef, aS as TickAuthSensor, aT as TickAuthSensorOptions, aU as TickAuthVerifier, b3 as TpsSensor, b4 as TpsSensorOptions, b5 as VarintHardeningSensor } from '../index-
|
|
1
|
+
export { n as AccessProfileResolverSensor, $ as BodyBudgetSensor, a2 as CapabilityEnforcementSensor, a7 as ChunkHashSensor, aa as EntropySensor, ac as ExecutionTimeoutSensor, ae as FrameBudgetSensor, af as FrameHeaderSanitySensor, ag as HeaderTLVLimitSensor, ak as IntentAllowlistSensor, an as IntentRegistrySensor, ap as LawArticlePresenceMode, aq as LawArticlePresenceSensor, ar as LawArticlePresenceSensorOptions, as as LawEvaluationSensor, ay as ProofPresenceSensor, az as ProtocolStrictSensor, aB as ReceiptPolicySensor, aG as RiskGateSensor, aH as RiskGateSensorOptions, aJ as RiskSignalCollector, aL as SchemaValidationSensor, aN as StreamScopeSensor, aO as TLVParseSensor, aR as TickAuthCapsuleRef, aS as TickAuthSensor, aT as TickAuthSensorOptions, aU as TickAuthVerifier, b3 as TpsSensor, b4 as TpsSensorOptions, b5 as VarintHardeningSensor } from '../index-D4Oz7vc1.mjs';
|
|
2
2
|
import '../axis-sensor-BLUemDiZ.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '@nextera.one/axis-protocol';
|
package/dist/sensors/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { n as AccessProfileResolverSensor, $ as BodyBudgetSensor, a2 as CapabilityEnforcementSensor, a7 as ChunkHashSensor, aa as EntropySensor, ac as ExecutionTimeoutSensor, ae as FrameBudgetSensor, af as FrameHeaderSanitySensor, ag as HeaderTLVLimitSensor, ak as IntentAllowlistSensor, an as IntentRegistrySensor, ap as LawArticlePresenceMode, aq as LawArticlePresenceSensor, ar as LawArticlePresenceSensorOptions, as as LawEvaluationSensor, ay as ProofPresenceSensor, az as ProtocolStrictSensor, aB as ReceiptPolicySensor, aG as RiskGateSensor, aH as RiskGateSensorOptions, aJ as RiskSignalCollector, aL as SchemaValidationSensor, aN as StreamScopeSensor, aO as TLVParseSensor, aR as TickAuthCapsuleRef, aS as TickAuthSensor, aT as TickAuthSensorOptions, aU as TickAuthVerifier, b3 as TpsSensor, b4 as TpsSensorOptions, b5 as VarintHardeningSensor } from '../index-
|
|
1
|
+
export { n as AccessProfileResolverSensor, $ as BodyBudgetSensor, a2 as CapabilityEnforcementSensor, a7 as ChunkHashSensor, aa as EntropySensor, ac as ExecutionTimeoutSensor, ae as FrameBudgetSensor, af as FrameHeaderSanitySensor, ag as HeaderTLVLimitSensor, ak as IntentAllowlistSensor, an as IntentRegistrySensor, ap as LawArticlePresenceMode, aq as LawArticlePresenceSensor, ar as LawArticlePresenceSensorOptions, as as LawEvaluationSensor, ay as ProofPresenceSensor, az as ProtocolStrictSensor, aB as ReceiptPolicySensor, aG as RiskGateSensor, aH as RiskGateSensorOptions, aJ as RiskSignalCollector, aL as SchemaValidationSensor, aN as StreamScopeSensor, aO as TLVParseSensor, aR as TickAuthCapsuleRef, aS as TickAuthSensor, aT as TickAuthSensorOptions, aU as TickAuthVerifier, b3 as TpsSensor, b4 as TpsSensorOptions, b5 as VarintHardeningSensor } from '../index-DwBRLF9t.js';
|
|
2
2
|
import '../axis-sensor-BLUemDiZ.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '@nextera.one/axis-protocol';
|
package/dist/sensors/index.js
CHANGED
|
@@ -393,10 +393,7 @@ function appendRequiredProof(target, propertyKey, proof) {
|
|
|
393
393
|
REQUIRED_PROOF_METADATA_KEY,
|
|
394
394
|
target,
|
|
395
395
|
propertyKey
|
|
396
|
-
) ?? [] : Reflect.getMetadata(
|
|
397
|
-
REQUIRED_PROOF_METADATA_KEY,
|
|
398
|
-
target
|
|
399
|
-
) ?? [];
|
|
396
|
+
) ?? [] : Reflect.getMetadata(REQUIRED_PROOF_METADATA_KEY, target) ?? [];
|
|
400
397
|
const merged = existing.includes(proof) ? existing : [...existing, proof];
|
|
401
398
|
if (propertyKey !== void 0) {
|
|
402
399
|
Reflect.defineMetadata(
|
|
@@ -2797,7 +2794,9 @@ var init_intent_router = __esm({
|
|
|
2797
2794
|
*/
|
|
2798
2795
|
register(intent, handler) {
|
|
2799
2796
|
if (this.handlers.has(intent)) {
|
|
2800
|
-
this.logger.warn(
|
|
2797
|
+
this.logger.warn(
|
|
2798
|
+
`Intent ${intent} is already registered; replacing handler`
|
|
2799
|
+
);
|
|
2801
2800
|
}
|
|
2802
2801
|
this.handlers.set(intent, handler);
|
|
2803
2802
|
if (typeof handler === "function" && handler.name) {
|
|
@@ -3068,7 +3067,9 @@ var init_intent_router = __esm({
|
|
|
3068
3067
|
body: bodyRes
|
|
3069
3068
|
};
|
|
3070
3069
|
}
|
|
3071
|
-
throw new Error(
|
|
3070
|
+
throw new Error(
|
|
3071
|
+
`Handler for ${intent} does not implement handle or execute`
|
|
3072
|
+
);
|
|
3072
3073
|
}
|
|
3073
3074
|
logIntent(intent, start, ok, error) {
|
|
3074
3075
|
const diff = process.hrtime(start);
|
|
@@ -3776,6 +3777,7 @@ var init_intent_router = __esm({
|
|
|
3776
3777
|
intent: meta.intent,
|
|
3777
3778
|
version: 1,
|
|
3778
3779
|
bodyProfile: meta.bodyProfile || "TLV_MAP",
|
|
3780
|
+
dtoName: meta.dto.name || void 0,
|
|
3779
3781
|
fields: extracted.fields.map((f) => ({
|
|
3780
3782
|
name: f.name,
|
|
3781
3783
|
tlv: f.tag,
|