@cowliss/sdk 0.1.0 → 0.2.0
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/dist/types.d.ts
CHANGED
|
@@ -124,8 +124,8 @@ export type BatchResultDto = {
|
|
|
124
124
|
*
|
|
125
125
|
* `CLIENT_HEADER` is pinned against the shared constant by `types.check.ts`.
|
|
126
126
|
* `SDK_VERSION` mirrors this package's own `version` instead, which no
|
|
127
|
-
* compiler can read from here
|
|
128
|
-
* a release bumps one
|
|
127
|
+
* compiler can read from here. `scripts/version.ts` generates it from the
|
|
128
|
+
* manifest on every build, so a release bumps one file, not two.
|
|
129
129
|
*/
|
|
130
130
|
export declare const CLIENT_HEADER = "X-Cow-Client";
|
|
131
|
-
export
|
|
131
|
+
export { SDK_VERSION } from "./version.autogenerated.js";
|
package/dist/types.js
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
*
|
|
21
21
|
* `CLIENT_HEADER` is pinned against the shared constant by `types.check.ts`.
|
|
22
22
|
* `SDK_VERSION` mirrors this package's own `version` instead, which no
|
|
23
|
-
* compiler can read from here
|
|
24
|
-
* a release bumps one
|
|
23
|
+
* compiler can read from here. `scripts/version.ts` generates it from the
|
|
24
|
+
* manifest on every build, so a release bumps one file, not two.
|
|
25
25
|
*/
|
|
26
26
|
export const CLIENT_HEADER = "X-Cow-Client";
|
|
27
|
-
export
|
|
27
|
+
export { SDK_VERSION } from "./version.autogenerated.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SDK_VERSION = "0.2.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cowliss/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@cowliss/shared": "0.0.0",
|
|
13
|
-
"@types/node": "^26.2.0"
|
|
13
|
+
"@types/node": "^26.2.0",
|
|
14
|
+
"tsx": "^4.23.12"
|
|
14
15
|
},
|
|
15
16
|
"description": "TypeScript client for the Cowliss ingestion API: identify, track and batch.",
|
|
16
17
|
"license": "MIT",
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
"README.md"
|
|
33
34
|
],
|
|
34
35
|
"scripts": {
|
|
35
|
-
"build": "tsc -b tsconfig.json --force",
|
|
36
|
+
"build": "tsx scripts/version.ts && tsc -b tsconfig.json --force",
|
|
36
37
|
"typecheck": "tsc -b tsconfig.json tsconfig.check.json"
|
|
37
38
|
}
|
|
38
39
|
}
|