@aws-amplify/react-native 1.0.17-unstable.5c56101.0 → 1.0.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/react-native",
3
- "version": "1.0.17-unstable.5c56101.0+5c56101",
3
+ "version": "1.0.17",
4
4
  "description": "React Native core module for aws-amplify",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",
@@ -32,8 +32,8 @@
32
32
  "react-native-get-random-values": ">=1.9.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@aws-amplify/rtn-push-notification": "1.2.17-unstable.5c56101.0+5c56101",
36
- "@aws-amplify/rtn-web-browser": "1.0.17-unstable.5c56101.0+5c56101",
35
+ "@aws-amplify/rtn-push-notification": "1.2.17",
36
+ "@aws-amplify/rtn-web-browser": "1.0.17",
37
37
  "@react-native-async-storage/async-storage": "^1.17.12",
38
38
  "@react-native-community/netinfo": "4.7.0",
39
39
  "@types/base-64": "1.0.0",
@@ -60,5 +60,5 @@
60
60
  "src"
61
61
  ],
62
62
  "source": "src/index",
63
- "gitHead": "5c561018aedcff314e68b3dd385fe9bd9ff93150"
63
+ "gitHead": "c54a19c8a654a47d559cb0fd41c74bd2c3eb79ca"
64
64
  }
@@ -13,7 +13,7 @@ export const loadAmplifyPushNotification = () => {
13
13
  }
14
14
 
15
15
  throw new Error(
16
- 'Ensure `@aws-amplify/rtn-push-notification` is installed and linked.'
16
+ 'Ensure `@aws-amplify/rtn-push-notification` is installed and linked.',
17
17
  );
18
18
  } catch (e) {
19
19
  // The error parsing logic cannot be extracted with metro as the `require`
@@ -21,7 +21,7 @@ export const loadAmplifyPushNotification = () => {
21
21
  // another module and that causes an error
22
22
  const message = (e as Error).message.replace(
23
23
  /undefined/g,
24
- '@aws-amplify/rtn-push-notification'
24
+ '@aws-amplify/rtn-push-notification',
25
25
  );
26
26
  throw new Error(message);
27
27
  }
@@ -13,7 +13,7 @@ export const loadAmplifyWebBrowser = () => {
13
13
  }
14
14
 
15
15
  throw new Error(
16
- 'Ensure `@aws-amplify/rtn-web-browser` is installed and linked.'
16
+ 'Ensure `@aws-amplify/rtn-web-browser` is installed and linked.',
17
17
  );
18
18
  } catch (e) {
19
19
  // The error parsing logic cannot be extracted with metro as the `require`
@@ -21,7 +21,7 @@ export const loadAmplifyWebBrowser = () => {
21
21
  // another module and that causes an error
22
22
  const message = (e as Error).message.replace(
23
23
  /undefined/g,
24
- '@aws-amplify/rtn-web-browser'
24
+ '@aws-amplify/rtn-web-browser',
25
25
  );
26
26
  throw new Error(message);
27
27
  }
@@ -14,7 +14,7 @@ export const loadAsyncStorage = (): AsyncStorageStatic => {
14
14
  }
15
15
 
16
16
  throw new Error(
17
- 'Ensure `@react-native-async-storage/async-storage` is installed and linked.'
17
+ 'Ensure `@react-native-async-storage/async-storage` is installed and linked.',
18
18
  );
19
19
  } catch (e) {
20
20
  // The error parsing logic cannot be extracted with metro as the `require`
@@ -22,7 +22,7 @@ export const loadAsyncStorage = (): AsyncStorageStatic => {
22
22
  // another module and that causes an error
23
23
  const message = (e as Error).message.replace(
24
24
  /undefined/g,
25
- '@react-native-async-storage/async-storage'
25
+ '@react-native-async-storage/async-storage',
26
26
  );
27
27
  throw new Error(message);
28
28
  }
@@ -12,7 +12,7 @@ export const loadGetRandomValues = () => {
12
12
  // another module and that causes error
13
13
  const message = (e as Error).message.replace(
14
14
  /undefined/g,
15
- 'react-native-get-random-values'
15
+ 'react-native-get-random-values',
16
16
  );
17
17
  throw new Error(message);
18
18
  }
@@ -16,7 +16,7 @@ export const loadNetInfo = (): NetInfoModule => {
16
16
  }
17
17
 
18
18
  throw new Error(
19
- 'Ensure `@react-native-community/netinfo` is installed and linked.'
19
+ 'Ensure `@react-native-community/netinfo` is installed and linked.',
20
20
  );
21
21
  } catch (e) {
22
22
  // The error parsing logic cannot be extract as with metro the `require`
@@ -24,7 +24,7 @@ export const loadNetInfo = (): NetInfoModule => {
24
24
  // another module and that causes error
25
25
  const message = (e as Error).message.replace(
26
26
  /undefined/g,
27
- '@react-native-community/netinfo'
27
+ '@react-native-community/netinfo',
28
28
  );
29
29
  throw new Error(message);
30
30
  }
@@ -12,7 +12,7 @@ export const loadUrlPolyfill = () => {
12
12
  // another module and that causes error
13
13
  const message = (e as Error).message.replace(
14
14
  /undefined/g,
15
- 'react-native-url-polyfill'
15
+ 'react-native-url-polyfill',
16
16
  );
17
17
  throw new Error(message);
18
18
  }
@@ -18,5 +18,5 @@ export const nativeModule: RTNCore = NativeModules.AmplifyRTNCore
18
18
  get() {
19
19
  throw new Error(LINKING_ERROR);
20
20
  },
21
- }
22
- );
21
+ },
22
+ );