@zapier/zapier-sdk 0.86.0 → 0.87.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
@@ -1,5 +1,19 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.87.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 920d571: _This release contains no user-facing changes._
8
+
9
+ ## 0.87.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 4e560c0: Added brand-based type guards for recognizing SDK errors and signals without `instanceof`: `isZapierError`, per-subclass guards (`isZapierValidationError`, `isZapierApprovalError`, `isZapierNotFoundError`, `isZapierBundleError`, `isZapierTimeoutError`, and the rest), `isZapierSignal`, and the trigger-inbox signal guards `isZapierReleaseTriggerMessageSignal` and `isZapierAbortDrainSignal`.
14
+
15
+ Prefer these over `instanceof` when handling SDK errors. `instanceof` compares class identity, which silently returns `false` when more than one copy of the SDK is loaded — for example a bundle that includes both the ESM and CommonJS builds, or a project that installs two versions. The guards match on a stable brand and the error `code`, so they keep working across those boundaries.
16
+
3
17
  ## 0.86.0
4
18
 
5
19
  ### Minor Changes
package/dist/apps.cjs CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ require('./chunk-OBGZSXTJ.cjs');
4
+
3
5
  // src/define/apps-registry.json
4
6
  var apps_registry_default = [
5
7
  "_0codekit,1SaaSCoCLIAPI",
package/dist/apps.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import './chunk-Y6FXYEAI.mjs';
2
+
1
3
  // src/define/apps-registry.json
2
4
  var apps_registry_default = [
3
5
  "_0codekit,1SaaSCoCLIAPI",
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
4
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
5
+ }) : x)(function(x) {
6
+ if (typeof require !== "undefined") return require.apply(this, arguments);
7
+ throw Error('Dynamic require of "' + x + '" is not supported');
8
+ });
9
+
10
+ exports.__require = __require;