From f6dbb3ffd6e346bb0889d59d29f715765a863b81 Mon Sep 17 00:00:00 2001 From: jsklan Date: Tue, 7 Oct 2025 16:55:46 -0400 Subject: [PATCH 1/5] Change export as Square to flat export --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 424130d0e..08f439b51 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -export * as Square from "./api"; +export * from "./api"; export * as serialization from "./serialization"; export { SquareClient } from "./Client"; export { SquareEnvironment } from "./environments"; From 6ebecf094c09f22602f354904b3b464ebcea908a Mon Sep 17 00:00:00 2001 From: jsklan Date: Tue, 7 Oct 2025 17:17:05 -0400 Subject: [PATCH 2/5] Increment major version since this is a breaking change --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1fb834b6c..d0e1602e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "square", - "version": "43.1.0", + "version": "44.0.0", "private": false, "repository": "github:square/square-nodejs-sdk", "license": "MIT", From 75c16598c9a3dc1af62798b87d3a1c5128cafd6f Mon Sep 17 00:00:00 2001 From: jsklan Date: Tue, 7 Oct 2025 17:17:29 -0400 Subject: [PATCH 3/5] update SDK version --- src/Client.ts | 4 ++-- src/version.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Client.ts b/src/Client.ts index b9a586986..b239f1195 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -112,8 +112,8 @@ export class SquareClient { "Square-Version": _options?.version ?? "2025-09-24", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "square", - "X-Fern-SDK-Version": "43.1.0", - "User-Agent": "square/43.1.0", + "X-Fern-SDK-Version": "44.0.0", + "User-Agent": "square/44.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/version.ts b/src/version.ts index 7854a9712..c0898d1cc 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "43.1.0"; +export const SDK_VERSION = "44.0.0"; From 423311e9b56860eacd36d945daa21c6881cc7070 Mon Sep 17 00:00:00 2001 From: jsklan Date: Tue, 7 Oct 2025 17:34:37 -0400 Subject: [PATCH 4/5] export in both styles --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 08f439b51..504adb1a0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,5 @@ export * from "./api"; +export * as Square from "./api"; export * as serialization from "./serialization"; export { SquareClient } from "./Client"; export { SquareEnvironment } from "./environments"; From a54ee0149bb0162172a7ee094a15fb9e969d2b79 Mon Sep 17 00:00:00 2001 From: jsklan Date: Tue, 7 Oct 2025 17:35:57 -0400 Subject: [PATCH 5/5] Change version bump to minor instead of major --- package.json | 2 +- src/Client.ts | 4 ++-- src/version.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index d0e1602e1..473293ee4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "square", - "version": "44.0.0", + "version": "43.2.0", "private": false, "repository": "github:square/square-nodejs-sdk", "license": "MIT", diff --git a/src/Client.ts b/src/Client.ts index b239f1195..d9ed3d40b 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -112,8 +112,8 @@ export class SquareClient { "Square-Version": _options?.version ?? "2025-09-24", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "square", - "X-Fern-SDK-Version": "44.0.0", - "User-Agent": "square/44.0.0", + "X-Fern-SDK-Version": "43.2.0", + "User-Agent": "square/43.2.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/version.ts b/src/version.ts index c0898d1cc..4e5c084f6 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "44.0.0"; +export const SDK_VERSION = "43.2.0";