@bzbs/react-api-client 2.1.5 → 2.1.6
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/dist/index.js +4 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1152,9 +1152,7 @@ var CartApi = class extends BaseService {
|
|
|
1152
1152
|
sideCampaignJson: params.sideCampaignJson
|
|
1153
1153
|
}, params.options),
|
|
1154
1154
|
{
|
|
1155
|
-
headers:
|
|
1156
|
-
"Content-Type": "application/x-www-form-urlencoded"
|
|
1157
|
-
}, requestOptions == null ? void 0 : requestOptions.headers),
|
|
1155
|
+
headers: requestOptions == null ? void 0 : requestOptions.headers,
|
|
1158
1156
|
data: requestOptions == null ? void 0 : requestOptions.data,
|
|
1159
1157
|
params: requestOptions == null ? void 0 : requestOptions.params
|
|
1160
1158
|
}
|
|
@@ -1190,9 +1188,7 @@ var CartApi = class extends BaseService {
|
|
|
1190
1188
|
sideCampaignJson: params.sideCampaignJson
|
|
1191
1189
|
}, params.options),
|
|
1192
1190
|
{
|
|
1193
|
-
headers:
|
|
1194
|
-
"Content-Type": "application/x-www-form-urlencoded"
|
|
1195
|
-
}, requestOptions == null ? void 0 : requestOptions.headers),
|
|
1191
|
+
headers: requestOptions == null ? void 0 : requestOptions.headers,
|
|
1196
1192
|
data: requestOptions == null ? void 0 : requestOptions.data,
|
|
1197
1193
|
params: requestOptions == null ? void 0 : requestOptions.params
|
|
1198
1194
|
}
|
|
@@ -1231,14 +1227,12 @@ var CartApi = class extends BaseService {
|
|
|
1231
1227
|
cartAccess(params, requestOptions) {
|
|
1232
1228
|
return __async(this, null, function* () {
|
|
1233
1229
|
return yield this.post(
|
|
1234
|
-
"setting",
|
|
1230
|
+
"setting/add",
|
|
1235
1231
|
{
|
|
1236
1232
|
data: JSON.stringify(params)
|
|
1237
1233
|
},
|
|
1238
1234
|
{
|
|
1239
|
-
headers:
|
|
1240
|
-
"Content-Type": "application/x-www-form-urlencoded"
|
|
1241
|
-
}, requestOptions == null ? void 0 : requestOptions.headers),
|
|
1235
|
+
headers: requestOptions == null ? void 0 : requestOptions.headers,
|
|
1242
1236
|
data: requestOptions == null ? void 0 : requestOptions.data,
|
|
1243
1237
|
params: requestOptions == null ? void 0 : requestOptions.params
|
|
1244
1238
|
}
|