@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/index.d.ts CHANGED
@@ -2578,7 +2578,7 @@ declare module '@layerfi/components/types/linked_accounts' {
2578
2578
  }
2579
2579
  export type PublicToken = {
2580
2580
  public_token: string;
2581
- institution_id: PlaidInstitution | null;
2581
+ institution: PlaidInstitution | null;
2582
2582
  };
2583
2583
 
2584
2584
  }
package/dist/index.js CHANGED
@@ -4332,7 +4332,7 @@ var useLinkedAccounts = () => {
4332
4332
  const exchangePublicToken = async (publicToken, metadata) => {
4333
4333
  await Layer.exchangePlaidPublicToken(apiUrl, auth?.access_token, {
4334
4334
  params: { businessId },
4335
- body: { public_token: publicToken, institution_id: metadata.institution }
4335
+ body: { public_token: publicToken, institution: metadata.institution }
4336
4336
  });
4337
4337
  refetchAccounts();
4338
4338
  };
@@ -4897,7 +4897,7 @@ var LinkedAccountThumb = ({
4897
4897
  size: "sm"
4898
4898
  },
4899
4899
  "Bank balance"
4900
- ), /* @__PURE__ */ import_react49.default.createElement(Text, { as: "span", className: "account-balance" }, "$", centsToDollars(account.latest_balance_timestamp.balance))), /* @__PURE__ */ import_react49.default.createElement("div", { className: "bottombar" }, asWidget ? /* @__PURE__ */ import_react49.default.createElement(
4900
+ ), /* @__PURE__ */ import_react49.default.createElement(Text, { as: "span", className: "account-balance" }, "$", centsToDollars(account.latest_balance_timestamp?.balance))), /* @__PURE__ */ import_react49.default.createElement("div", { className: "bottombar" }, asWidget ? /* @__PURE__ */ import_react49.default.createElement(
4901
4901
  AccountNumber,
4902
4902
  {
4903
4903
  accountNumber: "TODO"