@aurora-is-near/intents-swap-widget 2.6.4 → 2.6.5
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a = () => typeof window > "u" ? !1 : new URLSearchParams(window.location.search).get("widget") === "debug";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
a as isDebug
|
|
4
4
|
};
|
|
5
5
|
//# sourceMappingURL=isDebug.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isDebug.js","sources":["../../../src/utils/checkers/isDebug.ts"],"sourcesContent":["export const isDebug = () => {\n const searchParams = new URLSearchParams(window.location.search);\n\n return searchParams.get('widget') === 'debug';\n};\n"],"names":["isDebug"],"mappings":"AAAO,MAAMA,IAAU,
|
|
1
|
+
{"version":3,"file":"isDebug.js","sources":["../../../src/utils/checkers/isDebug.ts"],"sourcesContent":["export const isDebug = (): boolean => {\n if (typeof window === 'undefined') {\n return false;\n }\n\n const searchParams = new URLSearchParams(window.location.search);\n\n return searchParams.get('widget') === 'debug';\n};\n"],"names":["isDebug"],"mappings":"AAAO,MAAMA,IAAU,MACjB,OAAO,SAAW,MACb,KAGY,IAAI,gBAAgB,OAAO,SAAS,MAAM,EAE3C,IAAI,QAAQ,MAAM;"}
|
package/package.json
CHANGED