@wix/auto_sdk_ecom_cart 1.0.65 → 1.0.66
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 +0 -86
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +0 -86
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +0 -86
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +0 -86
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +0 -86
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +0 -86
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +0 -86
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +0 -86
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +0 -86
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +0 -86
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +0 -86
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +0 -86
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -16,103 +16,17 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
|
|
|
16
16
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
17
17
|
function resolveComWixEcomCartApiV1CartServiceUrl(opts) {
|
|
18
18
|
const domainToMappings = {
|
|
19
|
-
"api._api_base_domain_": [
|
|
20
|
-
{
|
|
21
|
-
srcPath: "/cart",
|
|
22
|
-
destPath: ""
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"www.wixapis.com": [
|
|
26
|
-
{
|
|
27
|
-
srcPath: "/ecom/v1/carts",
|
|
28
|
-
destPath: "/v1/carts"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"www.wixgateway.com": [
|
|
32
|
-
{
|
|
33
|
-
srcPath: "/ecom/v1/carts",
|
|
34
|
-
destPath: "/v1/carts"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
19
|
_: [
|
|
38
|
-
{
|
|
39
|
-
srcPath: "/_api/ecom-cart",
|
|
40
|
-
destPath: ""
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
srcPath: "/_api/cart",
|
|
44
|
-
destPath: ""
|
|
45
|
-
},
|
|
46
20
|
{
|
|
47
21
|
srcPath: "/ecom/v1/carts",
|
|
48
22
|
destPath: "/v1/carts"
|
|
49
23
|
}
|
|
50
24
|
],
|
|
51
|
-
"manage._base_domain_": [
|
|
52
|
-
{
|
|
53
|
-
srcPath: "/ecom/v1/carts",
|
|
54
|
-
destPath: "/v1/carts"
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"editor._base_domain_": [
|
|
58
|
-
{
|
|
59
|
-
srcPath: "/_api/ecom-cart",
|
|
60
|
-
destPath: ""
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"blocks._base_domain_": [
|
|
64
|
-
{
|
|
65
|
-
srcPath: "/_api/ecom-cart",
|
|
66
|
-
destPath: ""
|
|
67
|
-
}
|
|
68
|
-
],
|
|
69
|
-
"create.editorx": [
|
|
70
|
-
{
|
|
71
|
-
srcPath: "/_api/ecom-cart",
|
|
72
|
-
destPath: ""
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
"*.dev.wix-code.com": [
|
|
76
|
-
{
|
|
77
|
-
srcPath: "/_api/ecom-cart",
|
|
78
|
-
destPath: ""
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
25
|
"www._base_domain_": [
|
|
82
26
|
{
|
|
83
27
|
srcPath: "/_api/ecom-cart",
|
|
84
28
|
destPath: ""
|
|
85
29
|
}
|
|
86
|
-
],
|
|
87
|
-
"bo._base_domain_": [
|
|
88
|
-
{
|
|
89
|
-
srcPath: "/ecom/v1/carts",
|
|
90
|
-
destPath: "/v1/carts"
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"wixbo.ai": [
|
|
94
|
-
{
|
|
95
|
-
srcPath: "/ecom/v1/carts",
|
|
96
|
-
destPath: "/v1/carts"
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"wix-bo.com": [
|
|
100
|
-
{
|
|
101
|
-
srcPath: "/ecom/v1/carts",
|
|
102
|
-
destPath: "/v1/carts"
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"editor.wixapps.net": [
|
|
106
|
-
{
|
|
107
|
-
srcPath: "/_api/ecom-cart",
|
|
108
|
-
destPath: ""
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"apps._base_domain_": [
|
|
112
|
-
{
|
|
113
|
-
srcPath: "/ecom/v1/carts",
|
|
114
|
-
destPath: "/v1/carts"
|
|
115
|
-
}
|
|
116
30
|
]
|
|
117
31
|
};
|
|
118
32
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|