@cowliss/sdk 0.21.0 → 0.22.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/CHANGELOG.md +10 -0
- package/dist/types.d.ts +3 -1
- package/dist/version.autogenerated.d.ts +1 -1
- package/dist/version.autogenerated.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
What changed in each version of `@cowliss/sdk` after 0.16.0, newest first. Earlier versions are listed on [npm](https://www.npmjs.com/package/@cowliss/sdk?activeTab=versions).
|
|
6
6
|
|
|
7
|
+
## 0.22.0 (2026-10-12)
|
|
8
|
+
|
|
9
|
+
### Breaking changes
|
|
10
|
+
|
|
11
|
+
- Delete the catalog, violations, strict mode and the held queue
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
- Record each key's use per app and the calling client on events
|
|
16
|
+
|
|
7
17
|
## 0.21.0 (2026-10-02)
|
|
8
18
|
|
|
9
19
|
### Features
|
package/dist/types.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* typecheck here rather than at a customer's call site.
|
|
14
14
|
*/
|
|
15
15
|
/** The API's error-code enum, as the SDK surfaces it on `CowError.code`. */
|
|
16
|
-
export type ErrorCode = "malformed_request" | "invalid_key" | "forbidden" | "not_found" | "conflict" | "payload_too_large" | "validation_failed" | "trait_validation_failed" | "
|
|
16
|
+
export type ErrorCode = "malformed_request" | "invalid_key" | "forbidden" | "not_found" | "conflict" | "payload_too_large" | "validation_failed" | "trait_validation_failed" | "over_quota" | "rate_limited" | "dependency_unavailable" | "internal" | "journey_fuel_exceeded" | "journey_timeout" | "journey_memory_exceeded" | "journey_error" | "journey_output_invalid" | "journey_nondeterministic" | "push_invalid" | "version_not_ready" | "version_outdated" | "source_inactive" | "artifact_too_large" | "plan_limit";
|
|
17
17
|
export type IdentifierKind = "anonymousId" | "userId" | "clerkId" | "email";
|
|
18
18
|
/**
|
|
19
19
|
* What became of a send: handed over and how it settled, a check that
|
|
@@ -61,6 +61,8 @@ export type EventDto = {
|
|
|
61
61
|
timestamp: string;
|
|
62
62
|
receivedAt: string;
|
|
63
63
|
messageId: string | null;
|
|
64
|
+
/** The `X-Cow-Client` the call carried, such as `@cowliss/sdk/0.21.0`. */
|
|
65
|
+
client: string | null;
|
|
64
66
|
};
|
|
65
67
|
/**
|
|
66
68
|
* A purpose path: one of the two roots, or a name your app's `cow.json`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.22.0";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by scripts/version.ts from package.json. Do not edit.
|
|
2
|
-
export const SDK_VERSION = "0.
|
|
2
|
+
export const SDK_VERSION = "0.22.0";
|