Skip to content

Commit 45f8c95

Browse files
committed
fix: add dataUrl to deps
1 parent cccfcf1 commit 45f8c95

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

example/expo-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"react": "16.13.1",
1414
"react-dom": "16.13.1",
1515
"react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz",
16-
"react-native-signature-canvas": "^3.4.0",
16+
"react-native-signature-canvas": "^3.5.0",
1717
"react-native-web": "~0.13.12",
1818
"react-native-webview": "^11.2.3"
1919
},

example/expo-app/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -5106,10 +5106,10 @@ [email protected]:
51065106
resolved "https://registry.npmjs.org/react-native-safe-area-context/-/react-native-safe-area-context-3.1.9.tgz#48864ea976b0fa57142a2cc523e1fd3314e7247e"
51075107
integrity sha512-wmcGbdyE/vBSL5IjDPReoJUEqxkZsywZw5gPwsVUV1NBpw5eTIdnL6Y0uNKHE25Z661moxPHQz6kwAkYQyorxA==
51085108

5109-
react-native-signature-canvas@^3.4.0:
5110-
version "3.4.0"
5111-
resolved "https://registry.npmjs.org/react-native-signature-canvas/-/react-native-signature-canvas-3.4.0.tgz#87690a53966bd758cd83c2fdd51263670d341c3b"
5112-
integrity sha512-c8FUCYckXErlGbqxfhMNBcPzBdhCSpBgCtTx9+rpntvveBoajE44854NLydeAvCxHuh1yV5y2EnNFij7AuXtSw==
5109+
react-native-signature-canvas@^3.5.0:
5110+
version "3.5.0"
5111+
resolved "https://registry.npmjs.org/react-native-signature-canvas/-/react-native-signature-canvas-3.5.0.tgz#48f45302df13ec50e1cc193423d076c64509e688"
5112+
integrity sha512-mTP2x7MB2C1S1zlql80qy7i4tsnZu7DIvz0ONdBLGtrSVoEcTEkY1U90j/SJRmiDdf5/22pQg8wMoZwe1tbYrA==
51135113

51145114
react-native-web@~0.13.12:
51155115
version "0.13.18"

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const SignatureView = forwardRef(({
6060
html = html.replace(/<%orientation%>/g, rotated);
6161

6262
return { html };
63-
}, [customHtml, autoClear, trimWhitespace, rotated, imageType, webStyle, descriptionText, confirmText, clearText])
63+
}, [customHtml, autoClear, trimWhitespace, rotated, imageType, webStyle, descriptionText, confirmText, clearText, dataURL])
6464

6565
const getSignature = e => {
6666
switch (e.nativeEvent.data) {

0 commit comments

Comments
 (0)