@abtnode/constant 1.16.25-next-0ba03ffc → 1.16.25-next-1e779575

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.
Files changed (2) hide show
  1. package/index.js +47 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -341,6 +341,52 @@ const FEDERATED = {
341
341
  SYNC_LIMIT: 3,
342
342
  };
343
343
 
344
+ const ROUTING_RESPONSE_TYPES = [
345
+ {
346
+ text: 'Plain Text',
347
+ value: 'text/plain',
348
+ },
349
+ {
350
+ text: 'JSON',
351
+ value: 'application/json',
352
+ },
353
+ {
354
+ text: 'XML',
355
+ value: 'application/xml',
356
+ },
357
+ {
358
+ text: 'HTML Document',
359
+ value: 'text/html',
360
+ },
361
+ {
362
+ text: 'YAML',
363
+ value: 'application/x-yaml',
364
+ },
365
+ {
366
+ text: 'TOML',
367
+ value: 'application/toml',
368
+ },
369
+ {
370
+ text: 'CSS',
371
+ value: 'text/css',
372
+ },
373
+ {
374
+ text: 'JavaScript',
375
+ value: 'application/javascript',
376
+ },
377
+ {
378
+ text: 'CSV',
379
+ value: 'text/csv',
380
+ },
381
+ {
382
+ text: 'Markdown',
383
+ value: 'text/markdown',
384
+ },
385
+ {
386
+ text: 'SVG',
387
+ value: 'image/svg+xml',
388
+ },
389
+ ];
344
390
  const LAUNCH_SESSION_STATUS = Object.freeze({
345
391
  created: 0,
346
392
  selected: 10,
@@ -488,6 +534,7 @@ module.exports = Object.freeze({
488
534
  PROXY_MAX_MEM_LIMIT_IN_MB: 800,
489
535
  BLOCKLET_MAX_MEM_LIMIT_IN_MB: 800,
490
536
  CERTIFICATE_EXPIRES_OFFSET: 10 * DAY_IN_MS,
537
+ ROUTING_RESPONSE_TYPES,
491
538
  ROUTING_RULE_TYPES: Object.freeze({
492
539
  NONE: 'none',
493
540
  DAEMON: 'daemon',
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.25-next-0ba03ffc",
6
+ "version": "1.16.25-next-1e779575",
7
7
  "description": "ABT Node constants",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -20,5 +20,5 @@
20
20
  "devDependencies": {
21
21
  "jest": "^29.7.0"
22
22
  },
23
- "gitHead": "4003cb3e4d32c47cdf097b00b551959db4d5d31a"
23
+ "gitHead": "a850cb40b003798c7bf6dbbf7546e2feabd85243"
24
24
  }