@nextera.one/axis-server-sdk 2.3.18 → 2.3.20
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-Bb2pRr93.d.mts → index-BCFbHQxo.d.mts} +1 -14
- package/dist/{index-Q8wrM2PV.d.ts → index-BsnV_K_l.d.ts} +1 -14
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +5 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -13
- package/dist/index.mjs.map +1 -1
- package/dist/needle/index.js.map +1 -1
- package/dist/needle/index.mjs +1 -0
- package/dist/needle/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 +4 -13
- package/dist/sensors/index.js.map +1 -1
- package/dist/sensors/index.mjs +5 -13
- 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 { o as AccessProfileResolverSensor, a2 as BodyBudgetSensor, a5 as CapabilityEnforcementSensor, aa as ChunkHashSensor, ad as EntropySensor, af as ExecutionTimeoutSensor, ah as FrameBudgetSensor, ai as FrameHeaderSanitySensor, aj as HeaderTLVLimitSensor, an as IntentAllowlistSensor, aq as IntentRegistrySensor, as as LawArticlePresenceMode, at as LawArticlePresenceSensor, au as LawArticlePresenceSensorOptions, av as LawEvaluationSensor, aB as ProofPresenceSensor, aC as ProtocolStrictSensor, aE as ReceiptPolicySensor, aJ as RiskGateSensor, aK as RiskGateSensorOptions, aM as RiskSignalCollector, aO as SchemaValidationSensor, aQ as StreamScopeSensor, aR as TLVParseSensor, aU as TickAuthCapsuleRef, aV as TickAuthSensor, aW as TickAuthSensorOptions, aX as TickAuthVerifier, b6 as TpsSensor, b7 as TpsSensorOptions, b8 as VarintHardeningSensor } from '../index-
|
|
1
|
+
export { o as AccessProfileResolverSensor, a2 as BodyBudgetSensor, a5 as CapabilityEnforcementSensor, aa as ChunkHashSensor, ad as EntropySensor, af as ExecutionTimeoutSensor, ah as FrameBudgetSensor, ai as FrameHeaderSanitySensor, aj as HeaderTLVLimitSensor, an as IntentAllowlistSensor, aq as IntentRegistrySensor, as as LawArticlePresenceMode, at as LawArticlePresenceSensor, au as LawArticlePresenceSensorOptions, av as LawEvaluationSensor, aB as ProofPresenceSensor, aC as ProtocolStrictSensor, aE as ReceiptPolicySensor, aJ as RiskGateSensor, aK as RiskGateSensorOptions, aM as RiskSignalCollector, aO as SchemaValidationSensor, aQ as StreamScopeSensor, aR as TLVParseSensor, aU as TickAuthCapsuleRef, aV as TickAuthSensor, aW as TickAuthSensorOptions, aX as TickAuthVerifier, b6 as TpsSensor, b7 as TpsSensorOptions, b8 as VarintHardeningSensor } from '../index-BCFbHQxo.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 { o as AccessProfileResolverSensor, a2 as BodyBudgetSensor, a5 as CapabilityEnforcementSensor, aa as ChunkHashSensor, ad as EntropySensor, af as ExecutionTimeoutSensor, ah as FrameBudgetSensor, ai as FrameHeaderSanitySensor, aj as HeaderTLVLimitSensor, an as IntentAllowlistSensor, aq as IntentRegistrySensor, as as LawArticlePresenceMode, at as LawArticlePresenceSensor, au as LawArticlePresenceSensorOptions, av as LawEvaluationSensor, aB as ProofPresenceSensor, aC as ProtocolStrictSensor, aE as ReceiptPolicySensor, aJ as RiskGateSensor, aK as RiskGateSensorOptions, aM as RiskSignalCollector, aO as SchemaValidationSensor, aQ as StreamScopeSensor, aR as TLVParseSensor, aU as TickAuthCapsuleRef, aV as TickAuthSensor, aW as TickAuthSensorOptions, aX as TickAuthVerifier, b6 as TpsSensor, b7 as TpsSensorOptions, b8 as VarintHardeningSensor } from '../index-
|
|
1
|
+
export { o as AccessProfileResolverSensor, a2 as BodyBudgetSensor, a5 as CapabilityEnforcementSensor, aa as ChunkHashSensor, ad as EntropySensor, af as ExecutionTimeoutSensor, ah as FrameBudgetSensor, ai as FrameHeaderSanitySensor, aj as HeaderTLVLimitSensor, an as IntentAllowlistSensor, aq as IntentRegistrySensor, as as LawArticlePresenceMode, at as LawArticlePresenceSensor, au as LawArticlePresenceSensorOptions, av as LawEvaluationSensor, aB as ProofPresenceSensor, aC as ProtocolStrictSensor, aE as ReceiptPolicySensor, aJ as RiskGateSensor, aK as RiskGateSensorOptions, aM as RiskSignalCollector, aO as SchemaValidationSensor, aQ as StreamScopeSensor, aR as TLVParseSensor, aU as TickAuthCapsuleRef, aV as TickAuthSensor, aW as TickAuthSensorOptions, aX as TickAuthVerifier, b6 as TpsSensor, b7 as TpsSensorOptions, b8 as VarintHardeningSensor } from '../index-BsnV_K_l.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
|
@@ -150,6 +150,7 @@ __export(constants_exports, {
|
|
|
150
150
|
NCERT_SIG: () => import_axis_protocol.NCERT_SIG,
|
|
151
151
|
PROOF_CAPSULE: () => import_axis_protocol.PROOF_CAPSULE,
|
|
152
152
|
PROOF_JWT: () => import_axis_protocol.PROOF_JWT,
|
|
153
|
+
PROOF_KINDS: () => import_axis_protocol.PROOF_KINDS,
|
|
153
154
|
PROOF_LOOM: () => import_axis_protocol.PROOF_LOOM,
|
|
154
155
|
PROOF_MTLS: () => import_axis_protocol.PROOF_MTLS,
|
|
155
156
|
PROOF_NONE: () => import_axis_protocol.PROOF_NONE,
|
|
@@ -5579,7 +5580,6 @@ function buildPacket(hdr, body, sig, flags = 0) {
|
|
|
5579
5580
|
const nonce = hm.get(T.NONCE)?.[0];
|
|
5580
5581
|
const tsMs = asBigint64BE(hm.get(T.TS_MS)?.[0]);
|
|
5581
5582
|
if (!intent) throw new Error("PACKET_MISSING_INTENT");
|
|
5582
|
-
if (!actorId) throw new Error("PACKET_MISSING_ACTOR_ID");
|
|
5583
5583
|
if (!nonce || nonce.length < 16 || nonce.length > 32)
|
|
5584
5584
|
throw new Error("PACKET_BAD_NONCE");
|
|
5585
5585
|
if (!pid) throw new Error("PACKET_MISSING_PID");
|
|
@@ -10981,6 +10981,7 @@ __export(index_exports, {
|
|
|
10981
10981
|
PROOF_CAPABILITIES: () => PROOF_CAPABILITIES,
|
|
10982
10982
|
PROOF_CAPSULE: () => import_axis_protocol.PROOF_CAPSULE,
|
|
10983
10983
|
PROOF_JWT: () => import_axis_protocol.PROOF_JWT,
|
|
10984
|
+
PROOF_KINDS: () => import_axis_protocol.PROOF_KINDS,
|
|
10984
10985
|
PROOF_LOOM: () => import_axis_protocol.PROOF_LOOM,
|
|
10985
10986
|
PROOF_MTLS: () => import_axis_protocol.PROOF_MTLS,
|
|
10986
10987
|
PROOF_NONE: () => import_axis_protocol.PROOF_NONE,
|
|
@@ -12147,6 +12148,7 @@ var init_axis_schemas = __esm({
|
|
|
12147
12148
|
"src/schemas/axis-schemas.ts"() {
|
|
12148
12149
|
z2 = __toESM(require("zod"));
|
|
12149
12150
|
init_axis_bin();
|
|
12151
|
+
init_constants();
|
|
12150
12152
|
SensorDecisionZ = z2.union([
|
|
12151
12153
|
z2.object({ action: z2.literal("ALLOW"), meta: z2.any().optional() }),
|
|
12152
12154
|
z2.object({
|
|
@@ -12176,18 +12178,7 @@ var init_axis_schemas = __esm({
|
|
|
12176
12178
|
isFailure: z2.boolean().optional()
|
|
12177
12179
|
});
|
|
12178
12180
|
ScanBurstDecisionZ = SensorDecisionWithMetadataZ;
|
|
12179
|
-
ProofKindZ = z2.enum(
|
|
12180
|
-
"NONE",
|
|
12181
|
-
"ANONYMOUS",
|
|
12182
|
-
"PASSPORT",
|
|
12183
|
-
"CAPSULE",
|
|
12184
|
-
"JWT",
|
|
12185
|
-
"CONTRACT",
|
|
12186
|
-
"WITNESS",
|
|
12187
|
-
"MTLS",
|
|
12188
|
-
"DEVICE",
|
|
12189
|
-
"AUTHORIZED"
|
|
12190
|
-
]);
|
|
12181
|
+
ProofKindZ = z2.enum(import_axis_protocol.PROOF_KINDS);
|
|
12191
12182
|
AccessProfileZ = z2.enum(["PUBLIC", "PARTNER", "INTERNAL", "NODE"]);
|
|
12192
12183
|
ProofPresenceInputZ = z2.object({
|
|
12193
12184
|
profile: AccessProfileZ,
|