cja-phoenix 0.14.24 → 0.14.25
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/cja-phoenix.es.js
CHANGED
|
@@ -5723,24 +5723,24 @@ const t8 = async (e) => {
|
|
|
5723
5723
|
];
|
|
5724
5724
|
}
|
|
5725
5725
|
)
|
|
5726
|
-
), v8 = (e, t) => fetch(
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5726
|
+
), v8 = (e, t) => fetch(
|
|
5727
|
+
new URL(
|
|
5728
|
+
`/core/apis/data/applyProductData?${new URLSearchParams({
|
|
5729
|
+
action: "OPEN_CHECKOUT",
|
|
5730
|
+
category: t.category,
|
|
5731
|
+
cggId: t.product.cggId,
|
|
5732
|
+
apply: "apply",
|
|
5733
|
+
journeyId: t.journeyId || "",
|
|
5734
|
+
path: t.path,
|
|
5735
|
+
position: t.index.toString(),
|
|
5736
|
+
providerCggId: t.product.provider.cggId
|
|
5737
|
+
})}`,
|
|
5738
|
+
e
|
|
5739
|
+
),
|
|
5740
|
+
{
|
|
5741
|
+
method: "POST"
|
|
5742
|
+
}
|
|
5743
|
+
);
|
|
5744
5744
|
const Oe = (e, t) => {
|
|
5745
5745
|
const a = e.__vccOpts || e;
|
|
5746
5746
|
for (const [n, r] of t)
|
package/package.json
CHANGED
|
@@ -7,28 +7,27 @@ export const applyProductData = (
|
|
|
7
7
|
path: string;
|
|
8
8
|
product: {
|
|
9
9
|
cggId: string;
|
|
10
|
-
viewId: string;
|
|
11
10
|
provider: {
|
|
12
11
|
cggId: string;
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
}
|
|
16
15
|
) =>
|
|
17
|
-
fetch(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
providerCggId: options.product.provider.cggId,
|
|
31
|
-
}).filter(([_, v]) => v != null)
|
|
32
|
-
)
|
|
16
|
+
fetch(
|
|
17
|
+
new URL(
|
|
18
|
+
`/core/apis/data/applyProductData?${new URLSearchParams({
|
|
19
|
+
action: "OPEN_CHECKOUT",
|
|
20
|
+
category: options.category,
|
|
21
|
+
cggId: options.product.cggId,
|
|
22
|
+
apply: "apply",
|
|
23
|
+
journeyId: options.journeyId || "",
|
|
24
|
+
path: options.path,
|
|
25
|
+
position: options.index.toString(),
|
|
26
|
+
providerCggId: options.product.provider.cggId,
|
|
27
|
+
})}`,
|
|
28
|
+
origin
|
|
33
29
|
),
|
|
34
|
-
|
|
30
|
+
{
|
|
31
|
+
method: "POST",
|
|
32
|
+
}
|
|
33
|
+
);
|