@wix/auto_sdk_ecom_checkout 1.0.166 → 1.0.168
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/build/cjs/index.js +1 -67
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +1 -67
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +1 -67
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +1 -67
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +1 -67
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +1 -67
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +1 -67
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +1 -67
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +1 -67
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +1 -67
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +1 -67
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +1 -67
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/es/index.mjs
CHANGED
|
@@ -27,77 +27,11 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
|
|
|
27
27
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
28
28
|
function resolveComWixEcomCheckoutApiV1CheckoutServiceUrl(opts) {
|
|
29
29
|
const domainToMappings = {
|
|
30
|
-
"www.wixapis.com": [
|
|
31
|
-
{
|
|
32
|
-
srcPath: "/ecom/v1/checkouts",
|
|
33
|
-
destPath: "/v1/checkouts"
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
_: [
|
|
37
|
-
{
|
|
38
|
-
srcPath: "/ecom/v1/checkouts",
|
|
39
|
-
destPath: "/v1/checkouts"
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"manage._base_domain_": [
|
|
43
|
-
{
|
|
44
|
-
srcPath: "/ecom/v1/checkouts",
|
|
45
|
-
destPath: "/v1/checkouts"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"www._base_domain_": [
|
|
49
|
-
{
|
|
50
|
-
srcPath: "/ecom/v1/checkouts",
|
|
51
|
-
destPath: "/v1/checkouts"
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"bo._base_domain_": [
|
|
55
|
-
{
|
|
56
|
-
srcPath: "/ecom/v1/checkouts",
|
|
57
|
-
destPath: "/v1/checkouts"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"wixbo.ai": [
|
|
61
|
-
{
|
|
62
|
-
srcPath: "/ecom/v1/checkouts",
|
|
63
|
-
destPath: "/v1/checkouts"
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
|
-
"wix-bo.com": [
|
|
67
|
-
{
|
|
68
|
-
srcPath: "/ecom/v1/checkouts",
|
|
69
|
-
destPath: "/v1/checkouts"
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
"*.dev.wix-code.com": [
|
|
73
|
-
{
|
|
74
|
-
srcPath: "/ecom/v1/checkouts",
|
|
75
|
-
destPath: "/v1/checkouts"
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
30
|
"api._api_base_domain_": [
|
|
79
31
|
{
|
|
80
|
-
srcPath: "/checkout
|
|
32
|
+
srcPath: "/checkout",
|
|
81
33
|
destPath: ""
|
|
82
34
|
}
|
|
83
|
-
],
|
|
84
|
-
"editor._base_domain_": [
|
|
85
|
-
{
|
|
86
|
-
srcPath: "/ecom/v1/checkouts",
|
|
87
|
-
destPath: "/v1/checkouts"
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
"blocks._base_domain_": [
|
|
91
|
-
{
|
|
92
|
-
srcPath: "/ecom/v1/checkouts",
|
|
93
|
-
destPath: "/v1/checkouts"
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
"create.editorx": [
|
|
97
|
-
{
|
|
98
|
-
srcPath: "/ecom/v1/checkouts",
|
|
99
|
-
destPath: "/v1/checkouts"
|
|
100
|
-
}
|
|
101
35
|
]
|
|
102
36
|
};
|
|
103
37
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|