@absolutejs/absolute 0.20.0-beta.30 → 0.20.0-beta.32

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 (43) hide show
  1. package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
  2. package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
  3. package/dist/angular/index.js +5 -1
  4. package/dist/angular/index.js.map +3 -3
  5. package/dist/angular/server.js +5 -1
  6. package/dist/angular/server.js.map +3 -3
  7. package/dist/build.js +7 -1
  8. package/dist/build.js.map +4 -4
  9. package/dist/cli/config/server.js +4 -0
  10. package/dist/cli/index.js +9 -0
  11. package/dist/dev/client/hmrClient.ts +5 -2
  12. package/dist/dev/client/hmrTiming.ts +2 -0
  13. package/dist/index.js +284 -204
  14. package/dist/index.js.map +10 -9
  15. package/dist/mobile/index.js +394 -31
  16. package/dist/mobile/index.js.map +11 -6
  17. package/dist/mobile/remoteMacAgentEntry.js +5 -5
  18. package/dist/mobile/shellBootstrap.js +205 -0
  19. package/dist/react/index.js +5 -1
  20. package/dist/react/index.js.map +3 -3
  21. package/dist/react/server.js +5 -1
  22. package/dist/react/server.js.map +3 -3
  23. package/dist/src/cli/config/server.d.ts +1 -1
  24. package/dist/src/core/prepare.d.ts +340 -0
  25. package/dist/src/mobile/index.d.ts +2 -0
  26. package/dist/src/mobile/mobilePreview.d.ts +174 -0
  27. package/dist/src/mobile/mobilePreviewClient.d.ts +1 -0
  28. package/dist/src/mobile/shellHttp.d.ts +2 -0
  29. package/dist/src/plugins/imageOptimizer.d.ts +1 -1
  30. package/dist/src/react/hooks/useMediaQuery.d.ts +1 -1
  31. package/dist/src/utils/logger.d.ts +1 -0
  32. package/dist/src/utils/startupBanner.d.ts +1 -0
  33. package/dist/src/utils/userAgentFunctions.d.ts +1 -1
  34. package/dist/svelte/index.js +5 -1
  35. package/dist/svelte/index.js.map +3 -3
  36. package/dist/svelte/server.js +5 -1
  37. package/dist/svelte/server.js.map +3 -3
  38. package/dist/types/messages.d.ts +1 -1
  39. package/dist/vue/index.js +5 -1
  40. package/dist/vue/index.js.map +3 -3
  41. package/dist/vue/server.js +5 -1
  42. package/dist/vue/server.js.map +3 -3
  43. package/package.json +2 -1
@@ -309,6 +309,346 @@ export declare const prepare: (configOrPath?: string) => Promise<{
309
309
  error: never;
310
310
  };
311
311
  };
