@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
|
@@ -75,103 +75,17 @@ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform
|
|
|
75
75
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
76
76
|
function resolveComWixEcomCartApiV1CartServiceUrl(opts) {
|
|
77
77
|
const domainToMappings = {
|
|
78
|
-
"api._api_base_domain_": [
|
|
79
|
-
{
|
|
80
|
-
srcPath: "/cart",
|
|
81
|
-
destPath: ""
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"www.wixapis.com": [
|
|
85
|
-
{
|
|
86
|
-
srcPath: "/ecom/v1/carts",
|
|
87
|
-
destPath: "/v1/carts"
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
"www.wixgateway.com": [
|
|
91
|
-
{
|
|
92
|
-
srcPath: "/ecom/v1/carts",
|
|
93
|
-
destPath: "/v1/carts"
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
78
|
_: [
|
|
97
|
-
{
|
|
98
|
-
srcPath: "/_api/ecom-cart",
|
|
99
|
-
destPath: ""
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
srcPath: "/_api/cart",
|
|
103
|
-
destPath: ""
|
|
104
|
-
},
|
|
105
79
|
{
|
|
106
80
|
srcPath: "/ecom/v1/carts",
|
|
107
81
|
destPath: "/v1/carts"
|
|
108
82
|
}
|
|
109
83
|
],
|
|
110
|
-
"manage._base_domain_": [
|
|
111
|
-
{
|
|
112
|
-
srcPath: "/ecom/v1/carts",
|
|
113
|
-
destPath: "/v1/carts"
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
"editor._base_domain_": [
|
|
117
|
-
{
|
|
118
|
-
srcPath: "/_api/ecom-cart",
|
|
119
|
-
destPath: ""
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
"blocks._base_domain_": [
|
|
123
|
-
{
|
|
124
|
-
srcPath: "/_api/ecom-cart",
|
|
125
|
-
destPath: ""
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
"create.editorx": [
|
|
129
|
-
{
|
|
130
|
-
srcPath: "/_api/ecom-cart",
|
|
131
|
-
destPath: ""
|
|
132
|
-
}
|
|
133
|
-
],
|
|
134
|
-
"*.dev.wix-code.com": [
|
|
135
|
-
{
|
|
136
|
-
srcPath: "/_api/ecom-cart",
|
|
137
|
-
destPath: ""
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
84
|
"www._base_domain_": [
|
|
141
85
|
{
|
|
142
86
|
srcPath: "/_api/ecom-cart",
|
|
143
87
|
destPath: ""
|
|
144
88
|
}
|
|
145
|
-
],
|
|
146
|
-
"bo._base_domain_": [
|
|
147
|
-
{
|
|
148
|
-
srcPath: "/ecom/v1/carts",
|
|
149
|
-
destPath: "/v1/carts"
|
|
150
|
-
}
|
|
151
|
-
],
|
|
152
|
-
"wixbo.ai": [
|
|
153
|
-
{
|
|
154
|
-
srcPath: "/ecom/v1/carts",
|
|
155
|
-
destPath: "/v1/carts"
|
|
156
|
-
}
|
|
157
|
-
],
|
|
158
|
-
"wix-bo.com": [
|
|
159
|
-
{
|
|
160
|
-
srcPath: "/ecom/v1/carts",
|
|
161
|
-
destPath: "/v1/carts"
|
|
162
|
-
}
|
|
163
|
-
],
|
|
164
|
-
"editor.wixapps.net": [
|
|
165
|
-
{
|
|
166
|
-
srcPath: "/_api/ecom-cart",
|
|
167
|
-
destPath: ""
|
|
168
|
-
}
|
|
169
|
-
],
|
|
170
|
-
"apps._base_domain_": [
|
|
171
|
-
{
|
|
172
|
-
srcPath: "/ecom/v1/carts",
|
|
173
|
-
destPath: "/v1/carts"
|
|
174
|
-
}
|
|
175
89
|
]
|
|
176
90
|
};
|
|
177
91
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|