@jay-framework/secure 0.16.2 → 0.16.4

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 +4 -4
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -186,8 +186,8 @@ class HandshakeMessageJayChannel {
186
186
  this.worker.postMessage({ messages, newCompIdMessages });
187
187
  }
188
188
  }
189
- const SECURE_COMPONENT_MARKER = createJayContext();
190
- const SECURE_COORDINATE_MARKER = createJayContext();
189
+ const SECURE_COMPONENT_MARKER = createJayContext("secm");
190
+ const SECURE_COORDINATE_MARKER = createJayContext("scm");
191
191
  function secureChildComp(compCreator, getProps, ref) {
192
192
  currentConstructionContext();
193
193
  let coordinate = ref.coordinate;
@@ -495,8 +495,8 @@ function completeCorrelatedPromise(message) {
495
495
  promises$.get(message.correlationId)?.resolve(message.result);
496
496
  promises$.delete(message.correlationId);
497
497
  }
498
- const SANDBOX_BRIDGE_CONTEXT = createJayContext();
499
- const SANDBOX_CREATION_CONTEXT = createJayContext();
498
+ const SANDBOX_BRIDGE_CONTEXT = createJayContext("sbc");
499
+ const SANDBOX_CREATION_CONTEXT = createJayContext("scc");
500
500
  class SecureReferencesManager extends BaseReferencesManager {
501
501
  constructor(ep, eventWrapper) {
502
502
  super(eventWrapper);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jay-framework/secure",
3
- "version": "0.16.2",
3
+ "version": "0.16.4",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -36,14 +36,14 @@
36
36
  "runtime:top-level-collection-conditions": "jay-cli runtime test/top-level-collection-conditions/regular"
37
37
  },
38
38
  "dependencies": {
39
- "@jay-framework/component": "^0.16.2",
40
- "@jay-framework/json-patch": "^0.16.2",
41
- "@jay-framework/reactive": "^0.16.2",
42
- "@jay-framework/runtime": "^0.16.2",
43
- "@jay-framework/serialization": "^0.16.2"
39
+ "@jay-framework/component": "^0.16.4",
40
+ "@jay-framework/json-patch": "^0.16.4",
41
+ "@jay-framework/reactive": "^0.16.4",
42
+ "@jay-framework/runtime": "^0.16.4",
43
+ "@jay-framework/serialization": "^0.16.4"
44
44
  },
45
45
  "devDependencies": {
46
- "@jay-framework/dev-environment": "^0.16.2",
46
+ "@jay-framework/dev-environment": "^0.16.4",
47
47
  "@testing-library/jest-dom": "^6.2.0",
48
48
  "@types/node": "^20.11.5",
49
49
  "caniuse-lite": "^1.0.30001579",