@trpc/server 11.0.0-rc.571 → 11.0.0-rc.576

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 (34) hide show
  1. package/dist/bundle-analysis.json +129 -80
  2. package/dist/unstable-core-do-not-import/stream/sse.d.ts +3 -3
  3. package/dist/unstable-core-do-not-import/stream/sse.d.ts.map +1 -1
  4. package/dist/unstable-core-do-not-import/stream/sse.js +53 -65
  5. package/dist/unstable-core-do-not-import/stream/sse.mjs +55 -67
  6. package/dist/unstable-core-do-not-import/stream/utils/asyncIterable.d.ts +17 -0
  7. package/dist/unstable-core-do-not-import/stream/utils/asyncIterable.d.ts.map +1 -0
  8. package/dist/unstable-core-do-not-import/stream/utils/asyncIterable.js +59 -0
  9. package/dist/unstable-core-do-not-import/stream/utils/asyncIterable.mjs +56 -0
  10. package/dist/unstable-core-do-not-import/stream/utils/createDeferred.d.ts +0 -11
  11. package/dist/unstable-core-do-not-import/stream/utils/createDeferred.d.ts.map +1 -1
  12. package/dist/unstable-core-do-not-import/stream/utils/createDeferred.js +0 -29
  13. package/dist/unstable-core-do-not-import/stream/utils/createDeferred.mjs +1 -29
  14. package/dist/unstable-core-do-not-import/stream/utils/promiseTimer.d.ts +8 -0
  15. package/dist/unstable-core-do-not-import/stream/utils/promiseTimer.d.ts.map +1 -0
  16. package/dist/unstable-core-do-not-import/stream/utils/promiseTimer.js +38 -0
  17. package/dist/unstable-core-do-not-import/stream/utils/promiseTimer.mjs +36 -0
  18. package/dist/unstable-core-do-not-import/stream/utils/withPing.d.ts +7 -0
  19. package/dist/unstable-core-do-not-import/stream/utils/withPing.d.ts.map +1 -0
  20. package/dist/unstable-core-do-not-import/stream/utils/withPing.js +37 -0
  21. package/dist/unstable-core-do-not-import/stream/utils/withPing.mjs +34 -0
  22. package/dist/unstable-core-do-not-import/utils.d.ts +2 -0
  23. package/dist/unstable-core-do-not-import/utils.d.ts.map +1 -1
  24. package/dist/unstable-core-do-not-import/utils.js +7 -0
  25. package/dist/unstable-core-do-not-import/utils.mjs +6 -1
  26. package/dist/unstable-core-do-not-import.js +2 -1
  27. package/dist/unstable-core-do-not-import.mjs +2 -2
  28. package/package.json +2 -2
  29. package/src/unstable-core-do-not-import/stream/sse.ts +60 -91
  30. package/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts +62 -0
  31. package/src/unstable-core-do-not-import/stream/utils/createDeferred.ts +0 -36
  32. package/src/unstable-core-do-not-import/stream/utils/promiseTimer.ts +40 -0
  33. package/src/unstable-core-do-not-import/stream/utils/withPing.ts +35 -0
  34. package/src/unstable-core-do-not-import/utils.ts +7 -0
