@spooled/sdk 1.4.0 → 1.4.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/README.md CHANGED
@@ -590,12 +590,13 @@ import type {
590
590
 
591
591
  ## Development and releases
592
592
 
593
- Before opening a pull request or tagging a release, run the same checks used by the package and publish workflow:
593
+ CI (`.github/workflows/ci.yml`) runs these checks on Node 22 and 24 for every push to `main` and every pull request; the publish workflow runs them again on Node 22 before publishing. Run them locally before opening a pull request or tagging a release:
594
594
 
595
595
  ```bash
596
596
  npm ci
597
597
  npm run lint
598
598
  npm run typecheck
599
+ npm run typecheck:examples
599
600
  npm run build
600
601
  npm test
601
602
  ```
@@ -224,11 +224,11 @@ declare const DEFAULT_CONFIG: {
224
224
  successThreshold: number;
225
225
  timeout: number;
226
226
  };
227
- readonly userAgent: "@spooled/sdk-nodejs/1.4.0";
227
+ readonly userAgent: "@spooled/sdk-nodejs/1.4.1";
228
228
  readonly autoRefreshToken: true;
229
229
  };
230
230
  /** SDK version */
231
- declare const SDK_VERSION = "1.4.0";
231
+ declare const SDK_VERSION = "1.4.1";
232
232
  /** API version prefix */
233
233
  declare const API_VERSION = "v1";
234
234
  /**
@@ -224,11 +224,11 @@ declare const DEFAULT_CONFIG: {
224
224
  successThreshold: number;
225
225
  timeout: number;
226
226
  };
227
- readonly userAgent: "@spooled/sdk-nodejs/1.4.0";
227
+ readonly userAgent: "@spooled/sdk-nodejs/1.4.1";
228
228
  readonly autoRefreshToken: true;
229
229
  };
230
230
  /** SDK version */
231
- declare const SDK_VERSION = "1.4.0";
231
+ declare const SDK_VERSION = "1.4.1";
232
232
  /** API version prefix */
233
233
  declare const API_VERSION = "v1";
234
234
  /**
package/dist/index.cjs CHANGED
@@ -48,10 +48,10 @@ var DEFAULT_CONFIG = {
48
48
  successThreshold: 3,
49
49
  timeout: 3e4
50
50
  },
51
- userAgent: "@spooled/sdk-nodejs/1.4.0",
51
+ userAgent: "@spooled/sdk-nodejs/1.4.1",
52
52
  autoRefreshToken: true
53
53
  };
54
- var SDK_VERSION = "1.4.0";
54
+ var SDK_VERSION = "1.4.1";
55
55
  var API_VERSION = "v1";
56
56
  var API_BASE_PATH = `/api/${API_VERSION}`;
57
57
  function normalizeCredential(value) {