@zapier/zapier-sdk-cli 0.65.3 → 0.65.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @zapier/zapier-sdk-cli
2
2
 
3
+ ## 0.65.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 90ac367: The app `version` field is now optional in `.zapierrc` manifest entries. A versionless entry resolves to the latest implementation at runtime. The CLI's `build-manifest` and `add` commands no longer error when an app has no version, writing a versionless entry instead.
8
+ - Updated dependencies [90ac367]
9
+ - @zapier/zapier-sdk@0.83.3
10
+ - @zapier/zapier-sdk-mcp@0.18.5
11
+
3
12
  ## 0.65.3
4
13
 
5
14
  ### Patch Changes
package/dist/cli.cjs CHANGED
@@ -1760,7 +1760,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
1760
1760
 
1761
1761
  // package.json
1762
1762
  var package_default = {
1763
- version: "0.65.3"};
1763
+ version: "0.65.4"};
1764
1764
 
1765
1765
  // src/telemetry/builders.ts
1766
1766
  function createCliBaseEvent(context = {}) {
@@ -6286,14 +6286,9 @@ function getManifestKey(app) {
6286
6286
  return app.slug || app.key;
6287
6287
  }
6288
6288
  function createManifestEntry(app) {
6289
- if (!app.version) {
6290
- throw new Error(
6291
- `App ${app.key} does not have a version. Implementation ID: ${app.implementation_id}`
6292
- );
6293
- }
6294
6289
  return {
6295
6290
  implementationName: app.key,
6296
- version: app.version
6291
+ ...app.version ? { version: app.version } : {}
6297
6292
  };
6298
6293
  }
6299
6294
  var listAppsRef = zapierSdk.declareMethod({ id: "listApps" });
@@ -8026,7 +8021,7 @@ function buildBoxLines(message) {
8026
8021
  // package.json with { type: 'json' }
8027
8022
  var package_default2 = {
8028
8023
  name: "@zapier/zapier-sdk-cli",
8029
- version: "0.65.3"};
8024
+ version: "0.65.4"};
8030
8025
 
8031
8026
  // src/sdk.ts
8032
8027
  var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
package/dist/cli.mjs CHANGED
@@ -1717,7 +1717,7 @@ var SHARED_COMMAND_CLI_OPTIONS = [
1717
1717
 
1718
1718
  // package.json
1719
1719
  var package_default = {
1720
- version: "0.65.3"};
1720
+ version: "0.65.4"};
1721
1721
 
1722
1722
  // src/telemetry/builders.ts
1723
1723
  function createCliBaseEvent(context = {}) {
@@ -6243,14 +6243,9 @@ function getManifestKey(app) {
6243
6243
  return app.slug || app.key;
6244
6244
  }
6245
6245
  function createManifestEntry(app) {
6246
- if (!app.version) {
6247
- throw new Error(
6248
- `App ${app.key} does not have a version. Implementation ID: ${app.implementation_id}`
6249
- );
6250
- }
6251
6246
  return {
6252
6247
  implementationName: app.key,
6253
- version: app.version
6248
+ ...app.version ? { version: app.version } : {}
6254
6249
  };
6255
6250
  }
6256
6251
  var listAppsRef = declareMethod({ id: "listApps" });
@@ -7983,7 +7978,7 @@ function buildBoxLines(message) {
7983
7978
  // package.json with { type: 'json' }
7984
7979
  var package_default2 = {
7985
7980
  name: "@zapier/zapier-sdk-cli",
7986
- version: "0.65.3"};
7981
+ version: "0.65.4"};
7987
7982
 
7988
7983
  // src/sdk.ts
7989
7984
  var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
@@ -3412,14 +3412,9 @@ function getManifestKey(app) {
3412
3412
  return app.slug || app.key;
3413
3413
  }
3414
3414
  function createManifestEntry(app) {
3415
- if (!app.version) {
3416
- throw new Error(
3417
- `App ${app.key} does not have a version. Implementation ID: ${app.implementation_id}`
3418
- );
3419
- }
3420
3415
  return {
3421
3416
  implementationName: app.key,
3422
- version: app.version
3417
+ ...app.version ? { version: app.version } : {}
3423
3418
  };
3424
3419
  }
3425
3420
  var listAppsRef = zapierSdk.declareMethod({ id: "listApps" });
@@ -5114,7 +5109,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
5114
5109
  // package.json with { type: 'json' }
5115
5110
  var package_default = {
5116
5111
  name: "@zapier/zapier-sdk-cli",
5117
- version: "0.65.3"};
5112
+ version: "0.65.4"};
5118
5113
 
5119
5114
  // src/sdk.ts
5120
5115
  var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
@@ -3376,14 +3376,9 @@ function getManifestKey(app) {
3376
3376
  return app.slug || app.key;
3377
3377
  }
3378
3378
  function createManifestEntry(app) {
3379
- if (!app.version) {
3380
- throw new Error(
3381
- `App ${app.key} does not have a version. Implementation ID: ${app.implementation_id}`
3382
- );
3383
- }
3384
3379
  return {
3385
3380
  implementationName: app.key,
3386
- version: app.version
3381
+ ...app.version ? { version: app.version } : {}
3387
3382
  };
3388
3383
  }
3389
3384
  var listAppsRef = declareMethod({ id: "listApps" });
@@ -5078,7 +5073,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
5078
5073
  // package.json with { type: 'json' }
5079
5074
  var package_default = {
5080
5075
  name: "@zapier/zapier-sdk-cli",
5081
- version: "0.65.3"};
5076
+ version: "0.65.4"};
5082
5077
 
