@fractalpay/fractalpay-next-dev 0.0.211 → 0.0.212
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var require_package = __commonJS({
|
|
|
39
39
|
"package.json"(exports, module) {
|
|
40
40
|
module.exports = {
|
|
41
41
|
name: "@fractalpay/fractalpay-next-dev",
|
|
42
|
-
version: "0.0.
|
|
42
|
+
version: "0.0.212",
|
|
43
43
|
private: false,
|
|
44
44
|
type: "module",
|
|
45
45
|
scripts: {
|
|
@@ -3254,13 +3254,13 @@ var DataCapScriptLoader = () => {
|
|
|
3254
3254
|
return;
|
|
3255
3255
|
}
|
|
3256
3256
|
const existingScript = document.querySelector(
|
|
3257
|
-
|
|
3257
|
+
`script[src="${datacapUrl}/hosted"]`
|
|
3258
3258
|
);
|
|
3259
3259
|
console.log("\u{1F535} existingScript found:", !!existingScript);
|
|
3260
3260
|
if (!existingScript) {
|
|
3261
3261
|
console.log("\u{1F7E2} Injecting DataCap hosted script...");
|
|
3262
3262
|
const script2 = document.createElement("script");
|
|
3263
|
-
script2.src =
|
|
3263
|
+
script2.src = `${datacapUrl}/hosted`;
|
|
3264
3264
|
script2.async = true;
|
|
3265
3265
|
script2.onload = () => {
|
|
3266
3266
|
console.log("\u2705 DataCap script loaded successfully");
|