@remkoj/optimizely-cms-api 5.1.7 → 5.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.
Files changed (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,7 +1,11 @@
1
+ # Optimizely CMS - Integration API Client <!-- omit in toc -->
2
+
3
+ > [!WARNING]
4
+ > There'll be an update of Optimizely SaaS CMS that is incompatible with all SDK versions prior to 5.1.6. If you don't upgrade, you will see empty pages (main website) and "Component not found" messages (preview).
5
+
1
6
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](./LICENSE)
2
7
  ![Static Badge](https://img.shields.io/badge/Optimizely-Content_Management_System-blue?cacheSeconds=7200)
3
8
 
4
- # Optimizely CMS - Integration API Client <!-- omit in toc -->
5
9
  A Javascript client for the Integration API provided by the Optimizely CMS. It wraps the [Optimizely CMS SaaS Core REST API](https://docs.developers.optimizely.com/content-management-system/v1.0.0-SaaS-Core/reference/introduction-to-the-cms-content-api).
6
10
 
7
11
  ## Installation
@@ -42,4 +46,4 @@ The following configuration options are available for
42
46
  | OPTIMIZELY_CMS_CLIENT_ID | clientId | yes | The API Client ID, as configured within the CMS |
43
47
  | OPTIMIZELY_CMS_CLIENT_SECRET | clientSecret | yes | The API Client Secret as generated by the CMS when creating the client |
44
48
  | OPTIMIZELY_CMS_USER_ID | actAs | no | The username of the CMS user to impersonate |
45
- | OPTIMIZELY_CMS_SCHEMA | cmsVersion | no | Override the target Optimizely CMS Version:<br/><br/>`OPTI-CMS-12`: Optimizely CMS 12, With [CMS Service Preview 1](https://nuget.optimizely.com/package/?id=Optimizely.Cms.Preview1.Service) installed and working.<br/><br/>`OPTI-CMS-13`: Optimizely SaaS CMS / CMS 13<br/><br/>**Default:** SaaS CMS / CMS 13 |
49
+ | OPTIMIZELY_CMS_SCHEMA | cmsVersion | no | Override the target Optimizely CMS Version:<br/><br/>`OPTI-CMS-12`: Optimizely CMS 12, With [CMS Service Preview 1](https://nuget.optimizely.com/package/?id=Optimizely.Cms.Preview1.Service) installed and working.<br/><br/>`OPTI-CMS-13`: Optimizely SaaS CMS / CMS 13<br/><br/>**Default:** SaaS CMS / CMS 13 |
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@remkoj/optimizely-cms-api",
3
3
  "displayName": "Optimizely CMS - Integration API Client",
4
4
  "description": "A Javascript client for the Integration API provided by the Optimizely CMS.",
5
- "version": "5.1.7",
5
+ "version": "5.2.0",
6
6
  "type": "commonjs",
7
7
  "license": "Apache-2.0",
8
8
  "main": "./dist/index.js",
@@ -11,12 +11,12 @@
11
11
  "./dist"
12
12
  ],
13
13
  "devDependencies": {
14
- "@types/node": "^22.16.5",
15
- "dotenv": "^17.2.0",
16
- "glob": "^11.0.3",
14
+ "@types/node": "^22.19.3",
15
+ "dotenv": "^17.2.3",
16
+ "glob": "^11.1.0",
17
17
  "openapi-typescript-codegen": "^0.29.0",
18
18
  "tslib": "^2.8.1",
19
- "typescript": "^5.8.3"
19
+ "typescript": "^5.9.3"
20
20
  },
21
21
  "scripts": {
22
22
  "clean": "tsc --build --clean",