312
+ } | {
313
+ __absolute: {
314
+ requests: {
315
+ get: {
316
+ body: unknown;
317
+ params: {};
318
+ query: unknown;
319
+ headers: unknown;
320
+ response: {
321
+ 200: import("..").RequestRecord[];
322
+ };
323
+ error: never;
324
+ };
325
+ };
326
+ "mobile-preview": {
327
+ get: {
328
+ body: unknown;
329
+ params: {};
330
+ query: unknown;
331
+ headers: unknown;
332
+ response: {
333
+ 200: Response;
334
+ };
335
+ error: never;
336
+ };
337
+ };
338
+ "mobile-preview-telemetry": {
339
+ post: {
340
+ body: unknown;
341
+ params: {};
342
+ query: unknown;
343
+ headers: unknown;
344
+ response: {
345
+ 400: {
346
+ readonly error: "invalid-preview-telemetry";
347
+ };
348
+ 204: "No Content";
349
+ };
350
+ error: never;
351
+ };
352
+ };
353
+ "native-device-adapter.js": {
354
+ get: {
355
+ body: unknown;
356
+ params: {};
357
+ query: unknown;
358
+ headers: unknown;
359
+ response: {
360
+ 200: Response;
361
+ };
362
+ error: never;
363
+ };
364
+ };
365
+ };
366
+ ".well-known": {
367
+ appspecific: {
368
+ "com.chrome.devtools.json": {
369
+ get: {
370
+ body: unknown;
371
+ params: {};
372
+ query: unknown;
373
+ headers: unknown;
374
+ response: {
375
+ 200: {
376
+ workspace: {
377
+ root: string;
378
+ uuid: string;
379
+ };
380
+ };
381
+ };
382
+ error: never;
383
+ };
384
+ };
385
+ };
386
+ };
387
+ "@src": {
388
+ "*": {
389
+ get: {
390
+ body: unknown;
391
+ params: {
392
+ "*": string;
393
+ } & {};
394
+ query: unknown;
395
+ headers: unknown;
396
+ response: {};
397
+ error: never;
398
+ };
399
+ };
400
+ };
401
+ "@stub": {
402
+ "*": {
403
+ get: {
404
+ body: unknown;
405
+ params: {
406
+ "*": string;
407
+ } & {};
408
+ query: unknown;
409
+ headers: unknown;
410
+ response: {};
411
+ error: never;
412
+ };
413
+ };
414
+ };
415
+ "@hmr": {
416
+ "*": {
417
+ get: {
418
+ body: unknown;
419
+ params: {
420
+ "*": string;
421
+ } & {};
422
+ query: unknown;
423
+ headers: unknown;
424
+ response: {};
425
+ error: never;
426
+ };
427
+ };
428
+ };
429
+ "@ng": {
430
+ "*": {
431
+ get: {
432
+ body: unknown;
433
+ params: {
434
+ "*": string;
435
+ } & {};
436
+ query: unknown;
437
+ headers: unknown;
438
+ response: {
439
+ 200: Response;
440
+ };
441
+ error: never;
442
+ };
443
+ };
444
+ };
445
+ hmr: {
446
+ subscribe: {
447
+ body: unknown;
448
+ headers: unknown;
449
+ query: unknown;
450
+ params: {};
451
+ response: {};
452
+ };
453
+ };
454
+ "hmr-status": {
455
+ get: {
456
+ body: unknown;
457
+ params: {};
458
+ query: unknown;
459
+ headers: unknown;
460
+ response: {
461
+ 200: {
462
+ connectedClients: number;
463
+ connectedTargets: {
464
+ [k: string]: number;
465
+ };
466
+ entryWatcherReady: boolean;
467
+ isRebuilding: boolean;
468
+ manifestKeys: string[];
469
+ rebuildCount: number;
470
+ rebuildQueue: string[];
471
+ timestamp: number;
472
+ };
473
+ };
474
+ error: never;
475
+ };
476
+ };
477
+ } | {
478
+ [x: string]: {
479
+ get: {
480
+ body: unknown;
481
+ params: {};
482
+ query: unknown;
483
+ headers: unknown;
484
+ response: {};
485
+ error: never;
486
+ };
487
+ };
488
+ __absolute: {
489
+ requests: {
490
+ get: {
491
+ body: unknown;
492
+ params: {};
493
+ query: unknown;
494
+ headers: unknown;
495
+ response: {
496
+ 200: import("..").RequestRecord[];
497
+ };
498
+ error: never;
499
+ };
500
+ };
501
+ "mobile-preview": {
502
+ get: {
503
+ body: unknown;
504
+ params: {};
505
+ query: unknown;
506
+ headers: unknown;
507
+ response: {
508
+ 200: Response;
509
+ };
510
+ error: never;
511
+ };
512
+ };
513
+ "mobile-preview-telemetry": {
514
+ post: {
515
+ body: unknown;
516
+ params: {};
517
+ query: unknown;
518
+ headers: unknown;
519
+ response: {
520
+ 400: {
521
+ readonly error: "invalid-preview-telemetry";
522
+ };
523
+ 204: "No Content";
524
+ };
525
+ error: never;
526
+ };
527
+ };
528
+ "native-device-adapter.js": {
529
+ get: {
530
+ body: unknown;
531
+ params: {};
532
+ query: unknown;
533
+ headers: unknown;
534
+ response: {
535
+ 200: Response;
536
+ };
537
+ error: never;
538
+ };
539
+ };
540
+ };
541
+ ".well-known": {
542
+ appspecific: {
543
+ "com.chrome.devtools.json": {
544
+ get: {
545
+ body: unknown;
546
+ params: {};
547
+ query: unknown;
548
+ headers: unknown;
549
+ response: {
550
+ 200: {
551
+ workspace: {
552
+ root: string;
553
+ uuid: string;
554
+ };
555
+ };
556
+ };
557
+ error: never;
558
+ };
559
+ };
560
+ };
561
+ };
562
+ "@src": {
563
+ "*": {
564
+ get: {
565
+ body: unknown;
566
+ params: {
567
+ "*": string;
568
+ } & {};
569
+ query: unknown;
570
+ headers: unknown;
571
+ response: {};
572
+ error: never;
573
+ };
574
+ };
575
+ };
576
+ "@stub": {
577
+ "*": {
578
+ get: {
579
+ body: unknown;
580
+ params: {
581
+ "*": string;
582
+ } & {};
583
+ query: unknown;
584
+ headers: unknown;
585
+ response: {};
586
+ error: never;
587
+ };
588
+ };
589
+ };
590
+ "@hmr": {
591
+ "*": {
592
+ get: {
593
+ body: unknown;
594
+ params: {
595
+ "*": string;
596
+ } & {};
597
+ query: unknown;
598
+ headers: unknown;
599
+ response: {};
600
+ error: never;
601
+ };
602
+ };
603
+ };
604
+ "@ng": {
605
+ "*": {
606
+ get: {
607
+ body: unknown;
608
+ params: {
609
+ "*": string;
610
+ } & {};
611
+ query: unknown;
612
+ headers: unknown;
613
+ response: {
614
+ 200: Response;
615
+ };
616
+ error: never;
617
+ };
618
+ };
619
+ };
620
+ hmr: {
621
+ subscribe: {
622
+ body: unknown;
623
+ headers: unknown;
624
+ query: unknown;
625
+ params: {};
626
+ response: {};
627
+ };
628
+ };
629
+ "hmr-status": {
630
+ get: {
631
+ body: unknown;
632
+ params: {};
633
+ query: unknown;
634
+ headers: unknown;
635
+ response: {
636
+ 200: {
637
+ connectedClients: number;
638
+ connectedTargets: {
639
+ [k: string]: number;
640
+ };
641
+ entryWatcherReady: boolean;
642
+ isRebuilding: boolean;
643
+ manifestKeys: string[];
644
+ rebuildCount: number;
645
+ rebuildQueue: string[];
646
+ timestamp: number;
647
+ };
648
+ };
649
+ error: never;
650
+ };
651
+ };
312
652
  }) & {}, import("elysia/types").DefaultEphemeral, {
313
653
  derive: {};
314
654
  schema: {};
@@ -19,6 +19,7 @@ export * from './config';
19
19
  export * from './client';
20
20
  export * from './compatibilityDispatcher';
21
21
  export * from './materializedBundle';
22
+ export * from './mobilePreview';
22
23
  export * from './nativeDeepLinks';
23
24
  export * from './nativeDeviceCapabilities';
24
25
  export * from './nativeAuth';
@@ -28,4 +29,5 @@ export * from './releaseArtifact';
28
29
  export * from './releasePublisher';
29
30
  export * from './routeMetadataTransform';
30
31
  export * from './routeMatcher';
32
+ export * from './shellHttp';
31
33
  export * from './transport';
@@ -0,0 +1,174 @@
1
+ import { Elysia } from 'elysia';
2
+ import type { MobileConfig } from '../../types/build';
3
+ export declare const ABSOLUTE_MOBILE_PREVIEW_PATH: "/__absolute/mobile-preview";
4
+ export declare const absoluteMobilePreviewDocument: (mobile: MobileConfig) => string;
5
+ export declare const createAbsoluteMobilePreviewPlugin: (mobile: MobileConfig | undefined) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
6
+ typebox: {};
7
+ error: [];
8
+ }, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral> | import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
9
+ typebox: {};
10
+ error: [];
11
+ }, import("elysia/types").DefaultMetadata, {
12
+ __absolute: {
13
+ "mobile-preview": {
14
+ get: {
15
+ body: unknown;
16
+ params: {};
17
+ query: unknown;
18
+ headers: unknown;
19
+ response: {
20
+ 200: Response;
21
+ };
22
+ error: never;
23
+ };
24
+ };
25
+ };
26
+ }, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "post", "/__absolute/mobile-preview-telemetry", import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, "/__absolute/mobile-preview-telemetry">, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, ({ body, status }: {
27
+ body: unknown;
28
+ query: Record<string, string | undefined>;
29
+ params: {};
30
+ headers: Record<string, string | undefined>;
31
+ cookie: Record<string, import("elysia").Cookie<unknown>>;
32
+ server: import("elysia").Server | null;
33
+ redirect: import("elysia").redirect;
34
+ set: {
35
+ headers: import("elysia").HTTPHeaders;
36
+ status?: number | keyof import("elysia").StatusMap;
37
+ cookie?: Record<string, import("elysia").BaseCookie>;
38
+ };
39
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 500 | 100 | 200 | 400 | 404 | 300 | 304 | 426 | 204 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 301 | 302 | 303 | 307 | 308 | 401 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
40
+ readonly 100: "Continue";
41
+ readonly 101: "Switching Protocols";
42
+ readonly 102: "Processing";
43
+ readonly 103: "Early Hints";
44
+ readonly 200: "OK";
45
+ readonly 201: "Created";
46
+ readonly 202: "Accepted";
47
+ readonly 203: "Non-Authoritative Information";
48
+ readonly 204: "No Content";
49
+ readonly 205: "Reset Content";
50
+ readonly 206: "Partial Content";
51
+ readonly 207: "Multi-Status";
52
+ readonly 208: "Already Reported";
53
+ readonly 300: "Multiple Choices";
54
+ readonly 301: "Moved Permanently";
55
+ readonly 302: "Found";
56
+ readonly 303: "See Other";
57
+ readonly 304: "Not Modified";
58
+ readonly 307: "Temporary Redirect";
59
+ readonly 308: "Permanent Redirect";
60
+ readonly 400: "Bad Request";
61
+ readonly 401: "Unauthorized";
62
+ readonly 402: "Payment Required";
63
+ readonly 403: "Forbidden";
64
+ readonly 404: "Not Found";
65
+ readonly 405: "Method Not Allowed";
66
+ readonly 406: "Not Acceptable";
67
+ readonly 407: "Proxy Authentication Required";
68
+ readonly 408: "Request Timeout";
69
+ readonly 409: "Conflict";
70
+ readonly 410: "Gone";
71
+ readonly 411: "Length Required";
72
+ readonly 412: "Precondition Failed";
73
+ readonly 413: "Payload Too Large";
74
+ readonly 414: "URI Too Long";
75
+ readonly 415: "Unsupported Media Type";
76
+ readonly 416: "Range Not Satisfiable";
77
+ readonly 417: "Expectation Failed";
78
+ readonly 418: "I'm a teapot";
79
+ readonly 420: "Enhance Your Calm";
80
+ readonly 421: "Misdirected Request";
81
+ readonly 422: "Unprocessable Content";
82
+ readonly 423: "Locked";
83
+ readonly 424: "Failed Dependency";
84
+ readonly 425: "Too Early";
85
+ readonly 426: "Upgrade Required";
86
+ readonly 428: "Precondition Required";
87
+ readonly 429: "Too Many Requests";
88
+ readonly 431: "Request Header Fields Too Large";
89
+ readonly 451: "Unavailable For Legal Reasons";
90
+ readonly 500: "Internal Server Error";
91
+ readonly 501: "Not Implemented";
92
+ readonly 502: "Bad Gateway";
93
+ readonly 503: "Service Unavailable";
94
+ readonly 504: "Gateway Timeout";
95
+ readonly 505: "HTTP Version Not Supported";
96
+ readonly 506: "Variant Also Negotiates";
97
+ readonly 507: "Insufficient Storage";
98
+ readonly 508: "Loop Detected";
99
+ readonly 510: "Not Extended";
100
+ readonly 511: "Network Authentication Required";
101
+ }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaStatus<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
102
+ readonly Continue: 100;
103
+ readonly "Switching Protocols": 101;
104
+ readonly Processing: 102;
105
+ readonly "Early Hints": 103;
106
+ readonly OK: 200;
107
+ readonly Created: 201;
108
+ readonly Accepted: 202;
109
+ readonly "Non-Authoritative Information": 203;
110
+ readonly "No Content": 204;
111
+ readonly "Reset Content": 205;
112
+ readonly "Partial Content": 206;
113
+ readonly "Multi-Status": 207;
114
+ readonly "Already Reported": 208;
115
+ readonly "Multiple Choices": 300;
116
+ readonly "Moved Permanently": 301;
117
+ readonly Found: 302;
118
+ readonly "See Other": 303;
119
+ readonly "Not Modified": 304;
120
+ readonly "Temporary Redirect": 307;
121
+ readonly "Permanent Redirect": 308;
122
+ readonly "Bad Request": 400;
123
+ readonly Unauthorized: 401;
124
+ readonly "Payment Required": 402;
125
+ readonly Forbidden: 403;
126
+ readonly "Not Found": 404;
127
+ readonly "Method Not Allowed": 405;
128
+ readonly "Not Acceptable": 406;
129
+ readonly "Proxy Authentication Required": 407;
130
+ readonly "Request Timeout": 408;
131
+ readonly Conflict: 409;
132
+ readonly Gone: 410;
133
+ readonly "Length Required": 411;
134
+ readonly "Precondition Failed": 412;
135
+ readonly "Payload Too Large": 413;
136
+ readonly "URI Too Long": 414;
137
+ readonly "Unsupported Media Type": 415;
138
+ readonly "Range Not Satisfiable": 416;
139
+ readonly "Expectation Failed": 417;
140
+ readonly "I'm a teapot": 418;
141
+ readonly "Enhance Your Calm": 420;
142
+ readonly "Misdirected Request": 421;
143
+ readonly "Unprocessable Content": 422;
144
+ readonly Locked: 423;
145
+ readonly "Failed Dependency": 424;
146
+ readonly "Too Early": 425;
147
+ readonly "Upgrade Required": 426;
148
+ readonly "Precondition Required": 428;
149
+ readonly "Too Many Requests": 429;
150
+ readonly "Request Header Fields Too Large": 431;
151
+ readonly "Unavailable For Legal Reasons": 451;
152
+ readonly "Internal Server Error": 500;
153
+ readonly "Not Implemented": 501;
154
+ readonly "Bad Gateway": 502;
155
+ readonly "Service Unavailable": 503;
156
+ readonly "Gateway Timeout": 504;
157
+ readonly "HTTP Version Not Supported": 505;
158
+ readonly "Variant Also Negotiates": 506;
159
+ readonly "Insufficient Storage": 507;
160
+ readonly "Loop Detected": 508;
161
+ readonly "Not Extended": 510;
162
+ readonly "Network Authentication Required": 511;
163
+ }[Code] : Code>;
164
+ defer: (fn: import("elysia/types").AfterResponseHandler<NoInfer<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, "/__absolute/mobile-preview-telemetry">, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>>, NoInfer<import("elysia/types").DefaultSingleton & {
165
+ derive: {};
166
+ }>>) => import("elysia/types").MaybePromise<void>;
167
+ readonly path: string;
168
+ route?: string | undefined;
169
+ rid?: string | undefined;
170
+ request: Request;
171
+ store: {};
172
+ }) => import("elysia").ElysiaStatus<400, {
173
+ readonly error: "invalid-preview-telemetry";
174
+ }, 400> | import("elysia").ElysiaStatus<204, "No Content", 204>>;
@@ -0,0 +1 @@
1
+ export declare const installAbsoluteMobilePreview: () => void;
@@ -0,0 +1,2 @@
1
+ import { type AbsoluteHttpFetch } from '@absolutejs/http';
2
+ export declare const installAbsoluteMobileShellHttp: (origin: string, fetch?: AbsoluteHttpFetch) => () => void;
@@ -19,7 +19,7 @@ export declare const imageOptimizer: (config: ImageConfig | undefined, buildDir:
19
19
  status?: number | keyof import("elysia").StatusMap;
20
20
  cookie?: Record<string, import("elysia").BaseCookie>;
21
21
  };
