@absolutejs/absolute 0.20.0-beta.138 → 0.20.0-beta.139

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.
@@ -1,15 +1,15 @@
1
1
  // @bun
2
2
  import {
3
3
  start2
4
- } from "./index-xv9msedx.js";
5
- import"./index-s9374tcg.js";
4
+ } from "./index-h078vn9f.js";
5
+ import"./index-fezxjrgd.js";
6
6
  import"./index-e6ysp900.js";
7
7
  import"./index-71gchbzt.js";
8
8
  import"./index-h7qhz02e.js";
9
9
  import"./index-qyxd5n9a.js";
10
10
  import"./index-43a1vvb7.js";
11
11
  import"./index-t7yf3vxs.js";
12
- import"./index-g407dg4f.js";
12
+ import"./index-nrtt3x67.js";
13
13
  import"./index-pch0v1z6.js";
14
14
  import"./index-v4cg4dvm.js";
15
15
  import"./index-74m7kh8c.js";
package/dist/index.js CHANGED
@@ -11687,13 +11687,19 @@ var DEVICES_PACKAGE = "@absolutejs/devices", ABSOLUTE_MOBILE_SHELL_DEVICE_CAPABI
11687
11687
  ...new Set(plan.capabilities.flatMap((name) => plan.providers[name]?.native?.ios?.usageDescriptions ?? []))
11688
11688
  ].sort()
11689
11689
  };
11690
+ }, resolveAdapterManifest = (adapter, provider) => {
11691
+ try {
11692
+ return fileURLToPath2(import.meta.resolve(`${adapter}/package.json`));
11693
+ } catch {
11694
+ throw new TypeError(`${adapter} is not installed. Run \`absolute mobile init\` to install the ${provider === "expo" ? "Expo" : "Capacitor"} device adapters.`);
11695
+ }
11690
11696
  }, loadAbsoluteDeviceCapabilityProviders = (projectRoot, provider = "capacitor") => {
11691
11697
  const adapter = ADAPTERS[provider];
11692
11698
  let path = join15(resolve14(projectRoot), "node_modules", adapter, "package.json");
11693
11699
  try {
11694
11700
  readFileSync14(path, "utf8");
11695
11701
  } catch {
11696
- path = fileURLToPath2(import.meta.resolve(`${adapter}/package.json`));
11702
+ path = resolveAdapterManifest(adapter, provider);
11697
11703
  }
11698
11704
  const manifest = readJson(path);
11699
11705
  const { absolutejs } = manifest;
@@ -43826,5 +43832,5 @@ export {
43826
43832
  wrapPageHandlerWithStreamingSlots
43827
43833
  };
43828
43834
 
43829
- //# debugId=3CF62DC116A4C34564756E2164756E21
43835
+ //# debugId=270D4D9EDE92886364756E2164756E21
43830
43836
  //# sourceMappingURL=index.js.map