@zapier/zapier-sdk 0.77.0 → 0.77.1
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
package/dist/experimental.cjs
CHANGED
|
@@ -3403,7 +3403,7 @@ function parseApprovalReviewStreamPayload(parsed, toolNames) {
|
|
|
3403
3403
|
}
|
|
3404
3404
|
|
|
3405
3405
|
// src/sdk-version.ts
|
|
3406
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.77.
|
|
3406
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.77.1" : void 0) || "unknown";
|
|
3407
3407
|
|
|
3408
3408
|
// src/utils/open-url.ts
|
|
3409
3409
|
var nodePrefix = "node:";
|
|
@@ -6424,8 +6424,9 @@ async function executeAction(actionOptions) {
|
|
|
6424
6424
|
action_type: actionType,
|
|
6425
6425
|
action_key: actionKey,
|
|
6426
6426
|
connection_id: connectionId != null ? String(connectionId) : void 0,
|
|
6427
|
-
// Cast: inputs is Record<string, unknown> at the SDK surface
|
|
6428
|
-
// buildActionRunContext
|
|
6427
|
+
// Cast: inputs is Record<string, unknown> at the SDK surface;
|
|
6428
|
+
// buildActionRunContext validates it as JSON at runtime via zod
|
|
6429
|
+
// (non-JSON values like Date/undefined are rejected there).
|
|
6429
6430
|
inputs: executionOptions.inputs ?? {}
|
|
6430
6431
|
})
|
|
6431
6432
|
}
|
package/dist/experimental.mjs
CHANGED
|
@@ -3401,7 +3401,7 @@ function parseApprovalReviewStreamPayload(parsed, toolNames) {
|
|
|
3401
3401
|
}
|
|
3402
3402
|
|
|
3403
3403
|
// src/sdk-version.ts
|
|
3404
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.77.
|
|
3404
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.77.1" : void 0) || "unknown";
|
|
3405
3405
|
|
|
3406
3406
|
// src/utils/open-url.ts
|
|
3407
3407
|
var nodePrefix = "node:";
|
|
@@ -6422,8 +6422,9 @@ async function executeAction(actionOptions) {
|
|
|
6422
6422
|
action_type: actionType,
|
|
6423
6423
|
action_key: actionKey,
|
|
6424
6424
|
connection_id: connectionId != null ? String(connectionId) : void 0,
|
|
6425
|
-
// Cast: inputs is Record<string, unknown> at the SDK surface
|
|
6426
|
-
// buildActionRunContext
|
|
6425
|
+
// Cast: inputs is Record<string, unknown> at the SDK surface;
|
|
6426
|
+
// buildActionRunContext validates it as JSON at runtime via zod
|
|
6427
|
+
// (non-JSON values like Date/undefined are rejected there).
|
|
6427
6428
|
inputs: executionOptions.inputs ?? {}
|
|
6428
6429
|
})
|
|
6429
6430
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -4940,8 +4940,9 @@ async function executeAction(actionOptions) {
|
|
|
4940
4940
|
action_type: actionType,
|
|
4941
4941
|
action_key: actionKey,
|
|
4942
4942
|
connection_id: connectionId != null ? String(connectionId) : void 0,
|
|
4943
|
-
// Cast: inputs is Record<string, unknown> at the SDK surface
|
|
4944
|
-
// buildActionRunContext
|
|
4943
|
+
// Cast: inputs is Record<string, unknown> at the SDK surface;
|
|
4944
|
+
// buildActionRunContext validates it as JSON at runtime via zod
|
|
4945
|
+
// (non-JSON values like Date/undefined are rejected there).
|
|
4945
4946
|
inputs: executionOptions.inputs ?? {}
|
|
4946
4947
|
})
|
|
4947
4948
|
}
|
|
@@ -6996,7 +6997,7 @@ function parseApprovalReviewStreamPayload(parsed, toolNames) {
|
|
|
6996
6997
|
}
|
|
6997
6998
|
|
|
6998
6999
|
// src/sdk-version.ts
|
|
6999
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.77.
|
|
7000
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.77.1" : void 0) || "unknown";
|
|
7000
7001
|
|
|
7001
7002
|
// src/utils/open-url.ts
|
|
7002
7003
|
var nodePrefix = "node:";
|
package/dist/index.mjs
CHANGED
|
@@ -4938,8 +4938,9 @@ async function executeAction(actionOptions) {
|
|
|
4938
4938
|
action_type: actionType,
|
|
4939
4939
|
action_key: actionKey,
|
|
4940
4940
|
connection_id: connectionId != null ? String(connectionId) : void 0,
|
|
4941
|
-
// Cast: inputs is Record<string, unknown> at the SDK surface
|
|
4942
|
-
// buildActionRunContext
|
|
4941
|
+
// Cast: inputs is Record<string, unknown> at the SDK surface;
|
|
4942
|
+
// buildActionRunContext validates it as JSON at runtime via zod
|
|
4943
|
+
// (non-JSON values like Date/undefined are rejected there).
|
|
4943
4944
|
inputs: executionOptions.inputs ?? {}
|
|
4944
4945
|
})
|
|
4945
4946
|
}
|
|
@@ -6994,7 +6995,7 @@ function parseApprovalReviewStreamPayload(parsed, toolNames) {
|
|
|
6994
6995
|
}
|
|
6995
6996
|
|
|
6996
6997
|
// src/sdk-version.ts
|
|
6997
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.77.
|
|
6998
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.77.1" : void 0) || "unknown";
|
|
6998
6999
|
|
|
6999
7000
|
// src/utils/open-url.ts
|
|
7000
7001
|
var nodePrefix = "node:";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/runAction/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAqB3C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/runAction/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAqB3C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AA6GhE,eAAO,MAAM,oBAAoB,QAAS,CAAC;AAC3C,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAE1C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAOX;QACP,GAAG,EAAE,SAAS,CAAC;QACf,4BAA4B,EAAE,4BAA4B,CAAC;KAC5D,GAAG,yBAAyB,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwL/C,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -35,8 +35,9 @@ async function executeAction(actionOptions) {
|
|
|
35
35
|
action_type: actionType,
|
|
36
36
|
action_key: actionKey,
|
|
37
37
|
connection_id: connectionId != null ? String(connectionId) : undefined,
|
|
38
|
-
// Cast: inputs is Record<string, unknown> at the SDK surface
|
|
39
|
-
// buildActionRunContext
|
|
38
|
+
// Cast: inputs is Record<string, unknown> at the SDK surface;
|
|
39
|
+
// buildActionRunContext validates it as JSON at runtime via zod
|
|
40
|
+
// (non-JSON values like Date/undefined are rejected there).
|
|
40
41
|
inputs: (executionOptions.inputs ?? {}),
|
|
41
42
|
}),
|
|
42
43
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zapier/zapier-sdk",
|
|
3
|
-
"version": "0.77.
|
|
3
|
+
"version": "0.77.1",
|
|
4
4
|
"description": "Complete Zapier SDK - combines all Zapier SDK packages",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"access": "public"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@zapier/policy-context": "
|
|
89
|
-
"@zapier/policy-schema": "0.
|
|
88
|
+
"@zapier/policy-context": "1.2.2",
|
|
89
|
+
"@zapier/policy-schema": "0.15.0",
|
|
90
90
|
"@zapier/zapier-sdk-core": "0.12.0",
|
|
91
91
|
"zod": "4.3.6"
|
|
92
92
|
},
|