@tonconnect/ui 2.0.5 → 2.0.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/dist/tonconnect-ui.min.js +1 -1
- package/dist/tonconnect-ui.min.js.map +1 -1
- package/lib/index.cjs +2 -2
- package/lib/index.cjs.map +1 -1
- package/lib/index.mjs +2 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -7165,7 +7165,7 @@ const computePosition$1 = (reference, floating, config) => __async(void 0, null,
|
|
|
7165
7165
|
} = config;
|
|
7166
7166
|
const validMiddleware = middleware.filter(Boolean);
|
|
7167
7167
|
const rtl = yield platform2.isRTL == null ? void 0 : platform2.isRTL(floating);
|
|
7168
|
-
if (
|
|
7168
|
+
if ({}.NODE_ENV !== "production") {
|
|
7169
7169
|
if (platform2 == null) {
|
|
7170
7170
|
console.error(["Floating UI: `platform` property was not passed to config. If you", "want to use Floating UI on the web, install @floating-ui/dom", "instead of the /core package. Otherwise, you can create your own", "`platform`: https://floating-ui.com/docs/platform"].join(" "));
|
|
7171
7171
|
}
|
|
@@ -7222,7 +7222,7 @@ const computePosition$1 = (reference, floating, config) => __async(void 0, null,
|
|
|
7222
7222
|
middlewareData = __spreadProps(__spreadValues({}, middlewareData), {
|
|
7223
7223
|
[name]: __spreadValues(__spreadValues({}, middlewareData[name]), data)
|
|
7224
7224
|
});
|
|
7225
|
-
if (
|
|
7225
|
+
if ({}.NODE_ENV !== "production") {
|
|
7226
7226
|
if (resetCount > 50) {
|
|
7227
7227
|
console.warn(["Floating UI: The middleware lifecycle appears to be running in an", "infinite loop. This is usually caused by a `reset` continually", "being returned without a break condition."].join(" "));
|
|
7228
7228
|
}
|