solid-logic 3.1.1-86b6bac → 3.1.1-8dffdcb

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.
@@ -7338,17 +7338,17 @@ const _fetch = async (url, requestInit) => {
7338
7338
  };
7339
7339
  // Global singleton pattern to ensure unique store across library versions
7340
7340
  const SINGLETON_SYMBOL = Symbol.for('solid-logic-singleton');
7341
- const globalThis = (typeof window !== 'undefined' ? window : __webpack_require__.g);
7341
+ const globalTarget = (typeof window !== 'undefined' ? window : __webpack_require__.g);
7342
7342
  function getOrCreateSingleton() {
7343
- if (!globalThis[SINGLETON_SYMBOL]) {
7343
+ if (!globalTarget[SINGLETON_SYMBOL]) {
7344
7344
  log('SolidLogic: Creating new global singleton instance.');
7345
- globalThis[SINGLETON_SYMBOL] = createSolidLogic({ fetch: _fetch }, authSession);
7345
+ globalTarget[SINGLETON_SYMBOL] = createSolidLogic({ fetch: _fetch }, authSession);
7346
7346
  log('Unique quadstore initialized.');
7347
7347
  }
7348
7348
  else {
7349
7349
  log('SolidLogic: Using existing global singleton instance.');
7350
7350
  }
7351
- return globalThis[SINGLETON_SYMBOL];
7351
+ return globalTarget[SINGLETON_SYMBOL];
7352
7352
  }
7353
7353
  //this const makes solidLogicSingleton global accessible in mashlib
7354
7354
  const solidLogicSingleton = getOrCreateSingleton();