@open-tender/store 1.0.11 → 1.0.13
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
|
@@ -9,6 +9,11 @@ var parseResponse = function (response, contentType) { return tslib_1.__awaiter(
|
|
|
9
9
|
resolve(null);
|
|
10
10
|
})];
|
|
11
11
|
}
|
|
12
|
+
else if (response.status === 202) {
|
|
13
|
+
return [2 /*return*/, new Promise(function (resolve) {
|
|
14
|
+
resolve(response.body);
|
|
15
|
+
})];
|
|
16
|
+
}
|
|
12
17
|
switch (contentType) {
|
|
13
18
|
case 'text/csv':
|
|
14
19
|
case 'text/plain':
|
package/dist/esm/services/api.js
CHANGED
|
@@ -7,6 +7,11 @@ var parseResponse = function (response, contentType) { return __awaiter(void 0,
|
|
|
7
7
|
resolve(null);
|
|
8
8
|
})];
|
|
9
9
|
}
|
|
10
|
+
else if (response.status === 202) {
|
|
11
|
+
return [2 /*return*/, new Promise(function (resolve) {
|
|
12
|
+
resolve(response.body);
|
|
13
|
+
})];
|
|
14
|
+
}
|
|
10
15
|
switch (contentType) {
|
|
11
16
|
case 'text/csv':
|
|
12
17
|
case 'text/plain':
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-tender/store",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
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",
|