@searchspring/snap-client 0.25.1 → 0.27.0
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.
|
@@ -45,7 +45,7 @@ var API = /** @class */ (function () {
|
|
|
45
45
|
var _this = this;
|
|
46
46
|
this.configuration = configuration;
|
|
47
47
|
this.retryDelay = 1000;
|
|
48
|
-
this.retryCount =
|
|
48
|
+
this.retryCount = 0;
|
|
49
49
|
this.fetchApi = function (url, init) { return __awaiter(_this, void 0, void 0, function () {
|
|
50
50
|
var response;
|
|
51
51
|
return __generator(this, function (_a) {
|
|
@@ -5,7 +5,7 @@ export class API {
|
|
|
5
5
|
constructor(configuration) {
|
|
6
6
|
this.configuration = configuration;
|
|
7
7
|
this.retryDelay = 1000;
|
|
8
|
-
this.retryCount =
|
|
8
|
+
this.retryCount = 0;
|
|
9
9
|
this.fetchApi = async (url, init) => {
|
|
10
10
|
const response = await this.configuration.fetchApi(url, init);
|
|
11
11
|
return response;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@searchspring/snap-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Snap Client",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"test:watch": "jest --watch"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@searchspring/snap-toolbox": "^0.
|
|
23
|
+
"@searchspring/snap-toolbox": "^0.27.0",
|
|
24
24
|
"deepmerge": "^4.2.2"
|
|
25
25
|
},
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"files": [
|
|
28
28
|
"dist/**/*"
|
|
29
29
|
],
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "4cdee561f907c31990f78ba001b2c5bc29fe2b40"
|
|
31
31
|
}
|