@@ -1,7 +1,7 @@
1
1
  {
2
- "bundleSize": 141654,
3
- "bundleOrigSize": 188624,
4
- "bundleReduction": 24.9,
2
+ "bundleSize": 144002,
3
+ "bundleOrigSize": 191377,
4
+ "bundleReduction": 24.75,
5
5
  "modules": [
6
6
  {
7
7
  "id": "/src/unstable-core-do-not-import/http/resolveResponse.ts",
@@ -14,7 +14,7 @@
14
14
  "dependents": [
15
15
  "/src/unstable-core-do-not-import.ts"
16
16
  ],
17
- "percent": 13.02,
17
+ "percent": 12.8,
18
18
  "reduction": 0
19
19
  },
20
20
  {
@@ -31,7 +31,7 @@
31
31
  "/src/unstable-core-do-not-import.ts",
32
32
  "/src/unstable-core-do-not-import/http/resolveResponse.ts"
33
33
  ],
34
- "percent": 12.4,
34
+ "percent": 12.2,
35
35
  "reduction": 4.86
36
36
  },
37
37
  {
@@ -47,13 +47,13 @@
47
47
  "dependents": [
48
48
  "/src/adapters/fastify/fastifyTRPCPlugin.ts"
49
49
  ],
50
- "percent": 11.5,
50
+ "percent": 11.31,
51
51
  "reduction": 0
52
52
  },
53
53
  {
54
54
  "id": "/src/unstable-core-do-not-import/stream/sse.ts",
55
- "size": 9380,
56
- "origSize": 10696,
55
+ "size": 9006,
56
+ "origSize": 10511,
57
57
  "renderedExports": [
58
58
  "sseStreamProducer",
59
59
  "sseStreamConsumer",
@@ -64,8 +64,8 @@
64
64
  "/src/unstable-core-do-not-import.ts",
65
65
  "/src/unstable-core-do-not-import/http/resolveResponse.ts"
66
66
  ],
67
- "percent": 6.62,
68
- "reduction": 12.3
67
+ "percent": 6.25,
68
+ "reduction": 14.32
69
69
  },
70
70
  {
71
71
  "id": "/src/unstable-core-do-not-import/http/contentType.ts",
@@ -79,7 +79,7 @@
79
79
  "/src/unstable-core-do-not-import.ts",
80
80
  "/src/unstable-core-do-not-import/http/resolveResponse.ts"
81
81
  ],
82
- "percent": 5.43,
82
+ "percent": 5.34,
83
83
  "reduction": 0
84
84
  },
85
85
  {
@@ -97,7 +97,7 @@
97
97
  "/src/unstable-core-do-not-import.ts",
98
98
  "/src/unstable-core-do-not-import/initTRPC.ts"
99
99
  ],
100
- "percent": 4.53,
100
+ "percent": 4.46,
101
101
  "reduction": 40.09
102
102
  },
103
103
  {
@@ -112,7 +112,7 @@
112
112
  "/src/unstable-core-do-not-import.ts",
113
113
  "/src/unstable-core-do-not-import/initTRPC.ts"
114
114
  ],
115
- "percent": 4.09,
115
+ "percent": 4.02,
116
116
  "reduction": 64.74
117
117
  },
118
118
  {
@@ -126,7 +126,7 @@
126
126
  "dependents": [
127
127
  "/src/adapters/aws-lambda/index.ts"
128
128
  ],
129
- "percent": 3.82,
129
+ "percent": 3.76,
130
130
  "reduction": 11.38
131
131
  },
132
132
  {
@@ -145,7 +145,7 @@
145
145
  "/src/unstable-core-do-not-import/http/resolveResponse.ts",
146
146
  "/src/observable/operators.ts"
147
147
  ],
148
- "percent": 3.16,
148
+ "percent": 3.11,
149
149
  "reduction": 0
150
150
  },
151
151
  {
@@ -160,7 +160,7 @@
160
160
  "dependents": [
161
161
  "/src/adapters/node-http/index.ts"
162
162
  ],
163
- "percent": 2.84,
163
+ "percent": 2.8,
164
164
  "reduction": 5.78
165
165
  },
166
166
  {
@@ -174,7 +174,7 @@
174
174
  "dependents": [
175
175
  "/src/adapters/next-app-dir.ts"
176
176
  ],
177
- "percent": 2.27,
177
+ "percent": 2.24,
178
178
  "reduction": 22.57
179
179
  },
180
180
  {
@@ -190,7 +190,7 @@
190
190
  "dependents": [
191
191
  "/src/observable/index.ts"
192
192
  ],
193
- "percent": 1.95,
193
+ "percent": 1.91,
194
194
  "reduction": 0
195
195
  },
196
196
  {
@@ -210,7 +210,7 @@
210
210
  "/src/unstable-core-do-not-import/initTRPC.ts",
211
211
  "/src/unstable-core-do-not-import/router.ts"
212
212
  ],
