@hazeljs/resilience 0.2.0-beta.45 → 0.2.0-beta.48
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.
|
@@ -197,10 +197,7 @@ describe('Bulkhead decorator', () => {
|
|
|
197
197
|
__metadata("design:returntype", Promise)
|
|
198
198
|
], TestService.prototype, "limited", null);
|
|
199
199
|
const svc = new TestService();
|
|
200
|
-
const [a, b] = await Promise.all([
|
|
201
|
-
svc.limited(),
|
|
202
|
-
svc.limited().catch((e) => e.message),
|
|
203
|
-
]);
|
|
200
|
+
const [a, b] = await Promise.all([svc.limited(), svc.limited().catch((e) => e.message)]);
|
|
204
201
|
expect(a).toBe('done');
|
|
205
202
|
expect(b).toContain('Bulkhead');
|
|
206
203
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hazeljs/resilience",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.48",
|
|
4
4
|
"description": "Fault-tolerance and resilience patterns for HazelJS - Circuit Breaker, Retry, Bulkhead, Timeout, Rate Limiter",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"clean": "rm -rf dist"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@hazeljs/core": "^0.2.0-beta.
|
|
21
|
+
"@hazeljs/core": "^0.2.0-beta.48",
|
|
22
22
|
"reflect-metadata": "^0.2.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"url": "https://github.com/hazeljs/hazel-js/issues"
|
|
60
60
|
},
|
|
61
61
|
"homepage": "https://hazeljs.com",
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "0790e29cadc8406bad8993053322ee119c4acdc6"
|
|
63
63
|
}
|