@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.cjs
CHANGED
|
@@ -7170,7 +7170,7 @@ const computePosition$1 = (reference, floating, config) => __async(exports, null
|
|
|
7170
7170
|
} = config;
|
|
7171
7171
|
const validMiddleware = middleware.filter(Boolean);
|
|
7172
7172
|
const rtl = yield platform2.isRTL == null ? void 0 : platform2.isRTL(floating);
|
|
7173
|
-
if (
|
|
7173
|
+
if ({}.NODE_ENV !== "production") {
|
|
7174
7174
|
if (platform2 == null) {
|
|
7175
7175
|
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(" "));
|
|
7176
7176
|
}
|
|
@@ -7227,7 +7227,7 @@ const computePosition$1 = (reference, floating, config) => __async(exports, null
|
|
|
7227
7227
|
middlewareData = __spreadProps(__spreadValues({}, middlewareData), {
|
|
7228
7228
|
[name]: __spreadValues(__spreadValues({}, middlewareData[name]), data)
|
|
7229
7229
|
});
|
|
7230
|
-
if (
|
|
7230
|
+
if ({}.NODE_ENV !== "production") {
|
|
7231
7231
|
if (resetCount > 50) {
|
|
7232
7232
|
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(" "));
|
|
7233
7233
|
}
|