213
- "percent": 1.94,
213
+ "percent": 1.91,
214
214
  "reduction": 45.94
215
215
  },
216
216
  {
@@ -224,7 +224,7 @@
224
224
  "dependents": [
225
225
  "/src/unstable-core-do-not-import.ts"
226
226
  ],
227
- "percent": 1.9,
227
+ "percent": 1.87,
228
228
  "reduction": 40.98
229
229
  },
230
230
  {
@@ -244,7 +244,7 @@
244
244
  "/src/unstable-core-do-not-import/initTRPC.ts",
245
245
  "/src/unstable-core-do-not-import/procedureBuilder.ts"
246
246
  ],
247
- "percent": 1.85,
247
+ "percent": 1.82,
248
248
  "reduction": 55.78
249
249
  },
250
250
  {
@@ -260,7 +260,7 @@
260
260
  "/src/unstable-core-do-not-import.ts",
261
261
  "/src/unstable-core-do-not-import/router.ts"
262
262
  ],
263
- "percent": 1.64,
263
+ "percent": 1.62,
264
264
  "reduction": 0
265
265
  },
266
266
  {
@@ -274,7 +274,7 @@
274
274
  "dependents": [
275
275
  "/src/adapters/fetch/index.ts"
276
276
  ],
277
- "percent": 1.59,
277
+ "percent": 1.57,
278
278
  "reduction": 2.17
279
279
  },
280
280
  {
@@ -289,7 +289,7 @@
289
289
  "/src/adapters/node-http/index.ts",
290
290
  "/src/adapters/node-http/nodeHTTPRequestHandler.ts"
291
291
  ],
292
- "percent": 1.56,
292
+ "percent": 1.53,
293
293
  "reduction": 14.72
294
294
  },
295
295
  {
@@ -303,7 +303,7 @@
303
303
  "dependents": [
304
304
  "/src/adapters/next-app-dir/nextAppDirCaller.ts"
305
305
  ],
306
- "percent": 1.45,
306
+ "percent": 1.42,
307
307
  "reduction": 5.79
308
308
  },
309
309
  {
@@ -317,7 +317,7 @@
317
317
  "dependents": [
318
318
  "/src/adapters/fastify/index.ts"
319
319
  ],
320
- "percent": 1.26,
320
+ "percent": 1.24,
321
321
  "reduction": 29.88
322
322
  },
323
323
  {
@@ -342,7 +342,7 @@
342
342
  "/src/unstable-core-do-not-import/stream/jsonl.ts",
343
343
  "/src/unstable-core-do-not-import/stream/sse.ts"
344
344
  ],
345
- "percent": 1.22,
345
+ "percent": 1.2,
346
346
  "reduction": 19.47
347
347
  },
348
348
  {
@@ -354,7 +354,7 @@
354
354
  ],
355
355
  "removedExports": [],
356
356
  "dependents": [],
357
- "percent": 1.2,
357
+ "percent": 1.18,
358
358
  "reduction": 19.29
359
359
  },
360
360
  {
@@ -367,9 +367,24 @@
367
367
  ],
368
368
  "removedExports": [],
369
369
  "dependents": [],
370
- "percent": 1.14,
370
+ "percent": 1.12,
371
371
  "reduction": 27.47
372
372
  },
373
+ {
374
+ "id": "/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts",
375
+ "size": 1609,
376
+ "origSize": 1671,
377
+ "renderedExports": [
378
+ "withCancel",
379
+ "takeWithGrace"
380
+ ],
381
+ "removedExports": [],
382
+ "dependents": [
383
+ "/src/unstable-core-do-not-import/stream/sse.ts"
384
+ ],
385
+ "percent": 1.12,
386
+ "reduction": 3.71
387
+ },
373
388
  {
374
389
  "id": "/src/unstable-core-do-not-import/http/getHTTPStatusCode.ts",
375
390
  "size": 1438,
@@ -384,7 +399,7 @@
384
399
  "/src/unstable-core-do-not-import/http/resolveResponse.ts",
385
400
  "/src/unstable-core-do-not-import/error/getErrorShape.ts"
386
401
  ],
