@zapier/zapier-sdk 0.114.5 → 0.115.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.115.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c13de58: `runAction` (and other approval-capable calls) now automatically retries with the one-time approval token attached after an approval is granted, instead of requiring a second approval round for the same request. Previously the retry could exhaust `maxApprovalRetries` and throw `max_retries_exceeded` even after the approval had already succeeded.
8
+
9
+ Added `"approval_token_invalid"` to the `ApprovalStatus` union, thrown as a `ZapierApprovalError` when a retried request's token was rejected (already used, expired, or no longer valid for the request). This is terminal — a new approval must be requested rather than the same request being retried again.
10
+
3
11
  ## 0.114.5
4
12
 
5
13
  ### Patch Changes