@oblax/realtime 2.0.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/index.d.ts CHANGED
@@ -21,7 +21,7 @@ export type { RealtimeConfig, ConnectOptions, RealtimeEventMap, UntypedEvents, R
21
21
  * import { Realtime } from '@oblax/realtime'
22
22
  *
23
23
  * const oblax = new Oblax({
24
- * endpoint: 'https://api.my-app.oblax.io',
24
+ * endpoint: '<api-endpoint>', // the client's endpoint: `obx project clients list`
25
25
  * clientId: 'my-web-app',
26
26
  * modules: [PlatformBrowser(), Auth({ realm: 'webapp' }), Realtime()],
27
27
  * })
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ export { OblaxRealtimeError } from './errors.js';
17
17
  * import { Realtime } from '@oblax/realtime'
18
18
  *
19
19
  * const oblax = new Oblax({
20
- * endpoint: 'https://api.my-app.oblax.io',
20
+ * endpoint: '<api-endpoint>', // the client's endpoint: `obx project clients list`
21
21
  * clientId: 'my-web-app',
22
22
  * modules: [PlatformBrowser(), Auth({ realm: 'webapp' }), Realtime()],
23
23
  * })
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@oblax/realtime",
3
- "version": "2.0.0",
3
+ "version": "2.2.0",
4
4
  "description": "Oblax SDK — realtime events module (server-sent events)",
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
  "dist"
38
38
  ],
39
39
  "peerDependencies": {
40
- "@oblax/core": "^2.0.0"
40
+ "@oblax/core": "^2.2.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^5.5.0",
44
- "@oblax/core": "2.0.0"
44
+ "@oblax/core": "2.2.0"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "tsc --build tsconfig.json",