@escapenavigator/utils 2.1.4 → 2.1.5
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.
|
@@ -123,11 +123,7 @@ describe('classifyApiError', () => {
|
|
|
123
123
|
expect(r.shouldReport).toBe(true);
|
|
124
124
|
});
|
|
125
125
|
it('все embed-домены схлопываются в один issue', () => {
|
|
126
|
-
expect((0, classify_api_error_1.classifyApiError)({ ...xhrBlocked, code: 'InvalidStateError' }).fingerprint).toEqual([
|
|
127
|
-
'api',
|
|
128
|
-
'client-env',
|
|
129
|
-
'xhr-blocked',
|
|
130
|
-
]);
|
|
126
|
+
expect((0, classify_api_error_1.classifyApiError)({ ...xhrBlocked, code: 'InvalidStateError' }).fingerprint).toEqual(['api', 'client-env', 'xhr-blocked']);
|
|
131
127
|
});
|
|
132
128
|
it('ответ сервера важнее: со status классификация обычная', () => {
|
|
133
129
|
const r = (0, classify_api_error_1.classifyApiError)({ ...xhrBlocked, status: 500 });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/utils",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"test": "jest"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^2.1.
|
|
17
|
+
"@escapenavigator/types": "^2.1.5",
|
|
18
18
|
"axios": "^0.21.4",
|
|
19
19
|
"class-transformer": "^0.5.1",
|
|
20
20
|
"class-validator": "^0.13.2",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"ts-jest": "^29.1.1",
|
|
30
30
|
"typescript": "^5.6"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "d8214323f0f1fc011d7c57a80e1d148ddad821bc"
|
|
33
33
|
}
|