@getcronit/pylon 2.9.3-canary-20250205110829.7bd424c79929a88148e864535a0b04bd9d344d45 → 2.9.3-canary-20250205112941.f25b5eb354aed2fceb39bcc739d912365da8077b

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/dist/meta.json ADDED
@@ -0,0 +1,581 @@
1
+ {
2
+ "inputs": {
3
+ "src/context.ts": {
4
+ "bytes": 1109,
5
+ "imports": [
6
+ {
7
+ "path": "hono",
8
+ "kind": "import-statement",
9
+ "external": true
10
+ },
11
+ {
12
+ "path": "./auth",
13
+ "kind": "import-statement",
14
+ "external": true
15
+ },
16
+ {
17
+ "path": "async_hooks",
18
+ "kind": "import-statement",
19
+ "external": true
20
+ },
21
+ {
22
+ "path": "@getcronit/pylon-telemetry",
23
+ "kind": "import-statement",
24
+ "external": true
25
+ },
26
+ {
27
+ "path": "hono/adapter",
28
+ "kind": "import-statement",
29
+ "external": true
30
+ }
31
+ ],
32
+ "format": "esm"
33
+ },
34
+ "src/define-pylon.ts": {
35
+ "bytes": 9735,
36
+ "imports": [
37
+ {
38
+ "path": "@sentry/bun",
39
+ "kind": "import-statement",
40
+ "external": true
41
+ },
42
+ {
43
+ "path": "consola",
44
+ "kind": "import-statement",
45
+ "external": true
46
+ },
47
+ {
48
+ "path": "graphql",
49
+ "kind": "import-statement",
50
+ "external": true
51
+ },
52
+ {
53
+ "path": "src/context.ts",
54
+ "kind": "import-statement",
55
+ "original": "./context"
56
+ },
57
+ {
58
+ "path": "graphql-yoga",
59
+ "kind": "import-statement",
60
+ "external": true
61
+ }
62
+ ],
63
+ "format": "esm"
64
+ },
65
+ "src/create-decorator.ts": {
66
+ "bytes": 1716,
67
+ "imports": [
68
+ {
69
+ "path": "@getcronit/pylon-telemetry",
70
+ "kind": "import-statement",
71
+ "external": true
72
+ }
73
+ ],
74
+ "format": "esm"
75
+ },
76
+ "src/auth/decorators/requireAuth.ts": {
77
+ "bytes": 1371,
78
+ "imports": [
79
+ {
80
+ "path": "@getcronit/pylon-telemetry",
81
+ "kind": "import-statement",
82
+ "external": true
83
+ },
84
+ {
85
+ "path": "hono/http-exception",
86
+ "kind": "import-statement",
87
+ "external": true
88
+ },
89
+ {
90
+ "path": "src/auth/index.ts",
91
+ "kind": "import-statement",
92
+ "original": ".."
93
+ },
94
+ {
95
+ "path": "src/context.ts",
96
+ "kind": "import-statement",
97
+ "original": "../../context"
98
+ },
99
+ {
100
+ "path": "src/define-pylon.ts",
101
+ "kind": "import-statement",
102
+ "original": "../../define-pylon"
103
+ },
104
+ {
105
+ "path": "src/create-decorator.ts",
106
+ "kind": "import-statement",
107
+ "original": "../../create-decorator"
108
+ }
109
+ ],
110
+ "format": "esm"
111
+ },
112
+ "src/auth/index.ts": {
113
+ "bytes": 8137,
114
+ "imports": [
115
+ {
116
+ "path": "hono",
117
+ "kind": "import-statement",
118
+ "external": true
119
+ },
120
+ {
121
+ "path": "jsonwebtoken",
122
+ "kind": "import-statement",
123
+ "external": true
124
+ },
125
+ {
126
+ "path": "path",
127
+ "kind": "import-statement",
128
+ "external": true
129
+ },
130
+ {
131
+ "path": "hono/http-exception",
132
+ "kind": "import-statement",
133
+ "external": true
134
+ },
135
+ {
136
+ "path": "hono/utils/http-status",
137
+ "kind": "import-statement",
138
+ "external": true
139
+ },
140
+ {
141
+ "path": "hono/adapter",
142
+ "kind": "import-statement",
143
+ "external": true
144
+ },
145
+ {
146
+ "path": "@sentry/bun",
147
+ "kind": "import-statement",
148
+ "external": true
149
+ },
150
+ {
151
+ "path": "fs",
152
+ "kind": "import-statement",
153
+ "external": true
154
+ },
155
+ {
156
+ "path": "@getcronit/pylon-telemetry",
157
+ "kind": "import-statement",
158
+ "external": true
159
+ },
160
+ {
161
+ "path": "src/auth/decorators/requireAuth.ts",
162
+ "kind": "import-statement",
163
+ "original": "./decorators/requireAuth"
164
+ }
165
+ ],
166
+ "format": "esm"
167
+ },
168
+ "src/app/handler/graphql-viewer-handler.ts": {
169
+ "bytes": 1975,
170
+ "imports": [
171
+ {
172
+ "path": "hono/html",
173
+ "kind": "import-statement",
174
+ "external": true
175
+ }
176
+ ],
177
+ "format": "esm"
178
+ },
179
+ "src/app/index.ts": {
180
+ "bytes": 784,
181
+ "imports": [
182
+ {
183
+ "path": "hono",
184
+ "kind": "import-statement",
185
+ "external": true
186
+ },
187
+ {
188
+ "path": "hono/logger",
189
+ "kind": "import-statement",
190
+ "external": true
191
+ },
192
+ {
193
+ "path": "@hono/sentry",
194
+ "kind": "import-statement",
195
+ "external": true
196
+ },
197
+ {
198
+ "path": "src/context.ts",
199
+ "kind": "import-statement",
200
+ "original": "../context"
201
+ },
202
+ {
203
+ "path": "src/app/handler/graphql-viewer-handler.ts",
204
+ "kind": "import-statement",
205
+ "original": "./handler/graphql-viewer-handler"
206
+ }
207
+ ],
208
+ "format": "esm"
209
+ },
210
+ "src/app/envelop/use-sentry.ts": {
211
+ "bytes": 7797,
212
+ "imports": [
213
+ {
214
+ "path": "graphql",
215
+ "kind": "import-statement",
216
+ "external": true
217
+ },
218
+ {
219
+ "path": "@envelop/core",
220
+ "kind": "import-statement",
221
+ "external": true
222
+ },
223
+ {
224
+ "path": "@sentry/node",
225
+ "kind": "import-statement",
226
+ "external": true
227
+ }
228
+ ],
229
+ "format": "esm"
230
+ },
231
+ "src/app/handler/pylon-handler.ts": {
232
+ "bytes": 3636,
233
+ "imports": [
234
+ {
235
+ "path": "graphql-yoga",
236
+ "kind": "import-statement",
237
+ "external": true
238
+ },
239
+ {
240
+ "path": "graphql",
241
+ "kind": "import-statement",
242
+ "external": true
243
+ },
244
+ {
245
+ "path": "graphql-scalars",
246
+ "kind": "import-statement",
247
+ "external": true
248
+ },
249
+ {
250
+ "path": "src/app/envelop/use-sentry.ts",
251
+ "kind": "import-statement",
252
+ "original": "../envelop/use-sentry"
253
+ },
254
+ {
255
+ "path": "../../context",
256
+ "kind": "import-statement",
257
+ "external": true
258
+ },
259
+ {
260
+ "path": "src/define-pylon.ts",
261
+ "kind": "import-statement",
262
+ "original": "../../define-pylon"
263
+ },
264
+ {
265
+ "path": "../..",
266
+ "kind": "import-statement",
267
+ "external": true
268
+ },
269
+ {
270
+ "path": "fs",
271
+ "kind": "import-statement",
272
+ "external": true
273
+ },
274
+ {
275
+ "path": "path",
276
+ "kind": "import-statement",
277
+ "external": true
278
+ },
279
+ {
280
+ "path": "<runtime>",
281
+ "kind": "import-statement",
282
+ "external": true
283
+ }
284
+ ],
285
+ "format": "esm"
286
+ },
287
+ "src/get-env.ts": {
288
+ "bytes": 678,
289
+ "imports": [
290
+ {
291
+ "path": "@getcronit/pylon-telemetry",
292
+ "kind": "import-statement",
293
+ "external": true
294
+ },
295
+ {
296
+ "path": "src/context.ts",
297
+ "kind": "import-statement",
298
+ "original": "./context"
299
+ }
300
+ ],
301
+ "format": "esm"
302
+ },
303
+ "src/index.ts": {
304
+ "bytes": 793,
305
+ "imports": [
306
+ {
307
+ "path": "graphql-yoga",
308
+ "kind": "import-statement",
309
+ "external": true
310
+ },
311
+ {
312
+ "path": "./context.js",
313
+ "kind": "import-statement",
314
+ "external": true
315
+ },
316
+ {
317
+ "path": "src/define-pylon.ts",
318
+ "kind": "import-statement",
319
+ "original": "./define-pylon.js"
320
+ },
321
+ {
322
+ "path": "src/auth/index.ts",
323
+ "kind": "import-statement",
324
+ "original": "./auth/index.js"
325
+ },
326
+ {
327
+ "path": "src/context.ts",
328
+ "kind": "import-statement",
329
+ "original": "./context.js"
330
+ },
331
+ {
332
+ "path": "src/app/index.ts",
333
+ "kind": "import-statement",
334
+ "original": "./app/index.js"
335
+ },
336
+ {
337
+ "path": "src/app/handler/pylon-handler.ts",
338
+ "kind": "import-statement",
339
+ "original": "./app/handler/pylon-handler.js"
340
+ },
341
+ {
342
+ "path": "src/get-env.ts",
343
+ "kind": "import-statement",
344
+ "original": "./get-env.js"
345
+ },
346
+ {
347
+ "path": "src/create-decorator.ts",
348
+ "kind": "import-statement",
349
+ "original": "./create-decorator.js"
350
+ },
351
+ {
352
+ "path": "graphql-yoga",
353
+ "kind": "import-statement",
354
+ "external": true
355
+ }
356
+ ],
357
+ "format": "esm"
358
+ }
359
+ },
360
+ "outputs": {
361
+ "dist/index.js.map": {
362
+ "imports": [],
363
+ "exports": [],
364
+ "inputs": {},
365
+ "bytes": 56553
366
+ },
367
+ "dist/index.js": {
368
+ "imports": [
369
+ {
370
+ "path": "@sentry/bun",
371
+ "kind": "import-statement",
372
+ "external": true
373
+ },
374
+ {
375
+ "path": "consola",
376
+ "kind": "import-statement",
377
+ "external": true
378
+ },
379
+ {
380
+ "path": "graphql",
381
+ "kind": "import-statement",
382
+ "external": true
383
+ },
384
+ {
385
+ "path": "async_hooks",
386
+ "kind": "import-statement",
387
+ "external": true
388
+ },
389
+ {
390
+ "path": "@getcronit/pylon-telemetry",
391
+ "kind": "import-statement",
392
+ "external": true
393
+ },
394
+ {
395
+ "path": "hono/adapter",
396
+ "kind": "import-statement",
397
+ "external": true
398
+ },
399
+ {
400
+ "path": "graphql-yoga",
401
+ "kind": "import-statement",
402
+ "external": true
403
+ },
404
+ {
405
+ "path": "jsonwebtoken",
406
+ "kind": "import-statement",
407
+ "external": true
408
+ },
409
+ {
410
+ "path": "path",
411
+ "kind": "import-statement",
412
+ "external": true
413
+ },
414
+ {
415
+ "path": "hono/http-exception",
416
+ "kind": "import-statement",
417
+ "external": true
418
+ },
419
+ {
420
+ "path": "hono/adapter",
421
+ "kind": "import-statement",
422
+ "external": true
423
+ },
424
+ {
425
+ "path": "@sentry/bun",
426
+ "kind": "import-statement",
427
+ "external": true
428
+ },
429
+ {
430
+ "path": "fs",
431
+ "kind": "import-statement",
432
+ "external": true
433
+ },
434
+ {
435
+ "path": "@getcronit/pylon-telemetry",
436
+ "kind": "import-statement",
437
+ "external": true
438
+ },
439
+ {
440
+ "path": "@getcronit/pylon-telemetry",
441
+ "kind": "import-statement",
442
+ "external": true
443
+ },
444
+ {
445
+ "path": "hono/http-exception",
446
+ "kind": "import-statement",
447
+ "external": true
448
+ },
449
+ {
450
+ "path": "@getcronit/pylon-telemetry",
451
+ "kind": "import-statement",
452
+ "external": true
453
+ },
454
+ {
455
+ "path": "hono",
456
+ "kind": "import-statement",
457
+ "external": true
458
+ },
459
+ {
460
+ "path": "hono/logger",
461
+ "kind": "import-statement",
462
+ "external": true
463
+ },
464
+ {
465
+ "path": "@hono/sentry",
466
+ "kind": "import-statement",
467
+ "external": true
468
+ },
469
+ {
470
+ "path": "hono/html",
471
+ "kind": "import-statement",
472
+ "external": true
473
+ },
474
+ {
475
+ "path": "graphql-yoga",
476
+ "kind": "import-statement",
477
+ "external": true
478
+ },
479
+ {
480
+ "path": "graphql",
481
+ "kind": "import-statement",
482
+ "external": true
483
+ },
484
+ {
485
+ "path": "graphql-scalars",
486
+ "kind": "import-statement",
487
+ "external": true
488
+ },
489
+ {
490
+ "path": "graphql",
491
+ "kind": "import-statement",
492
+ "external": true
493
+ },
494
+ {
495
+ "path": "@envelop/core",
496
+ "kind": "import-statement",
497
+ "external": true
498
+ },
499
+ {
500
+ "path": "@sentry/node",
501
+ "kind": "import-statement",
502
+ "external": true
503
+ },
504
+ {
505
+ "path": "fs",
506
+ "kind": "import-statement",
507
+ "external": true
508
+ },
509
+ {
510
+ "path": "path",
511
+ "kind": "import-statement",
512
+ "external": true
513
+ },
514
+ {
515
+ "path": "@getcronit/pylon-telemetry",
516
+ "kind": "import-statement",
517
+ "external": true
518
+ },
519
+ {
520
+ "path": "graphql-yoga",
521
+ "kind": "import-statement",
522
+ "external": true
523
+ }
524
+ ],
525
+ "exports": [
526
+ "Bindings",
527
+ "Context",
528
+ "Env",
529
+ "ServiceError",
530
+ "Variables",
531
+ "app",
532
+ "asyncContext",
533
+ "auth",
534
+ "createDecorator",
535
+ "experimentalCreatePubSub",
536
+ "getContext",
537
+ "getEnv",
538
+ "handler",
539
+ "requireAuth",
540
+ "setContext"
541
+ ],
542
+ "entryPoint": "src/index.ts",
543
+ "inputs": {
544
+ "src/define-pylon.ts": {
545
+ "bytesInOutput": 6749
546
+ },
547
+ "src/context.ts": {
548
+ "bytesInOutput": 566
549
+ },
550
+ "src/index.ts": {
551
+ "bytesInOutput": 45
552
+ },
553
+ "src/auth/index.ts": {
554
+ "bytesInOutput": 6618
555
+ },
556
+ "src/auth/decorators/requireAuth.ts": {
557
+ "bytesInOutput": 1195
558
+ },
559
+ "src/create-decorator.ts": {
560
+ "bytesInOutput": 1341
561
+ },
562
+ "src/app/index.ts": {
563
+ "bytesInOutput": 528
564
+ },
565
+ "src/app/handler/graphql-viewer-handler.ts": {
566
+ "bytesInOutput": 1907
567
+ },
568
+ "src/app/handler/pylon-handler.ts": {
569
+ "bytesInOutput": 2806
570
+ },
571
+ "src/app/envelop/use-sentry.ts": {
572
+ "bytesInOutput": 4992
573
+ },
574
+ "src/get-env.ts": {
575
+ "bytesInOutput": 483
576
+ }
577
+ },
578
+ "bytes": 28263
579
+ }
580
+ }
581
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getcronit/pylon",
3
- "version": "2.9.3-canary-20250205110829.7bd424c79929a88148e864535a0b04bd9d344d45",
3
+ "version": "2.9.3-canary-20250205112941.f25b5eb354aed2fceb39bcc739d912365da8077b",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "openid-client": "^5.6.4",
31
31
  "toucan-js": "^4.1.0",
32
32
  "winston": "^3.8.2",
33
- "@getcronit/pylon-telemetry": "^1.0.2-canary-20250205110829.7bd424c79929a88148e864535a0b04bd9d344d45"
33
+ "@getcronit/pylon-telemetry": "^1.0.2-canary-20250205112941.f25b5eb354aed2fceb39bcc739d912365da8077b"
34
34
  },
35
35
  "engines": {
36
36
  "node": ">=18.0.0"
@@ -39,7 +39,7 @@
39
39
  "@sentry/types": "^8.54.0"
40
40
  },
41
41
  "scripts": {
42
- "build": "rimraf ./dist && esbuild ./src/index.ts --bundle --platform=node --target=node18 --format=esm --minify --outdir=./dist --sourcemap=inline --packages=external && pnpm run build:declarations",
42
+ "build": "rimraf ./dist && esbuild ./src/index.ts --bundle --platform=node --target=node18 --format=esm --outdir=./dist --sourcemap=linked --packages=external --metafile=./dist/meta.json && pnpm run build:declarations",
43
43
  "build:declarations": "tsc --declaration --emitDeclarationOnly --outDir ./dist"
44
44
  }
45
45
  }