@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
|
@@ -75,103 +75,33 @@ 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
78
|
"www.wixapis.com": [
|
|
85
79
|
{
|
|
86
80
|
srcPath: "/ecom/v1/carts",
|
|
87
81
|
destPath: "/v1/carts"
|
|
88
82
|
}
|
|
89
83
|
],
|
|
90
|
-
"www.wixgateway.com": [
|
|
91
|
-
{
|
|
92
|
-
srcPath: "/ecom/v1/carts",
|
|
93
|
-
destPath: "/v1/carts"
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
84
|
_: [
|
|
97
85
|
{
|
|
98
86
|
srcPath: "/_api/ecom-cart",
|
|
99
87
|
destPath: ""
|
|
100
88
|
},
|
|
101
|
-
{
|
|
102
|
-
srcPath: "/_api/cart",
|
|
103
|
-
destPath: ""
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
srcPath: "/ecom/v1/carts",
|
|
107
|
-
destPath: "/v1/carts"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"manage._base_domain_": [
|
|
111
89
|
{
|
|
112
90
|
srcPath: "/ecom/v1/carts",
|
|
113
91
|
destPath: "/v1/carts"
|
|
114
92
|
}
|
|
115
93
|
],
|
|
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
94
|
"www._base_domain_": [
|
|
141
95
|
{
|
|
142
96
|
srcPath: "/_api/ecom-cart",
|
|
143
97
|
destPath: ""
|
|
144
98
|
}
|
|
145
99
|
],
|
|
146
|
-
"
|
|
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": [
|
|
100
|
+
"api._api_base_domain_": [
|
|
165
101
|
{
|
|
166
|
-
srcPath: "/
|
|
102
|
+
srcPath: "/cart-v1-proxy",
|
|
167
103
|
destPath: ""
|
|
168
104
|
}
|
|
169
|
-
],
|
|
170
|
-
"apps._base_domain_": [
|
|
171
|
-
{
|
|
172
|
-
srcPath: "/ecom/v1/carts",
|
|
173
|
-
destPath: "/v1/carts"
|
|
174
|
-
}
|
|
175
105
|
]
|
|
176
106
|
};
|
|
177
107
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|