@asaddevworld/code-input 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,14 +1,16 @@
1
1
  # rn-code-input
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@asaddevworld/code-input)](https://www.npmjs.com/package/@asaddevworld/code-input)
4
+
3
5
  One-time code and PIN inputs for React Native. `CodeInput` renders animated cells for an OTP or passcode: digits pop in, the row shakes and turns red on a wrong code, SMS autofill works on iOS and Android, and a masked mode shows dots for PINs. `PinPad` is a lock-screen keypad with a dot indicator, an async check, and a biometric key. Animations run with Reanimated.
4
6
 
5
7
 
6
8
 
7
- https://github.com/user-attachments/assets/aa0f423d-6991-4ef3-be63-567ca21fa531
9
+ <a href="https://github.com/asadDevWorld/rn-code-input/blob/main/docs/demo.mp4"><img src="https://raw.githubusercontent.com/asadDevWorld/rn-code-input/main/docs/demo.gif" width="300" alt="rn-code-input demo" /></a>
8
10
 
9
11
 
10
12
 
11
- _Demo recorded on the iOS Simulator from the example app: [docs/demo.mp4](docs/demo.mp4)._
13
+ _Demo recorded on the iOS Simulator from the example app, shown at 2x speed. Full video: [docs/demo.mp4](docs/demo.mp4)._
12
14
 
13
15
  ## Install
14
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaddevworld/code-input",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "One-time code and PIN inputs for React Native: animated cells, shake on error, SMS autofill, masked mode, and a lock-screen keypad",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",