@abtnode/constant 1.16.25-next-0ba03ffc → 1.16.25-next-44800645

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 +48 -15
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -341,20 +341,52 @@ const FEDERATED = {
341
341
  SYNC_LIMIT: 3,
342
342
  };
343
343
 
344
- const LAUNCH_SESSION_STATUS = Object.freeze({
345
- created: 0,
346
- selected: 10,
347
- connected: 20,
348
- paid: 30,
349
- nftMinted: 35,
350
- allocated: 40,
351
- consuming: 46,
352
- installed: 50,
353
- expired: 60,
354
- terminated: 70,
355
- timeout: 80,
356
- transferred: 90,
357
- });
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
+ ];
358
390
 
359
391
  module.exports = Object.freeze({
360
392
  // Blocklet Server
@@ -488,6 +520,7 @@ module.exports = Object.freeze({
488
520
  PROXY_MAX_MEM_LIMIT_IN_MB: 800,
489
521
  BLOCKLET_MAX_MEM_LIMIT_IN_MB: 800,
490
522
  CERTIFICATE_EXPIRES_OFFSET: 10 * DAY_IN_MS,
523
+ ROUTING_RESPONSE_TYPES,
491
524
  ROUTING_RULE_TYPES: Object.freeze({
492
525
  NONE: 'none',
493
526
  DAEMON: 'daemon',
@@ -542,6 +575,7 @@ module.exports = Object.freeze({
542
575
  },
543
576
 
544
577
  LOG_RETAIN_IN_DAYS: 60,
578
+ EXPIRED_BLOCKLET_DATA_RETENTION_DAYS: 30,
545
579
 
546
580
  BLOCKLET_INSTALL_TYPE: {
547
581
  STORE: 'store',
@@ -590,5 +624,4 @@ module.exports = Object.freeze({
590
624
  FEDERATED,
591
625
  SESSION_TOKEN_STORAGE_KEY: 'login_token',
592
626
  REFRESH_TOKEN_STORAGE_KEY: 'refresh_token',
593
- LAUNCH_SESSION_STATUS,
594
627
  });
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-44800645",
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": "7d09cee17eb88bcfe6a4b298a0394c5945aa5f2e"
24
24
  }