@knocklabs/expo 0.3.15 → 0.3.16

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @knocklabs/expo
2
2
 
3
+ ## 0.3.16
4
+
5
+ ### Patch Changes
6
+
7
+ - e367c6f: Fix `ReferenceError` raised on feed initialization
8
+
9
+ @knocklabs/react-native@0.6.13 and @knocklabs/expo@0.3.13 contained a bug in which the error
10
+ `ReferenceError: Property 'crypto' doesn't exist` would occur when initializing a feed via any of
11
+ the following methods:
12
+
13
+ - The `KnockFeedProvider` context provider
14
+ - The `useNotifications` hook
15
+ - A call to `knock.feeds.initialize()`
16
+
17
+ This has been fixed by adding
18
+ [react-native-get-random-values](https://github.com/LinusU/react-native-get-random-values) as a
19
+ dependency of our React Native and Expo SDKs.
20
+
21
+ - Updated dependencies [e367c6f]
22
+ - @knocklabs/react-native@0.6.16
23
+
3
24
  ## 0.3.15
4
25
 
5
26
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knocklabs/expo",
3
- "version": "0.3.15",
3
+ "version": "0.3.16",
4
4
  "author": "@knocklabs",
5
5
  "license": "MIT",
6
6
  "main": "dist/cjs/index.js",
@@ -51,7 +51,7 @@
51
51
  "dependencies": {
52
52
  "@knocklabs/client": "^0.14.8",
53
53
  "@knocklabs/react-core": "^0.6.9",
54
- "@knocklabs/react-native": "^0.6.15",
54
+ "@knocklabs/react-native": "^0.6.16",
55
55
  "react-native-gesture-handler": "^2.25.0",
56
56
  "react-native-render-html": "^6.3.4",
57
57
  "react-native-svg": "^15.10.1"