@wix/auto_sdk_ecom_cart 1.0.64 → 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.d.ts +2 -0
- package/build/cjs/index.typings.js +0 -86
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -0
- 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.d.mts +2 -0
- package/build/es/index.typings.mjs +0 -86
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -0
- 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.d.ts +2 -0
- package/build/internal/cjs/index.typings.js +0 -86
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -0
- 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.d.mts +2 -0
- package/build/internal/es/index.typings.mjs +0 -86
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -0
- package/build/internal/es/meta.mjs +0 -86
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -88,103 +88,17 @@ 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
|
-
"www.wixapis.com": [
|
|
98
|
-
{
|
|
99
|
-
srcPath: "/ecom/v1/carts",
|
|
100
|
-
destPath: "/v1/carts"
|
|
101
|
-
}
|
|
102
|
-
],
|
|
103
|
-
"www.wixgateway.com": [
|
|
104
|
-
{
|
|
105
|
-
srcPath: "/ecom/v1/carts",
|
|
106
|
-
destPath: "/v1/carts"
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
91
|
_: [
|
|
110
|
-
{
|
|
111
|
-
srcPath: "/_api/ecom-cart",
|
|
112
|
-
destPath: ""
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
srcPath: "/_api/cart",
|
|
116
|
-
destPath: ""
|
|
117
|
-
},
|
|
118
92
|
{
|
|
119
93
|
srcPath: "/ecom/v1/carts",
|
|
120
94
|
destPath: "/v1/carts"
|
|
121
95
|
}
|
|
122
96
|
],
|
|
123
|
-
"manage._base_domain_": [
|
|
124
|
-
{
|
|
125
|
-
srcPath: "/ecom/v1/carts",
|
|
126
|
-
destPath: "/v1/carts"
|
|
127
|
-
}
|
|
128
|
-
],
|
|
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
97
|
"www._base_domain_": [
|
|
154
98
|
{
|
|
155
99
|
srcPath: "/_api/ecom-cart",
|
|
156
100
|
destPath: ""
|
|
157
101
|
}
|
|
158
|
-
],
|
|
159
|
-
"bo._base_domain_": [
|
|
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": [
|
|
178
|
-
{
|
|
179
|
-
srcPath: "/_api/ecom-cart",
|
|
180
|
-
destPath: ""
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
"apps._base_domain_": [
|
|
184
|
-
{
|
|
185
|
-
srcPath: "/ecom/v1/carts",
|
|
186
|
-
destPath: "/v1/carts"
|
|
187
|
-
}
|
|
188
102
|
]
|
|
189
103
|
};
|
|
190
104
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|