Skip to content

Commit abcffaa

Browse files
authored
Merge pull request #1699 from codatio/bank-feeds-sdk
Add conditional steps to Bank Feeds SDK docs
2 parents 00a0ce5 + a6c2dd4 commit abcffaa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/bank-feeds/bank-feeds-sdk.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ Use the component in your solution as needed:
103103
/>
104104
```
105105

106+
**Conditional steps**
107+
108+
- **If you're using TypeScript**, extend your type declarations with our types by installing the types package using `npm install --save-dev @codat/sdk-bank-feeds-types`. Otherwise, delete the type-related code in the snippets.
109+
- **If you're using content security policy (CSP) headers**, edit these headers:
110+
- Allowlist Codat by adding `*.codat.io` to `default-src` (or each of `script-src`, `style-src`, `font-src`, `connect-src`, `img-src`).
111+
- Add `unsafe-inline` to `style-src`. Do _not_ use a hash because this can change at any time without warning.
112+
106113
---
107114

108115
## Read next

0 commit comments

Comments
 (0)