5083
5078
  // src/sdk.ts
5084
5079
  var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
package/dist/index.cjs CHANGED
@@ -3417,14 +3417,9 @@ function getManifestKey(app) {
3417
3417
  return app.slug || app.key;
3418
3418
  }
3419
3419
  function createManifestEntry(app) {
3420
- if (!app.version) {
3421
- throw new Error(
3422
- `App ${app.key} does not have a version. Implementation ID: ${app.implementation_id}`
3423
- );
3424
- }
3425
3420
  return {
3426
3421
  implementationName: app.key,
3427
- version: app.version
3422
+ ...app.version ? { version: app.version } : {}
3428
3423
  };
3429
3424
  }
3430
3425
  var listAppsRef = zapierSdk.declareMethod({ id: "listApps" });
@@ -5114,7 +5109,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
5114
5109
  // package.json with { type: 'json' }
5115
5110
  var package_default = {
5116
5111
  name: "@zapier/zapier-sdk-cli",
5117
- version: "0.65.3"};
5112
+ version: "0.65.4"};
5118
5113
 
5119
5114
  // src/sdk.ts
5120
5115
  var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
@@ -5197,7 +5192,7 @@ function createZapierCliSdk(options = {}) {
5197
5192
 
5198
5193
  // package.json
5199
5194
  var package_default2 = {
5200
- version: "0.65.3"};
5195
+ version: "0.65.4"};
5201
5196
 
5202
5197
  // src/telemetry/builders.ts
5203
5198
  function createCliBaseEvent(context = {}) {
package/dist/index.mjs CHANGED
@@ -3381,14 +3381,9 @@ function getManifestKey(app) {
3381
3381
  return app.slug || app.key;
3382
3382
  }
3383
3383
  function createManifestEntry(app) {
3384
- if (!app.version) {
3385
- throw new Error(
3386
- `App ${app.key} does not have a version. Implementation ID: ${app.implementation_id}`
3387
- );
3388
- }
3389
3384
  return {
3390
3385
  implementationName: app.key,
3391
- version: app.version
3386
+ ...app.version ? { version: app.version } : {}
3392
3387
  };
3393
3388
  }
3394
3389
  var listAppsRef = declareMethod({ id: "listApps" });
@@ -5078,7 +5073,7 @@ function collectDeprecationNoticeAndForward(event, onEvent) {
5078
5073
  // package.json with { type: 'json' }
5079
5074
  var package_default = {
5080
5075
  name: "@zapier/zapier-sdk-cli",
5081
- version: "0.65.3"};
5076
+ version: "0.65.4"};
5082
5077
 
5083
5078
  // src/sdk.ts
5084
5079
  var warnedDeprecatedMethods = /* @__PURE__ */ new Set();
@@ -5161,7 +5156,7 @@ function createZapierCliSdk(options = {}) {
5161
5156
 
5162
5157
  // package.json
5163
5158
  var package_default2 = {
5164
- version: "0.65.3"};
5159
+ version: "0.65.4"};
5165
5160
 
5166
5161
  // src/telemetry/builders.ts
5167
5162
  function createCliBaseEvent(context = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zapier/zapier-sdk-cli",
3
- "version": "0.65.3",
3
+ "version": "0.65.4",
4
4
  "description": "Command line interface for Zapier SDK",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -95,8 +95,8 @@
95
95
  "typescript": "^5.8.3",
96
96
  "wrap-ansi": "^10.0.0",
97
97
  "zod": "4.3.6",
98
- "@zapier/zapier-sdk": "0.83.2",
99
- "@zapier/zapier-sdk-mcp": "0.18.4"
98
+ "@zapier/zapier-sdk": "0.83.3",
99
+ "@zapier/zapier-sdk-mcp": "0.18.5"
100
100
  },
101
101
  "devDependencies": {
102
102
  "@types/express": "^5.0.3",