Skip to content

Commit ce443d1

Browse files
fix: Update SDK to work with latest Expo version (#3388)
Signed-off-by: Mario Dimitrov <[email protected]>
1 parent 2d54ed2 commit ce443d1

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@
66
"main": "./lib/index.cjs",
77
"module": "./src/index.js",
88
"react-native": {
9-
"./lib/index.cjs": "./src/native.js",
10-
"./src/encoding/hex.js": "./src/encoding/hex.native.js",
11-
"./src/encoding/utf8.js": "./src/encoding/utf8.native.js",
12-
"./src/cryptography/sha384.js": "./src/cryptography/sha384.native.js"
9+
"./lib/index.cjs": "./lib/native.js",
10+
"./lib/encoding/hex.js": "./lib/encoding/hex.native.cjs",
11+
"./lib/encoding/hex.cjs": "./lib/encoding/hex.native.cjs",
12+
"./lib/encoding/utf8.js": "./lib/encoding/utf8.native.cjs",
13+
"./lib/encoding/utf8.cjs": "./lib/encoding/utf8.native.cjs",
14+
"./lib/cryptography/sha384.js": "./lib/cryptography/sha384.native.cjs",
15+
"./lib/cryptography/sha384.cjs": "./lib/cryptography/sha384.native.cjs"
1316
},
1417
"browser": {
1518
"./lib/index.js": "./lib/browser.js",
@@ -22,6 +25,7 @@
2225
"exports": {
2326
"./package.json": "./package.json",
2427
".": {
28+
"react-native": "./lib/native.js",
2529
"types": "./lib/index.d.ts",
2630
"import": "./lib/index.js",
2731
"require": "./lib/index.cjs"

0 commit comments

Comments
 (0)