@xylabs/axios 4.13.15 → 4.13.17
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 +22 -31
- package/dist/neutral/index.d.ts +7 -28
- package/package.json +4 -4
- package/build/neutral/index.d.ts +0 -8
- /package/{build → dist}/neutral/AxiosJson.d.ts +0 -0
- /package/{build → dist}/neutral/AxiosJson.d.ts.map +0 -0
- /package/{build → dist}/neutral/AxiosJsonUncompressed.d.ts +0 -0
- /package/{build → dist}/neutral/AxiosJsonUncompressed.d.ts.map +0 -0
- /package/{build → dist}/neutral/index.d.ts.map +0 -0
package/README.md
CHANGED
|
@@ -1,63 +1,54 @@
|
|
|
1
|
-
[![logo][]](https://xylabs.com)
|
|
2
|
-
|
|
3
1
|
# @xylabs/axios
|
|
4
2
|
|
|
3
|
+
[![logo][]](https://xylabs.com)
|
|
4
|
+
|
|
5
|
+
[![main-build][]][main-build-link]
|
|
5
6
|
[![npm-badge][]][npm-link]
|
|
6
7
|
[![npm-downloads-badge][]][npm-link]
|
|
7
8
|
[![jsdelivr-badge][]][jsdelivr-link]
|
|
8
9
|
[![npm-license-badge][]](LICENSE)
|
|
10
|
+
[![codacy-badge][]][codacy-link]
|
|
11
|
+
[![codeclimate-badge][]][codeclimate-link]
|
|
12
|
+
[![snyk-badge][]][snyk-link]
|
|
9
13
|
[![socket-badge][]][socket-link]
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Table of Contents
|
|
14
|
-
|
|
15
|
-
- [Description](#description)
|
|
16
|
-
- [Install](#install)
|
|
17
|
-
- [Maintainers](#maintainers)
|
|
18
|
-
- [License](#license)
|
|
19
|
-
- [Credits](#credits)
|
|
20
|
-
|
|
21
|
-
## Description
|
|
15
|
+
Version: 4.13.15
|
|
22
16
|
|
|
23
|
-
|
|
17
|
+
Primary SDK for using XYO Protocol 2.0
|
|
24
18
|
|
|
25
|
-
##
|
|
26
|
-
|
|
27
|
-
Using npm:
|
|
28
|
-
|
|
29
|
-
```sh
|
|
30
|
-
npm i --save @xylabs/axios
|
|
31
|
-
```
|
|
19
|
+
## Documentation
|
|
32
20
|
|
|
33
|
-
|
|
21
|
+
Coming Soon!
|
|
34
22
|
|
|
35
|
-
|
|
36
|
-
yarn add @xylabs/axios
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Documentation
|
|
40
|
-
[Developer Reference](https://xylabs.github.io/sdk-js)
|
|
23
|
+
Part of [sdk-js](https://www.npmjs.com/package/@xyo-network/sdk-js)
|
|
41
24
|
|
|
42
25
|
## Maintainers
|
|
43
26
|
|
|
44
27
|
- [Arie Trouw](https://github.com/arietrouw) ([arietrouw.com](https://arietrouw.com))
|
|
45
|
-
- [Joel Carter](https://github.com/JoelBCarter)
|
|
46
28
|
- [Matt Jones](https://github.com/jonesmac)
|
|
29
|
+
- [Joel Carter](https://github.com/JoelBCarter)
|
|
47
30
|
- [Jordan Trouw](https://github.com/jordantrouw)
|
|
48
31
|
|
|
49
32
|
## License
|
|
50
33
|
|
|
51
|
-
See the [LICENSE](LICENSE) file for license details
|
|
34
|
+
> See the [LICENSE](LICENSE) file for license details
|
|
52
35
|
|
|
53
36
|
## Credits
|
|
54
37
|
|
|
55
|
-
[Made with 🔥and ❄️ by
|
|
38
|
+
[Made with 🔥 and ❄️ by XYLabs](https://xylabs.com)
|
|
56
39
|
|
|
57
40
|
[logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg
|
|
58
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
|
|
59
44
|
[npm-badge]: https://img.shields.io/npm/v/@xylabs/axios.svg
|
|
60
45
|
[npm-link]: https://www.npmjs.com/package/@xylabs/axios
|
|
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
|
|
61
52
|
|
|
62
53
|
[npm-downloads-badge]: https://img.shields.io/npm/dw/@xylabs/axios
|
|
63
54
|
[npm-license-badge]: https://img.shields.io/npm/l/@xylabs/axios
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,29 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AxiosJson } from './AxiosJson.ts';
|
|
2
|
+
import { AxiosJsonUncompressed } from './AxiosJsonUncompressed.ts';
|
|
3
|
+
export * from './AxiosJson.ts';
|
|
4
|
+
export * from './AxiosJsonUncompressed.ts';
|
|
3
5
|
export { gzip } from 'pako';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
declare class AxiosJson extends Axios {
|
|
9
|
-
static defaultLogger?: Logger;
|
|
10
|
-
constructor(config?: RawAxiosJsonRequestConfig);
|
|
11
|
-
static finalPath(response: AxiosResponse): any;
|
|
12
|
-
private static axiosConfig;
|
|
13
|
-
private static buildHeaders;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
type RawAxiosJsonRequestUncompressedConfig<D = any> = RawAxiosRequestConfig<D>;
|
|
17
|
-
declare class AxiosJsonUncompressed extends Axios {
|
|
18
|
-
static defaultLogger?: Logger;
|
|
19
|
-
constructor(config?: RawAxiosJsonRequestUncompressedConfig);
|
|
20
|
-
static finalPath(response: AxiosResponse): any;
|
|
21
|
-
private static axiosConfig;
|
|
22
|
-
private static buildHeaders;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
declare const axios: AxiosJson;
|
|
26
|
-
declare const axiosUncompressed: AxiosJsonUncompressed;
|
|
27
|
-
|
|
28
|
-
export { AxiosJson, AxiosJsonUncompressed, axios, axiosUncompressed };
|
|
29
|
-
export type { RawAxiosJsonRequestConfig, RawAxiosJsonRequestUncompressedConfig };
|
|
6
|
+
export declare const axios: AxiosJson;
|
|
7
|
+
export declare const axiosUncompressed: AxiosJsonUncompressed;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/axios",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.17",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"axios",
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"module": "dist/neutral/index.mjs",
|
|
37
37
|
"types": "dist/neutral/index.d.ts",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xylabs/logger": "^4.13.
|
|
39
|
+
"@xylabs/logger": "^4.13.17",
|
|
40
40
|
"axios": "^1.10.0",
|
|
41
41
|
"pako": "^2.1.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/pako": "^2.0.3",
|
|
45
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.
|
|
46
|
-
"@xylabs/tsconfig": "^7.0.0-rc.
|
|
45
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.27",
|
|
46
|
+
"@xylabs/tsconfig": "^7.0.0-rc.27",
|
|
47
47
|
"typescript": "^5.8.3"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
package/build/neutral/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AxiosJson } from './AxiosJson.ts';
|
|
2
|
-
import { AxiosJsonUncompressed } from './AxiosJsonUncompressed.ts';
|
|
3
|
-
export * from './AxiosJson.ts';
|
|
4
|
-
export * from './AxiosJsonUncompressed.ts';
|
|
5
|
-
export { gzip } from 'pako';
|
|
6
|
-
export declare const axios: AxiosJson;
|
|
7
|
-
export declare const axiosUncompressed: AxiosJsonUncompressed;
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|