@k-msg/analytics 0.13.0 → 0.15.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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -5,9 +5,9 @@ Analytics and reporting for `k-msg`, built on top of delivery-tracking records.
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @k-msg/analytics @k-msg/core
8
+ npm install @k-msg/analytics k-msg @k-msg/messaging @k-msg/provider
9
9
  # or
10
- bun add @k-msg/analytics @k-msg/core
10
+ bun add @k-msg/analytics k-msg @k-msg/messaging @k-msg/provider
11
11
  ```
12
12
 
13
13
  ## Features
@@ -22,9 +22,9 @@ bun add @k-msg/analytics @k-msg/core
22
22
  import { KMsg } from "k-msg";
23
23
  import {
24
24
  DeliveryTrackingService,
25
- SqliteDeliveryTrackingStore,
26
25
  createDeliveryTrackingHooks,
27
- } from "k-msg";
26
+ } from "@k-msg/messaging/tracking";
27
+ import { SqliteDeliveryTrackingStore } from "@k-msg/messaging/adapters/bun";
28
28
  import { DeliveryTrackingAnalyticsService } from "@k-msg/analytics";
29
29
 
30
30
  const providers = [
@@ -56,7 +56,7 @@ console.log(summary);
56
56
  ## Using Bun.SQL (Postgres/MySQL/SQLite)
57
57
 
58
58
  ```typescript
59
- import { BunSqlDeliveryTrackingStore } from "k-msg";
59
+ import { BunSqlDeliveryTrackingStore } from "@k-msg/messaging/adapters/bun";
60
60
  import { DeliveryTrackingAnalyticsService } from "@k-msg/analytics";
61
61
 
62
62
  const store = new BunSqlDeliveryTrackingStore({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k-msg/analytics",
3
- "version": "0.13.0",
3
+ "version": "0.15.0",
4
4
  "packageManager": "bun@1.3.8",
5
5
  "description": "Analytics and reporting engine for message tracking and insights",
6
6
  "type": "module",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "zod": "^4.0.14",
39
- "@k-msg/messaging": "0.13.0"
39
+ "@k-msg/messaging": "0.15.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "typescript": "^5.7.2",