extend-ai 1.0.1 → 1.0.3

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/BaseClient.js CHANGED
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
44
44
  const headers = (0, headers_1.mergeHeaders)({
45
45
  "X-Fern-Language": "JavaScript",
46
46
  "X-Fern-SDK-Name": "extend-ai",
47
- "X-Fern-SDK-Version": "1.0.0",
48
- "User-Agent": "extend-ai/1.0.0",
47
+ "X-Fern-SDK-Version": "1.0.2",
48
+ "User-Agent": "extend-ai/1.0.2",
49
49
  "X-Fern-Runtime": core.RUNTIME.type,
50
50
  "X-Fern-Runtime-Version": core.RUNTIME.version,
51
51
  "x-extend-api-version": (_a = options === null || options === void 0 ? void 0 : options.extendApiVersion) !== null && _a !== void 0 ? _a : "2026-02-09",
@@ -2,8 +2,6 @@ import type * as Extend from "../index";
2
2
  export interface ParseConfigAdvancedOptions {
3
3
  /** Whether to automatically detect and correct page rotation. */
4
4
  pageRotationEnabled?: boolean;
5
- /** Whether to enable agentic OCR corrections using VLM-based review and correction of OCR errors for messy handwriting and poorly scanned text. Deprecated - use `blockOptions.text.agentic` or `blockOptions.tables.agentic` instead for more granular control. */
6
- agenticOcrEnabled?: boolean;
7
5
  pageRanges?: Extend.PageRanges;
8
6
  /** Multiplier for the Y-axis threshold used to determine if text blocks should be placed on the same line or not (0.1-5.0, default 1.0). Higher values group elements that are further apart vertically. Only applies when the spatial target is set. */
9
7
  verticalGroupingThreshold?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "extend-ai",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.0";
1
+ export declare const SDK_VERSION = "1.0.2";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.0.0";
4
+ exports.SDK_VERSION = "1.0.2";
@@ -64,7 +64,7 @@ const configConversion_1 = require("../../schema/configConversion");
64
64
  * if new terminal states are added, polling will still complete.
65
65
  */
66
66
  function isTerminalStatus(status) {
67
- return status !== "PROCESSING" && status !== "PENDING";
67
+ return (status !== "PROCESSING" && status !== "PENDING" && status !== "CANCELLING");
68
68
  }
69
69
  class ExtractRunsClient extends Client_1.ExtractRunsClient {
70
70
  // Implementation