387
- "percent": 1.02,
402
+ "percent": 1,
388
403
  "reduction": 16.73
389
404
  },
390
405
  {
@@ -396,28 +411,13 @@
396
411
  ],
397
412
  "removedExports": [],
398
413
  "dependents": [],
399
- "percent": 0.97,
414
+ "percent": 0.95,
400
415
  "reduction": 36.15
401
416
  },
402
- {
403
- "id": "/src/unstable-core-do-not-import/parser.ts",
404
- "size": 1297,
405
- "origSize": 2896,
406
- "renderedExports": [
407
- "getParseFn"
408
- ],
409
- "removedExports": [],
410
- "dependents": [
411
- "/src/unstable-core-do-not-import.ts",
412
- "/src/unstable-core-do-not-import/procedureBuilder.ts"
413
- ],
414
- "percent": 0.92,
415
- "reduction": 55.21
416
- },
417
417
  {
418
418
  "id": "/src/unstable-core-do-not-import/utils.ts",
419
- "size": 1186,
420
- "origSize": 1655,
419
+ "size": 1311,
420
+ "origSize": 1809,
421
421
  "renderedExports": [
422
422
  "unsetMarker",
423
423
  "mergeWithoutOverrides",
@@ -425,7 +425,9 @@
425
425
  "isFunction",
426
426
  "omitPrototype",
427
427
  "isAsyncIterable",
428
- "run"
428
+ "run",
429
+ "noop",
430
+ "identity"
429
431
  ],
430
432
  "removedExports": [],
431
433
  "dependents": [
@@ -441,10 +443,26 @@
441
443
  "/src/unstable-core-do-not-import/http/contentType.ts",
442
444
  "/src/unstable-core-do-not-import/procedureBuilder.ts",
443
445
  "/src/unstable-core-do-not-import/stream/jsonl.ts",
444
- "/src/unstable-core-do-not-import/stream/sse.ts"
446
+ "/src/unstable-core-do-not-import/stream/sse.ts",
447
+ "/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts"
448
+ ],
449
+ "percent": 0.91,
450
+ "reduction": 27.53
451
+ },
452
+ {
453
+ "id": "/src/unstable-core-do-not-import/parser.ts",
454
+ "size": 1297,
455
+ "origSize": 2896,
456
+ "renderedExports": [
457
+ "getParseFn"
458
+ ],
459
+ "removedExports": [],
460
+ "dependents": [
461
+ "/src/unstable-core-do-not-import.ts",
462
+ "/src/unstable-core-do-not-import/procedureBuilder.ts"
445
463
  ],
446
- "percent": 0.84,
447
- "reduction": 28.34
464
+ "percent": 0.9,
465
+ "reduction": 55.21
448
466
  },
449
467
  {
450
468
  "id": "/src/adapters/fastify/fastifyRequestHandler.ts",
@@ -458,7 +476,7 @@
458
476
  "/src/adapters/fastify/index.ts",
459
477
  "/src/adapters/fastify/fastifyTRPCPlugin.ts"
460
478
  ],
461
- "percent": 0.8,
479
+ "percent": 0.79,
462
480
  "reduction": 47.59
463
481
  },
464
482
  {
@@ -474,7 +492,7 @@
474
492
  "/src/unstable-core-do-not-import.ts",
475
493
  "/src/unstable-core-do-not-import/http/contentType.ts"
476
494
  ],
477
- "percent": 0.78,
495
+ "percent": 0.77,
478
496
  "reduction": 15.08
479
497
  },
480
498
  {
@@ -488,7 +506,7 @@
488
506
  "dependents": [
489
507
  "/src/unstable-core-do-not-import.ts"
490
508
  ],
491
- "percent": 0.75,
509
+ "percent": 0.74,
492
510
  "reduction": 0
493
511
  },
494
512
  {
@@ -505,26 +523,23 @@
505
523
  "/src/adapters/next-app-dir/nextAppDirCaller.ts",
506
524
  "/src/adapters/next-app-dir/rethrowNextErrors.ts"
507
525
  ],
