{"_id":"@codat/sdk-bank-feeds-types","_rev":"8-e7c56f637242bc26b35b965d697900a1","name":"@codat/sdk-bank-feeds-types","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@codat/sdk-bank-feeds-types","version":"1.0.0","_id":"@codat/sdk-bank-feeds-types@1.0.0","maintainers":[{"name":"mcclowes","email":"contact@mcclowes.com"},{"name":"codat-engineer","email":"eng-leadership@codat.io"}],"dist":{"shasum":"2074a03bd41df3e7ba01458af599f946b8fd7bc6","tarball":"https://registry.npmjs.org/@codat/sdk-bank-feeds-types/-/sdk-bank-feeds-types-1.0.0.tgz","fileCount":2,"integrity":"sha512-vIoPmgmVHPzG8dXkRHtJ5ES58kXfpUvBy+I+nbGHWHrDRvJ/BQx26+jTWhZemQCAnjz6Ki6HEeweGjHufk5Pxg==","signatures":[{"sig":"MEQCIEk6CbWMHj463EV/zfEiSJvIdBBFtUWzec3vuBcJ6ryzAiAf9V6pCG3kyfVPkeE8gjQYc0vIWesPrVu6oAGhZ1KaIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":365},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","gitHead":"eabf289d97c62c1813fbae457398842170b82f83","_npmUser":{"name":"codat-engineer","email":"eng-leadership@codat.io"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-bank-feeds-types_1.0.0_1732050296277_0.3177541884768602","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@codat/sdk-bank-feeds-types","version":"1.0.1","_id":"@codat/sdk-bank-feeds-types@1.0.1","maintainers":[{"name":"mcclowes","email":"contact@mcclowes.com"},{"name":"codat-engineer","email":"eng-leadership@codat.io"}],"dist":{"shasum":"6559cf5392ec1f8e215147a65fcd7be5f24ef650","tarball":"https://registry.npmjs.org/@codat/sdk-bank-feeds-types/-/sdk-bank-feeds-types-1.0.1.tgz","fileCount":16,"integrity":"sha512-xLA2e55dD01RWhBxcf5TJDiBQPtBYwbQnte2CuhX1qvlKVEWIET2Km2V9u0Vrm3/dOzaoR0/ltvWfB2xFBMyFw==","signatures":[{"sig":"MEQCIGJEPSAmIq3nmVFUqV+gTQuOqJ34XeqMK0ZKUVctWqPtAiAqLat3JWFJKOLBOLbz8mizenpbq37dLqRA1kHsXgI1Xw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19220},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","gitHead":"11302c1fd428e2dfa5a7a6336774c81c154443e1","_npmUser":{"name":"codat-engineer","email":"eng-leadership@codat.io"},"_npmVersion":"10.8.2","dependecies":{"@codat/sdk-link-types":"latest"},"description":"This package contains the type definitions and initialize helper method to use with the dynamically imported Embedded Bank Feeds.","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-bank-feeds-types_1.0.1_1732101446753_0.5690815343456386","host":"s3://npm-registry-packages"}},"1.0.1-alpha.1":{"name":"@codat/sdk-bank-feeds-types","version":"1.0.1-alpha.1","_id":"@codat/sdk-bank-feeds-types@1.0.1-alpha.1","maintainers":[{"name":"mcclowes","email":"contact@mcclowes.com"},{"name":"codat-engineer","email":"eng-leadership@codat.io"}],"dist":{"shasum":"c349b6bbd813a49a5fdd7bd58ff865d5e07f0e1f","tarball":"https://registry.npmjs.org/@codat/sdk-bank-feeds-types/-/sdk-bank-feeds-types-1.0.1-alpha.1.tgz","fileCount":16,"integrity":"sha512-BFbUd1pWwUS3MNXizgXLdE1UMTg1RrLTjhmMpRQzXja1IWEtWXhuvj0qfukvYUxTkd/bAphQadPsbnmRzsOKbg==","signatures":[{"sig":"MEYCIQCb6St9NWqG2Kpr+BNKaRkNIUFOaW8FDhimUaGTlHPqOAIhAKaRLpIAAHzocuW27H2QJdFPDYE+qFDXjMWpTAWSa71l","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19229},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","gitHead":"e5c5df3f325a71e1aa1ed83908e013cb31766b87","_npmUser":{"name":"codat-engineer","email":"eng-leadership@codat.io"},"_npmVersion":"10.8.2","description":"This package contains the type definitions and initialize helper method to use with the dynamically imported Embedded Bank Feeds.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@codat/sdk-link-types":"latest"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-bank-feeds-types_1.0.1-alpha.1_1732102527070_0.9060041798464225","host":"s3://npm-registry-packages"}},"1.0.1-alpha.2":{"name":"@codat/sdk-bank-feeds-types","version":"1.0.1-alpha.2","_id":"@codat/sdk-bank-feeds-types@1.0.1-alpha.2","maintainers":[{"name":"mcclowes","email":"contact@mcclowes.com"},{"name":"codat-engineer","email":"eng-leadership@codat.io"}],"dist":{"shasum":"1b0f14102a71e1dc2a08f15f673ed1d81400afd7","tarball":"https://registry.npmjs.org/@codat/sdk-bank-feeds-types/-/sdk-bank-feeds-types-1.0.1-alpha.2.tgz","fileCount":16,"integrity":"sha512-QsABHvO9sgGpJvtjvvYURdfKcc6QzazeZYrFrO0KM1EzGhbMM3Ew8JxjwlmfbcjgH2qCp8CcH5urSEtyMzpwvg==","signatures":[{"sig":"MEUCIQCHHhAZI32O+MO5p0Ycy9/uQgofFtrI2CGkI1Rx2FjKswIgT8rNzMqIzDvoslkP0h6V+MC83wh89vZYnMphgtjk4Gs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19209},"main":"./src/index.js","types":"./src/index.d.ts","gitHead":"b07124b44ccbf93a622c392c407904d27f43ab38","_npmUser":{"name":"codat-engineer","email":"eng-leadership@codat.io"},"_npmVersion":"10.8.2","description":"This package contains the type definitions and initialize helper method to use with the dynamically imported Embedded Bank Feeds.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@codat/sdk-link-types":"latest"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-bank-feeds-types_1.0.1-alpha.2_1732103289909_0.5907636456090872","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@codat/sdk-bank-feeds-types","version":"1.0.2","_id":"@codat/sdk-bank-feeds-types@1.0.2","maintainers":[{"name":"mcclowes","email":"contact@mcclowes.com"},{"name":"codat-engineer","email":"eng-leadership@codat.io"}],"dist":{"shasum":"cb6664ef06fa72c5403b56fa40dbc7fcc1652087","tarball":"https://registry.npmjs.org/@codat/sdk-bank-feeds-types/-/sdk-bank-feeds-types-1.0.2.tgz","fileCount":16,"integrity":"sha512-1g1xbJFfFRi+rcNqeWPwGBLTFQkeDRjSwtiemwDEa+batm7DckjyRaUh2fGyNjzpnV1qyundwJMN2tfzYtBHOw==","signatures":[{"sig":"MEQCIF1H5U5pzgPMRKtjRGcTvyn6z0Og32JMU/gVlS20AbInAiB/D0Z3L1NDOuAQi5BELEtlYjw4YBAVBQt1qQrkbmbxkQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19020},"main":"./src/index.js","types":"./src/index.d.ts","gitHead":"656dd7b0b39265abe7b1c54505bb1381325146c8","_npmUser":{"name":"codat-engineer","email":"eng-leadership@codat.io"},"_npmVersion":"10.8.2","description":"This package contains the type definitions and initialize helper method to use with the dynamically imported Embedded Bank Feeds.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@codat/sdk-link-types":"latest"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-bank-feeds-types_1.0.2_1732104876152_0.3957661782702522","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@codat/sdk-bank-feeds-types","version":"1.0.3","_id":"@codat/sdk-bank-feeds-types@1.0.3","maintainers":[{"name":"codat-engineer","email":"eng-leadership@codat.io"},{"name":"mcclowes","email":"contact@mcclowes.com"}],"dist":{"shasum":"4fdedaaaafa9868500355cc3896fb5a2fa05f5a2","tarball":"https://registry.npmjs.org/@codat/sdk-bank-feeds-types/-/sdk-bank-feeds-types-1.0.3.tgz","fileCount":12,"integrity":"sha512-Co7r/JnV1gsbExdl8TUTE4Wxe0E8MEo14oKIvVPF6tvQaqRHDeS5EZ8TDB6QXF7hsAqnAl5xV2XiB331B0nlEg==","signatures":[{"sig":"MEUCIBb+yRL/FGlEHghT1TPRdJTOwA8kR/CsxrQywgZqBtCBAiEAopUTNQ5sRDW4zYAGsxRisZ64zZNERgTCHsh3nET0i1Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21786},"main":"./src/index.js","types":"./src/index.d.ts","gitHead":"a2c9185ee3d973f2ea94c6083b7bade14a418f86","_npmUser":{"name":"codat-engineer","email":"eng-leadership@codat.io"},"_npmVersion":"10.8.2","description":"This package contains the type definitions and initialize helper method to use with the dynamically imported Embedded Bank Feeds.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@codat/sdk-link-types":"latest"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-bank-feeds-types_1.0.3_1748521959432_0.27868253531504483","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@codat/sdk-bank-feeds-types","version":"1.1.0","main":"./src/index.js","types":"./src/index.d.ts","dependencies":{"@codat/sdk-link-types":"latest"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"gitHead":"fba6ace59dabb64452fedf7e1e2abbb572034964","_id":"@codat/sdk-bank-feeds-types@1.1.0","description":"This package contains the type definitions and initialize helper method to use with the dynamically imported Embedded Bank Feeds.","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-htc9zNMQ0+hSOnbrEBgSgHWJxIuKqxXlohPQf/yTRjrf3shVEc1Wi1auUNGZjdRcmqu4XGyaMhso+am9P3C/Zg==","shasum":"e1219d70a3a62b72900ae146b2f04d0c00be1b39","tarball":"https://registry.npmjs.org/@codat/sdk-bank-feeds-types/-/sdk-bank-feeds-types-1.1.0.tgz","fileCount":6,"unpackedSize":25494,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCOfZNIMF5OyIYW0QyN+yFy/h6H8rL3YTpGBMsJMZH0wAIhANnGJY6EIBrd8FNAXjprx7Kv4Ajx+bLfYW50HFspOBfV"}]},"_npmUser":{"name":"codat-engineer","email":"eng-leadership@codat.io"},"directories":{},"maintainers":[{"name":"codat-engineer","email":"eng-leadership@codat.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk-bank-feeds-types_1.1.0_1774451699402_0.5962628173172277"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-19T21:04:56.148Z","modified":"2026-03-25T15:14:59.672Z","1.0.0":"2024-11-19T21:04:56.457Z","1.0.1":"2024-11-20T11:17:26.956Z","1.0.1-alpha.1":"2024-11-20T11:35:27.293Z","1.0.1-alpha.2":"2024-11-20T11:48:10.096Z","1.0.2":"2024-11-20T12:14:36.406Z","1.0.3":"2025-05-29T12:32:39.612Z","1.1.0":"2026-03-25T15:14:59.536Z"},"description":"This package contains the type definitions and initialize helper method to use with the dynamically imported Embedded Bank Feeds.","maintainers":[{"name":"codat-engineer","email":"eng-leadership@codat.io"}],"readme":"This package contains the type definitions and initialize helper method to use with the dynamically imported Embedded Bank Feeds.\n\n## Installation\n\nYou can install this library using npm:\n\n```console\n$ npm i -S @codat/sdk-bank-feeds-types\n```\n\n## Usage\n\nTo render the `CodatBankFeeds` component in React:\n\n```typescript jsx\nimport React, { useEffect, useState } from \"react\";\nimport ReactDOM from \"react-dom/client\";\nimport { CodatBankFeedsProps, initializeCodatBankFeeds } from \"@codat/sdk-bank-feeds-types\";\n\nconst CodatBankFeeds: React.FC<CodatBankFeedsProps> = (props: CodatBankFeedsProps) => {\n  const [componentMount, setComponentMount] = useState<HTMLDivElement | null>(\n    null\n  );\n\n  useEffect(() => {\n    const target = componentMount;\n    if (target && target.children.length === 0) {\n      initializeCodatBankFeeds(target, props);\n    }\n    // CodatBankFeeds does not support changing props after initialisation.\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [componentMount]);\n\n  return (\n    <div\n      style={{\n        // Recommended dimensions\n        width: \"460px\",\n        height: \"840px\",\n        maxHeight: \"95%\",\n      }}\n      ref={setComponentMount}\n    ></div>\n  );\n};\n\n// The code below is an example of how to render the component at the root level of the application\n\nconst root = ReactDOM.createRoot(\n  document.getElementById(\"root\") as HTMLElement\n);\n\nroot.render(\n  <React.StrictMode>\n    <CodatBankFeeds\n      accessToken=\"ACCESS_TOKEN\"\n      companyId=\"COMPANY_ID\"\n      onClose={() => alert(\"onClose\")}\n      onError={() => alert(\"onError\")}\n      onConnection={() => alert(\"onConnection\")}\n      onConnectionStarted={() => alert(\"onConnectionStarted\")}\n      onFinish={() => alert(\"onFinish\")}\n      options={{}}\n    />\n  </React.StrictMode>\n);\n```\n","readmeFilename":"README.md"}