react-native-confirmation-code-field
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -5,2 +5,7 @@ # Change Log | ||
## 2.0.4 | ||
- Fix Flow.js types | ||
- Fix spread non-iterable instance [#24](https://github.com/retyui/react-native-confirmation-code-field/pull/24) | ||
## 2.0.1 | ||
@@ -7,0 +12,0 @@ |
{ | ||
"name": "react-native-confirmation-code-field", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"main": "src/components/ConfirmationCodeInput/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -216,3 +216,6 @@ // @flow | ||
const newCodeSymbols = this.normalizeNewCode([...codeSymbols, ...text]); | ||
const newCodeSymbols = this.normalizeNewCode([ | ||
...codeSymbols, | ||
...text.split(''), | ||
]); | ||
const currentIndex = this.getCurrentIndex(newCodeSymbols); | ||
@@ -219,0 +222,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22932
563