@polarityio/integration-types 3.0.0 → 3.1.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/dist/polling.d.ts CHANGED
@@ -31,8 +31,9 @@ export type PollFunction = (options: DoLookupUserOptions, context: IntegrationCo
31
31
  * - `'shutdown'` — The runtime stops the integration entirely and surfaces the
32
32
  * error to the Polarity frontend. Use for unrecoverable failures where continued
33
33
  * polling would be harmful.
34
+ * - `'skip'` — The runtime logs the error and continues polling on its normal schedule (no retry is performed for the failed run). Use when individual poll failures are acceptable and polling should continue uninterrupted.
34
35
  */
35
- export type PollFailureStrategy = 'retry' | 'shutdown';
36
+ export type PollFailureStrategy = 'retry' | 'shutdown' | 'skip';
36
37
  /**
37
38
  * Shared configuration for all poll specifications.
38
39
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polarityio/integration-types",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "TypeScript type definitions for Polarity Integrations",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {