@yozu-libs/axios 1.0.0 → 1.0.3

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/dist/index.d.ts CHANGED
@@ -2,4 +2,3 @@ import axios, { AxiosInstance } from 'axios';
2
2
  export { axios };
3
3
  export type { AxiosInstance };
4
4
  export declare const yozuClient: AxiosInstance;
5
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,12 +1,6 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.yozuClient = exports.axios = void 0;
7
- const axios_1 = __importDefault(require("axios"));
8
- exports.axios = axios_1.default;
9
- exports.yozuClient = axios_1.default.create({
1
+ import axios from 'axios';
2
+ export { axios };
3
+ export const yozuClient = axios.create({
10
4
  timeout: 10000,
11
5
  headers: {
12
6
  'Content-Type': 'application/json',
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAIA,kDAA6C;AAEpC,gBAFF,eAAK,CAEE;AAID,QAAA,UAAU,GAAkB,eAAK,CAAC,MAAM,CAAC;IACpD,OAAO,EAAE,KAAK;IACd,OAAO,EAAE;QACP,cAAc,EAAE,kBAAkB;KACnC;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,KAAK,EAAE,CAAC;AAIjB,MAAM,CAAC,MAAM,UAAU,GAAkB,KAAK,CAAC,MAAM,CAAC;IACpD,OAAO,EAAE,KAAK;IACd,OAAO,EAAE;QACP,cAAc,EAAE,kBAAkB;KACnC;CACF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@yozu-libs/axios",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "description": "Client Axios configuré pour les projets Yozu",
5
+ "type": "module",
5
6
  "license": "MIT",
6
7
  "main": "dist/index.js",
7
8
  "types": "dist/index.d.ts",
@@ -11,7 +12,8 @@
11
12
  "scripts": {
12
13
  "build": "tsc",
13
14
  "dev": "tsc -w",
14
- "clean": "rm -rf dist"
15
+ "clean": "rm -rf dist",
16
+ "lint": "tsc --noEmit"
15
17
  },
16
18
  "dependencies": {
17
19
  "axios": "^1.7.0"
@@ -21,11 +23,14 @@
21
23
  },
22
24
  "publishConfig": {
23
25
  "access": "public",
24
- "registry": "https://registry.npmjs.org/"
26
+ "registry": "https://registry.npmjs.org"
25
27
  },
26
28
  "repository": {
27
29
  "type": "git",
28
30
  "url": "git+https://github.com/VictorAgahi/yozu-libs.git",
29
31
  "directory": "packages/axios"
32
+ },
33
+ "engines": {
34
+ "node": "24.14.0"
30
35
  }
31
36
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,aAAa,EAAE,CAAC;AAG9B,eAAO,MAAM,UAAU,EAAE,aAKvB,CAAC"}