@oblax/comments 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/index.d.ts CHANGED
@@ -17,7 +17,7 @@ export type { CommentsConfig, CommentsRecord, CommentsList, JsonObject, FilterOp
17
17
  * import { Comments } from '@oblax/comments'
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(), Comments()],
23
23
  * })
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ export { BansSubmodule } from './bans.js';
14
14
  * import { Comments } from '@oblax/comments'
15
15
  *
16
16
  * const oblax = new Oblax({
17
- * endpoint: 'https://api.my-app.oblax.io',
17
+ * endpoint: '<api-endpoint>', // the client's endpoint: `obx project clients list`
18
18
  * clientId: 'my-web-app',
19
19
  * modules: [PlatformBrowser(), Comments()],
20
20
  * })
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@oblax/comments",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Oblax SDK — comments module (comment types, threads, comments, moderation, bans)",
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.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",