@nextera.one/axis-server-sdk 2.2.7 → 2.2.8
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-BLK3AtRm.d.mts → index-CZ3RXsBC.d.mts} +20 -10
- package/dist/{index-BAoKsEOu.d.ts → index-DEh3s2yx.d.ts} +20 -10
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +49 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +49 -4
- 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 +49 -4
- package/dist/sensors/index.js.map +1 -1
- package/dist/sensors/index.mjs +49 -4
- package/dist/sensors/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/sensors/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { m as AccessProfileResolverSensor, Y as BodyBudgetSensor, $ as CapabilityEnforcementSensor, a4 as ChunkHashSensor, a7 as EntropySensor, a9 as ExecutionTimeoutSensor, ab as FrameBudgetSensor, ac as FrameHeaderSanitySensor, ad as HeaderTLVLimitSensor, ah as IntentAllowlistSensor, ak as IntentRegistrySensor, am as LawEvaluationSensor, as as ProofPresenceSensor, at as ProtocolStrictSensor, av as ReceiptPolicySensor, aB as RiskGateSensor, aC as RiskGateSensorOptions, aE as RiskSignalCollector, aG as SchemaValidationSensor, aI as StreamScopeSensor, aJ as TLVParseSensor, aM as TickAuthCapsuleRef, aN as TickAuthSensor, aO as TickAuthSensorOptions, aP as TickAuthVerifier, a_ as TpsSensor, a$ as TpsSensorOptions, b0 as VarintHardeningSensor } from '../index-
|
|
1
|
+
export { m as AccessProfileResolverSensor, Y as BodyBudgetSensor, $ as CapabilityEnforcementSensor, a4 as ChunkHashSensor, a7 as EntropySensor, a9 as ExecutionTimeoutSensor, ab as FrameBudgetSensor, ac as FrameHeaderSanitySensor, ad as HeaderTLVLimitSensor, ah as IntentAllowlistSensor, ak as IntentRegistrySensor, am as LawEvaluationSensor, as as ProofPresenceSensor, at as ProtocolStrictSensor, av as ReceiptPolicySensor, aB as RiskGateSensor, aC as RiskGateSensorOptions, aE as RiskSignalCollector, aG as SchemaValidationSensor, aI as StreamScopeSensor, aJ as TLVParseSensor, aM as TickAuthCapsuleRef, aN as TickAuthSensor, aO as TickAuthSensorOptions, aP as TickAuthVerifier, a_ as TpsSensor, a$ as TpsSensorOptions, b0 as VarintHardeningSensor } from '../index-CZ3RXsBC.mjs';
|
|
2
2
|
import '../axis-sensor-DMW4rfRg.mjs';
|
|
3
3
|
import '../cce-pipeline-CBt56guN.mjs';
|
|
4
4
|
import '@nextera.one/axis-protocol';
|
package/dist/sensors/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { m as AccessProfileResolverSensor, Y as BodyBudgetSensor, $ as CapabilityEnforcementSensor, a4 as ChunkHashSensor, a7 as EntropySensor, a9 as ExecutionTimeoutSensor, ab as FrameBudgetSensor, ac as FrameHeaderSanitySensor, ad as HeaderTLVLimitSensor, ah as IntentAllowlistSensor, ak as IntentRegistrySensor, am as LawEvaluationSensor, as as ProofPresenceSensor, at as ProtocolStrictSensor, av as ReceiptPolicySensor, aB as RiskGateSensor, aC as RiskGateSensorOptions, aE as RiskSignalCollector, aG as SchemaValidationSensor, aI as StreamScopeSensor, aJ as TLVParseSensor, aM as TickAuthCapsuleRef, aN as TickAuthSensor, aO as TickAuthSensorOptions, aP as TickAuthVerifier, a_ as TpsSensor, a$ as TpsSensorOptions, b0 as VarintHardeningSensor } from '../index-
|
|
1
|
+
export { m as AccessProfileResolverSensor, Y as BodyBudgetSensor, $ as CapabilityEnforcementSensor, a4 as ChunkHashSensor, a7 as EntropySensor, a9 as ExecutionTimeoutSensor, ab as FrameBudgetSensor, ac as FrameHeaderSanitySensor, ad as HeaderTLVLimitSensor, ah as IntentAllowlistSensor, ak as IntentRegistrySensor, am as LawEvaluationSensor, as as ProofPresenceSensor, at as ProtocolStrictSensor, av as ReceiptPolicySensor, aB as RiskGateSensor, aC as RiskGateSensorOptions, aE as RiskSignalCollector, aG as SchemaValidationSensor, aI as StreamScopeSensor, aJ as TLVParseSensor, aM as TickAuthCapsuleRef, aN as TickAuthSensor, aO as TickAuthSensorOptions, aP as TickAuthVerifier, a_ as TpsSensor, a$ as TpsSensorOptions, b0 as VarintHardeningSensor } from '../index-DEh3s2yx.js';
|
|
2
2
|
import '../axis-sensor-DMW4rfRg.js';
|
|
3
3
|
import '../cce-pipeline-BJ-F1isr.js';
|
|
4
4
|
import '@nextera.one/axis-protocol';
|
package/dist/sensors/index.js
CHANGED
|
@@ -11047,15 +11047,52 @@ var require_chunk_hash_sensor = __commonJS({
|
|
|
11047
11047
|
var require_entropy_sensor = __commonJS({
|
|
11048
11048
|
"src/sensors/entropy.sensor.ts"(exports2) {
|
|
11049
11049
|
"use strict";
|
|
11050
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
11051
|
+
if (k2 === void 0) k2 = k;
|
|
11052
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
11053
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
11054
|
+
desc = { enumerable: true, get: function() {
|
|
11055
|
+
return m[k];
|
|
11056
|
+
} };
|
|
11057
|
+
}
|
|
11058
|
+
Object.defineProperty(o, k2, desc);
|
|
11059
|
+
}) : (function(o, m, k, k2) {
|
|
11060
|
+
if (k2 === void 0) k2 = k;
|
|
11061
|
+
o[k2] = m[k];
|
|
11062
|
+
}));
|
|
11063
|
+
var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
11064
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11065
|
+
}) : function(o, v) {
|
|
11066
|
+
o["default"] = v;
|
|
11067
|
+
});
|
|
11050
11068
|
var __decorate = exports2 && exports2.__decorate || function(decorators, target, key, desc) {
|
|
11051
11069
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11052
11070
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11053
11071
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11054
11072
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11055
11073
|
};
|
|
11074
|
+
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
|
|
11075
|
+
var ownKeys = function(o) {
|
|
11076
|
+
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
11077
|
+
var ar = [];
|
|
11078
|
+
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
11079
|
+
return ar;
|
|
11080
|
+
};
|
|
11081
|
+
return ownKeys(o);
|
|
11082
|
+
};
|
|
11083
|
+
return function(mod) {
|
|
11084
|
+
if (mod && mod.__esModule) return mod;
|
|
11085
|
+
var result = {};
|
|
11086
|
+
if (mod != null) {
|
|
11087
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
11088
|
+
}
|
|
11089
|
+
__setModuleDefault(result, mod);
|
|
11090
|
+
return result;
|
|
11091
|
+
};
|
|
11092
|
+
})();
|
|
11056
11093
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11057
11094
|
exports2.EntropySensor = void 0;
|
|
11058
|
-
var crypto4 = require("crypto");
|
|
11095
|
+
var crypto4 = __importStar(require("crypto"));
|
|
11059
11096
|
var sensor_decorator_1 = (init_sensor_decorator(), __toCommonJS(sensor_decorator_exports));
|
|
11060
11097
|
var sensor_bands_1 = (init_sensor_bands(), __toCommonJS(sensor_bands_exports));
|
|
11061
11098
|
var constants_1 = (init_constants(), __toCommonJS(constants_exports));
|
|
@@ -11734,10 +11771,15 @@ var init_axis_schemas = __esm({
|
|
|
11734
11771
|
ScanBurstDecisionZ = SensorDecisionWithMetadataZ;
|
|
11735
11772
|
ProofKindZ = z2.enum([
|
|
11736
11773
|
"NONE",
|
|
11737
|
-
"
|
|
11774
|
+
"ANONYMOUS",
|
|
11738
11775
|
"PASSPORT",
|
|
11776
|
+
"CAPSULE",
|
|
11777
|
+
"JWT",
|
|
11778
|
+
"CONTRACT",
|
|
11779
|
+
"WITNESS",
|
|
11739
11780
|
"MTLS",
|
|
11740
|
-
"
|
|
11781
|
+
"DEVICE",
|
|
11782
|
+
"AUTHORIZED"
|
|
11741
11783
|
]);
|
|
11742
11784
|
AccessProfileZ = z2.enum(["PUBLIC", "PARTNER", "INTERNAL", "NODE"]);
|
|
11743
11785
|
ProofPresenceInputZ = z2.object({
|
|
@@ -11859,7 +11901,10 @@ var init_axis_schemas = __esm({
|
|
|
11859
11901
|
ip: z2.string().min(1)
|
|
11860
11902
|
});
|
|
11861
11903
|
ProtocolStrictInputZ = z2.object({
|
|
11862
|
-
rawBytes: z2.union([
|
|
11904
|
+
rawBytes: z2.union([
|
|
11905
|
+
z2.custom((v) => Buffer.isBuffer(v)),
|
|
11906
|
+
z2.instanceof(Uint8Array)
|
|
11907
|
+
]).optional(),
|
|
11863
11908
|
ip: z2.string().min(1),
|
|
11864
11909
|
path: z2.string().min(1),
|
|
11865
11910
|
contentLength: z2.number().int().nonnegative(),
|