@nextera.one/axis-server-sdk 2.3.17 → 2.3.18

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.mjs CHANGED
@@ -219,6 +219,21 @@ function Axis() {
219
219
  Reflect.defineMetadata(AXIS_META_KEY, { entry: true }, target);
220
220
  };
221
221
  }
222
+ function AxisStream(options = {}) {
223
+ return (target) => {
224
+ Reflect.defineMetadata(
225
+ AXIS_STREAM_META_KEY,
226
+ {
227
+ entry: true,
228
+ transport: "stream",
229
+ role: "entry",
230
+ path: options.path,
231
+ protocol: options.protocol
232
+ },
233
+ target
234
+ );
235
+ };
236
+ }
222
237
  function AxisPublic() {
223
238
  return (target, propertyKey, descriptor) => {
224
239
  if (propertyKey !== void 0) {
@@ -261,10 +276,11 @@ function AxisRateLimit(config) {
261
276
  return descriptor;
262
277
  };
263
278
  }
264
- var AXIS_META_KEY, SENSITIVITY_METADATA_KEY, CONTRACT_METADATA_KEY, REQUIRED_PROOF_METADATA_KEY, AXIS_PUBLIC_KEY, AXIS_ANONYMOUS_KEY, AXIS_AUTHORIZED_KEY, AXIS_RATE_LIMIT_KEY;
279
+ var AXIS_META_KEY, AXIS_STREAM_META_KEY, SENSITIVITY_METADATA_KEY, CONTRACT_METADATA_KEY, REQUIRED_PROOF_METADATA_KEY, AXIS_PUBLIC_KEY, AXIS_ANONYMOUS_KEY, AXIS_AUTHORIZED_KEY, AXIS_RATE_LIMIT_KEY;
265
280
  var init_intent_policy_decorator = __esm({
266
281
  "src/decorators/intent-policy.decorator.ts"() {
267
282
  AXIS_META_KEY = "axis:axis";
283
+ AXIS_STREAM_META_KEY = "axis:stream";
268
284
  SENSITIVITY_METADATA_KEY = "axis:sensitivity";
269
285
  CONTRACT_METADATA_KEY = "axis:contract";
270
286
  REQUIRED_PROOF_METADATA_KEY = "axis:required_proof";
@@ -13117,6 +13133,7 @@ __export(index_exports, {
13117
13133
  AXIS_OPCODES: () => AXIS_OPCODES,
13118
13134
  AXIS_PUBLIC_KEY: () => AXIS_PUBLIC_KEY,
13119
13135
  AXIS_RATE_LIMIT_KEY: () => AXIS_RATE_LIMIT_KEY,
13136
+ AXIS_STREAM_META_KEY: () => AXIS_STREAM_META_KEY,
13120
13137
  AXIS_UPLOAD_FILE_STORE: () => AXIS_UPLOAD_FILE_STORE,
13121
13138
  AXIS_UPLOAD_RECEIPT_SIGNER: () => AXIS_UPLOAD_RECEIPT_SIGNER,
13122
13139
  AXIS_UPLOAD_SESSION_STORE: () => AXIS_UPLOAD_SESSION_STORE,
@@ -13136,6 +13153,7 @@ __export(index_exports, {
13136
13153
  AxisRateLimit: () => AxisRateLimit,
13137
13154
  AxisResponseDto: () => import_axis_response.AxisResponseDto,
13138
13155
  AxisSensorChainService: () => AxisSensorChainService,
13156
+ AxisStream: () => AxisStream,
13139
13157
  AxisTlvDto: () => AxisTlvDto,
13140
13158
  BAND: () => BAND,
13141
13159
  BodyProfile: () => BodyProfile2,
@@ -13520,6 +13538,7 @@ export {
13520
13538
  AXIS_OPCODES,
13521
13539
  AXIS_PUBLIC_KEY,
13522
13540
  AXIS_RATE_LIMIT_KEY,
13541
+ AXIS_STREAM_META_KEY,
13523
13542
  AXIS_UPLOAD_FILE_STORE,
13524
13543
  AXIS_UPLOAD_RECEIPT_SIGNER,
13525
13544
  AXIS_UPLOAD_SESSION_STORE,
@@ -13539,6 +13558,7 @@ export {
13539
13558
  AxisRateLimit,
13540
13559
  export_AxisResponseDto as AxisResponseDto,
13541
13560
  AxisSensorChainService,
13561
+ AxisStream,
13542
13562
  AxisTlvDto,
13543
13563
  BAND,
13544
13564
  BodyProfile2 as BodyProfile,