diff --git a/packages/daf-react-native-async-storage/package.json b/packages/daf-react-native-async-storage/package.json index 7739abbd2..8c3463a18 100644 --- a/packages/daf-react-native-async-storage/package.json +++ b/packages/daf-react-native-async-storage/package.json @@ -8,10 +8,12 @@ "build": "tsc" }, "dependencies": { - "@react-native-community/async-storage": "^1.8.0", "daf-core": "^2.1.0", "debug": "^4.1.1" }, + "peerDependencies": { + "@react-native-community/async-storage": "*" + }, "devDependencies": { "@types/debug": "^4.1.5", "typescript": "^3.7.5" diff --git a/packages/daf-react-native-libsodium/package.json b/packages/daf-react-native-libsodium/package.json index 3ae6ca605..5964b120c 100644 --- a/packages/daf-react-native-libsodium/package.json +++ b/packages/daf-react-native-libsodium/package.json @@ -13,8 +13,10 @@ "debug": "^4.1.1", "did-jwt": "^4.0.0", "elliptic": "^6.5.2", - "ethjs-signer": "^0.1.1", - "react-native-sodium": "^0.3.6" + "ethjs-signer": "^0.1.1" + }, + "peerDependencies": { + "react-native-sodium": "*" }, "devDependencies": { "@types/debug": "^4.1.5", diff --git a/packages/daf-react-native-sqlite3/package.json b/packages/daf-react-native-sqlite3/package.json index 3a6c6bf66..cfe74afbd 100644 --- a/packages/daf-react-native-sqlite3/package.json +++ b/packages/daf-react-native-sqlite3/package.json @@ -9,8 +9,10 @@ }, "dependencies": { "daf-data-store": "^2.1.0", - "debug": "^4.1.1", - "react-native-sqlite-storage": "^4.1.0" + "debug": "^4.1.1" + }, + "peerDependencies": { + "react-native-sqlite-storage": "*" }, "devDependencies": { "@types/debug": "^4.1.5", diff --git a/yarn.lock b/yarn.lock index dd7456956..a7770f556 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1412,11 +1412,6 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA= -"@react-native-community/async-storage@^1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@react-native-community/async-storage/-/async-storage-1.8.0.tgz#5f23ad486daa284398c71f2cc94d15fb7be40bb8" - integrity sha512-R8hYm9h7MqoTa/opzBID6hhL5rseNoMJK1wG/B/Diob+JzEv7b1GMpHjsAZX2pU2o82LU73XbPJOPzfvkGFaUA== - "@semantic-release/commit-analyzer@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/@semantic-release/commit-analyzer/-/commit-analyzer-7.0.0.tgz#4318cd26787772632828738fc76a333b3d4d7b28" @@ -8511,16 +8506,6 @@ react-is@^16.8.4: resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.12.0.tgz#2cc0fe0fba742d97fd527c42a13bec4eeb06241c" integrity sha512-rPCkf/mWBtKc97aLL9/txD8DZdemK0vkA3JMLShjlJB3Pj3s+lpf1KaBzMfQrAmhMQB0n1cU/SUGgKKBCe837Q== -react-native-sodium@^0.3.6: - version "0.3.6" - resolved "https://registry.yarnpkg.com/react-native-sodium/-/react-native-sodium-0.3.6.tgz#c1c0058becc866ae0d60257aa53cb81a9fd4a8fc" - integrity sha512-1lZBpIF9mvYlgGH1tlHCNBnhMeNwFmWkok55p5Lu1Td5bYya2iUbLyfQyDcMk8RXnab2V6c/o76hmxt0tqmuWg== - -react-native-sqlite-storage@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/react-native-sqlite-storage/-/react-native-sqlite-storage-4.1.0.tgz#641780eef06bc90b853d3dcd628c0fe54b656d7b" - integrity sha512-H8++CILlZQ2f2n+OvVmGyqMaV+UFKTRSTx9/3eIAxBg4d0rjeZogs6hgHlfADvEGNmrEyUBDpnX9+uHnDtwAHQ== - read-cmd-shim@^1.0.1, read-cmd-shim@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-1.0.5.tgz#87e43eba50098ba5a32d0ceb583ab8e43b961c16"