@figuredev/orders-sdk
Advanced tools
Comparing version 0.13.4 to 0.13.5
@@ -6,2 +6,5 @@ # Changelog | ||
## 0.13.5 | ||
- Fixing `getOrdersPreviews` | ||
## 0.13.4 | ||
@@ -8,0 +11,0 @@ - Added `SDK.getCustomerLoyaltyInfo` to match a customer by email or phone number |
@@ -40,3 +40,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return this.post(ctx, "/order-previews", { | ||
return this.get(ctx, "/order-previews", { | ||
from: params.from, | ||
@@ -182,3 +182,3 @@ limit: params.limit, | ||
} | ||
post(ctx, url, data) { | ||
post(ctx, url, data, params) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -191,2 +191,3 @@ const r = yield (0, http_1.createHttpRequest)({ | ||
data: data, | ||
params: params, | ||
}); | ||
@@ -193,0 +194,0 @@ return r.data; |
{ | ||
"name": "@figuredev/orders-sdk", | ||
"version": "0.13.4", | ||
"version": "0.13.5", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80876
1542