@absolutejs/absolute 0.20.0-beta.46 → 0.20.0-beta.47

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.
@@ -7,12 +7,12 @@ var bridge = () => {
7
7
  }
8
8
  return {
9
9
  on: (event, listener) => {
10
- const on = Reflect.get(value, "on");
11
- if (typeof on !== "function")
10
+ const eventRegistrar = Reflect.get(value, "on");
11
+ if (typeof eventRegistrar !== "function")
12
12
  return () => {
13
13
  return;
14
14
  };
15
- const subscription = Reflect.apply(on, value, [
15
+ const subscription = Reflect.apply(eventRegistrar, value, [
16
16
  event,
17
17
  listener
18
18
  ]);
@@ -7,12 +7,12 @@ var bridge = () => {
7
7
  }
8
8
  return {
9
9
  on: (event, listener) => {
10
- const on = Reflect.get(value, "on");
11
- if (typeof on !== "function")
10
+ const eventRegistrar = Reflect.get(value, "on");
11
+ if (typeof eventRegistrar !== "function")
12
12
  return () => {
13
13
  return;
14
14
  };
15
- const subscription = Reflect.apply(on, value, [
15
+ const subscription = Reflect.apply(eventRegistrar, value, [
16
16
  event,
17
17
  listener
18
18
  ]);
@@ -100,7 +100,10 @@ export type ExpoMobileConfig = MobileSharedConfig & {
100
100
  routes?: {
101
101
  /** Unclaimed routes remain ordinary AbsoluteJS web routes. */
102
102
  default?: 'web';
103
- /** Absolute route path to a React Native module, relative to the app root. */
103
+ /**
104
+ * Absolute route pattern to a React Native module, relative to the app root.
105
+ * Named `:params` match one segment; a final `*` matches one or more.
106
+ */
104
107
  native?: Readonly<Record<string, string>>;
105
108
  };
106
109
  expo?: {
package/package.json CHANGED
@@ -508,7 +508,7 @@
508
508
  ]
509
509
  }
510
510
  },
511
- "version": "0.20.0-beta.46",
511
+ "version": "0.20.0-beta.47",
512
512
  "workspaces": [
513
513
  "tests/fixtures/*",
514
514
  "tests/fixtures/_packages/*"