@basthon/kernel-base 0.73.5 → 0.73.6

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/lib/commons.js CHANGED
@@ -94,7 +94,14 @@ const mockFetch = (legacy) => {
94
94
  // only url under the assets folder are proxyied
95
95
  if (parent(url).startsWith(assetsURL)) {
96
96
  const proxy = self._remoteProxy;
97
- const { body, options } = await proxy.fetch(request);
97
+ // request object is not (stuctured) clonable...
98
+ const objReq = JSON.parse(JSON.stringify(request, [
99
+ "credentials",
100
+ "headers",
101
+ "method",
102
+ "mode",
103
+ ]));
104
+ const { body, options } = await proxy.fetch(request.url, objReq);
98
105
  return new Response(body, options);
99
106
  }
100
107
  throw new Error("Ressource is outside the proxy' scope");
package/lib/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "0.73.5";
1
+ export declare const VERSION = "0.73.6";
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.73.5";
1
+ export const VERSION = "0.73.6";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basthon/kernel-base",
3
- "version": "0.73.5",
3
+ "version": "0.73.6",
4
4
  "description": "Basthon - Base Kernel",
5
5
  "homepage": "https://basthon.fr",
6
6
  "bugs": {
@@ -35,6 +35,7 @@
35
35
  "clean": "rimraf lib/ src/version.ts"
36
36
  },
37
37
  "dependencies": {
38
+ "comlink": "^4.4.2",
38
39
  "crypto-js": "^4.2.0",
39
40
  "promise-delegate": "^1.0.1"
40
41
  },
@@ -47,5 +48,5 @@
47
48
  "publishConfig": {
48
49
  "access": "public"
49
50
  },
50
- "gitHead": "0a6a26f0727bb0bcf117ad5b5a12f87dbfe68405"
51
+ "gitHead": "b7c704be05e37311876fc222cc6813471d0dd85c"
51
52
  }