@wix/auto_sdk_ecom_cart 1.0.65 → 1.0.67
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 +2 -72
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +2 -72
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +2 -72
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +2 -72
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +2 -72
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +2 -72
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +2 -72
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +2 -72
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +2 -72
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +2 -72
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +2 -72
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +2 -72
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -88,103 +88,33 @@ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform
|
|
|
88
88
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
89
89
|
function resolveComWixEcomCartApiV1CartServiceUrl(opts) {
|
|
90
90
|
const domainToMappings = {
|
|
91
|
-
"api._api_base_domain_": [
|
|
92
|
-
{
|
|
93
|
-
srcPath: "/cart",
|
|
94
|
-
destPath: ""
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
91
|
"www.wixapis.com": [
|
|
98
92
|
{
|
|
99
93
|
srcPath: "/ecom/v1/carts",
|
|
100
94
|
destPath: "/v1/carts"
|
|
101
95
|
}
|
|
102
96
|
],
|
|
103
|
-
"www.wixgateway.com": [
|
|
104
|
-
{
|
|
105
|
-
srcPath: "/ecom/v1/carts",
|
|
106
|
-
destPath: "/v1/carts"
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
97
|
_: [
|
|
110
98
|
{
|
|
111
99
|
srcPath: "/_api/ecom-cart",
|
|
112
100
|
destPath: ""
|
|
113
101
|
},
|
|
114
|
-
{
|
|
115
|
-
srcPath: "/_api/cart",
|
|
116
|
-
destPath: ""
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
srcPath: "/ecom/v1/carts",
|
|
120
|
-
destPath: "/v1/carts"
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"manage._base_domain_": [
|
|
124
102
|
{
|
|
125
103
|
srcPath: "/ecom/v1/carts",
|
|
126
104
|
destPath: "/v1/carts"
|
|
127
105
|
}
|
|
128
106
|
],
|
|
129
|
-
"editor._base_domain_": [
|
|
130
|
-
{
|
|
131
|
-
srcPath: "/_api/ecom-cart",
|
|
132
|
-
destPath: ""
|
|
133
|
-
}
|
|
134
|
-
],
|
|
135
|
-
"blocks._base_domain_": [
|
|
136
|
-
{
|
|
137
|
-
srcPath: "/_api/ecom-cart",
|
|
138
|
-
destPath: ""
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
"create.editorx": [
|
|
142
|
-
{
|
|
143
|
-
srcPath: "/_api/ecom-cart",
|
|
144
|
-
destPath: ""
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
"*.dev.wix-code.com": [
|
|
148
|
-
{
|
|
149
|
-
srcPath: "/_api/ecom-cart",
|
|
150
|
-
destPath: ""
|
|
151
|
-
}
|
|
152
|
-
],
|
|
153
107
|
"www._base_domain_": [
|
|
154
108
|
{
|
|
155
109
|
srcPath: "/_api/ecom-cart",
|
|
156
110
|
destPath: ""
|
|
157
111
|
}
|
|
158
112
|
],
|
|
159
|
-
"
|
|
160
|
-
{
|
|
161
|
-
srcPath: "/ecom/v1/carts",
|
|
162
|
-
destPath: "/v1/carts"
|
|
163
|
-
}
|
|
164
|
-
],
|
|
165
|
-
"wixbo.ai": [
|
|
166
|
-
{
|
|
167
|
-
srcPath: "/ecom/v1/carts",
|
|
168
|
-
destPath: "/v1/carts"
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
"wix-bo.com": [
|
|
172
|
-
{
|
|
173
|
-
srcPath: "/ecom/v1/carts",
|
|
174
|
-
destPath: "/v1/carts"
|
|
175
|
-
}
|
|
176
|
-
],
|
|
177
|
-
"editor.wixapps.net": [
|
|
113
|
+
"api._api_base_domain_": [
|
|
178
114
|
{
|
|
179
|
-
srcPath: "/
|
|
115
|
+
srcPath: "/cart-v1-proxy",
|
|
180
116
|
destPath: ""
|
|
181
117
|
}
|
|
182
|
-
],
|
|
183
|
-
"apps._base_domain_": [
|
|
184
|
-
{
|
|
185
|
-
srcPath: "/ecom/v1/carts",
|
|
186
|
-
destPath: "/v1/carts"
|
|
187
|
-
}
|
|
188
118
|
]
|
|
189
119
|
};
|
|
190
120
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|