@shipeasy/sdk 2.1.9 → 2.1.10

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.
@@ -386,7 +386,10 @@ Object.defineProperty(globalThis, _EDIT_MODE_SSR_SYM, {
386
386
  get: () => _editModeALS.getStore() ?? globalThis[_EDIT_MODE_FALLBACK_SYM] ?? false,
387
387
  set: (v) => {
388
388
  const b = Boolean(v);
389
- _editModeALS.enterWith(b);
389
+ try {
390
+ _editModeALS.enterWith(b);
391
+ } catch {
392
+ }
390
393
  globalThis[_EDIT_MODE_FALLBACK_SYM] = b;
391
394
  },
392
395
  configurable: true
@@ -343,7 +343,10 @@ Object.defineProperty(globalThis, _EDIT_MODE_SSR_SYM, {
343
343
  get: () => _editModeALS.getStore() ?? globalThis[_EDIT_MODE_FALLBACK_SYM] ?? false,
344
344
  set: (v) => {
345
345
  const b = Boolean(v);
346
- _editModeALS.enterWith(b);
346
+ try {
347
+ _editModeALS.enterWith(b);
348
+ } catch {
349
+ }
347
350
  globalThis[_EDIT_MODE_FALLBACK_SYM] = b;
348
351
  },
349
352
  configurable: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipeasy/sdk",
3
- "version": "2.1.9",
3
+ "version": "2.1.10",
4
4
  "description": "Shipeasy SDK — feature gates, runtime configs, experiments, and metrics for the Shipeasy hosted service.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://shipeasy.ai",