zapier-platform-schema 12.2.1 → 13.0.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.
- package/CHANGELOG.md +1 -1
- package/exported-schema.json +2 -2
- package/lib/schemas/AppFlagsSchema.js +1 -1
- package/lib/utils/links.js +4 -4
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/exported-schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "13.0.0",
|
|
3
3
|
"schemas": {
|
|
4
4
|
"AppSchema": {
|
|
5
5
|
"id": "/AppSchema",
|
|
@@ -1524,7 +1524,7 @@
|
|
|
1524
1524
|
"type": "boolean"
|
|
1525
1525
|
},
|
|
1526
1526
|
"skipThrowForStatus": {
|
|
1527
|
-
"description": "Starting in `core` version `10.0.0`, `response.throwForStatus()` was called by default. We introduced a per-request way to opt-out of this behavior. This flag takes that a step further and controls that behavior integration-wide **for requests made using `z.request()`**. Unless they specify otherwise (per-request, or via middleware), [Shorthand requests](https://github.com/zapier/zapier-platform/blob/
|
|
1527
|
+
"description": "Starting in `core` version `10.0.0`, `response.throwForStatus()` was called by default. We introduced a per-request way to opt-out of this behavior. This flag takes that a step further and controls that behavior integration-wide **for requests made using `z.request()`**. Unless they specify otherwise (per-request, or via middleware), [Shorthand requests](https://github.com/zapier/zapier-platform/blob/main/packages/cli/README.md#shorthand-http-requests) _always_ call `throwForStatus()`. `z.request()` calls can also ignore this flag if they set `skipThrowForStatus` directly",
|
|
1528
1528
|
"type": "boolean"
|
|
1529
1529
|
}
|
|
1530
1530
|
},
|
|
@@ -14,7 +14,7 @@ module.exports = makeSchema({
|
|
|
14
14
|
},
|
|
15
15
|
skipThrowForStatus: {
|
|
16
16
|
description:
|
|
17
|
-
'Starting in `core` version `10.0.0`, `response.throwForStatus()` was called by default. We introduced a per-request way to opt-out of this behavior. This flag takes that a step further and controls that behavior integration-wide **for requests made using `z.request()`**. Unless they specify otherwise (per-request, or via middleware), [Shorthand requests](https://github.com/zapier/zapier-platform/blob/
|
|
17
|
+
'Starting in `core` version `10.0.0`, `response.throwForStatus()` was called by default. We introduced a per-request way to opt-out of this behavior. This flag takes that a step further and controls that behavior integration-wide **for requests made using `z.request()`**. Unless they specify otherwise (per-request, or via middleware), [Shorthand requests](https://github.com/zapier/zapier-platform/blob/main/packages/cli/README.md#shorthand-http-requests) _always_ call `throwForStatus()`. `z.request()` calls can also ignore this flag if they set `skipThrowForStatus` directly',
|
|
18
18
|
type: 'boolean',
|
|
19
19
|
},
|
|
20
20
|
},
|
package/lib/utils/links.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zapier-platform-schema",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"description": "Schema definition for CLI apps in the Zapier Developer Platform.",
|
|
5
5
|
"repository": "zapier/zapier-platform",
|
|
6
6
|
"homepage": "https://platform.zapier.com/",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
16
|
"preversion": "git pull && yarn test && yarn build",
|
|
17
|
-
"test": "mocha -t
|
|
18
|
-
"smoke-test": "mocha -t
|
|
19
|
-
"test:debug": "mocha
|
|
17
|
+
"test": "mocha -t 10s --recursive test --exit",
|
|
18
|
+
"smoke-test": "mocha -t 10s --recursive smoke-test --exit",
|
|
19
|
+
"test:debug": "mocha --recursive --inspect-brk test",
|
|
20
20
|
"lint": "eslint lib",
|
|
21
21
|
"lint:fix": "eslint --fix lib",
|
|
22
22
|
"coverage": "istanbul cover _mocha -- --recursive",
|