@inverted-tech/fragments 0.10.2 → 0.10.3

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 CHANGED
@@ -1,339 +1,349 @@
1
1
  {
2
- "name": "@inverted-tech/fragments",
3
- "version": "0.10.2",
4
- "description": "Types and JS runtime for Inverted protocol buffers (Fragments)",
5
- "types": "dist/protos/index.d.ts",
6
- "module": "dist/esm/index.js",
7
- "files": [
8
- "dist",
9
- "README.md",
10
- "LICENSE"
11
- ],
12
- "exports": {
13
- ".": {
14
- "types": "./dist/protos/index.d.ts",
15
- "import": "./dist/esm/index.js",
16
- "default": "./dist/esm/index.js"
17
- },
18
- "./protos": {
19
- "types": "./dist/protos/index.d.ts",
20
- "import": "./dist/esm/index.js",
21
- "default": "./dist/esm/index.js"
22
- },
23
- "./protos/index": {
24
- "types": "./dist/protos/index.d.ts",
25
- "import": "./dist/esm/index.js",
26
- "default": "./dist/esm/index.js"
27
- },
28
- "./protos/": {
29
- "types": "./dist/protos/",
30
- "import": "./dist/esm/"
31
- },
32
- "./protos/*": {
33
- "types": "./dist/protos/*.d.ts",
34
- "import": "./dist/esm/*.js"
35
- },
36
- "./Authorization": {
37
- "types": "./dist/protos/Authorization/index.d.ts",
38
- "import": "./dist/esm/Authorization/index.js",
39
- "default": "./dist/esm/Authorization/index.js"
40
- },
41
- "./Authorization/": {
42
- "types": "./dist/protos/Authorization/",
43
- "import": "./dist/esm/Authorization/"
44
- },
45
- "./Authorization/*": {
46
- "types": "./dist/protos/Authorization/*.d.ts",
47
- "import": "./dist/esm/Authorization/*.js"
48
- },
49
- "./Authorization/Events": {
50
- "types": "./dist/protos/Authorization/Events/index.d.ts",
51
- "import": "./dist/esm/Authorization/Events/index.js",
52
- "default": "./dist/esm/Authorization/Events/index.js"
53
- },
54
- "./Authorization/Events/": {
55
- "types": "./dist/protos/Authorization/Events/",
56
- "import": "./dist/esm/Authorization/Events/"
57
- },
58
- "./Authorization/Events/*": {
59
- "types": "./dist/protos/Authorization/Events/*.d.ts",
60
- "import": "./dist/esm/Authorization/Events/*.js"
61
- },
62
- "./Authorization/Payments": {
63
- "types": "./dist/protos/Authorization/Payments/index.d.ts",
64
- "import": "./dist/esm/Authorization/Payments/index.js",
65
- "default": "./dist/esm/Authorization/Payments/index.js"
66
- },
67
- "./Authorization/Payments/": {
68
- "types": "./dist/protos/Authorization/Payments/",
69
- "import": "./dist/esm/Authorization/Payments/"
70
- },
71
- "./Authorization/Payments/*": {
72
- "types": "./dist/protos/Authorization/Payments/*.d.ts",
73
- "import": "./dist/esm/Authorization/Payments/*.js"
74
- },
75
- "./Authorization/Payments/Crypto": {
76
- "types": "./dist/protos/Authorization/Payments/Crypto/index.d.ts",
77
- "import": "./dist/esm/Authorization/Payments/Crypto/index.js",
78
- "default": "./dist/esm/Authorization/Payments/Crypto/index.js"
79
- },
80
- "./Authorization/Payments/Crypto/": {
81
- "types": "./dist/protos/Authorization/Payments/Crypto/",
82
- "import": "./dist/esm/Authorization/Payments/Crypto/"
83
- },
84
- "./Authorization/Payments/Crypto/*": {
85
- "types": "./dist/protos/Authorization/Payments/Crypto/*.d.ts",
86
- "import": "./dist/esm/Authorization/Payments/Crypto/*.js"
87
- },
88
- "./Authorization/Payments/Fortis": {
89
- "types": "./dist/protos/Authorization/Payments/Fortis/index.d.ts",
90
- "import": "./dist/esm/Authorization/Payments/Fortis/index.js",
91
- "default": "./dist/esm/Authorization/Payments/Fortis/index.js"
92
- },
93
- "./Authorization/Payments/Fortis/": {
94
- "types": "./dist/protos/Authorization/Payments/Fortis/",
95
- "import": "./dist/esm/Authorization/Payments/Fortis/"
96
- },
97
- "./Authorization/Payments/Fortis/*": {
98
- "types": "./dist/protos/Authorization/Payments/Fortis/*.d.ts",
99
- "import": "./dist/esm/Authorization/Payments/Fortis/*.js"
100
- },
101
- "./Authorization/Payments/Manual": {
102
- "types": "./dist/protos/Authorization/Payments/Manual/index.d.ts",
103
- "import": "./dist/esm/Authorization/Payments/Manual/index.js",
104
- "default": "./dist/esm/Authorization/Payments/Manual/index.js"
105
- },
106
- "./Authorization/Payments/Manual/": {
107
- "types": "./dist/protos/Authorization/Payments/Manual/",
108
- "import": "./dist/esm/Authorization/Payments/Manual/"
109
- },
110
- "./Authorization/Payments/Manual/*": {
111
- "types": "./dist/protos/Authorization/Payments/Manual/*.d.ts",
112
- "import": "./dist/esm/Authorization/Payments/Manual/*.js"
113
- },
114
- "./Authorization/Payments/Paypal": {
115
- "types": "./dist/protos/Authorization/Payments/Paypal/index.d.ts",
116
- "import": "./dist/esm/Authorization/Payments/Paypal/index.js",
117
- "default": "./dist/esm/Authorization/Payments/Paypal/index.js"
118
- },
119
- "./Authorization/Payments/Paypal/": {
120
- "types": "./dist/protos/Authorization/Payments/Paypal/",
121
- "import": "./dist/esm/Authorization/Payments/Paypal/"
122
- },
123
- "./Authorization/Payments/Paypal/*": {
124
- "types": "./dist/protos/Authorization/Payments/Paypal/*.d.ts",
125
- "import": "./dist/esm/Authorization/Payments/Paypal/*.js"
126
- },
127
- "./Authorization/Payments/Stripe": {
128
- "types": "./dist/protos/Authorization/Payments/Stripe/index.d.ts",
129
- "import": "./dist/esm/Authorization/Payments/Stripe/index.js",
130
- "default": "./dist/esm/Authorization/Payments/Stripe/index.js"
131
- },
132
- "./Authorization/Payments/Stripe/": {
133
- "types": "./dist/protos/Authorization/Payments/Stripe/",
134
- "import": "./dist/esm/Authorization/Payments/Stripe/"
135
- },
136
- "./Authorization/Payments/Stripe/*": {
137
- "types": "./dist/protos/Authorization/Payments/Stripe/*.d.ts",
138
- "import": "./dist/esm/Authorization/Payments/Stripe/*.js"
139
- },
140
- "./Authentication": {
141
- "types": "./dist/protos/Authentication/index.d.ts",
142
- "import": "./dist/esm/Authentication/index.js",
143
- "default": "./dist/esm/Authentication/index.js"
144
- },
145
- "./Authentication/": {
146
- "types": "./dist/protos/Authentication/",
147
- "import": "./dist/esm/Authentication/"
148
- },
149
- "./Authentication/*": {
150
- "types": "./dist/protos/Authentication/*.d.ts",
151
- "import": "./dist/esm/Authentication/*.js"
152
- },
153
- "./Comment": {
154
- "types": "./dist/protos/Comment/index.d.ts",
155
- "import": "./dist/esm/Comment/index.js",
156
- "default": "./dist/esm/Comment/index.js"
157
- },
158
- "./Comment/": {
159
- "types": "./dist/protos/Comment/",
160
- "import": "./dist/esm/Comment/"
161
- },
162
- "./Comment/*": {
163
- "types": "./dist/protos/Comment/*.d.ts",
164
- "import": "./dist/esm/Comment/*.js"
165
- },
166
- "./Content": {
167
- "types": "./dist/protos/Content/index.d.ts",
168
- "import": "./dist/esm/Content/index.js",
169
- "default": "./dist/esm/Content/index.js"
170
- },
171
- "./Content/": {
172
- "types": "./dist/protos/Content/",
173
- "import": "./dist/esm/Content/"
174
- },
175
- "./Content/*": {
176
- "types": "./dist/protos/Content/*.d.ts",
177
- "import": "./dist/esm/Content/*.js"
178
- },
179
- "./Content/Music": {
180
- "types": "./dist/protos/Content/Music/index.d.ts",
181
- "import": "./dist/esm/Content/Music/index.js",
182
- "default": "./dist/esm/Content/Music/index.js"
183
- },
184
- "./Content/Music/": {
185
- "types": "./dist/protos/Content/Music/",
186
- "import": "./dist/esm/Content/Music/"
187
- },
188
- "./Content/Music/*": {
189
- "types": "./dist/protos/Content/Music/*.d.ts",
190
- "import": "./dist/esm/Content/Music/*.js"
191
- },
192
- "./Content/Stats": {
193
- "types": "./dist/protos/Content/Stats/index.d.ts",
194
- "import": "./dist/esm/Content/Stats/index.js",
195
- "default": "./dist/esm/Content/Stats/index.js"
196
- },
197
- "./Content/Stats/": {
198
- "types": "./dist/protos/Content/Stats/",
199
- "import": "./dist/esm/Content/Stats/"
200
- },
201
- "./Content/Stats/*": {
202
- "types": "./dist/protos/Content/Stats/*.d.ts",
203
- "import": "./dist/esm/Content/Stats/*.js"
204
- },
205
- "./CreatorDashboard": {
206
- "types": "./dist/protos/CreatorDashboard/index.d.ts",
207
- "import": "./dist/esm/CreatorDashboard/index.js",
208
- "default": "./dist/esm/CreatorDashboard/index.js"
209
- },
210
- "./CreatorDashboard/": {
211
- "types": "./dist/protos/CreatorDashboard/",
212
- "import": "./dist/esm/CreatorDashboard/"
213
- },
214
- "./CreatorDashboard/*": {
215
- "types": "./dist/protos/CreatorDashboard/*.d.ts",
216
- "import": "./dist/esm/CreatorDashboard/*.js"
217
- },
218
- "./Generic": {
219
- "types": "./dist/protos/Generic/index.d.ts",
220
- "import": "./dist/esm/Generic/index.js",
221
- "default": "./dist/esm/Generic/index.js"
222
- },
223
- "./Generic/": {
224
- "types": "./dist/protos/Generic/",
225
- "import": "./dist/esm/Generic/"
226
- },
227
- "./Generic/*": {
228
- "types": "./dist/protos/Generic/*.d.ts",
229
- "import": "./dist/esm/Generic/*.js"
230
- },
231
- "./Notification": {
232
- "types": "./dist/protos/Notification/index.d.ts",
233
- "import": "./dist/esm/Notification/index.js",
234
- "default": "./dist/esm/Notification/index.js"
235
- },
236
- "./Notification/": {
237
- "types": "./dist/protos/Notification/",
238
- "import": "./dist/esm/Notification/"
239
- },
240
- "./Notification/*": {
241
- "types": "./dist/protos/Notification/*.d.ts",
242
- "import": "./dist/esm/Notification/*.js"
243
- },
244
- "./Page": {
245
- "types": "./dist/protos/Page/index.d.ts",
246
- "import": "./dist/esm/Page/index.js",
247
- "default": "./dist/esm/Page/index.js"
248
- },
249
- "./Page/": {
250
- "types": "./dist/protos/Page/",
251
- "import": "./dist/esm/Page/"
252
- },
253
- "./Page/*": {
254
- "types": "./dist/protos/Page/*.d.ts",
255
- "import": "./dist/esm/Page/*.js"
256
- },
257
- "./Settings": {
258
- "types": "./dist/protos/Settings/index.d.ts",
259
- "import": "./dist/esm/Settings/index.js",
260
- "default": "./dist/esm/Settings/index.js"
261
- },
262
- "./Settings/": {
263
- "types": "./dist/protos/Settings/",
264
- "import": "./dist/esm/Settings/"
265
- },
266
- "./Settings/*": {
267
- "types": "./dist/protos/Settings/*.d.ts",
268
- "import": "./dist/esm/Settings/*.js"
269
- },
270
- "./validation": {
271
- "types": "./dist/protos/validation.d.ts",
272
- "import": "./dist/esm/validation.js"
273
- },
274
- "./client": {
275
- "types": "./dist/protos/client.d.ts",
276
- "import": "./dist/esm/client.js"
277
- },
278
- "./*": {
279
- "types": "./dist/*",
280
- "import": "./dist/esm/*"
281
- },
282
- "./errors": {
283
- "types": "./dist/protos/Errors_pb.d.ts",
284
- "import": "./dist/esm/Errors_pb.js"
285
- }
286
- },
287
- "scripts": {
288
- "gen": "node ./generate-ts.mjs && node ./scripts/fix-empty-indexes.mjs",
289
- "build": "npm run build:esm && npm run postbuild:esm && npm run build:types",
290
- "test": "npm run build && node --test test/**/*.test.mjs",
291
- "test:client": "npm run build && node --test test/client.test.mjs",
292
- "test:basic": "node --test test/client-basic.test.mjs",
293
- "prebuild:esm": "node ./scripts/fix-empty-indexes.mjs",
294
- "build:gen": "npm run gen && npm run build",
295
- "build:esm": "tsc -p tsconfig.esm.json",
296
- "postbuild:esm": "node ./scripts/fix-all-imports.mjs && node ./scripts/fix-directory-imports.mjs",
297
- "prebuild:types": "node ./scripts/fix-empty-indexes.mjs",
298
- "build:types": "tsc -p tsconfig.types.json",
299
- "lint": "eslint . --ext .ts",
300
- "lint:gen": "eslint ts-gen --ext .ts",
301
- "lint:gen:fix": "eslint ts-gen --ext .ts --fix",
302
- "clean": "node -e \"const fs=require('fs'),path=require('path'); const rm=(p)=>fs.rmSync(p,{recursive:true,force:true}); if(fs.existsSync('dist')) rm('dist'); const base='ts-gen'; if(fs.existsSync(base)){ for(const ent of fs.readdirSync(base,{withFileTypes:true})) { if(ent.name==='validation.ts' || ent.name==='client.ts') continue; rm(path.join(base, ent.name)); } }\"",
303
- "clean:pack": "node -e \"const fs=require('fs'); const path=require('path'); fs.rmSync('__pack_extract__',{recursive:true,force:true}); fs.readdirSync('.').filter(f=>f.endsWith('.tgz')).forEach(f=>fs.rmSync(path.join('.',f),{force:true})); console.log('Removed __pack_extract__ and *.tgz');\"",
304
- "clean:dist": "node -e \"const fs=require('fs'); fs.rmSync('dist',{recursive:true,force:true});\"",
305
- "rebuild": "npm run clean:dist && node ./scripts/ensure-gen.mjs && npm run build",
306
- "prepublishOnly": "node ./scripts/ensure-gen.mjs",
307
- "compile": "tsc",
308
- "changeset": "changeset",
309
- "release:version": "changeset version",
310
- "release:version:patch": "node ./scripts/make-changeset.mjs patch && changeset version",
311
- "release:version:minor": "node ./scripts/make-changeset.mjs minor && changeset version",
312
- "release:version:major": "node ./scripts/make-changeset.mjs major && changeset version",
313
- "release:publish": "npm run rebuild && changeset publish",
314
- "prepack": "npm run rebuild && node ./scripts/prepack-readme.mjs",
315
- "postpack": "node ./scripts/postpack-readme.mjs"
316
- },
317
- "publishConfig": {
318
- "access": "public"
319
- },
320
- "sideEffects": false,
321
- "devDependencies": {
322
- "@bufbuild/buf": "^1.6.0",
323
- "@bufbuild/protoc-gen-es": "^2.10.0",
324
- "@changesets/cli": "^2.29.7",
325
- "@connectrpc/protoc-gen-connect-es": "^1.7.0",
326
- "@typescript-eslint/eslint-plugin": "^6.21.0",
327
- "@typescript-eslint/parser": "^6.21.0",
328
- "eslint": "^8.57.1",
329
- "ts-node": "^10.9.2",
330
- "ts-proto": "^2.8.0",
331
- "ts-proto-descriptors": "^1.16.0",
332
- "typescript": "^5.9.3"
333
- },
334
- "dependencies": {
335
- "@bufbuild/protobuf": "^2.10.0",
336
- "@bufbuild/protovalidate": "^1.0.0",
337
- "@connectrpc/connect": "^1.7.0"
338
- }
339
- }
2
+ "name": "@inverted-tech/fragments",
3
+ "version": "0.10.3",
4
+ "description": "Types and JS runtime for Inverted protocol buffers (Fragments)",
5
+ "types": "dist/protos/index.d.ts",
6
+ "module": "dist/esm/index.js",
7
+ "files": [
8
+ "dist",
9
+ "README.md",
10
+ "LICENSE"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/protos/index.d.ts",
15
+ "import": "./dist/esm/index.js",
16
+ "default": "./dist/esm/index.js"
17
+ },
18
+ "./protos": {
19
+ "types": "./dist/protos/index.d.ts",
20
+ "import": "./dist/esm/index.js",
21
+ "default": "./dist/esm/index.js"
22
+ },
23
+ "./protos/index": {
24
+ "types": "./dist/protos/index.d.ts",
25
+ "import": "./dist/esm/index.js",
26
+ "default": "./dist/esm/index.js"
27
+ },
28
+ "./protos/": {
29
+ "types": "./dist/protos/",
30
+ "import": "./dist/esm/"
31
+ },
32
+ "./protos/*": {
33
+ "types": "./dist/protos/*.d.ts",
34
+ "import": "./dist/esm/*.js"
35
+ },
36
+ "./AuditLog": {
37
+ "types": "./dist/protos/AuditLog/index.d.ts",
38
+ "import": "./dist/esm/AuditLog/index.js",
39
+ "default": "./dist/esm/AuditLog/index.js"
40
+ },
41
+ "./AuditLog/": {
42
+ "types": "./dist/protos/AuditLog/",
43
+ "import": "./dist/esm/AuditLog/"
44
+ },
45
+ "./AuditLog/*": {
46
+ "types": "./dist/protos/AuditLog/*.d.ts",
47
+ "import": "./dist/esm/AuditLog/*.js"
48
+ },
49
+ "./Authorization": {
50
+ "types": "./dist/protos/Authorization/index.d.ts",
51
+ "import": "./dist/esm/Authorization/index.js",
52
+ "default": "./dist/esm/Authorization/index.js"
53
+ },
54
+ "./Authorization/": {
55
+ "types": "./dist/protos/Authorization/",
56
+ "import": "./dist/esm/Authorization/"
57
+ },
58
+ "./Authorization/*": {
59
+ "types": "./dist/protos/Authorization/*.d.ts",
60
+ "import": "./dist/esm/Authorization/*.js"
61
+ },
62
+ "./Authorization/Events": {
63
+ "types": "./dist/protos/Authorization/Events/index.d.ts",
64
+ "import": "./dist/esm/Authorization/Events/index.js",
65
+ "default": "./dist/esm/Authorization/Events/index.js"
66
+ },
67
+ "./Authorization/Events/": {
68
+ "types": "./dist/protos/Authorization/Events/",
69
+ "import": "./dist/esm/Authorization/Events/"
70
+ },
71
+ "./Authorization/Events/*": {
72
+ "types": "./dist/protos/Authorization/Events/*.d.ts",
73
+ "import": "./dist/esm/Authorization/Events/*.js"
74
+ },
75
+ "./Authorization/Payments": {
76
+ "types": "./dist/protos/Authorization/Payments/index.d.ts",
77
+ "import": "./dist/esm/Authorization/Payments/index.js",
78
+ "default": "./dist/esm/Authorization/Payments/index.js"
79
+ },
80
+ "./Authorization/Payments/": {
81
+ "types": "./dist/protos/Authorization/Payments/",
82
+ "import": "./dist/esm/Authorization/Payments/"
83
+ },
84
+ "./Authorization/Payments/*": {
85
+ "types": "./dist/protos/Authorization/Payments/*.d.ts",
86
+ "import": "./dist/esm/Authorization/Payments/*.js"
87
+ },
88
+ "./Authorization/Payments/Crypto": {
89
+ "types": "./dist/protos/Authorization/Payments/Crypto/index.d.ts",
90
+ "import": "./dist/esm/Authorization/Payments/Crypto/index.js",
91
+ "default": "./dist/esm/Authorization/Payments/Crypto/index.js"
92
+ },
93
+ "./Authorization/Payments/Crypto/": {
94
+ "types": "./dist/protos/Authorization/Payments/Crypto/",
95
+ "import": "./dist/esm/Authorization/Payments/Crypto/"
96
+ },
97
+ "./Authorization/Payments/Crypto/*": {
98
+ "types": "./dist/protos/Authorization/Payments/Crypto/*.d.ts",
99
+ "import": "./dist/esm/Authorization/Payments/Crypto/*.js"
100
+ },
101
+ "./Authorization/Payments/Fortis": {
102
+ "types": "./dist/protos/Authorization/Payments/Fortis/index.d.ts",
103
+ "import": "./dist/esm/Authorization/Payments/Fortis/index.js",
104
+ "default": "./dist/esm/Authorization/Payments/Fortis/index.js"
105
+ },
106
+ "./Authorization/Payments/Fortis/": {
107
+ "types": "./dist/protos/Authorization/Payments/Fortis/",
108
+ "import": "./dist/esm/Authorization/Payments/Fortis/"
109
+ },
110
+ "./Authorization/Payments/Fortis/*": {
111
+ "types": "./dist/protos/Authorization/Payments/Fortis/*.d.ts",
112
+ "import": "./dist/esm/Authorization/Payments/Fortis/*.js"
113
+ },
114
+ "./Authorization/Payments/Manual": {
115
+ "types": "./dist/protos/Authorization/Payments/Manual/index.d.ts",
116
+ "import": "./dist/esm/Authorization/Payments/Manual/index.js",
117
+ "default": "./dist/esm/Authorization/Payments/Manual/index.js"
118
+ },
119
+ "./Authorization/Payments/Manual/": {
120
+ "types": "./dist/protos/Authorization/Payments/Manual/",
121
+ "import": "./dist/esm/Authorization/Payments/Manual/"
122
+ },
123
+ "./Authorization/Payments/Manual/*": {
124
+ "types": "./dist/protos/Authorization/Payments/Manual/*.d.ts",
125
+ "import": "./dist/esm/Authorization/Payments/Manual/*.js"
126
+ },
127
+ "./Authorization/Payments/Paypal": {
128
+ "types": "./dist/protos/Authorization/Payments/Paypal/index.d.ts",
129
+ "import": "./dist/esm/Authorization/Payments/Paypal/index.js",
130
+ "default": "./dist/esm/Authorization/Payments/Paypal/index.js"
131
+ },
132
+ "./Authorization/Payments/Paypal/": {
133
+ "types": "./dist/protos/Authorization/Payments/Paypal/",
134
+ "import": "./dist/esm/Authorization/Payments/Paypal/"
135
+ },
136
+ "./Authorization/Payments/Paypal/*": {
137
+ "types": "./dist/protos/Authorization/Payments/Paypal/*.d.ts",
138
+ "import": "./dist/esm/Authorization/Payments/Paypal/*.js"
139
+ },
140
+ "./Authorization/Payments/Stripe": {
141
+ "types": "./dist/protos/Authorization/Payments/Stripe/index.d.ts",
142
+ "import": "./dist/esm/Authorization/Payments/Stripe/index.js",
143
+ "default": "./dist/esm/Authorization/Payments/Stripe/index.js"
144
+ },
145
+ "./Authorization/Payments/Stripe/": {
146
+ "types": "./dist/protos/Authorization/Payments/Stripe/",
147
+ "import": "./dist/esm/Authorization/Payments/Stripe/"
148
+ },
149
+ "./Authorization/Payments/Stripe/*": {
150
+ "types": "./dist/protos/Authorization/Payments/Stripe/*.d.ts",
151
+ "import": "./dist/esm/Authorization/Payments/Stripe/*.js"
152
+ },
153
+ "./Authentication": {
154
+ "types": "./dist/protos/Authentication/index.d.ts",
155
+ "import": "./dist/esm/Authentication/index.js",
156
+ "default": "./dist/esm/Authentication/index.js"
157
+ },
158
+ "./Authentication/": {
159
+ "types": "./dist/protos/Authentication/",
160
+ "import": "./dist/esm/Authentication/"
161
+ },
162
+ "./Authentication/*": {
163
+ "types": "./dist/protos/Authentication/*.d.ts",
164
+ "import": "./dist/esm/Authentication/*.js"
165
+ },
166
+ "./Comment": {
167
+ "types": "./dist/protos/Comment/index.d.ts",
168
+ "import": "./dist/esm/Comment/index.js",
169
+ "default": "./dist/esm/Comment/index.js"
170
+ },
171
+ "./Comment/": {
172
+ "types": "./dist/protos/Comment/",
173
+ "import": "./dist/esm/Comment/"
174
+ },
175
+ "./Comment/*": {
176
+ "types": "./dist/protos/Comment/*.d.ts",
177
+ "import": "./dist/esm/Comment/*.js"
178
+ },
179
+ "./Content": {
180
+ "types": "./dist/protos/Content/index.d.ts",
181
+ "import": "./dist/esm/Content/index.js",
182
+ "default": "./dist/esm/Content/index.js"
183
+ },
184
+ "./Content/": {
185
+ "types": "./dist/protos/Content/",
186
+ "import": "./dist/esm/Content/"
187
+ },
188
+ "./Content/*": {
189
+ "types": "./dist/protos/Content/*.d.ts",
190
+ "import": "./dist/esm/Content/*.js"
191
+ },
192
+ "./Content/Music": {
193
+ "types": "./dist/protos/Content/Music/index.d.ts",
194
+ "import": "./dist/esm/Content/Music/index.js",
195
+ "default": "./dist/esm/Content/Music/index.js"
196
+ },
197
+ "./Content/Music/": {
198
+ "types": "./dist/protos/Content/Music/",
199
+ "import": "./dist/esm/Content/Music/"
200
+ },
201
+ "./Content/Music/*": {
202
+ "types": "./dist/protos/Content/Music/*.d.ts",
203
+ "import": "./dist/esm/Content/Music/*.js"
204
+ },
205
+ "./Content/Stats": {
206
+ "types": "./dist/protos/Content/Stats/index.d.ts",
207
+ "import": "./dist/esm/Content/Stats/index.js",
208
+ "default": "./dist/esm/Content/Stats/index.js"
209
+ },
210
+ "./Content/Stats/": {
211
+ "types": "./dist/protos/Content/Stats/",
212
+ "import": "./dist/esm/Content/Stats/"
213
+ },
214
+ "./Content/Stats/*": {
215
+ "types": "./dist/protos/Content/Stats/*.d.ts",
216
+ "import": "./dist/esm/Content/Stats/*.js"
217
+ },
218
+ "./CreatorDashboard": {
219
+ "types": "./dist/protos/CreatorDashboard/index.d.ts",
220
+ "import": "./dist/esm/CreatorDashboard/index.js",
221
+ "default": "./dist/esm/CreatorDashboard/index.js"
222
+ },
223
+ "./CreatorDashboard/": {
224
+ "types": "./dist/protos/CreatorDashboard/",
225
+ "import": "./dist/esm/CreatorDashboard/"
226
+ },
227
+ "./CreatorDashboard/*": {
228
+ "types": "./dist/protos/CreatorDashboard/*.d.ts",
229
+ "import": "./dist/esm/CreatorDashboard/*.js"
230
+ },
231
+ "./Generic": {
232
+ "types": "./dist/protos/Generic/index.d.ts",
233
+ "import": "./dist/esm/Generic/index.js",
234
+ "default": "./dist/esm/Generic/index.js"
235
+ },
236
+ "./Generic/": {
237
+ "types": "./dist/protos/Generic/",
238
+ "import": "./dist/esm/Generic/"
239
+ },
240
+ "./Generic/*": {
241
+ "types": "./dist/protos/Generic/*.d.ts",
242
+ "import": "./dist/esm/Generic/*.js"
243
+ },
244
+ "./Notification": {
245
+ "types": "./dist/protos/Notification/index.d.ts",
246
+ "import": "./dist/esm/Notification/index.js",
247
+ "default": "./dist/esm/Notification/index.js"
248
+ },
249
+ "./Notification/": {
250
+ "types": "./dist/protos/Notification/",
251
+ "import": "./dist/esm/Notification/"
252
+ },
253
+ "./Notification/*": {
254
+ "types": "./dist/protos/Notification/*.d.ts",
255
+ "import": "./dist/esm/Notification/*.js"
256
+ },
257
+ "./Page": {
258
+ "types": "./dist/protos/Page/index.d.ts",
259
+ "import": "./dist/esm/Page/index.js",
260
+ "default": "./dist/esm/Page/index.js"
261
+ },
262
+ "./Page/": {
263
+ "types": "./dist/protos/Page/",
264
+ "import": "./dist/esm/Page/"
265
+ },
266
+ "./Page/*": {
267
+ "types": "./dist/protos/Page/*.d.ts",
268
+ "import": "./dist/esm/Page/*.js"
269
+ },
270
+ "./Settings": {
271
+ "types": "./dist/protos/Settings/index.d.ts",
272
+ "import": "./dist/esm/Settings/index.js",
273
+ "default": "./dist/esm/Settings/index.js"
274
+ },
275
+ "./Settings/": {
276
+ "types": "./dist/protos/Settings/",
277
+ "import": "./dist/esm/Settings/"
278
+ },
279
+ "./Settings/*": {
280
+ "types": "./dist/protos/Settings/*.d.ts",
281
+ "import": "./dist/esm/Settings/*.js"
282
+ },
283
+ "./validation": {
284
+ "types": "./dist/protos/validation.d.ts",
285
+ "import": "./dist/esm/validation.js"
286
+ },
287
+ "./client": {
288
+ "types": "./dist/protos/client.d.ts",
289
+ "import": "./dist/esm/client.js"
290
+ },
291
+ "./*": {
292
+ "types": "./dist/*",
293
+ "import": "./dist/esm/*"
294
+ },
295
+ "./errors": {
296
+ "types": "./dist/protos/Errors_pb.d.ts",
297
+ "import": "./dist/esm/Errors_pb.js"
298
+ }
299
+ },
300
+ "publishConfig": {
301
+ "access": "public"
302
+ },
303
+ "sideEffects": false,
304
+ "devDependencies": {
305
+ "@bufbuild/buf": "^1.6.0",
306
+ "@bufbuild/protoc-gen-es": "^2.10.0",
307
+ "@changesets/cli": "^2.29.7",
308
+ "@connectrpc/protoc-gen-connect-es": "^1.7.0",
309
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
310
+ "@typescript-eslint/parser": "^6.21.0",
311
+ "eslint": "^8.57.1",
312
+ "ts-node": "^10.9.2",
313
+ "ts-proto": "^2.8.0",
314
+ "ts-proto-descriptors": "^1.16.0",
315
+ "typescript": "^5.9.3"
316
+ },
317
+ "dependencies": {
318
+ "@bufbuild/protobuf": "^2.10.0",
319
+ "@bufbuild/protovalidate": "^1.0.0",
320
+ "@connectrpc/connect": "^1.7.0"
321
+ },
322
+ "scripts": {
323
+ "gen": "node ./generate-ts.mjs && node ./scripts/fix-empty-indexes.mjs",
324
+ "build": "npm run build:esm && npm run postbuild:esm && npm run build:types",
325
+ "test": "npm run build && node --test test/**/*.test.mjs",
326
+ "test:client": "npm run build && node --test test/client.test.mjs",
327
+ "test:basic": "node --test test/client-basic.test.mjs",
328
+ "prebuild:esm": "node ./scripts/fix-empty-indexes.mjs",
329
+ "build:gen": "npm run gen && npm run build",
330
+ "build:esm": "tsc -p tsconfig.esm.json",
331
+ "postbuild:esm": "node ./scripts/fix-all-imports.mjs && node ./scripts/fix-directory-imports.mjs",
332
+ "prebuild:types": "node ./scripts/fix-empty-indexes.mjs",
333
+ "build:types": "tsc -p tsconfig.types.json",
334
+ "lint": "eslint . --ext .ts",
335
+ "lint:gen": "eslint ts-gen --ext .ts",
336
+ "lint:gen:fix": "eslint ts-gen --ext .ts --fix",
337
+ "clean": "node -e \"const fs=require('fs'),path=require('path'); const rm=(p)=>fs.rmSync(p,{recursive:true,force:true}); if(fs.existsSync('dist')) rm('dist'); const base='ts-gen'; if(fs.existsSync(base)){ for(const ent of fs.readdirSync(base,{withFileTypes:true})) { if(ent.name==='validation.ts' || ent.name==='client.ts') continue; rm(path.join(base, ent.name)); } }\"",
338
+ "clean:pack": "node -e \"const fs=require('fs'); const path=require('path'); fs.rmSync('__pack_extract__',{recursive:true,force:true}); fs.readdirSync('.').filter(f=>f.endsWith('.tgz')).forEach(f=>fs.rmSync(path.join('.',f),{force:true})); console.log('Removed __pack_extract__ and *.tgz');\"",
339
+ "clean:dist": "node -e \"const fs=require('fs'); fs.rmSync('dist',{recursive:true,force:true});\"",
340
+ "rebuild": "npm run clean:dist && node ./scripts/ensure-gen.mjs && npm run build",
341
+ "compile": "tsc",
342
+ "changeset": "changeset",
343
+ "release:version": "changeset version",
344
+ "release:version:patch": "node ./scripts/make-changeset.mjs patch && changeset version",
345
+ "release:version:minor": "node ./scripts/make-changeset.mjs minor && changeset version",
346
+ "release:version:major": "node ./scripts/make-changeset.mjs major && changeset version",
347
+ "release:publish": "npm run rebuild && changeset publish"
348
+ }
349
+ }