@akinon/pz-otp 1.101.0-rc.76 → 1.101.0-snapshot-ZERO-3615-20250924130435

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 (3) hide show
  1. package/CHANGELOG.md +1 -21
  2. package/package.json +1 -1
  3. package/readme.md +4 -20
package/CHANGELOG.md CHANGED
@@ -1,24 +1,6 @@
1
1
  # @akinon/pz-otp
2
2
 
3
- ## 1.101.0-rc.76
4
-
5
- ## 1.101.0-rc.75
6
-
7
- ## 1.101.0-rc.74
8
-
9
- ## 1.101.0-rc.73
10
-
11
- ### Minor Changes
12
-
13
- - d8be48fb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
14
- - 16aff543: ZERO-3431: Add test script for redirect utility in package.json
15
- - 64699d3ff: ZERO-2761: Fix invalid import for plugin module
16
- - e974d8e8: ZERO-3406: Fix rc build
17
- - 7eb51ca9: ZERO-3424 :Update package versions
18
- - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
19
- - 8b1d24eb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
20
- - ae010f0b: ZERO-3410: Update readme
21
- - 33377cfd: ZERO-3267: Refactor import statement for ROUTES in error-page component
3
+ ## 1.101.0-snapshot-ZERO-3615-20250924130435
22
4
 
23
5
  ## 1.100.0
24
6
 
@@ -44,8 +26,6 @@
44
26
 
45
27
  ## 1.91.0
46
28
 
47
- > > > > > > > origin/ZERO-3418
48
-
49
29
  ## 1.90.0
50
30
 
51
31
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/pz-otp",
3
- "version": "1.101.0-rc.76",
3
+ "version": "1.101.0-snapshot-ZERO-3615-20250924130435",
4
4
  "license": "MIT",
5
5
  "main": "./src/index.ts",
6
6
  "module": "./src/index.ts",
package/readme.md CHANGED
@@ -12,29 +12,13 @@ npx @akinon/projectzero@latest --plugins
12
12
 
13
13
  ### Props
14
14
 
15
- | Property | Type | Required | Description |
16
- | --- | --- | --- | --- |
17
- | `customUIRender` | `React.ReactNode` | `Optional` | function to fully customize the otp. Receives closeHandler, resendHandler, otp, setOtp, hasError, error, canResend, time, codeLength, setHasError and onSubmit props. |
18
- | `submitAction` | `SubmitHandler<{ [key: string]: any }>` | `Required` | A submit handler function triggered when OTP form is submitted. |
19
- | `data` | `{ [key: string]: any }` | `Required` | Data object containing required fields like phone number. OTP code will be appended here before submission |
20
-
21
- ### Default Usage
22
-
23
- ```js
24
- import PluginModule, { Component } from '@akinon/next/components/plugin-module';
25
-
26
- <PluginModule
27
- component={Component.Otp}
28
- props={{
29
- data: getValues(),
30
- submitAction: registerHandler
31
- }}
32
- />;
33
- ```
15
+ | Property | Type | Description |
16
+ | --- | --- | --- |
17
+ | `customUIRender` | `React.ReactNode` | Optional function to fully customize the otp. Receives closeHandler, resendHandler, otp, setOtp, hasError, error, canResend, time, codeLength, setHasError and onSubmit props. |
34
18
 
35
19
  ### Customizing OTP
36
20
 
37
- ```js
21
+ ```javascript
38
22
  import PluginModule, { Component } from '@akinon/next/components/plugin-module';
39
23
 
40
24
  <PluginModule