@contractspec/lib.analytics 1.59.0 → 1.60.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 (1) hide show
  1. package/package.json +159 -27
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.analytics",
3
- "version": "1.59.0",
3
+ "version": "1.60.0",
4
4
  "description": "Product analytics and growth metrics",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -32,38 +32,170 @@
32
32
  "typecheck": "tsc --noEmit"
33
33
  },
34
34
  "dependencies": {
35
- "@contractspec/lib.contracts": "1.59.0",
36
- "@contractspec/lib.lifecycle": "1.59.0",
35
+ "@contractspec/lib.contracts": "1.60.0",
36
+ "@contractspec/lib.lifecycle": "1.60.0",
37
37
  "dayjs": "^1.11.13"
38
38
  },
39
39
  "devDependencies": {
40
- "@contractspec/tool.typescript": "1.59.0",
40
+ "@contractspec/tool.typescript": "1.60.0",
41
41
  "typescript": "^5.9.3",
42
- "@contractspec/tool.bun": "1.58.0"
42
+ "@contractspec/tool.bun": "1.59.0"
43
43
  },
44
44
  "exports": {
45
- ".": "./src/index.ts",
46
- "./churn": "./src/churn/index.ts",
47
- "./churn/index": "./src/churn/index.ts",
48
- "./churn/predictor": "./src/churn/predictor.ts",
49
- "./cohort": "./src/cohort/index.ts",
50
- "./cohort/index": "./src/cohort/index.ts",
51
- "./cohort/tracker": "./src/cohort/tracker.ts",
52
- "./funnel": "./src/funnel/index.ts",
53
- "./funnel/analyzer": "./src/funnel/analyzer.ts",
54
- "./funnel/index": "./src/funnel/index.ts",
55
- "./growth": "./src/growth/index.ts",
56
- "./growth/hypothesis-generator": "./src/growth/hypothesis-generator.ts",
57
- "./growth/index": "./src/growth/index.ts",
58
- "./lifecycle": "./src/lifecycle/index.ts",
59
- "./lifecycle/index": "./src/lifecycle/index.ts",
60
- "./lifecycle/metric-collectors": "./src/lifecycle/metric-collectors.ts",
61
- "./lifecycle/posthog-bridge": "./src/lifecycle/posthog-bridge.ts",
62
- "./lifecycle/posthog-metric-source": "./src/lifecycle/posthog-metric-source.ts",
63
- "./posthog": "./src/posthog/index.ts",
64
- "./posthog/event-source": "./src/posthog/event-source.ts",
65
- "./posthog/index": "./src/posthog/index.ts",
66
- "./types": "./src/types.ts"
45
+ ".": {
46
+ "types": "./dist/index.d.ts",
47
+ "bun": "./dist/index.js",
48
+ "node": "./dist/node/index.mjs",
49
+ "browser": "./dist/browser/index.js",
50
+ "default": "./dist/index.js"
51
+ },
52
+ "./churn": {
53
+ "types": "./dist/churn/index.d.ts",
54
+ "bun": "./dist/churn/index.js",
55
+ "node": "./dist/node/churn/index.mjs",
56
+ "browser": "./dist/browser/churn/index.js",
57
+ "default": "./dist/churn/index.js"
58
+ },
59
+ "./churn/index": {
60
+ "types": "./dist/churn/index.d.ts",
61
+ "bun": "./dist/churn/index.js",
62
+ "node": "./dist/node/churn/index.mjs",
63
+ "browser": "./dist/browser/churn/index.js",
64
+ "default": "./dist/churn/index.js"
65
+ },
66
+ "./churn/predictor": {
67
+ "types": "./dist/churn/predictor.d.ts",
68
+ "bun": "./dist/churn/predictor.js",
69
+ "node": "./dist/node/churn/predictor.mjs",
70
+ "browser": "./dist/browser/churn/predictor.js",
71
+ "default": "./dist/churn/predictor.js"
72
+ },
73
+ "./cohort": {
74
+ "types": "./dist/cohort/index.d.ts",
75
+ "bun": "./dist/cohort/index.js",
76
+ "node": "./dist/node/cohort/index.mjs",
77
+ "browser": "./dist/browser/cohort/index.js",
78
+ "default": "./dist/cohort/index.js"
79
+ },
80
+ "./cohort/index": {
81
+ "types": "./dist/cohort/index.d.ts",
82
+ "bun": "./dist/cohort/index.js",
83
+ "node": "./dist/node/cohort/index.mjs",
84
+ "browser": "./dist/browser/cohort/index.js",
85
+ "default": "./dist/cohort/index.js"
86
+ },
87
+ "./cohort/tracker": {
88
+ "types": "./dist/cohort/tracker.d.ts",
89
+ "bun": "./dist/cohort/tracker.js",
90
+ "node": "./dist/node/cohort/tracker.mjs",
91
+ "browser": "./dist/browser/cohort/tracker.js",
92
+ "default": "./dist/cohort/tracker.js"
93
+ },
94
+ "./funnel": {
95
+ "types": "./dist/funnel/index.d.ts",
96
+ "bun": "./dist/funnel/index.js",
97
+ "node": "./dist/node/funnel/index.mjs",
98
+ "browser": "./dist/browser/funnel/index.js",
99
+ "default": "./dist/funnel/index.js"
100
+ },
101
+ "./funnel/analyzer": {
102
+ "types": "./dist/funnel/analyzer.d.ts",
103
+ "bun": "./dist/funnel/analyzer.js",
104
+ "node": "./dist/node/funnel/analyzer.mjs",
105
+ "browser": "./dist/browser/funnel/analyzer.js",
106
+ "default": "./dist/funnel/analyzer.js"
107
+ },
108
+ "./funnel/index": {
109
+ "types": "./dist/funnel/index.d.ts",
110
+ "bun": "./dist/funnel/index.js",
111
+ "node": "./dist/node/funnel/index.mjs",
112
+ "browser": "./dist/browser/funnel/index.js",
113
+ "default": "./dist/funnel/index.js"
114
+ },
115
+ "./growth": {
116
+ "types": "./dist/growth/index.d.ts",
117
+ "bun": "./dist/growth/index.js",
118
+ "node": "./dist/node/growth/index.mjs",
119
+ "browser": "./dist/browser/growth/index.js",
120
+ "default": "./dist/growth/index.js"
121
+ },
122
+ "./growth/hypothesis-generator": {
123
+ "types": "./dist/growth/hypothesis-generator.d.ts",
124
+ "bun": "./dist/growth/hypothesis-generator.js",
125
+ "node": "./dist/node/growth/hypothesis-generator.mjs",
126
+ "browser": "./dist/browser/growth/hypothesis-generator.js",
127
+ "default": "./dist/growth/hypothesis-generator.js"
128
+ },
129
+ "./growth/index": {
130
+ "types": "./dist/growth/index.d.ts",
131
+ "bun": "./dist/growth/index.js",
132
+ "node": "./dist/node/growth/index.mjs",
133
+ "browser": "./dist/browser/growth/index.js",
134
+ "default": "./dist/growth/index.js"
135
+ },
136
+ "./lifecycle": {
137
+ "types": "./dist/lifecycle/index.d.ts",
138
+ "bun": "./dist/lifecycle/index.js",
139
+ "node": "./dist/node/lifecycle/index.mjs",
140
+ "browser": "./dist/browser/lifecycle/index.js",
141
+ "default": "./dist/lifecycle/index.js"
142
+ },
143
+ "./lifecycle/index": {
144
+ "types": "./dist/lifecycle/index.d.ts",
145
+ "bun": "./dist/lifecycle/index.js",
146
+ "node": "./dist/node/lifecycle/index.mjs",
147
+ "browser": "./dist/browser/lifecycle/index.js",
148
+ "default": "./dist/lifecycle/index.js"
149
+ },
150
+ "./lifecycle/metric-collectors": {
151
+ "types": "./dist/lifecycle/metric-collectors.d.ts",
152
+ "bun": "./dist/lifecycle/metric-collectors.js",
153
+ "node": "./dist/node/lifecycle/metric-collectors.mjs",
154
+ "browser": "./dist/browser/lifecycle/metric-collectors.js",
155
+ "default": "./dist/lifecycle/metric-collectors.js"
156
+ },
157
+ "./lifecycle/posthog-bridge": {
158
+ "types": "./dist/lifecycle/posthog-bridge.d.ts",
159
+ "bun": "./dist/lifecycle/posthog-bridge.js",
160
+ "node": "./dist/node/lifecycle/posthog-bridge.mjs",
161
+ "browser": "./dist/browser/lifecycle/posthog-bridge.js",
162
+ "default": "./dist/lifecycle/posthog-bridge.js"
163
+ },
164
+ "./lifecycle/posthog-metric-source": {
165
+ "types": "./dist/lifecycle/posthog-metric-source.d.ts",
166
+ "bun": "./dist/lifecycle/posthog-metric-source.js",
167
+ "node": "./dist/node/lifecycle/posthog-metric-source.mjs",
168
+ "browser": "./dist/browser/lifecycle/posthog-metric-source.js",
169
+ "default": "./dist/lifecycle/posthog-metric-source.js"
170
+ },
171
+ "./posthog": {
172
+ "types": "./dist/posthog/index.d.ts",
173
+ "bun": "./dist/posthog/index.js",
174
+ "node": "./dist/node/posthog/index.mjs",
175
+ "browser": "./dist/browser/posthog/index.js",
176
+ "default": "./dist/posthog/index.js"
177
+ },
178
+ "./posthog/event-source": {
179
+ "types": "./dist/posthog/event-source.d.ts",
180
+ "bun": "./dist/posthog/event-source.js",
181
+ "node": "./dist/node/posthog/event-source.mjs",
182
+ "browser": "./dist/browser/posthog/event-source.js",
183
+ "default": "./dist/posthog/event-source.js"
184
+ },
185
+ "./posthog/index": {
186
+ "types": "./dist/posthog/index.d.ts",
187
+ "bun": "./dist/posthog/index.js",
188
+ "node": "./dist/node/posthog/index.mjs",
189
+ "browser": "./dist/browser/posthog/index.js",
190
+ "default": "./dist/posthog/index.js"
191
+ },
192
+ "./types": {
193
+ "types": "./dist/types.d.ts",
194
+ "bun": "./dist/types.js",
195
+ "node": "./dist/node/types.mjs",
196
+ "browser": "./dist/browser/types.js",
197
+ "default": "./dist/types.js"
198
+ }
67
199
  },
68
200
  "publishConfig": {
69
201
  "access": "public",