@alfalab/bridge-to-native 0.1.0 → 0.2.0

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.
package/constants.js CHANGED
@@ -19,12 +19,14 @@ exports.nativeFeaturesFromVersion = {
19
19
  fromVersion: '11.71.0',
20
20
  },
21
21
  geolocation: { fromVersion: '11.71.0' },
22
+ savedBackStack: { fromVersion: '12.29.03' },
22
23
  },
23
24
  ios: {
24
25
  linksInBrowser: {
25
26
  fromVersion: '13.3.0',
26
27
  },
27
28
  geolocation: { fromVersion: '0.0.0' },
29
+ savedBackStack: { fromVersion: '0.0.0' }
28
30
  },
29
31
  };
30
32
  exports.DEEP_LINK_PATTERN = /^(\/|\x61\x6c\x66\x61\x62\x61\x6e\x6b:\/{3}dashboard\/|\x61\x6c\x66\x61\x62\x61\x6e\x6b:\/{3}|\x61\x6c\x66\x61\x62\x61\x6e\x6b:\/{2}|https:\/{2}\x6f\x6e\x6c\x69\x6e\x65\x2e\x61\x6c\x66\x61\x62\x61\x6e\x6b\x2e\x72\x75\/)/;
package/esm/constants.js CHANGED
@@ -16,12 +16,14 @@ export const nativeFeaturesFromVersion = {
16
16
  fromVersion: '11.71.0',
17
17
  },
18
18
  geolocation: { fromVersion: '11.71.0' },
19
+ savedBackStack: { fromVersion: '12.29.03' },
19
20
  },
20
21
  ios: {
21
22
  linksInBrowser: {
22
23
  fromVersion: '13.3.0',
23
24
  },
24
25
  geolocation: { fromVersion: '0.0.0' },
26
+ savedBackStack: { fromVersion: '0.0.0' }
25
27
  },
26
28
  };
27
29
  export const DEEP_LINK_PATTERN = /^(\/|\x61\x6c\x66\x61\x62\x61\x6e\x6b:\/{3}dashboard\/|\x61\x6c\x66\x61\x62\x61\x6e\x6b:\/{3}|\x61\x6c\x66\x61\x62\x61\x6e\x6b:\/{2}|https:\/{2}\x6f\x6e\x6c\x69\x6e\x65\x2e\x61\x6c\x66\x61\x62\x61\x6e\x6b\x2e\x72\x75\/)/;
package/esm/types.d.ts CHANGED
@@ -6,7 +6,7 @@ export declare type NativeParams = {
6
6
  nextPageId: number | null;
7
7
  originalWebviewParams: string;
8
8
  };
9
- export declare type NativeFeatureKey = 'geolocation' | 'linksInBrowser';
9
+ export declare type NativeFeatureKey = 'geolocation' | 'linksInBrowser' | 'savedBackStack';
10
10
  declare type NativeFeaturesParams = Readonly<Record<NativeFeatureKey, {
11
11
  fromVersion: string;
12
12
  }>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "UNLICENSED",
3
3
  "name": "@alfalab/bridge-to-native",
4
- "version": "0.1.0",
4
+ "version": "0.2.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/core-ds/bridge-to-native.git"
package/types.d.ts CHANGED
@@ -6,7 +6,7 @@ export declare type NativeParams = {
6
6
  nextPageId: number | null;
7
7
  originalWebviewParams: string;
8
8
  };
9
- export declare type NativeFeatureKey = 'geolocation' | 'linksInBrowser';
9
+ export declare type NativeFeatureKey = 'geolocation' | 'linksInBrowser' | 'savedBackStack';
10
10
  declare type NativeFeaturesParams = Readonly<Record<NativeFeatureKey, {
11
11
  fromVersion: string;
12
12
  }>>;