Skip to content

Commit 488953f

Browse files
release: 1.14.1 (#129)
* chore(internal): update global Error reference * release: 1.14.1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 4b04dfd commit 488953f

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.14.0"
2+
".": "1.14.1"
33
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.14.1 (2025-08-28)
4+
5+
Full Changelog: [v1.14.0...v1.14.1](https://github.com/knocklabs/knock-node/compare/v1.14.0...v1.14.1)
6+
7+
### Chores
8+
9+
* **internal:** update global Error reference ([f110897](https://github.com/knocklabs/knock-node/commit/f110897880cf5d82c6ccbe54edfa24707cc59a0b))
10+
311
## 1.14.0 (2025-08-27)
412

513
Full Changelog: [v1.13.0...v1.14.0](https://github.com/knocklabs/knock-node/compare/v1.13.0...v1.14.0)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@knocklabs/node",
3-
"version": "1.14.0",
3+
"version": "1.14.1",
44
"description": "The official TypeScript library for the Knock API",
55
"author": "Knock <[email protected]>",
66
"types": "dist/index.d.ts",

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ export class Knock {
470470
const response = await this.fetchWithTimeout(url, req, timeout, controller).catch(castToError);
471471
const headersTime = Date.now();
472472

473-
if (response instanceof Error) {
473+
if (response instanceof globalThis.Error) {
474474
const retryMessage = `retrying, ${retriesRemaining} attempts remaining`;
475475
if (options.signal?.aborted) {
476476
throw new Errors.APIUserAbortError();

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '1.14.0'; // x-release-please-version
1+
export const VERSION = '1.14.1'; // x-release-please-version

0 commit comments

Comments
 (0)