From 368e6db9828fc6925eb6f86dfddeb3136c73be2c Mon Sep 17 00:00:00 2001 From: tom-binnington-codat Date: Fri, 27 Mar 2026 12:51:54 +0000 Subject: [PATCH] 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) --- docs/bank-feeds/bank-feeds-sdk.md | 6 +++--- docs/bank-feeds/setup.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/bank-feeds/bank-feeds-sdk.md b/docs/bank-feeds/bank-feeds-sdk.md index 152bc2229..05b09565f 100644 --- a/docs/bank-feeds/bank-feeds-sdk.md +++ b/docs/bank-feeds/bank-feeds-sdk.md @@ -53,13 +53,13 @@ You can access the SDK on [NPM](https://www.npmjs.com/package/@codat/sdk-link-ty ##### NPM ```sh -npm add @codat/sdk-link-types/bank-feeds +npm add @codat/sdk-link-types ``` ##### Yarn ```sh -yarn add @codat/sdk-link-types/bank-feeds +yarn add @codat/sdk-link-types ``` Create a component which initializes the SDK: @@ -105,7 +105,7 @@ Use the component in your solution as needed: **Conditional steps** -- **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. +- **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. - **If you're using content security policy (CSP) headers**, edit these headers: - Allowlist Codat by adding `*.codat.io` to `default-src` (or each of `script-src`, `style-src`, `font-src`, `connect-src`, `img-src`). - Add `unsafe-inline` to `style-src`. Do _not_ use a hash because this can change at any time without warning. diff --git a/docs/bank-feeds/setup.md b/docs/bank-feeds/setup.md index 17294af99..d62891352 100644 --- a/docs/bank-feeds/setup.md +++ b/docs/bank-feeds/setup.md @@ -89,13 +89,13 @@ Our low-code [Bank Feeds SDK](/bank-feeds/create-account) lets you build a seaml ##### NPM ```sh -npm add @codat/sdk-link-types/bank-feeds +npm add @codat/sdk-link-types ``` ##### Yarn ```sh -yarn add @codat/sdk-link-types/bank-feeds +yarn add @codat/sdk-link-types ``` [Read more...](/bank-feeds/bank-feeds-sdk)