Merge pull request #3417 from BlueWallet/clipbo

OPS: Update RN Clipboard
This commit is contained in:
GLaDOS 2021-07-21 16:57:33 +01:00 committed by GitHub
commit de6b67cc61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 6 deletions

View File

@ -367,7 +367,7 @@ PODS:
- React
- RNCAsyncStorage (1.15.5):
- React-Core
- RNCClipboard (1.7.0):
- RNCClipboard (1.8.4):
- React-Core
- RNCMaskedView (0.1.11):
- React
@ -774,7 +774,7 @@ SPEC CHECKSUMS:
RealmJS: c903034b0d767fcef11dc8207e91b6f07e60d7b8
RemobileReactNativeQrcodeLocalImage: 57aadc12896b148fb5e04bc7c6805f3565f5c3fa
RNCAsyncStorage: 8324611026e8dc3706f829953aa6e3899f581589
RNCClipboard: dac13db8b1ce9b998f1cbc7ca33440113602847f
RNCClipboard: 5df122bc31f95f2b37de9bbadc1dbef5a79cb1b0
RNCMaskedView: f127cd9652acfa31b91dcff613e07ba18b774db6
RNCPushNotificationIOS: 5b1cf9ad2aaa107ecb92d5d2d7005ba521b2b97a
RNDefaultPreference: 21816c0a6f61a2829ccc0cef034392e9b509ee5f

6
package-lock.json generated
View File

@ -2968,9 +2968,9 @@
}
},
"@react-native-clipboard/clipboard": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@react-native-clipboard/clipboard/-/clipboard-1.7.0.tgz",
"integrity": "sha512-i5dJgR+wM8Om+hFEB/PqNb65/x5WxpaZG+UjEBX2/gmmIrmAWI72tI9rVL1gjPA9RWNpdpzvp+ioGjpdl7MyWQ=="
"version": "1.8.4",
"resolved": "https://registry.npmjs.org/@react-native-clipboard/clipboard/-/clipboard-1.8.4.tgz",
"integrity": "sha512-poFq3RvXzkbXcqoQNssbZ+aNbCRzBFAWkR9QL7u9xNMgsyWZtk7d16JQoaBo8D2E+kKi+/9JOiVQzA5w+9N67w=="
},
"@react-native-community/blur": {
"version": "3.6.0",

View File

@ -81,7 +81,7 @@
"@keystonehq/bc-ur-registry": "https://github.com/BlueWallet/ur-registry",
"@ngraveio/bc-ur": "https://github.com/BlueWallet/bc-ur",
"@react-native-async-storage/async-storage": "1.15.5",
"@react-native-clipboard/clipboard": "1.7.0",
"@react-native-clipboard/clipboard": "1.8.4",
"@react-native-community/blur": "3.6.0",
"@react-native-community/masked-view": "0.1.11",
"@react-native-community/push-notification-ios": "1.8.0",

View File

@ -1,5 +1,9 @@
/* global jest */
import mockClipboard from '@react-native-clipboard/clipboard/jest/clipboard-mock.js';
jest.mock('@react-native-clipboard/clipboard', () => mockClipboard);
jest.mock('react-native-watch-connectivity', () => {
return {
getIsWatchAppInstalled: jest.fn(() => Promise.resolve(false)),