@cowliss/sdk 0.4.0 → 0.6.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
@@ -13,8 +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" | "event_denied" | "trait_denied" | "over_quota" | "rate_limited" | "dependency_unavailable" | "internal" | "journey_fuel_exceeded" | "journey_timeout" | "journey_memory_exceeded" | "journey_error" | "journey_output_invalid" | "journey_nondeterministic" | "release_invalid" | "release_not_ready" | "project_exists" | "project_missing" | "artifact_too_large" | "deploy_key_scope";
17
- export type Environment = "development" | "production";
16
+ export type ErrorCode = "malformed_request" | "invalid_key" | "forbidden" | "not_found" | "conflict" | "payload_too_large" | "validation_failed" | "trait_validation_failed" | "event_denied" | "trait_denied" | "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" | "project_exists" | "project_missing" | "artifact_too_large";
18
17
  export type IdentifierKind = "anonymousId" | "userId" | "clerkId" | "email";
19
18
  /**
20
19
  * The named identifiers a call carries, at least one. Cowliss generates the
@@ -31,7 +30,6 @@ export type IdentifierDto = {
31
30
  export type ProfileDto = {
32
31
  id: string;
33
32
  orgId: string;
34
- environment: Environment;
35
33
  /** The app that first created the profile. */
36
34
  appId: string;
37
35
  /** The source the creating write arrived through. */
@@ -50,7 +48,6 @@ export type ProfileDto = {
50
48
  export type EventDto = {
51
49
  id: string;
52
50
  orgId: string;
53
- environment: Environment;
54
51
  appId: string;
55
52
  sourceId: string;
56
53
  profileId: string;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.4.0";
1
+ export declare const SDK_VERSION = "0.6.0";
@@ -1,2 +1,2 @@
1
1
  // Generated by scripts/version.ts from package.json. Do not edit.
2
- export const SDK_VERSION = "0.4.0";
2
+ export const SDK_VERSION = "0.6.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowliss/sdk",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {