@layerfi/components 0.1.13 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -4315,7 +4315,7 @@ var useLinkedAccounts = () => {
4315
4315
  const exchangePublicToken = async (publicToken, metadata) => {
4316
4316
  await Layer.exchangePlaidPublicToken(apiUrl, auth?.access_token, {
4317
4317
  params: { businessId },
4318
- body: { public_token: publicToken, institution_id: metadata.institution }
4318
+ body: { public_token: publicToken, institution: metadata.institution }
4319
4319
  });
4320
4320
  refetchAccounts();
4321
4321
  };
@@ -4880,7 +4880,7 @@ var LinkedAccountThumb = ({
4880
4880
  size: "sm"
4881
4881
  },
4882
4882
  "Bank balance"
4883
- ), /* @__PURE__ */ React63.createElement(Text, { as: "span", className: "account-balance" }, "$", centsToDollars(account.latest_balance_timestamp.balance))), /* @__PURE__ */ React63.createElement("div", { className: "bottombar" }, asWidget ? /* @__PURE__ */ React63.createElement(
4883
+ ), /* @__PURE__ */ React63.createElement(Text, { as: "span", className: "account-balance" }, "$", centsToDollars(account.latest_balance_timestamp?.balance))), /* @__PURE__ */ React63.createElement("div", { className: "bottombar" }, asWidget ? /* @__PURE__ */ React63.createElement(
4884
4884
  AccountNumber,
4885
4885
  {
4886
4886
  accountNumber: "TODO"