@xdsjs/dossierx-daemon 0.1.15 → 0.1.16

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/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2290,7 +2290,7 @@ function createTaskArchive(options) {
2290
2290
 
2291
2291
  // src/version.ts
2292
2292
  var DAEMON_PACKAGE_NAME = "@xdsjs/dossierx-daemon";
2293
- var DAEMON_VERSION = "0.1.15";
2293
+ var DAEMON_VERSION = "0.1.16";
2294
2294
 
2295
2295
  // src/local-api/server.ts
2296
2296
  var DEFAULT_MAX_FILE_BYTES = 5 * 1024 * 1024;
@@ -2300,6 +2300,7 @@ function json(response, status, body, origin) {
2300
2300
  response.writeHead(status, {
2301
2301
  "content-type": "application/json; charset=utf-8",
2302
2302
  ...origin ? { "access-control-allow-origin": origin } : {},
2303
+ ...origin ? { "access-control-allow-private-network": "true" } : {},
2303
2304
  "access-control-allow-methods": "GET, POST, OPTIONS",
2304
2305
  "access-control-allow-headers": "content-type",
2305
2306
  vary: "Origin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xdsjs/dossierx-daemon",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",