@xylabs/error 4.13.14 → 4.13.16
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/README.md +51 -4
- package/dist/neutral/handleError.d.ts +3 -0
- package/dist/neutral/handleError.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +3 -6
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/isError.d.ts +2 -0
- package/dist/neutral/isError.d.ts.map +1 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
# @xylabs/error
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[![logo][]](https://xylabs.com)
|
|
4
|
+
|
|
5
|
+
[![main-build][]][main-build-link]
|
|
6
|
+
[![npm-badge][]][npm-link]
|
|
7
|
+
[![npm-downloads-badge][]][npm-link]
|
|
8
|
+
[![jsdelivr-badge][]][jsdelivr-link]
|
|
9
|
+
[![npm-license-badge][]](LICENSE)
|
|
10
|
+
[![codacy-badge][]][codacy-link]
|
|
11
|
+
[![codeclimate-badge][]][codeclimate-link]
|
|
12
|
+
[![snyk-badge][]][snyk-link]
|
|
13
|
+
[![socket-badge][]][socket-link]
|
|
14
|
+
|
|
15
|
+
Version: 4.13.15
|
|
16
|
+
|
|
17
|
+
Primary SDK for using XYO Protocol 2.0
|
|
18
|
+
|
|
19
|
+
## Documentation
|
|
20
|
+
|
|
21
|
+
Coming Soon!
|
|
22
|
+
|
|
23
|
+
Part of [sdk-js](https://www.npmjs.com/package/@xyo-network/sdk-js)
|
|
24
|
+
|
|
25
|
+
## Maintainers
|
|
26
|
+
|
|
27
|
+
- [Arie Trouw](https://github.com/arietrouw) ([arietrouw.com](https://arietrouw.com))
|
|
28
|
+
- [Matt Jones](https://github.com/jonesmac)
|
|
29
|
+
- [Joel Carter](https://github.com/JoelBCarter)
|
|
30
|
+
- [Jordan Trouw](https://github.com/jordantrouw)
|
|
4
31
|
|
|
5
32
|
## License
|
|
6
33
|
|
|
@@ -8,6 +35,26 @@ Part of [sdk-xyo-client-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-c
|
|
|
8
35
|
|
|
9
36
|
## Credits
|
|
10
37
|
|
|
11
|
-
[Made with 🔥 and ❄️ by
|
|
38
|
+
[Made with 🔥 and ❄️ by XYLabs](https://xylabs.com)
|
|
39
|
+
|
|
40
|
+
[logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg
|
|
41
|
+
|
|
42
|
+
[main-build]: https://github.com/xylabs/sdk-js/actions/workflows/build.yml/badge.svg
|
|
43
|
+
[main-build-link]: https://github.com/xylabs/sdk-js/actions/workflows/build.yml
|
|
44
|
+
[npm-badge]: https://img.shields.io/npm/v/@xylabs/error.svg
|
|
45
|
+
[npm-link]: https://www.npmjs.com/package/@xylabs/error
|
|
46
|
+
[codacy-badge]: https://app.codacy.com/project/badge/Grade/c8e15e14f37741c18cfb47ac7245c698
|
|
47
|
+
[codacy-link]: https://www.codacy.com/gh/xylabs/sdk-js/dashboard?utm_source=github.com&utm_medium=referral&utm_content=xylabs/sdk-js&utm_campaign=Badge_Grade
|
|
48
|
+
[codeclimate-badge]: https://api.codeclimate.com/v1/badges/c5eb068f806f0b047ea7/maintainability
|
|
49
|
+
[codeclimate-link]: https://codeclimate.com/github/xylabs/sdk-js/maintainability
|
|
50
|
+
[snyk-badge]: https://snyk.io/test/github/xylabs/sdk-js/badge.svg?targetFile=package.json
|
|
51
|
+
[snyk-link]: https://snyk.io/test/github/xylabs/sdk-js?targetFile=package.json
|
|
52
|
+
|
|
53
|
+
[npm-downloads-badge]: https://img.shields.io/npm/dw/@xylabs/error
|
|
54
|
+
[npm-license-badge]: https://img.shields.io/npm/l/@xylabs/error
|
|
55
|
+
|
|
56
|
+
[jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/@xylabs/error/badge
|
|
57
|
+
[jsdelivr-link]: https://www.jsdelivr.com/package/npm/@xylabs/error
|
|
12
58
|
|
|
13
|
-
[
|
|
59
|
+
[socket-badge]: https://socket.dev/api/badge/npm/package/@xylabs/error
|
|
60
|
+
[socket-link]: https://socket.dev/npm/package/@xylabs/error
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handleError.d.ts","sourceRoot":"","sources":["../../src/handleError.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,GAAI,CAAC,EAAE,OAAO,GAAG,EAAE,SAAS,CAAC,KAAK,EAAE,KAAK,KAAK,CAAC,MAMtE,CAAA;AAGD,eAAO,MAAM,gBAAgB,GAAU,CAAC,EAAE,OAAO,GAAG,EAAE,SAAS,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC,CAAC,CAAC,eAM1F,CAAA"}
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare const isError: (error: any) => error is Error;
|
|
5
|
-
|
|
6
|
-
export { handleError, handleErrorAsync, isError };
|
|
1
|
+
export * from './handleError.ts';
|
|
2
|
+
export * from './isError.ts';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isError.d.ts","sourceRoot":"","sources":["../../src/isError.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,GAAI,OAAO,GAAG,KAAG,KAAK,IAAI,KAE7C,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/error",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.16",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"error",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"module": "dist/neutral/index.mjs",
|
|
37
37
|
"types": "dist/neutral/index.d.ts",
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.
|
|
40
|
-
"@xylabs/tsconfig": "^7.0.0-rc.
|
|
39
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.27",
|
|
40
|
+
"@xylabs/tsconfig": "^7.0.0-rc.27",
|
|
41
41
|
"typescript": "^5.8.3"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|