@rootaccessd/client 1.0.6 → 1.0.8

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 CHANGED
@@ -15,7 +15,7 @@ npm install @rootaccessd/client axios
15
15
  import { AuthApi, ChallengesApi, Configuration } from '@rootaccessd/client';
16
16
 
17
17
  // 1. Point at your backend
18
- const baseConfig = new Configuration({ basePath: 'http://localhost:8080' });
18
+ const baseConfig = new Configuration({ basePath: 'https://rootaccess.live' });
19
19
 
20
20
  // 2. Login and extract token
21
21
  const authApi = new AuthApi(baseConfig);
@@ -24,7 +24,7 @@ const token = data.token;
24
24
 
25
25
  // 3. Use Bearer auth for protected endpoints
26
26
  const authedConfig = new Configuration({
27
- basePath: 'http://localhost:8080',
27
+ basePath: 'https://rootaccess.live',
28
28
  apiKey: () => `Bearer ${token}`,
29
29
  });
30
30
 
@@ -39,8 +39,8 @@ Clone the repo and set your backend URL in
39
39
 
40
40
  ```ts
41
41
  export const environment = {
42
- apiUrl: 'http://your-backend:8080',
43
- wsUrl: 'ws://your-backend:8080',
42
+ apiUrl: 'https://rootaccess.live',
43
+ wsUrl: 'wss://rootaccess.live',
44
44
  };
45
45
  ```
46
46
 
package/dist/base.js CHANGED
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
17
17
  const axios_1 = require("axios");
18
- exports.BASE_PATH = "http://api.rootaccess.dev".replace(/\/+$/, "");
18
+ exports.BASE_PATH = "http://rootaccess.live".replace(/\/+$/, "");
19
19
  exports.COLLECTION_FORMATS = {
20
20
  csv: ",",
21
21
  ssv: " ",
package/dist/esm/base.js CHANGED
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import globalAxios from 'axios';
15
- export const BASE_PATH = "http://api.rootaccess.dev".replace(/\/+$/, "");
15
+ export const BASE_PATH = "http://rootaccess.live".replace(/\/+$/, "");
16
16
  export const COLLECTION_FORMATS = {
17
17
  csv: ",",
18
18
  ssv: " ",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rootaccessd/client",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "OpenAPI client for @rootaccessd/client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {