@bagelink/auth 1.2.20 → 1.2.25

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.cjs CHANGED
@@ -17,15 +17,9 @@ function createAxiosInstance(baseURL = "") {
17
17
  });
18
18
  }
19
19
 
20
- var __defProp = Object.defineProperty;
21
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
22
- var __publicField = (obj, key, value) => {
23
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
24
- return value;
25
- };
26
20
  class AuthApi {
21
+ api;
27
22
  constructor(axiosInstance, baseURL = "") {
28
- __publicField(this, "api");
29
23
  this.api = axiosInstance || createAxiosInstance(baseURL);
30
24
  this.setupInterceptors();
31
25
  }
package/dist/index.mjs CHANGED
@@ -11,15 +11,9 @@ function createAxiosInstance(baseURL = "") {
11
11
  });
12
12
  }
13
13
 
14
- var __defProp = Object.defineProperty;
15
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16
- var __publicField = (obj, key, value) => {
17
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
18
- return value;
19
- };
20
14
  class AuthApi {
15
+ api;
21
16
  constructor(axiosInstance, baseURL = "") {
22
- __publicField(this, "api");
23
17
  this.api = axiosInstance || createAxiosInstance(baseURL);
24
18
  this.setupInterceptors();
25
19
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/auth",
3
3
  "type": "module",
4
- "version": "1.2.20",
4
+ "version": "1.2.25",
5
5
  "description": "Bagelink auth package",
6
6
  "author": {
7
7
  "name": "Bagel Studio",
@@ -39,11 +39,11 @@
39
39
  "axios": "^1.8.4"
40
40
  },
41
41
  "devDependencies": {
42
- "@types/node": "^22.13.14",
42
+ "@types/node": "^22.13.17",
43
43
  "typescript": "^5.8.2",
44
44
  "unbuild": "^3.5.0",
45
- "@typescript-eslint/eslint-plugin": "^8.28.0",
46
- "@typescript-eslint/parser": "^8.28.0",
45
+ "@typescript-eslint/eslint-plugin": "^8.29.0",
46
+ "@typescript-eslint/parser": "^8.29.0",
47
47
  "eslint": "^9.23.0",
48
48
  "rimraf": "^6.0.1",
49
49
  "tsup": "^8.4.0"