@oblax/auth 2.1.0 → 2.2.0

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/auth.d.ts CHANGED
@@ -35,7 +35,7 @@ export interface AuthConfig {
35
35
  * @example
36
36
  * ```typescript
37
37
  * const oblax = new Oblax({
38
- * endpoint: 'https://api.my-app.oblax.io',
38
+ * endpoint: '<api-endpoint>', // the client's endpoint: `obx project clients list`
39
39
  * clientId: 'my-web-app',
40
40
  * modules: [PlatformBrowser(), Auth({ realm: 'webapp' })],
41
41
  * })
package/dist/auth.js CHANGED
@@ -20,7 +20,7 @@ import { KeysSubmodule } from './keys.js';
20
20
  * @example
21
21
  * ```typescript
22
22
  * const oblax = new Oblax({
23
- * endpoint: 'https://api.my-app.oblax.io',
23
+ * endpoint: '<api-endpoint>', // the client's endpoint: `obx project clients list`
24
24
  * clientId: 'my-web-app',
25
25
  * modules: [PlatformBrowser(), Auth({ realm: 'webapp' })],
26
26
  * })
package/dist/index.d.ts CHANGED
@@ -22,7 +22,7 @@ export type { SessionTokens, SessionDetails, CreateSessionParams, Account, Creat
22
22
  * import { Auth } from '@oblax/auth'
23
23
  *
24
24
  * const oblax = new Oblax({
25
- * endpoint: 'https://api.my-app.oblax.io',
25
+ * endpoint: '<api-endpoint>', // the client's endpoint: `obx project clients list`
26
26
  * clientId: 'my-web-app',
27
27
  * modules: [PlatformBrowser(), Auth({ realm: 'webapp' })],
28
28
  * })
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ export { KeysSubmodule } from './keys.js';
18
18
  * import { Auth } from '@oblax/auth'
19
19
  *
20
20
  * const oblax = new Oblax({
21
- * endpoint: 'https://api.my-app.oblax.io',
21
+ * endpoint: '<api-endpoint>', // the client's endpoint: `obx project clients list`
22
22
  * clientId: 'my-web-app',
23
23
  * modules: [PlatformBrowser(), Auth({ realm: 'webapp' })],
24
24
  * })
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@oblax/auth",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Oblax SDK — auth module (session, realms, roles)",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Oblax SDK for JavaScript Team",
8
- "url": "https://docs.oblax.io/docs/getting-started/your-first-sdk-call"
8
+ "url": "https://docs.oblax.io/docs/getting-started/first-call/"
9
9
  },
10
10
  "homepage": "https://github.com/oblaxio/oblax-sdk-js#readme",
11
11
  "repository": {
@@ -37,11 +37,11 @@
37
37
  "access": "public"
38
38
  },
39
39
  "peerDependencies": {
40
- "@oblax/core": "^2.1.0"
40
+ "@oblax/core": "^2.2.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^5.5.0",
44
- "@oblax/core": "2.1.0"
44
+ "@oblax/core": "2.2.0"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "tsc --build tsconfig.json",