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