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.cjs
CHANGED
|
@@ -37948,9 +37948,6 @@ var CampaignSeedCard = import_react65.default.memo(
|
|
|
37948
37948
|
return providedFields || buildCampaignSeedFields(data);
|
|
37949
37949
|
}, [providedFields, data]);
|
|
37950
37950
|
const handleProceed = () => {
|
|
37951
|
-
if (sendMessage) {
|
|
37952
|
-
sendMessage("Continue to concepts");
|
|
37953
|
-
}
|
|
37954
37951
|
onAction?.({
|
|
37955
37952
|
type: "brief_confirmation",
|
|
37956
37953
|
value: "Continue to concepts",
|
|
@@ -38152,7 +38149,12 @@ var import_react67 = __toESM(require("react"), 1);
|
|
|
38152
38149
|
// src/molecules/creator-discovery/MCQCard/defaultFetchers.ts
|
|
38153
38150
|
function getBackendOrigin() {
|
|
38154
38151
|
if (typeof window === "undefined") return null;
|
|
38155
|
-
|
|
38152
|
+
const raw = window.__NEXT_DATA__?.runtimeConfig?.NEXT_PUBLIC_AGENT_BACKEND ?? (typeof process !== "undefined" ? process.env?.NEXT_PUBLIC_AGENT_BACKEND : void 0);
|
|
38153
|
+
if (!raw) return null;
|
|
38154
|
+
if (window.location.protocol === "https:" && raw.startsWith("http:")) {
|
|
38155
|
+
return raw.replace("http:", "https:");
|
|
38156
|
+
}
|
|
38157
|
+
return raw;
|
|
38156
38158
|
}
|
|
38157
38159
|
function getBaseUrl() {
|
|
38158
38160
|
const backend = getBackendOrigin();
|
|
@@ -39595,7 +39597,12 @@ var import_framer_motion5 = require("framer-motion");
|
|
|
39595
39597
|
// src/molecules/creator-discovery/CreatorWidget/defaultFetchers.ts
|
|
39596
39598
|
function getBackendOrigin2() {
|
|
39597
39599
|
if (typeof window === "undefined") return null;
|
|
39598
|
-
|
|
39600
|
+
const raw = window.__NEXT_DATA__?.runtimeConfig?.NEXT_PUBLIC_AGENT_BACKEND ?? (typeof process !== "undefined" ? process.env?.NEXT_PUBLIC_AGENT_BACKEND : void 0);
|
|
39601
|
+
if (!raw) return null;
|
|
39602
|
+
if (window.location.protocol === "https:" && raw.startsWith("http:")) {
|
|
39603
|
+
return raw.replace("http:", "https:");
|
|
39604
|
+
}
|
|
39605
|
+
return raw;
|
|
39599
39606
|
}
|
|
39600
39607
|
function getAuthToken2() {
|
|
39601
39608
|
if (typeof window === "undefined") return null;
|