react-marketing-tools 0.4.2 → 0.4.3
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.
|
@@ -19,7 +19,7 @@ const y = (e, d = "") => d ? e.hasOwnProperty(d) : Object.keys(e).length > 0, Jo
|
|
|
19
19
|
throw new Error(
|
|
20
20
|
"if you want serverLocationInfo your config must have the TOKEN.IP_INFO_TOKEN AND withServerLocationInfo must be true."
|
|
21
21
|
);
|
|
22
|
-
}, yr = (e) => fetch(`https://ipinfo.io
|
|
22
|
+
}, yr = (e) => fetch(`https://ipinfo.io?token=${e}`).then(
|
|
23
23
|
(d) => d.json()
|
|
24
24
|
);
|
|
25
25
|
var S = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|