508
- "percent": 0.7,
526
+ "percent": 0.69,
509
527
  "reduction": 13.65
510
528
  },
511
529
  {
512
- "id": "/src/unstable-core-do-not-import/stream/utils/createDeferred.ts",
513
- "size": 983,
514
- "origSize": 1166,
530
+ "id": "/src/unstable-core-do-not-import/stream/utils/withPing.ts",
531
+ "size": 908,
532
+ "origSize": 1019,
515
533
  "renderedExports": [
516
- "createDeferred",
517
- "createTimeoutPromise"
534
+ "PING_SYM",
535
+ "withPing"
518
536
  ],
519
537
  "removedExports": [],
520
538
  "dependents": [
521
- "/src/unstable-core-do-not-import.ts",
522
- "/src/unstable-core-do-not-import/stream/jsonl.ts",
523
- "/src/unstable-core-do-not-import/stream/sse.ts",
524
- "/src/unstable-core-do-not-import/stream/utils/createReadableStream.ts"
539
+ "/src/unstable-core-do-not-import/stream/sse.ts"
525
540
  ],
526
- "percent": 0.69,
527
- "reduction": 15.69
541
+ "percent": 0.63,
542
+ "reduction": 10.89
528
543
  },
529
544
  {
530
545
  "id": "/src/adapters/standalone.ts",
@@ -536,7 +551,7 @@
536
551
  ],
537
552
  "removedExports": [],
538
553
  "dependents": [],
539
- "percent": 0.55,
554
+ "percent": 0.54,
540
555
  "reduction": 57.35
541
556
  },
542
557
  {
@@ -553,7 +568,7 @@
553
568
  "/src/unstable-core-do-not-import.ts",
554
569
  "/src/unstable-core-do-not-import/stream/sse.ts"
555
570
  ],
556
- "percent": 0.55,
571
+ "percent": 0.54,
557
572
  "reduction": 44.37
558
573
  },
559
574
  {
@@ -565,9 +580,25 @@
565
580
  ],
566
581
  "removedExports": [],
567
582
  "dependents": [],
568
- "percent": 0.54,
583
+ "percent": 0.53,
569
584
  "reduction": 66.9
570
585
  },
586
+ {
587
+ "id": "/src/unstable-core-do-not-import/stream/utils/promiseTimer.ts",
588
+ "size": 754,
589
+ "origSize": 843,
590
+ "renderedExports": [
591
+ "createPromiseTimer"
592
+ ],
593
+ "removedExports": [],
594
+ "dependents": [
595
+ "/src/unstable-core-do-not-import/stream/sse.ts",
596
+ "/src/unstable-core-do-not-import/stream/utils/asyncIterable.ts",
597
+ "/src/unstable-core-do-not-import/stream/utils/withPing.ts"
598
+ ],
599
+ "percent": 0.52,
600
+ "reduction": 10.56
601
+ },
571
602
  {
572
603
  "id": "/src/unstable-core-do-not-import/stream/utils/createReadableStream.ts",
573
604
  "size": 705,
@@ -581,7 +612,7 @@
581
612
  "/src/unstable-core-do-not-import/stream/jsonl.ts",
582
613
  "/src/unstable-core-do-not-import/stream/sse.ts"
583
614
  ],
584
- "percent": 0.5,
615
+ "percent": 0.49,
585
616
  "reduction": 21.32
586
617
  },
587
618
  {
@@ -595,7 +626,7 @@
595
626
  "dependents": [
596
627
  "/src/unstable-core-do-not-import.ts"
597
628
  ],
598
- "percent": 0.47,
629
+ "percent": 0.46,
599
630
  "reduction": 0.6
600
631
  },
601
632
  {
@@ -610,7 +641,7 @@
610
641
  "/src/unstable-core-do-not-import.ts",
611
642
  "/src/unstable-core-do-not-import/http/resolveResponse.ts"
612
643
  ],
613
- "percent": 0.44,
644
+ "percent": 0.43,
614
645
  "reduction": 43.49
615
646
  },
