diff --git a/src/index.ts b/src/index.ts index 4472c236..e2818c22 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,3 @@ -export { usePlaidLink } from './usePlaidLink'; +export { usePlaidLink, PLAID_LINK_STABLE_URL } from './usePlaidLink'; export { PlaidLink } from './PlaidLink'; export * from './types' diff --git a/src/usePlaidLink.ts b/src/usePlaidLink.ts index 7aa176e4..46575852 100644 --- a/src/usePlaidLink.ts +++ b/src/usePlaidLink.ts @@ -4,7 +4,7 @@ import useScript from 'react-script-hook'; import { createPlaid, PlaidFactory } from './factory'; import { PlaidLinkOptions, PlaidLinkOptionsWithPublicKey } from './types'; -const PLAID_LINK_STABLE_URL = +export const PLAID_LINK_STABLE_URL = 'https://cdn.plaid.com/link/v2/stable/link-initialize.js'; const noop = () => {};