@contractspec/lib.metering 3.7.0 → 3.7.1
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/package.json +20 -76
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.metering",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.1",
|
|
4
4
|
"description": "Usage metering and billing core module for ContractSpec applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -27,120 +27,92 @@
|
|
|
27
27
|
"typecheck": "tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@contractspec/lib.schema": "3.7.
|
|
31
|
-
"@contractspec/lib.contracts-spec": "3.7.
|
|
32
|
-
"@contractspec/lib.contracts-integrations": "3.7.
|
|
30
|
+
"@contractspec/lib.schema": "3.7.1",
|
|
31
|
+
"@contractspec/lib.contracts-spec": "3.7.1",
|
|
32
|
+
"@contractspec/lib.contracts-integrations": "3.7.1",
|
|
33
33
|
"zod": "^4.3.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@contractspec/tool.typescript": "3.7.
|
|
36
|
+
"@contractspec/tool.typescript": "3.7.1",
|
|
37
37
|
"typescript": "^5.9.3",
|
|
38
|
-
"@contractspec/tool.bun": "3.7.
|
|
38
|
+
"@contractspec/tool.bun": "3.7.1"
|
|
39
39
|
},
|
|
40
40
|
"exports": {
|
|
41
41
|
".": {
|
|
42
42
|
"types": "./dist/index.d.ts",
|
|
43
|
+
"browser": "./dist/browser/index.js",
|
|
43
44
|
"bun": "./dist/index.js",
|
|
44
45
|
"node": "./dist/node/index.js",
|
|
45
|
-
"browser": "./dist/browser/index.js",
|
|
46
46
|
"default": "./dist/index.js"
|
|
47
47
|
},
|
|
48
48
|
"./aggregation": {
|
|
49
49
|
"types": "./dist/aggregation/index.d.ts",
|
|
50
|
-
"bun": "./dist/aggregation/index.js",
|
|
51
|
-
"node": "./dist/node/aggregation/index.js",
|
|
52
50
|
"browser": "./dist/browser/aggregation/index.js",
|
|
53
|
-
"default": "./dist/aggregation/index.js"
|
|
54
|
-
},
|
|
55
|
-
"./aggregation/index": {
|
|
56
|
-
"types": "./dist/aggregation/index.d.ts",
|
|
57
51
|
"bun": "./dist/aggregation/index.js",
|
|
58
52
|
"node": "./dist/node/aggregation/index.js",
|
|
59
|
-
"browser": "./dist/browser/aggregation/index.js",
|
|
60
53
|
"default": "./dist/aggregation/index.js"
|
|
61
54
|
},
|
|
62
55
|
"./analytics/posthog-metering": {
|
|
63
56
|
"types": "./dist/analytics/posthog-metering.d.ts",
|
|
57
|
+
"browser": "./dist/browser/analytics/posthog-metering.js",
|
|
64
58
|
"bun": "./dist/analytics/posthog-metering.js",
|
|
65
59
|
"node": "./dist/node/analytics/posthog-metering.js",
|
|
66
|
-
"browser": "./dist/browser/analytics/posthog-metering.js",
|
|
67
60
|
"default": "./dist/analytics/posthog-metering.js"
|
|
68
61
|
},
|
|
69
62
|
"./analytics/posthog-metering-reader": {
|
|
70
63
|
"types": "./dist/analytics/posthog-metering-reader.d.ts",
|
|
64
|
+
"browser": "./dist/browser/analytics/posthog-metering-reader.js",
|
|
71
65
|
"bun": "./dist/analytics/posthog-metering-reader.js",
|
|
72
66
|
"node": "./dist/node/analytics/posthog-metering-reader.js",
|
|
73
|
-
"browser": "./dist/browser/analytics/posthog-metering-reader.js",
|
|
74
67
|
"default": "./dist/analytics/posthog-metering-reader.js"
|
|
75
68
|
},
|
|
76
69
|
"./contracts": {
|
|
77
70
|
"types": "./dist/contracts/index.d.ts",
|
|
78
|
-
"bun": "./dist/contracts/index.js",
|
|
79
|
-
"node": "./dist/node/contracts/index.js",
|
|
80
71
|
"browser": "./dist/browser/contracts/index.js",
|
|
81
|
-
"default": "./dist/contracts/index.js"
|
|
82
|
-
},
|
|
83
|
-
"./contracts/index": {
|
|
84
|
-
"types": "./dist/contracts/index.d.ts",
|
|
85
72
|
"bun": "./dist/contracts/index.js",
|
|
86
73
|
"node": "./dist/node/contracts/index.js",
|
|
87
|
-
"browser": "./dist/browser/contracts/index.js",
|
|
88
74
|
"default": "./dist/contracts/index.js"
|
|
89
75
|
},
|
|
90
76
|
"./docs": {
|
|
91
77
|
"types": "./dist/docs/index.d.ts",
|
|
92
|
-
"bun": "./dist/docs/index.js",
|
|
93
|
-
"node": "./dist/node/docs/index.js",
|
|
94
78
|
"browser": "./dist/browser/docs/index.js",
|
|
95
|
-
"default": "./dist/docs/index.js"
|
|
96
|
-
},
|
|
97
|
-
"./docs/index": {
|
|
98
|
-
"types": "./dist/docs/index.d.ts",
|
|
99
79
|
"bun": "./dist/docs/index.js",
|
|
100
80
|
"node": "./dist/node/docs/index.js",
|
|
101
|
-
"browser": "./dist/browser/docs/index.js",
|
|
102
81
|
"default": "./dist/docs/index.js"
|
|
103
82
|
},
|
|
104
83
|
"./docs/metering.docblock": {
|
|
105
84
|
"types": "./dist/docs/metering.docblock.d.ts",
|
|
85
|
+
"browser": "./dist/browser/docs/metering.docblock.js",
|
|
106
86
|
"bun": "./dist/docs/metering.docblock.js",
|
|
107
87
|
"node": "./dist/node/docs/metering.docblock.js",
|
|
108
|
-
"browser": "./dist/browser/docs/metering.docblock.js",
|
|
109
88
|
"default": "./dist/docs/metering.docblock.js"
|
|
110
89
|
},
|
|
111
90
|
"./entities": {
|
|
112
91
|
"types": "./dist/entities/index.d.ts",
|
|
113
|
-
"bun": "./dist/entities/index.js",
|
|
114
|
-
"node": "./dist/node/entities/index.js",
|
|
115
92
|
"browser": "./dist/browser/entities/index.js",
|
|
116
|
-
"default": "./dist/entities/index.js"
|
|
117
|
-
},
|
|
118
|
-
"./entities/index": {
|
|
119
|
-
"types": "./dist/entities/index.d.ts",
|
|
120
93
|
"bun": "./dist/entities/index.js",
|
|
121
94
|
"node": "./dist/node/entities/index.js",
|
|
122
|
-
"browser": "./dist/browser/entities/index.js",
|
|
123
95
|
"default": "./dist/entities/index.js"
|
|
124
96
|
},
|
|
125
97
|
"./events": {
|
|
126
98
|
"types": "./dist/events.d.ts",
|
|
99
|
+
"browser": "./dist/browser/events.js",
|
|
127
100
|
"bun": "./dist/events.js",
|
|
128
101
|
"node": "./dist/node/events.js",
|
|
129
|
-
"browser": "./dist/browser/events.js",
|
|
130
102
|
"default": "./dist/events.js"
|
|
131
103
|
},
|
|
132
104
|
"./metering.capability": {
|
|
133
105
|
"types": "./dist/metering.capability.d.ts",
|
|
106
|
+
"browser": "./dist/browser/metering.capability.js",
|
|
134
107
|
"bun": "./dist/metering.capability.js",
|
|
135
108
|
"node": "./dist/node/metering.capability.js",
|
|
136
|
-
"browser": "./dist/browser/metering.capability.js",
|
|
137
109
|
"default": "./dist/metering.capability.js"
|
|
138
110
|
},
|
|
139
111
|
"./metering.feature": {
|
|
140
112
|
"types": "./dist/metering.feature.d.ts",
|
|
113
|
+
"browser": "./dist/browser/metering.feature.js",
|
|
141
114
|
"bun": "./dist/metering.feature.js",
|
|
142
115
|
"node": "./dist/node/metering.feature.js",
|
|
143
|
-
"browser": "./dist/browser/metering.feature.js",
|
|
144
116
|
"default": "./dist/metering.feature.js"
|
|
145
117
|
}
|
|
146
118
|
},
|
|
@@ -153,107 +125,79 @@
|
|
|
153
125
|
"exports": {
|
|
154
126
|
".": {
|
|
155
127
|
"types": "./dist/index.d.ts",
|
|
128
|
+
"browser": "./dist/browser/index.js",
|
|
156
129
|
"bun": "./dist/index.js",
|
|
157
130
|
"node": "./dist/node/index.js",
|
|
158
|
-
"browser": "./dist/browser/index.js",
|
|
159
131
|
"default": "./dist/index.js"
|
|
160
132
|
},
|
|
161
133
|
"./aggregation": {
|
|
162
134
|
"types": "./dist/aggregation/index.d.ts",
|
|
163
|
-
"bun": "./dist/aggregation/index.js",
|
|
164
|
-
"node": "./dist/node/aggregation/index.js",
|
|
165
135
|
"browser": "./dist/browser/aggregation/index.js",
|
|
166
|
-
"default": "./dist/aggregation/index.js"
|
|
167
|
-
},
|
|
168
|
-
"./aggregation/index": {
|
|
169
|
-
"types": "./dist/aggregation/index.d.ts",
|
|
170
136
|
"bun": "./dist/aggregation/index.js",
|
|
171
137
|
"node": "./dist/node/aggregation/index.js",
|
|
172
|
-
"browser": "./dist/browser/aggregation/index.js",
|
|
173
138
|
"default": "./dist/aggregation/index.js"
|
|
174
139
|
},
|
|
175
140
|
"./analytics/posthog-metering": {
|
|
176
141
|
"types": "./dist/analytics/posthog-metering.d.ts",
|
|
142
|
+
"browser": "./dist/browser/analytics/posthog-metering.js",
|
|
177
143
|
"bun": "./dist/analytics/posthog-metering.js",
|
|
178
144
|
"node": "./dist/node/analytics/posthog-metering.js",
|
|
179
|
-
"browser": "./dist/browser/analytics/posthog-metering.js",
|
|
180
145
|
"default": "./dist/analytics/posthog-metering.js"
|
|
181
146
|
},
|
|
182
147
|
"./analytics/posthog-metering-reader": {
|
|
183
148
|
"types": "./dist/analytics/posthog-metering-reader.d.ts",
|
|
149
|
+
"browser": "./dist/browser/analytics/posthog-metering-reader.js",
|
|
184
150
|
"bun": "./dist/analytics/posthog-metering-reader.js",
|
|
185
151
|
"node": "./dist/node/analytics/posthog-metering-reader.js",
|
|
186
|
-
"browser": "./dist/browser/analytics/posthog-metering-reader.js",
|
|
187
152
|
"default": "./dist/analytics/posthog-metering-reader.js"
|
|
188
153
|
},
|
|
189
154
|
"./contracts": {
|
|
190
155
|
"types": "./dist/contracts/index.d.ts",
|
|
191
|
-
"bun": "./dist/contracts/index.js",
|
|
192
|
-
"node": "./dist/node/contracts/index.js",
|
|
193
156
|
"browser": "./dist/browser/contracts/index.js",
|
|
194
|
-
"default": "./dist/contracts/index.js"
|
|
195
|
-
},
|
|
196
|
-
"./contracts/index": {
|
|
197
|
-
"types": "./dist/contracts/index.d.ts",
|
|
198
157
|
"bun": "./dist/contracts/index.js",
|
|
199
158
|
"node": "./dist/node/contracts/index.js",
|
|
200
|
-
"browser": "./dist/browser/contracts/index.js",
|
|
201
159
|
"default": "./dist/contracts/index.js"
|
|
202
160
|
},
|
|
203
161
|
"./docs": {
|
|
204
162
|
"types": "./dist/docs/index.d.ts",
|
|
205
|
-
"bun": "./dist/docs/index.js",
|
|
206
|
-
"node": "./dist/node/docs/index.js",
|
|
207
163
|
"browser": "./dist/browser/docs/index.js",
|
|
208
|
-
"default": "./dist/docs/index.js"
|
|
209
|
-
},
|
|
210
|
-
"./docs/index": {
|
|
211
|
-
"types": "./dist/docs/index.d.ts",
|
|
212
164
|
"bun": "./dist/docs/index.js",
|
|
213
165
|
"node": "./dist/node/docs/index.js",
|
|
214
|
-
"browser": "./dist/browser/docs/index.js",
|
|
215
166
|
"default": "./dist/docs/index.js"
|
|
216
167
|
},
|
|
217
168
|
"./docs/metering.docblock": {
|
|
218
169
|
"types": "./dist/docs/metering.docblock.d.ts",
|
|
170
|
+
"browser": "./dist/browser/docs/metering.docblock.js",
|
|
219
171
|
"bun": "./dist/docs/metering.docblock.js",
|
|
220
172
|
"node": "./dist/node/docs/metering.docblock.js",
|
|
221
|
-
"browser": "./dist/browser/docs/metering.docblock.js",
|
|
222
173
|
"default": "./dist/docs/metering.docblock.js"
|
|
223
174
|
},
|
|
224
175
|
"./entities": {
|
|
225
176
|
"types": "./dist/entities/index.d.ts",
|
|
226
|
-
"bun": "./dist/entities/index.js",
|
|
227
|
-
"node": "./dist/node/entities/index.js",
|
|
228
177
|
"browser": "./dist/browser/entities/index.js",
|
|
229
|
-
"default": "./dist/entities/index.js"
|
|
230
|
-
},
|
|
231
|
-
"./entities/index": {
|
|
232
|
-
"types": "./dist/entities/index.d.ts",
|
|
233
178
|
"bun": "./dist/entities/index.js",
|
|
234
179
|
"node": "./dist/node/entities/index.js",
|
|
235
|
-
"browser": "./dist/browser/entities/index.js",
|
|
236
180
|
"default": "./dist/entities/index.js"
|
|
237
181
|
},
|
|
238
182
|
"./events": {
|
|
239
183
|
"types": "./dist/events.d.ts",
|
|
184
|
+
"browser": "./dist/browser/events.js",
|
|
240
185
|
"bun": "./dist/events.js",
|
|
241
186
|
"node": "./dist/node/events.js",
|
|
242
|
-
"browser": "./dist/browser/events.js",
|
|
243
187
|
"default": "./dist/events.js"
|
|
244
188
|
},
|
|
245
189
|
"./metering.capability": {
|
|
246
190
|
"types": "./dist/metering.capability.d.ts",
|
|
191
|
+
"browser": "./dist/browser/metering.capability.js",
|
|
247
192
|
"bun": "./dist/metering.capability.js",
|
|
248
193
|
"node": "./dist/node/metering.capability.js",
|
|
249
|
-
"browser": "./dist/browser/metering.capability.js",
|
|
250
194
|
"default": "./dist/metering.capability.js"
|
|
251
195
|
},
|
|
252
196
|
"./metering.feature": {
|
|
253
197
|
"types": "./dist/metering.feature.d.ts",
|
|
198
|
+
"browser": "./dist/browser/metering.feature.js",
|
|
254
199
|
"bun": "./dist/metering.feature.js",
|
|
255
200
|
"node": "./dist/node/metering.feature.js",
|
|
256
|
-
"browser": "./dist/browser/metering.feature.js",
|
|
257
201
|
"default": "./dist/metering.feature.js"
|
|
258
202
|
}
|
|
259
203
|
},
|