pxengine 0.1.68 → 0.1.70
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.cjs +12 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +12 -5
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -37652,9 +37652,6 @@ var CampaignSeedCard = React95.memo(
|
|
|
37652
37652
|
return providedFields || buildCampaignSeedFields(data);
|
|
37653
37653
|
}, [providedFields, data]);
|
|
37654
37654
|
const handleProceed = () => {
|
|
37655
|
-
if (sendMessage) {
|
|
37656
|
-
sendMessage("Continue to concepts");
|
|
37657
|
-
}
|
|
37658
37655
|
onAction?.({
|
|
37659
37656
|
type: "brief_confirmation",
|
|
37660
37657
|
value: "Continue to concepts",
|
|
@@ -37856,7 +37853,12 @@ import React97 from "react";
|
|
|
37856
37853
|
// src/molecules/creator-discovery/MCQCard/defaultFetchers.ts
|
|
37857
37854
|
function getBackendOrigin() {
|
|
37858
37855
|
if (typeof window === "undefined") return null;
|
|
37859
|
-
|
|
37856
|
+
const raw = window.__NEXT_DATA__?.runtimeConfig?.NEXT_PUBLIC_AGENT_BACKEND ?? (typeof process !== "undefined" ? process.env?.NEXT_PUBLIC_AGENT_BACKEND : void 0);
|
|
37857
|
+
if (!raw) return null;
|
|
37858
|
+
if (window.location.protocol === "https:" && raw.startsWith("http:")) {
|
|
37859
|
+
return raw.replace("http:", "https:");
|
|
37860
|
+
}
|
|
37861
|
+
return raw;
|
|
37860
37862
|
}
|
|
37861
37863
|
function getBaseUrl() {
|
|
37862
37864
|
const backend = getBackendOrigin();
|
|
@@ -39299,7 +39301,12 @@ import { AnimatePresence as AnimatePresence4, motion as motion5 } from "framer-m
|
|
|
39299
39301
|
// src/molecules/creator-discovery/CreatorWidget/defaultFetchers.ts
|
|
39300
39302
|
function getBackendOrigin2() {
|
|
39301
39303
|
if (typeof window === "undefined") return null;
|
|
39302
|
-
|
|
39304
|
+
const raw = window.__NEXT_DATA__?.runtimeConfig?.NEXT_PUBLIC_AGENT_BACKEND ?? (typeof process !== "undefined" ? process.env?.NEXT_PUBLIC_AGENT_BACKEND : void 0);
|
|
39305
|
+
if (!raw) return null;
|
|
39306
|
+
if (window.location.protocol === "https:" && raw.startsWith("http:")) {
|
|
39307
|
+
return raw.replace("http:", "https:");
|
|
39308
|
+
}
|
|
39309
|
+
return raw;
|
|
39303
39310
|
}
|
|
39304
39311
|
function getAuthToken2() {
|
|
39305
39312
|
if (typeof window === "undefined") return null;
|