@getopenpay/openpay-js 0.3.10 → 0.3.14-alpha.8f138b8

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,8 +1,8 @@
1
- import { z as de, p as T, r as _e, w as ye, j as ve, n as he, y as me, dJ as ge, h as Se, dK as Ae, l as Ee, q as Te, i as Pe, m as Re, o as Oe, t as be, u as Ce } from "./url-BQFdlass.js";
2
- import { b as k, t as O, i as Y, T as b, d as Ie, c as B } from "./index-CsHbuY7s.js";
3
- import { d as _ } from "./diag-api-CiDu2N_T.js";
1
+ import { z as de, p as T, r as _e, w as ye, j as ve, n as he, y as me, dJ as ge, h as Se, dK as Ae, l as Ee, q as Te, i as Pe, m as Re, o as Oe, t as be, u as Ce } from "./url-CrXLOr4i.js";
2
+ import { b as k, t as O, i as Y, T as b, d as Ie, c as B } from "./index-IhVTmqce.js";
3
+ import { d as _ } from "./diag-api-BN9T6L7B.js";
4
4
  import { h as X, E as je } from "./ExportResult-Bo1QOwfo.js";
5
- import { D as Me, j as Ne, br as we, bs as De, bt as Le, b as xe, T as Ge, bu as Be, h as Ve, i as Ue, bv as He } from "./sdk-info-BT4XAByS.js";
5
+ import { D as Me, j as Ne, br as we, bs as De, bt as Le, b as xe, T as Ge, bu as Be, h as Ve, i as Ue, bv as He } from "./sdk-info-CJCZvkge.js";
6
6
  import { _ as Ke } from "./utils-BGeftTvk.js";
7
7
  var p;
8
8
  (function(e) {
package/dist/index.d.ts CHANGED
@@ -524,6 +524,12 @@ declare type LoopCryptoFlowCustomParams =
524
524
  | {
525
525
  customer: Omit<CustomerResponse, 'paymentMethods' | 'merchants' | 'dateCreated'>;
526
526
  payin: PayInCompleteEvent;
527
+ mode: 'checkout';
528
+ success: true;
529
+ }
530
+ | {
531
+ customer: Omit<CustomerResponse, 'paymentMethods' | 'merchants' | 'dateCreated'>;
532
+ mode: 'setup';
527
533
  success: true;
528
534
  }
529
535
  | {
@@ -537,6 +543,7 @@ declare type LoopCryptoFlowCustomParams =
537
543
  declare type LoopCryptoWidgetProps = {
538
544
  paymentUsdAmount: number;
539
545
  suggestedAuthorizationUsdAmount: number;
546
+ minAuthorizationUsdAmount: number;
540
547
  subscriptionRefId?: string;
541
548
  customerRefId?: string;
542
549
  invoiceRefId?: string;
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as e, O as i, l as r, m as s } from "./index-CsHbuY7s.js";
1
+ import { F as e, O as i, l as r, m as s } from "./index-IhVTmqce.js";
2
2
  import "penpal";
3
3
  import "uuid";
4
4
  export {