@getopenpay/openpay-js 0.5.15 → 0.5.17

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.
@@ -1,4 +1,4 @@
1
- import { R as r, d as o } from "./Resource-Ds5bbQ3b.js";
1
+ import { R as r, d as o } from "./Resource-B7bleRFM.js";
2
2
  export {
3
3
  r as Resource,
4
4
  o as defaultServiceName
@@ -1,4 +1,4 @@
1
- import { A as r, b as e, B as o, a as p, C as S, F as n, N as c, P as l, R as m, d as t, S as d, e as i, c as P, T as B } from "./SimpleSpanProcessor-0bSccE1S.js";
1
+ import { A as r, b as e, B as o, a as p, C as S, F as n, N as c, P as l, R as m, d as t, S as d, e as i, c as P, T as B } from "./SimpleSpanProcessor-iCWR2wrc.js";
2
2
  export {
3
3
  r as AlwaysOffSampler,
4
4
  e as AlwaysOnSampler,
package/dist/index.d.ts CHANGED
@@ -258,6 +258,11 @@ declare type CustomInitParams = {
258
258
  * This is working with current version of Stripe element (v3). This is not guaranteed to work with future versions of Stripe element.
259
259
  */
260
260
  onAuthenticationStatusChange?: (isAuthenticated: boolean) => void;
261
+ /**
262
+ * This will be called once the `linkAuthenticationElement` is ready.
263
+ * This is just a wrapper for `linkAuthenticationElement.once('ready')`.
264
+ */
265
+ onAuthenticationElementReady?: () => void;
261
266
  };
262
267
 
263
268
  googlePay?: {
@@ -1172,7 +1177,7 @@ params: OjsFlowParams<T_PARAMS, T_INIT_RESULT>
1172
1177
  ) => Promise<void>;
1173
1178
 
1174
1179
  export declare type StripeLinkController = {
1175
- mountButton: () => void;
1180
+ mountButton: (selector?: string) => void;
1176
1181
  dismountButton: () => void;
1177
1182
  waitForButtonToMount: () => Promise<HTMLElement>;
1178
1183
  mountLinkAuthenticationElement: (selector: string) => StripeLinkAuthenticationElement;
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as p, F as r, O as i, l as s } from "./index-j7i6AeZa.js";
1
+ import { E as p, F as r, O as i, l as s } from "./index-DC5j54sB.js";
2
2
  import "penpal";
3
3
  import "uuid";
4
4
  import "zod";