Skip to content

Commit dd4559b

Browse files
fern-supportjsklan
andauthored
Modify index.ts to export all types flatly (#205)
* Change export as Square to flat export * Increment major version since this is a breaking change * update SDK version * export in both styles * Change version bump to minor instead of major --------- Co-authored-by: jsklan <[email protected]>
1 parent 764ac2f commit dd4559b

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "square",
3-
"version": "43.1.2",
3+
"version": "43.2.0",
44
"private": false,
55
"repository": "github:square/square-nodejs-sdk",
66
"license": "MIT",

src/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ export class SquareClient {
9393
"Square-Version": _options?.version ?? "2025-10-16",
9494
"X-Fern-Language": "JavaScript",
9595
"X-Fern-SDK-Name": "square",
96-
"X-Fern-SDK-Version": "43.1.2",
97-
"User-Agent": "square/43.1.2",
96+
"X-Fern-SDK-Version": "43.2.0",
97+
"User-Agent": "square/43.2.0",
9898
"X-Fern-Runtime": core.RUNTIME.type,
9999
"X-Fern-Runtime-Version": core.RUNTIME.version,
100100
},

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
export * from "./api/index.js";
12
export * as Square from "./api/index.js";
23
export type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
34
export { SquareClient } from "./Client.js";

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "43.1.2";
1+
export const SDK_VERSION = "43.2.0";

0 commit comments

Comments
 (0)