@zerohash-sdk/onboarding-react 1.15.6 → 1.15.7
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.
- package/README.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -139,6 +139,10 @@ export default App;
|
|
|
139
139
|
| `onEvent` | `({ type, data }) => void` | No | - | Callback for general events |
|
|
140
140
|
| `onLoaded` | `() => void` | No | - | Callback when the widget is loaded and ready |
|
|
141
141
|
|
|
142
|
+
> **`onboardingFlow: "tax_only"`:** no KYC runs in this flow. `onCompleted` fires once the tax
|
|
143
|
+
> certification is saved, with the participant's existing KYC status when it is known, otherwise
|
|
144
|
+
> `kycStatus: "UNKNOWN"`. Don't treat it as a new KYC result.
|
|
145
|
+
|
|
142
146
|
## JWT & token renewal
|
|
143
147
|
|
|
144
148
|
The `jwt` prop is what the widget uses to authenticate.
|