@wf-financing/headless-sdk 3.0.0 → 3.0.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.
- package/README.md +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,6 +55,13 @@ import type { ContinueHostedApplicationResponseType } from '@wf-financing/headle
|
|
|
55
55
|
const startHostedApplication: ContinueHostedApplicationResponseType = await wayflyerSdk.continueHostedApplication();
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
+
### `dismissCta()`
|
|
59
|
+
Dismiss CTA for current combination of company and user.
|
|
60
|
+
|
|
61
|
+
```jsx
|
|
62
|
+
await wayflyerSdk.dismissCta();
|
|
63
|
+
```
|
|
64
|
+
|
|
58
65
|
## Sandbox
|
|
59
66
|
|
|
60
67
|
To simplify the testing process, the SDK can be initialized in sandbox mode. To do so, pass the second argument of type `SdkOptionsType` with `isSandbox` flag set to `true`. In sandbox mode, the partner can simulate responses for SDK methods with the help of additional package `@wf-financing/sandbox-ui`.
|