@mxenabled/connect-widget 0.20.1 → 0.20.2

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/dist/index.es.js CHANGED
@@ -5152,7 +5152,7 @@ function toFinite$2(value) {
5152
5152
  return value === 0 ? value : 0;
5153
5153
  }
5154
5154
  value = toNumber$1(value);
5155
- if (value === INFINITY$1 || value === -Infinity) {
5155
+ if (value === INFINITY$1 || value === -INFINITY$1) {
5156
5156
  var sign = value < 0 ? -1 : 1;
5157
5157
  return sign * MAX_INTEGER;
5158
5158
  }
@@ -13104,9 +13104,9 @@ const require$$1$1 = /*@__PURE__*/getAugmentedNamespace(__viteBrowserExternal$1)
13104
13104
  /**
13105
13105
  * [js-sha256]{@link https://github.com/emn178/js-sha256}
13106
13106
  *
13107
- * @version 0.11.0
13107
+ * @version 0.11.1
13108
13108
  * @author Chen, Yi-Cyuan [emn178@gmail.com]
13109
- * @copyright Chen, Yi-Cyuan 2014-2024
13109
+ * @copyright Chen, Yi-Cyuan 2014-2025
13110
13110
  * @license MIT
13111
13111
  */
13112
13112
 
@@ -13119,7 +13119,7 @@ const require$$1$1 = /*@__PURE__*/getAugmentedNamespace(__viteBrowserExternal$1)
13119
13119
  WINDOW = false;
13120
13120
  }
13121
13121
  var WEB_WORKER = !WINDOW && typeof self === "object";
13122
- var NODE_JS = !root.JS_SHA256_NO_NODE_JS && typeof process === "object" && process.versions && process.versions.node;
13122
+ var NODE_JS = !root.JS_SHA256_NO_NODE_JS && typeof process === "object" && process.versions && process.versions.node && process.type != "renderer";
13123
13123
  if (NODE_JS) {
13124
13124
  root = commonjsGlobal;
13125
13125
  } else if (WEB_WORKER) {