You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blog/241124-bank-feeds-sdk.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ Building and launching a best-in-class bank feeds solution has never been easier
14
14
15
15
## What's new?
16
16
17
-
Our new [Bank Feeds SDK](https://www.npmjs.com/package/@codat/sdk-bank-feeds-types) brings together all the complex pieces to create a simple Bank Feeds setup experience.
17
+
Our new [Bank Feeds SDK](https://www.npmjs.com/package/@codat/sdk-link-types) brings together all the complex pieces to create a simple Bank Feeds setup experience.
18
18
19
19
It leverages our [Link SDK](/auth-flow/authorize-embedded-link) to allow your users to quickly and securely share access to their accounting software. It also enables them to set up the mapping between your accounts and the accounts in their software in one seamless flow.
20
20
21
-
All of this is included in a single [low-code JavaScript component](https://www.npmjs.com/package/@codat/sdk-bank-feeds-types). Our rich configuration properties allow your application to interact with the SDK and customize text and branding in a way that creates a trusted, compelling experience.
21
+
All of this is included in a single [low-code JavaScript component](https://www.npmjs.com/package/@codat/sdk-link-types). Our rich configuration properties allow your application to interact with the SDK and customize text and branding in a way that creates a trusted, compelling experience.
22
22
23
23
This is supported by easier creation of many source accounts at once via our new batch [Create source accounts](/bank-feeds-api#/operations/create-batch-source-account) endpoint.
24
24
@@ -54,14 +54,14 @@ We also recommend using our [Connections SDK](/auth-flow/optimize/connection-man
54
54
55
55
## How to get started?
56
56
57
-
You can access the SDK on [NPM](https://www.npmjs.com/package/@codat/sdk-bank-feeds-types). We recommend all clients already using our [Bank Feeds](/bank-feeds/overview) product to migrate to the Bank Feeds SDK.
57
+
You can access the SDK on [NPM](https://www.npmjs.com/package/@codat/sdk-link-types). We recommend all clients already using our [Bank Feeds](/bank-feeds/overview) product to migrate to the Bank Feeds SDK.
58
58
59
59
First, create a component which initializes the SDK:
60
60
61
61
```react
62
62
import React, { useEffect, useState } from "react";
63
63
import ReactDOM from "react-dom/client";
64
-
import { CodatBankFeedsProps, initializeCodatBankFeeds } from "@codat/sdk-bank-feeds-types";
64
+
import { CodatBankFeedsProps, initCodatBankFeeds } from "@codat/sdk-link-types/bank-feeds";
Copy file name to clipboardExpand all lines: docs/auth-flow/optimize/connection-management.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,9 +153,9 @@ To display the origins you previously registered for your instance, use the [Get
153
153
154
154
:::tip Install the npm package
155
155
156
-
Take advantage of our [npm package](https://www.npmjs.com/package/@codat/sdk-connections) so you don't have to manually import and maintain type definitions. You will benefit from it the most if you are using Typescript.
156
+
Take advantage of our [npm package](https://www.npmjs.com/package/@codat/sdk-link-types) so you don't have to manually import and maintain type definitions. You will benefit from it the most if you are using Typescript.
157
157
158
-
`$ npm i -S @codat/sdk-connections`
158
+
`$ npm i -S @codat/sdk-link-types`
159
159
160
160
:::
161
161
@@ -180,7 +180,7 @@ You can copy and paste the example <a href="https://github.com/codatio/sdk-conne
- Allowlist Codat by adding `*.codat.io` to `default-src` (or each of `script-src, style-src, font-src, connect-src, img-src`).
226
226
- Add `unsafe-inline` to `style-src`. Don't use a hash because this can change at any time without warning.
227
227
228
-
4.**If you are using TypeScript**, extend your type declarations with our types by installing the package using `npm install --save-dev @codat/sdk-connections`. Otherwise, delete the type-related code in the snippets.
228
+
4.**If you are using TypeScript**, extend your type declarations with our types by installing the package using `npm install --save-dev @codat/sdk-link-types`. Otherwise, delete the type-related code in the snippets.
@@ -305,7 +305,7 @@ export default function Home() {
305
305
- Allowlist Codat by adding `*.codat.io` to `default-src` (or each of `script-src, style-src, font-src, connect-src, img-src`).
306
306
- Add `unsafe-inline` to `style-src`. Do _not_ use a hash because this can change at any time without warning.
307
307
308
-
4.**If you are using TypeScript**, extend your type declarations with our types by installing the package using `npm install --save-dev @codat/sdk-connections`. Otherwise, delete the type-related code in the snippets.
308
+
4.**If you are using TypeScript**, extend your type declarations with our types by installing the package using `npm install --save-dev @codat/sdk-link-types`. Otherwise, delete the type-related code in the snippets.
309
309
310
310
</TabItem>
311
311
@@ -375,7 +375,7 @@ const openModal = () => {
375
375
- Allowlist Codat by adding `*.codat.io` to `default-src` (or each of `script-src, style-src, font-src, connect-src, img-src`).
376
376
- Add `unsafe-inline` to `style-src`. Do _not_ use a hash because this can change at any time without warning.
377
377
378
-
5. **If you are using TypeScript**, extend your type declarations with our types by installing the package using `npm install --save-dev @codat/sdk-connections`. Otherwise, delete the type-related code in the snippets.
378
+
5. **If you are using TypeScript**, extend your type declarations with our types by installing the package using `npm install --save-dev @codat/sdk-link-types`. Otherwise, delete the type-related code in the snippets.
379
379
380
380
</TabItem>
381
381
@@ -445,7 +445,7 @@ onError(error) {
445
445
- Allowlist Codat by adding `*.codat.io` to `default-src` (or each of `script-src, style-src, font-src, connect-src, img-src`).
446
446
- Add `unsafe-inline` to `style-src`. Do _not_ use a hash because this can change at any time without warning.
447
447
448
-
5. **If you are using TypeScript**, extend your type declarations with our types by installing the package using `npm install --save-dev @codat/sdk-connections`. Otherwise, delete the type-related code in the snippets.
448
+
5. **If you are using TypeScript**, extend your type declarations with our types by installing the package using `npm install --save-dev @codat/sdk-link-types`. Otherwise, delete the type-related code in the snippets.
449
449
450
450
</TabItem>
451
451
@@ -498,7 +498,7 @@ We suggest wrapping the `CodatConnections` component in a modal so that you can
498
498
- Allowlist Codat by adding `*.codat.io` to `default-src` (or each of `script-src, style-src, font-src, connect-src, img-src`).
499
499
- Add `unsafe-inline` to `style-src`. Do _not_ use a hash because this can change at any time without warning.
500
500
501
-
5. **If you are using TypeScript**, extend your type declarations with our types by installing the package using `npm install --save-dev @codat/sdk-connections`. Otherwise, delete the type-related code in the snippets.
501
+
5. **If you are using TypeScript**, extend your type declarations with our types by installing the package using `npm install --save-dev @codat/sdk-link-types`. Otherwise, delete the type-related code in the snippets.
502
502
503
503
</TabItem>
504
504
@@ -563,7 +563,7 @@ We suggest wrapping the `CodatConnections` component in a modal so that you can
563
563
- Allowlist Codat by adding `*.codat.io` to `default-src` (or each of `script-src, style-src, font-src, connect-src, img-src`).
564
564
- Add `unsafe-inline` to `style-src`. Do _not_ use a hash because this can change at any time without warning.
565
565
566
-
5. **If you are using TypeScript**, extend your type declarations with our types by installing the package using `npm install --save-dev @codat/sdk-connections`. Otherwise, delete the type-related code in the snippets.
566
+
5. **If you are using TypeScript**, extend your type declarations with our types by installing the package using `npm install --save-dev @codat/sdk-link-types`. Otherwise, delete the type-related code in the snippets.
Copy file name to clipboardExpand all lines: docs/bank-feeds/bank-feeds-sdk.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,11 @@ Building and launching a best-in-class bank feeds solution has never been easier
18
18
19
19
## Overview
20
20
21
-
Our new [Bank Feeds SDK](https://www.npmjs.com/package/@codat/sdk-bank-feeds-types) brings together all the complex pieces required to create a simple Bank Feeds setup experience.
21
+
Our new [Bank Feeds SDK](https://www.npmjs.com/package/@codat/sdk-link-types) brings together all the complex pieces required to create a simple Bank Feeds setup experience.
22
22
23
23
It leverages our [Link SDK](/auth-flow/authorize-embedded-link) to allow your users to quickly and securely share access to their accounting software. It also enables them to set up the mapping between your accounts and the accounts in their software in one seamless flow.
24
24
25
-
All of this is included in a single low-code JavaScript component (available on [NPM](https://www.npmjs.com/package/@codat/sdk-bank-feeds-types)). Its rich configuration properties allow your application to interact with the SDK and customize text and branding in a way that creates a trusted and compelling user experience.
25
+
All of this is included in a single low-code JavaScript component (available on [NPM](https://www.npmjs.com/package/@codat/sdk-link-types)). Its rich configuration properties allow your application to interact with the SDK and customize text and branding in a way that creates a trusted and compelling user experience.
26
26
27
27
Codat supports this by providing easier creation of many source accounts at once via our new batch [Create source accounts](/bank-feeds-api#/operations/create-batch-source-account) endpoint.
28
28
@@ -48,26 +48,26 @@ We also recommend using our [Connections SDK](/auth-flow/optimize/connection-man
48
48
49
49
## Get started
50
50
51
-
You can access the SDK on [NPM](https://www.npmjs.com/package/@codat/sdk-bank-feeds-types). We recommend all clients already using our [Bank Feeds](/bank-feeds/overview) product to migrate to the Bank Feeds SDK.
51
+
You can access the SDK on [NPM](https://www.npmjs.com/package/@codat/sdk-link-types). We recommend all clients already using our [Bank Feeds](/bank-feeds/overview) product to migrate to the Bank Feeds SDK.
52
52
53
53
##### NPM
54
54
55
55
```sh
56
-
npm add @codat/sdk-bank-feeds-types
56
+
npm add @codat/sdk-link-types/bank-feeds
57
57
```
58
58
59
59
##### Yarn
60
60
61
61
```sh
62
-
yarn add @codat/sdk-bank-feeds-types
62
+
yarn add @codat/sdk-link-types/bank-feeds
63
63
```
64
64
65
65
Create a component which initializes the SDK:
66
66
67
67
```react
68
68
import React, { useEffect, useState } from "react";
69
69
import ReactDOM from "react-dom/client";
70
-
import { CodatBankFeedsProps, initializeCodatBankFeeds } from "@codat/sdk-bank-feeds-types";
70
+
import { CodatBankFeedsProps, initCodatBankFeeds } from "@codat/sdk-link-types/bank-feeds";
@@ -105,7 +105,7 @@ Use the component in your solution as needed:
105
105
106
106
**Conditional steps**
107
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.
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.
109
109
-**If you're using content security policy (CSP) headers**, edit these headers:
110
110
- Allowlist Codat by adding `*.codat.io` to `default-src` (or each of `script-src`, `style-src`, `font-src`, `connect-src`, `img-src`).
111
111
- Add `unsafe-inline` to `style-src`. Do _not_ use a hash because this can change at any time without warning.
0 commit comments