@zapier/zapier-sdk 0.70.1 → 0.70.2
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,13 @@
|
|
|
1
1
|
# @zapier/zapier-sdk
|
|
2
2
|
|
|
3
|
+
## 0.70.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cafad12: Fix `listActions` filtering out private/unlisted apps (COSUB-562)
|
|
8
|
+
|
|
9
|
+
`listActions` hardcoded `public_only: "true"` on the `/implementations/` call, so actions on private CLI apps the caller has access to were dropped from the response. Consumers (e.g. the Durables Editor) then treated valid steps on private integrations as an "unknown action". The call now passes `public_only: "false"`, so private/unlisted implementations the caller can access are included; results remain access-scoped server-side.
|
|
10
|
+
|
|
3
11
|
## 0.70.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/experimental.cjs
CHANGED
|
@@ -3188,7 +3188,7 @@ function createSseParserStream() {
|
|
|
3188
3188
|
}
|
|
3189
3189
|
|
|
3190
3190
|
// src/sdk-version.ts
|
|
3191
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.
|
|
3191
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.2" : void 0) || "unknown";
|
|
3192
3192
|
|
|
3193
3193
|
// src/utils/open-url.ts
|
|
3194
3194
|
var nodePrefix = "node:";
|
|
@@ -5815,7 +5815,10 @@ var listActionsPlugin = definePlugin(
|
|
|
5815
5815
|
{
|
|
5816
5816
|
searchParams: {
|
|
5817
5817
|
global: "true",
|
|
5818
|
-
|
|
5818
|
+
// Include private/unlisted implementations the caller has access
|
|
5819
|
+
// to. With public_only the API drops actions on private apps, so
|
|
5820
|
+
// they surface as "unknown action" downstream (COSUB-562).
|
|
5821
|
+
public_only: "false",
|
|
5819
5822
|
selected_apis: selectedApi
|
|
5820
5823
|
}
|
|
5821
5824
|
}
|
package/dist/experimental.mjs
CHANGED
|
@@ -3186,7 +3186,7 @@ function createSseParserStream() {
|
|
|
3186
3186
|
}
|
|
3187
3187
|
|
|
3188
3188
|
// src/sdk-version.ts
|
|
3189
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.
|
|
3189
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.2" : void 0) || "unknown";
|
|
3190
3190
|
|
|
3191
3191
|
// src/utils/open-url.ts
|
|
3192
3192
|
var nodePrefix = "node:";
|
|
@@ -5813,7 +5813,10 @@ var listActionsPlugin = definePlugin(
|
|
|
5813
5813
|
{
|
|
5814
5814
|
searchParams: {
|
|
5815
5815
|
global: "true",
|
|
5816
|
-
|
|
5816
|
+
// Include private/unlisted implementations the caller has access
|
|
5817
|
+
// to. With public_only the API drops actions on private apps, so
|
|
5818
|
+
// they surface as "unknown action" downstream (COSUB-562).
|
|
5819
|
+
public_only: "false",
|
|
5817
5820
|
selected_apis: selectedApi
|
|
5818
5821
|
}
|
|
5819
5822
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -3640,7 +3640,10 @@ var listActionsPlugin = definePlugin(
|
|
|
3640
3640
|
{
|
|
3641
3641
|
searchParams: {
|
|
3642
3642
|
global: "true",
|
|
3643
|
-
|
|
3643
|
+
// Include private/unlisted implementations the caller has access
|
|
3644
|
+
// to. With public_only the API drops actions on private apps, so
|
|
3645
|
+
// they surface as "unknown action" downstream (COSUB-562).
|
|
3646
|
+
public_only: "false",
|
|
3644
3647
|
selected_apis: selectedApi
|
|
3645
3648
|
}
|
|
3646
3649
|
}
|
|
@@ -6778,7 +6781,7 @@ function createSseParserStream() {
|
|
|
6778
6781
|
}
|
|
6779
6782
|
|
|
6780
6783
|
// src/sdk-version.ts
|
|
6781
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.
|
|
6784
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.2" : void 0) || "unknown";
|
|
6782
6785
|
|
|
6783
6786
|
// src/utils/open-url.ts
|
|
6784
6787
|
var nodePrefix = "node:";
|
package/dist/index.mjs
CHANGED
|
@@ -3638,7 +3638,10 @@ var listActionsPlugin = definePlugin(
|
|
|
3638
3638
|
{
|
|
3639
3639
|
searchParams: {
|
|
3640
3640
|
global: "true",
|
|
3641
|
-
|
|
3641
|
+
// Include private/unlisted implementations the caller has access
|
|
3642
|
+
// to. With public_only the API drops actions on private apps, so
|
|
3643
|
+
// they surface as "unknown action" downstream (COSUB-562).
|
|
3644
|
+
public_only: "false",
|
|
3642
3645
|
selected_apis: selectedApi
|
|
3643
3646
|
}
|
|
3644
3647
|
}
|
|
@@ -6776,7 +6779,7 @@ function createSseParserStream() {
|
|
|
6776
6779
|
}
|
|
6777
6780
|
|
|
6778
6781
|
// src/sdk-version.ts
|
|
6779
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.
|
|
6782
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.2" : void 0) || "unknown";
|
|
6780
6783
|
|
|
6781
6784
|
// src/utils/open-url.ts
|
|
6782
6785
|
var nodePrefix = "node:";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listActions/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAkB,MAAM,WAAW,CAAC;AAS3D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAOxE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listActions/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAkB,MAAM,WAAW,CAAC;AAS3D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAOxE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;sBAiF02V,CAAC;;;;sBAAiX,CAAC;qBAAyB,CAAC;;;;;;;;;;;;;aA9EtwW;QACP,GAAG,EAAE,SAAS,CAAC;QACf,4BAA4B,EAAE,4BAA4B,CAAC;KAC5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwEN,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -34,7 +34,10 @@ export const listActionsPlugin = definePlugin((sdk) => createPaginatedPluginMeth
|
|
|
34
34
|
const data = await api.get("/zapier/api/v4/implementations/", {
|
|
35
35
|
searchParams: {
|
|
36
36
|
global: "true",
|
|
37
|
-
|
|
37
|
+
// Include private/unlisted implementations the caller has access
|
|
38
|
+
// to. With public_only the API drops actions on private apps, so
|
|
39
|
+
// they surface as "unknown action" downstream (COSUB-562).
|
|
40
|
+
public_only: "false",
|
|
38
41
|
selected_apis: selectedApi,
|
|
39
42
|
},
|
|
40
43
|
});
|