@storewatch/node 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/index.cjs CHANGED
@@ -29,7 +29,7 @@ module.exports = __toCommonJS(index_exports);
29
29
  var import_node_crypto = require("crypto");
30
30
  var import_schema = require("@storewatch/schema");
31
31
  var import_constants = require("@storewatch/schema/constants");
32
- var SDK_VERSION = "0.1.0";
32
+ var SDK_VERSION = "0.2.0";
33
33
  var StorewatchError = class extends Error {
34
34
  kind;
35
35
  details;
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { CanonicalEventName, CanonicalProperties, EventContext } from "@storewatch/schema";
2
2
  import { type ValidationIssue } from "@storewatch/schema";
3
- export declare const SDK_VERSION = "0.1.0";
3
+ export declare const SDK_VERSION = "0.2.0";
4
4
  /** Canonical events get their typed properties; anything else is a custom event. */
5
5
  export type EventProperties<N extends string> = N extends CanonicalEventName ? CanonicalProperties[N] : Record<string, unknown>;
6
6
  export type TrackOptions<N extends string> = {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { CanonicalEventName, CanonicalProperties, EventContext } from "@storewatch/schema";
2
2
  import { type ValidationIssue } from "@storewatch/schema";
3
- export declare const SDK_VERSION = "0.1.0";
3
+ export declare const SDK_VERSION = "0.2.0";
4
4
  /** Canonical events get their typed properties; anything else is a custom event. */
5
5
  export type EventProperties<N extends string> = N extends CanonicalEventName ? CanonicalProperties[N] : Record<string, unknown>;
6
6
  export type TrackOptions<N extends string> = {
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { createHash, randomUUID } from "crypto";
3
3
  import { validateEvent } from "@storewatch/schema";
4
4
  import { LIMITS } from "@storewatch/schema/constants";
5
- var SDK_VERSION = "0.1.0";
5
+ var SDK_VERSION = "0.2.0";
6
6
  var StorewatchError = class extends Error {
7
7
  kind;
8
8
  details;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storewatch/node",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Storewatch server SDK: authoritative orders and payments from your backend.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -37,7 +37,7 @@
37
37
  "node": ">=18.17"
38
38
  },
39
39
  "dependencies": {
40
- "@storewatch/schema": "0.1.0"
40
+ "@storewatch/schema": "0.2.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@opentelemetry/api": "^1.4.0"