@absolutejs/absolute 0.20.0-beta.27 → 0.20.0-beta.28

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.
@@ -441,6 +441,17 @@ var initialNavigationPath = (entry) => {
441
441
  return current === "/" || current === "/index.html" ? entry : current;
442
442
  };
443
443
  var navigationGeneration = 0;
444
+ var notifyCapacitorSystemBarsDomReady = () => {
445
+ const provider = Reflect.get(globalThis, "CapacitorSystemBarsAndroidInterface");
446
+ if (typeof provider !== "object" || provider === null)
447
+ return;
448
+ const onDOMReady = Reflect.get(provider, "onDOMReady");
449
+ if (typeof onDOMReady !== "function")
450
+ return;
451
+ try {
452
+ onDOMReady.call(provider);
453
+ } catch {}
454
+ };
444
455
  var readManifest = async () => {
445
456
  const response = await fetch(MANIFEST_PATH, { cache: "no-store" });
446
457
  if (!response.ok) {
@@ -558,6 +569,7 @@ var navigateWithFailureState = async (manifest, path, pushHistory, reinstallBrow
558
569
  }
559
570
  };
560
571
  var startAbsoluteMobileShell = async (options = {}) => {
572
+ notifyCapacitorSystemBarsDomReady();
561
573
  const manifest = await readManifest();
562
574
  const auth = manifest.auth && options.createAuth ? await options.createAuth(manifest.auth, {
563
575
  beforeSignOut: options.beforeSignOut
@@ -1,5 +1,6 @@
1
1
  import type { BuildConfig } from '../../types/build';
2
2
  declare const FRAMEWORK_DIR_KEYS: readonly ["reactDirectory", "svelteDirectory", "vueDirectory", "htmlDirectory", "htmxDirectory", "angularDirectory"];
3
+ export declare const collectDepVendorSourceDirs: (config: BuildConfig) => string[];
3
4
  /** Result of `detectConfigChanges`: which framework dir keys were
4
5
  * added and which were removed in the new config. The additive case
5
6
  * is handled in-place by this function (vendor paths set, watchers
@@ -37,6 +37,18 @@ export declare const prepare: (configOrPath?: string) => Promise<{
37
37
  error: never;
38
38
  };
39
39
  };
40
+ "native-device-adapter.js": {
41
+ get: {
42
+ body: unknown;
43
+ params: {};
44
+ query: unknown;
45
+ headers: unknown;
46
+ response: {
47
+ 200: Response;
48
+ };
49
+ error: never;
50
+ };
51
+ };
40
52
  };
41
53
  ".well-known": {
42
54
  appspecific: {
@@ -173,6 +185,18 @@ export declare const prepare: (configOrPath?: string) => Promise<{
173
185
  error: never;
174
186
  };
175
187
  };
188
+ "native-device-adapter.js": {
189
+ get: {
190
+ body: unknown;
191
+ params: {};
192
+ query: unknown;
193
+ headers: unknown;
194
+ response: {
195
+ 200: Response;
196
+ };
197
+ error: never;
198
+ };
199
+ };
176
200
  };
177
201
  ".well-known": {
178
202
  appspecific: {
@@ -25,6 +25,7 @@ export type AbsoluteAndroidWebViewSession = {
25
25
  screenshot: (path: string) => Promise<string>;
26
26
  serial: string;
27
27
  socket: string;
28
+ tap: (x: number, y: number) => Promise<void>;
28
29
  target: CdpTarget;
29
30
  waitFor: <T>(expression: string, options?: {
30
31
  timeoutMs?: number;
@@ -0,0 +1,3 @@
1
+ import type { MobileConfig } from '../../types/build';
2
+ export declare const absoluteNativeDevAdapterSource: (projectRoot: string, mobile: MobileConfig, resolveModule?: (specifier: string) => string) => string;
3
+ export declare const buildAbsoluteNativeDevAdapter: (projectRoot: string, mobile: MobileConfig) => Promise<string>;
package/package.json CHANGED
@@ -502,7 +502,7 @@
502
502
  ]
503
503
  }
504
504
  },
505
- "version": "0.20.0-beta.27",
505
+ "version": "0.20.0-beta.28",
506
506
  "workspaces": [
507
507
  "tests/fixtures/*",
508
508
  "tests/fixtures/_packages/*"