Skip to content

Commit 368e6db

Browse files
Fix npm/yarn install commands for bank feeds SDK
The install commands incorrectly used the subpath export (@codat/sdk-link-types/bank-feeds) instead of the package name (@codat/sdk-link-types). Subpath exports are for import statements, not package installation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 078415b commit 368e6db

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ You can access the SDK on [NPM](https://www.npmjs.com/package/@codat/sdk-link-ty
5353
##### NPM
5454

5555
```sh
56-
npm add @codat/sdk-link-types/bank-feeds
56+
npm add @codat/sdk-link-types
5757
```
5858

5959
##### Yarn
6060

6161
```sh
62-
yarn add @codat/sdk-link-types/bank-feeds
62+
yarn add @codat/sdk-link-types
6363
```
6464

6565
Create a component which initializes the SDK:
@@ -105,7 +105,7 @@ Use the component in your solution as needed:
105105

106106
**Conditional steps**
107107

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-link-types/bank-feeds`. Otherwise, delete the type-related code in the snippets.
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-link-types`. Otherwise, delete the type-related code in the snippets.
109109
- **If you're using content security policy (CSP) headers**, edit these headers:
110110
- Allowlist Codat by adding `*.codat.io` to `default-src` (or each of `script-src`, `style-src`, `font-src`, `connect-src`, `img-src`).
111111
- Add `unsafe-inline` to `style-src`. Do _not_ use a hash because this can change at any time without warning.

docs/bank-feeds/setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ Our low-code [Bank Feeds SDK](/bank-feeds/create-account) lets you build a seaml
8989
##### NPM
9090

9191
```sh
92-
npm add @codat/sdk-link-types/bank-feeds
92+
npm add @codat/sdk-link-types
9393
```
9494

9595
##### Yarn
9696

9797
```sh
98-
yarn add @codat/sdk-link-types/bank-feeds
98+
yarn add @codat/sdk-link-types
9999
```
100100

101101
[Read more...](/bank-feeds/bank-feeds-sdk)

0 commit comments

Comments
 (0)