@open-tender/store 1.0.23 → 1.0.24
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/cjs/services/api.js
CHANGED
|
@@ -289,7 +289,7 @@ var PosAPI = /** @class */ (function () {
|
|
|
289
289
|
return this.request("/identify-customer", 'POST', data);
|
|
290
290
|
};
|
|
291
291
|
PosAPI.prototype.getCustomer = function (customerId, endpoints) {
|
|
292
|
-
var query = "endpoints=
|
|
292
|
+
var query = "endpoints=".concat(endpoints.join(','));
|
|
293
293
|
return this.request("/customers/".concat(customerId, "?").concat(query));
|
|
294
294
|
};
|
|
295
295
|
PosAPI.prototype.postOrderValidate = function (order) {
|
package/dist/esm/services/api.js
CHANGED
|
@@ -287,7 +287,7 @@ var PosAPI = /** @class */ (function () {
|
|
|
287
287
|
return this.request("/identify-customer", 'POST', data);
|
|
288
288
|
};
|
|
289
289
|
PosAPI.prototype.getCustomer = function (customerId, endpoints) {
|
|
290
|
-
var query = "endpoints=
|
|
290
|
+
var query = "endpoints=".concat(endpoints.join(','));
|
|
291
291
|
return this.request("/customers/".concat(customerId, "?").concat(query));
|
|
292
292
|
};
|
|
293
293
|
PosAPI.prototype.postOrderValidate = function (order) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-tender/store",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24",
|
|
4
4
|
"description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|