@papyrus-sdk/ui-react-native 0.2.4 → 0.2.5

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/README.md +3 -1
  2. package/package.json +5 -3
package/README.md CHANGED
@@ -5,9 +5,11 @@ React Native UI components for Papyrus viewers.
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- npm install @papyrus-sdk/ui-react-native @papyrus-sdk/engine-native
8
+ npm install @papyrus-sdk/ui-react-native @papyrus-sdk/engine-native @papyrus-sdk/core @papyrus-sdk/types
9
9
  ```
10
10
 
11
+ `@papyrus-sdk/core` and `@papyrus-sdk/types` are required peer dependencies.
12
+
11
13
  For EPUB/TXT previews on mobile:
12
14
 
13
15
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papyrus-sdk/ui-react-native",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "papyrus",
@@ -39,12 +39,12 @@
39
39
  "url": "https://github.com/solrachix/Papyrus/issues"
40
40
  },
41
41
  "dependencies": {
42
- "@papyrus-sdk/core": "0.2.1",
43
- "@papyrus-sdk/types": "0.2.1",
44
42
  "@papyrus-sdk/engine-native": "0.2.1",
45
43
  "react-native-svg": "^15.5.0"
46
44
  },
47
45
  "peerDependencies": {
46
+ "@papyrus-sdk/core": ">=0.2.1",
47
+ "@papyrus-sdk/types": ">=0.2.1",
48
48
  "react": ">=18.2.0 <20",
49
49
  "react-native": ">=0.76.0",
50
50
  "react-native-webview": ">=13"
@@ -55,6 +55,8 @@
55
55
  }
56
56
  },
57
57
  "devDependencies": {
58
+ "@papyrus-sdk/core": "0.2.1",
59
+ "@papyrus-sdk/types": "0.2.1",
58
60
  "react": "^18.2.0",
59
61
  "react-native": "^0.76.0"
60
62
  },