22
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 500 | 100 | 200 | 400 | 404 | 300 | 304 | 426 | 204 | 302 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 301 | 303 | 307 | 308 | 401 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
22
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 500 | 100 | 200 | 400 | 404 | 300 | 304 | 426 | 204 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 301 | 302 | 303 | 307 | 308 | 401 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
23
23
  readonly 100: "Continue";
24
24
  readonly 101: "Switching Protocols";
25
25
  readonly 102: "Processing";
@@ -1,5 +1,5 @@
1
1
  import { Breakpoint, Breakpoints } from '../../../types/mediaQuery';
2
- export declare const UserAgentProvider: import("react").Provider<"console" | "other" | "bot" | "phone" | "tablet" | "tv" | "car" | "iot" | "desktop" | null>;
2
+ export declare const UserAgentProvider: import("react").Provider<"console" | "other" | "phone" | "tablet" | "desktop" | "bot" | "tv" | "car" | "iot" | null>;
3
3
  export declare const useMediaQuery: (customBreakpoints?: Breakpoints) => {
4
4
  breakpoint: string;
5
5
  isSizeOrGreater: (target: Breakpoint) => boolean;
@@ -15,6 +15,7 @@ export declare const logReady: (options: {
15
15
  port: string | number;
16
16
  host: string;
17
17
  networkUrl?: string;
18
+ mobilePreviewUrl?: string;
18
19
  protocol?: string;
19
20
  }) => void;
20
21
  /**
@@ -6,5 +6,6 @@ export declare const startupBanner: (options: {
6
6
  port: string | number;
7
7
  host: string;
8
8
  networkUrl?: string;
9
+ mobilePreviewUrl?: string;
9
10
  protocol?: string;
10
11
  }) => void;
@@ -1 +1 @@
1
- export declare const getUserAgentType: (userAgent: string) => "console" | "other" | "bot" | "phone" | "tablet" | "tv" | "car" | "iot" | "desktop";
1
+ export declare const getUserAgentType: (userAgent: string) => "console" | "other" | "phone" | "tablet" | "desktop" | "bot" | "tv" | "car" | "iot";
@@ -1906,6 +1906,7 @@ var colors, MONTHS, formatTimestamp = () => {
1906
1906
  port,
1907
1907
  host,
1908
1908
  networkUrl,
1909
+ mobilePreviewUrl,
1909
1910
  protocol = "http"
1910
1911
  } = options;
1911
1912
  const name = `${colors.cyan}${colors.bold}ABSOLUTEJS${colors.reset}`;
@@ -1919,6 +1920,9 @@ var colors, MONTHS, formatTimestamp = () => {
1919
1920
  if (networkUrl) {
1920
1921
  console.log(` ${colors.green}\u279C${colors.reset} ${colors.bold}Network:${colors.reset} ${networkUrl}`);
1921
1922
  }
1923
+ if (mobilePreviewUrl) {
1924
+ console.log(` ${colors.green}\u279C${colors.reset} ${colors.bold}Mobile:${colors.reset} ${mobilePreviewUrl}`);
1925
+ }
1922
1926
  console.log("");
1923
1927
  };
1924
1928
  var init_startupBanner = __esm(() => {
@@ -5028,5 +5032,5 @@ export {
5028
5032
  createTypedIsland
5029
5033
  };
5030
5034
 
5031
- //# debugId=505E54839FC4D87364756E2164756E21
5035
+ //# debugId=3E3D5F46B1EEB57764756E2164756E21
5032
5036
  //# sourceMappingURL=index.js.map