@linqapp/sdk 0.12.0 → 0.12.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.12.1 (2026-03-20)
4
+
5
+ Full Changelog: [v0.12.0...v0.12.1](https://github.com/linq-team/linq-node/compare/v0.12.0...v0.12.1)
6
+
7
+ ### Documentation
8
+
9
+ * add import type guidance to README ([a21ee79](https://github.com/linq-team/linq-node/commit/a21ee796b79ad085e915ce48a8d8cd433f3f00e5))
10
+
3
11
  ## 0.12.0 (2026-03-20)
4
12
 
5
13
  Full Changelog: [v0.11.0...v0.12.0](https://github.com/linq-team/linq-node/compare/v0.11.0...v0.12.0)
package/README.md CHANGED
@@ -57,6 +57,20 @@ const chat: LinqAPIV3.ChatCreateResponse = await client.chats.create(params);
57
57
 
58
58
  Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
59
59
 
60
+ ### Importing types only
61
+
62
+ If you only need types (e.g., for typing webhook payloads or shared interfaces) without any runtime code, use TypeScript's `import type` syntax. This is completely erased at compile time — no runtime code from the SDK is included in your bundle:
63
+
64
+ <!-- prettier-ignore -->
65
+ ```ts
66
+ import type {
67
+ Message,
68
+ Chat,
69
+ WebhookSubscription,
70
+ MessageReceivedV2026WebhookEvent,
71
+ } from '@linqapp/sdk';
72
+ ```
73
+
60
74
  ## Handling errors
61
75
 
62
76
  When the library is unable to connect to the API,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linqapp/sdk",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "The official TypeScript library for the Linq API V3 API",
5
5
  "author": "Linq API V3 <support@linq.com>",
6
6
  "types": "./index.d.ts",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.12.0'; // x-release-please-version
1
+ export const VERSION = '0.12.1'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.12.0";
1
+ export declare const VERSION = "0.12.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.12.0";
1
+ export declare const VERSION = "0.12.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.12.0'; // x-release-please-version
4
+ exports.VERSION = '0.12.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.12.0'; // x-release-please-version
1
+ export const VERSION = '0.12.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map