New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@twotalltotems/react-native-otp-input

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twotalltotems/react-native-otp-input - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

7

index.js

@@ -15,3 +15,4 @@ import React, { Component } from 'react'

autoFocusOnLoad: PropTypes.bool,
code: PropTypes.string,
code: PropTypes.string,
secureTextEntry: PropTypes.bool,
}

@@ -25,2 +26,3 @@

autoFocusOnLoad: true,
secureTextEntry: false
}

@@ -176,3 +178,3 @@

renderOneInputField = ( _ , index ) => {
const { codeInputFieldStyle, codeInputHighlightStyle } = this.props
const { codeInputFieldStyle, codeInputHighlightStyle, secureTextEntry } = this.props
const { defaultTextFieldStyle } = styles

@@ -195,2 +197,3 @@ const { selectedIndex, digits } = this.state

selectionColor="#00000000"
secureTextEntry={secureTextEntry}
/>

@@ -197,0 +200,0 @@ </View>

{
"name": "@twotalltotems/react-native-otp-input",
"version": "1.1.1",
"version": "1.1.2",
"description": "is a tiny JS library for one time passcode (OTP). Supports smart input suggestion on iOS and code autofill on Android (it will be filled when you press the copy button on the SMS notification bar)",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -70,2 +70,3 @@ ![PaginatableList](https://raw.githubusercontent.com/Twotalltotems/react-native-otp-input/master/assets/otp_banner.jpg)

| onCodeFilled | NO | Callback when the last digit is entered |
| secureTextEntry | NO | Hide contents of text fields |

@@ -77,3 +78,3 @@ ## Notes

If you are interested in Android SMS Retriever API, I would suggest @Faizal's repo [React-Native-OTP-Verify](https://github.com/faizalshap/react-native-otp-verify). It looks pretty cool and it should be straight-forward to use React-Native-OTP-Verify along with this library.
If you are interested in Android SMS Retriever API, we would suggest @Faizal's repo [React-Native-OTP-Verify](https://github.com/faizalshap/react-native-otp-verify). It looks pretty cool and it should be straight-forward to use React-Native-OTP-Verify along with this library.

@@ -80,0 +81,0 @@ ## Roadmap

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc