@optimizely/ocp-cli 1.2.10 → 1.2.11

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.
@@ -263,7 +263,7 @@ let CreateCommand = class CreateCommand {
263
263
  async getSDKVersions(stage = 'stable') {
264
264
  try {
265
265
  // TODO: use semver to only get the latest allowable by the templates to avoid major version incompatibilities
266
- const deps = await (0, node_fetch_1.default)((0, Config_1.getDependencyFileUrl)('node18'));
266
+ const deps = await (0, node_fetch_1.default)((0, Config_1.getDependencyFileUrl)('node22'));
267
267
  const json = await deps.json();
268
268
  this.substitutions['app_sdk_version'] = this.getLatestSDKVersion(json['@zaiusinc/app-sdk'], stage);
269
269
  this.substitutions['node_sdk_version'] = this.getLatestSDKVersion(json['@zaiusinc/node-sdk'], stage);
@@ -1331,7 +1331,7 @@
1331
1331
  },
1332
1332
  "commands": [],
1333
1333
  "package": {
1334
- "version": "1.2.10",
1334
+ "version": "1.2.11",
1335
1335
  "name": "@optimizely/ocp-cli",
1336
1336
  "license": "Apache-2.0",
1337
1337
  "executable": "ocp"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimizely/ocp-cli",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "Optimizely Connect Platform command line interface",
5
5
  "repository": "https://github.com/ZaiusInc/ocp-cli",
6
6
  "license": "Apache-2.0",
@@ -296,7 +296,7 @@ export class CreateCommand {
296
296
  private async getSDKVersions(stage: DependencyStage = 'stable') {
297
297
  try {
298
298
  // TODO: use semver to only get the latest allowable by the templates to avoid major version incompatibilities
299
- const deps = await fetch(getDependencyFileUrl('node18'));
299
+ const deps = await fetch(getDependencyFileUrl('node22'));
300
300
  const json = await deps.json() as any;
301
301
  this.substitutions['app_sdk_version'] = this.getLatestSDKVersion(json['@zaiusinc/app-sdk'], stage);
302
302
  this.substitutions['node_sdk_version'] = this.getLatestSDKVersion(json['@zaiusinc/node-sdk'], stage);