@oblax/cms 2.1.0 → 2.3.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.
@@ -33,7 +33,7 @@ import type { CmsConfig } from './types.js';
33
33
  * @example
34
34
  * ```typescript
35
35
  * const oblax = new Oblax({
36
- * endpoint: 'https://api.my-app.oblax.io',
36
+ * endpoint: '<api-endpoint>', // the client's endpoint: `obx project clients list`
37
37
  * clientId: 'my-web-app',
38
38
  * modules: [PlatformBrowser(), Cms({ filesBase: 'https://cdn.example.com' })],
39
39
  * })
@@ -31,7 +31,7 @@ import { PublicSubmodule } from './public.js';
31
31
  * @example
32
32
  * ```typescript
33
33
  * const oblax = new Oblax({
34
- * endpoint: 'https://api.my-app.oblax.io',
34
+ * endpoint: '<api-endpoint>', // the client's endpoint: `obx project clients list`
35
35
  * clientId: 'my-web-app',
36
36
  * modules: [PlatformBrowser(), Cms({ filesBase: 'https://cdn.example.com' })],
37
37
  * })
package/dist/index.d.ts CHANGED
@@ -25,7 +25,7 @@ export type { CmsConfig, CmsRecord, CmsList, CmsCursorList, Localized, JsonObjec
25
25
  * import { Cms } from '@oblax/cms'
26
26
  *
27
27
  * const oblax = new Oblax({
28
- * endpoint: 'https://api.my-app.oblax.io',
28
+ * endpoint: '<api-endpoint>', // the client's endpoint: `obx project clients list`
29
29
  * clientId: 'my-web-app',
30
30
  * modules: [PlatformBrowser(), Cms({ filesBase: 'https://cdn.example.com' })],
31
31
  * })
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ export { PublicSubmodule } from './public.js';
22
22
  * import { Cms } from '@oblax/cms'
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(), Cms({ filesBase: 'https://cdn.example.com' })],
28
28
  * })
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@oblax/cms",
3
- "version": "2.1.0",
3
+ "version": "2.3.0",
4
4
  "description": "Oblax SDK — CMS module (content types, entries, sections, taxonomy, navigations, public reads)",
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.3.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^5.5.0",
44
- "@oblax/core": "2.1.0"
44
+ "@oblax/core": "2.3.0"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "tsc --build tsconfig.json",