616
647
  {
@@ -642,6 +673,24 @@
642
673
  "percent": 0.24,
643
674
  "reduction": 89.5
644
675
  },
676
+ {
677
+ "id": "/src/unstable-core-do-not-import/stream/utils/createDeferred.ts",
678
+ "size": 309,
679
+ "origSize": 417,
680
+ "renderedExports": [
681
+ "createDeferred"
682
+ ],
683
+ "removedExports": [],
684
+ "dependents": [
685
+ "/src/unstable-core-do-not-import.ts",
686
+ "/src/unstable-core-do-not-import/stream/jsonl.ts",
687
+ "/src/unstable-core-do-not-import/stream/sse.ts",
688
+ "/src/unstable-core-do-not-import/stream/utils/createReadableStream.ts",
689
+ "/src/unstable-core-do-not-import/stream/utils/promiseTimer.ts"
690
+ ],
691
+ "percent": 0.21,
692
+ "reduction": 25.9
693
+ },
645
694
  {
646
695
  "id": "/src/unstable-core-do-not-import/http/contentTypeParsers.ts",
647
696
  "size": 277,
@@ -653,7 +702,7 @@
653
702
  "dependents": [
654
703
  "/src/unstable-core-do-not-import.ts"
655
704
  ],
656
- "percent": 0.2,
705
+ "percent": 0.19,
657
706
  "reduction": 68.45
658
707
  },
659
708
  {
@@ -737,9 +786,9 @@
737
786
  "reduction": 100
738
787
  },
739
788
  {
740
- "id": "/src/rpc.ts",
789
+ "id": "/src/shared.ts",
741
790
  "size": 0,
742
- "origSize": 36,
791
+ "origSize": 653,
743
792
  "renderedExports": [],
744
793
  "removedExports": [],
745
794
  "dependents": [],
@@ -747,9 +796,9 @@
747
796
  "reduction": 100
748
797
  },
749
798
  {
750
- "id": "/src/shared.ts",
799
+ "id": "/src/rpc.ts",
751
800
  "size": 0,
752
- "origSize": 653,
801
+ "origSize": 36,
753
802
  "renderedExports": [],
754
803
  "removedExports": [],
755
804
  "dependents": [],
@@ -821,13 +870,13 @@
821
870
  "removedExports": [],
822
871
  "dependents": [
823
872
  "/src/adapters/express.ts",
824
- "/src/adapters/standalone.ts",
825
873
  "/src/adapters/next.ts",
874
+ "/src/adapters/standalone.ts",
826
875
  "/src/adapters/fastify/fastifyRequestHandler.ts"
827
876
  ],
828
877
  "percent": 0,
829
878
  "reduction": 100
830
879
  }
831
880
  ],
832
- "moduleCount": 55
881
+ "moduleCount": 58
833
882
  }
@@ -17,9 +17,9 @@ export interface PingOptions {
17
17
  */
18
18
  intervalMs?: number;
19
19
  }
20
- export interface SSEStreamProducerOptions {
20
+ export interface SSEStreamProducerOptions<TValue = unknown> {
21
21
  serialize?: Serialize;
22
- data: AsyncIterable<unknown>;
22
+ data: AsyncIterable<TValue>;
23
23
  maxDepth?: number;
24
24
  ping?: PingOptions;
25
25
  /**
@@ -42,7 +42,7 @@ export interface SSEStreamProducerOptions {
42
42
  *
43
43
  * @see https://html.spec.whatwg.org/multipage/server-sent-events.html
44
44
  */
45
- export declare function sseStreamProducer(opts: SSEStreamProducerOptions): ReadableStream<string>;
45
+ export declare function sseStreamProducer<TValue = unknown>(opts: SSEStreamProducerOptions<TValue>): ReadableStream<string>;
46
46
  interface ConsumerStreamResultBase {
47
47
  eventSource: EventSource;
48
48
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sse.d.ts","sourceRoot":"","sources":["../../../src/unstable-core-do-not-import/stream/sse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAKpD,KAAK,SAAS,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,CAAC;AACrC,KAAK,WAAW,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAA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