@getopenpay/openpay-js 0.4.0-alpha.9036020 → 0.4.0-alpha.b969cf5

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,7 +1,7 @@
1
- import { R as u } from "./index-9ijTN8eR.js";
2
- import { B as c } from "./SimpleSpanProcessor-C5oGIXhG.js";
3
- import { A as g, b as x, a as S, C as b, F as w, I as P, N as C, P as T, R as O, d as M, S as A, e as E, c as R, T as N } from "./SimpleSpanProcessor-C5oGIXhG.js";
4
- import { P as F, a as j, b as k, g as I, c as W, h as U, n as X, p as z, s as D, d as G } from "./utils-Cb7E5ymv.js";
1
+ import { R as u } from "./index-Dpfjaf59.js";
2
+ import { B as c } from "./SimpleSpanProcessor-BGez9uXz.js";
3
+ import { A as g, b as x, a as S, C as b, F as w, I as P, N as C, P as T, R as O, d as M, S as A, e as E, c as R, T as N } from "./SimpleSpanProcessor-BGez9uXz.js";
4
+ import { P as F, a as j, b as k, g as I, c as W, h as U, n as X, p as z, s as D, d as G } from "./utils-Cvb_-ubd.js";
5
5
  var l = function(n, r) {
6
6
  var e = typeof Symbol == "function" && n[Symbol.iterator];
7
7
  if (!e) return n;
package/dist/index.d.ts CHANGED
@@ -167,6 +167,7 @@ declare type CustomInitParams = {
167
167
  declare type CustomStyles = string;
168
168
 
169
169
  declare type DefaultFieldValues = Partial<Record<FieldNameEnum, string>> & {
170
+ payment_method?: string | SubmitMethod;
170
171
  show_all_prices?: boolean;
171
172
  exclusive_prices?: boolean;
172
173
  price_id_product_mapping?: Record<string, string>;
@@ -263,7 +264,7 @@ export declare enum FieldName {
263
264
  SHIPPING_STATE = 'shippingAddressState',
264
265
  SHIPPING_COUNTRY = 'shippingAddressCountry',
265
266
  SHIPPING_ZIP_CODE = 'shippingAddressZipCode',
266
- IS_SHIPPING_SAME_AS_BILLING = 'isShippingSameAsBilling',
267
+ // IS_SHIPPING_SAME_AS_BILLING = 'isShippingSameAsBilling',
267
268
  PROMOTION_CODE = 'promotionCode',
268
269
  }
269
270
 
@@ -564,6 +565,7 @@ declare type LoopCryptoWidgetProps = {
564
565
  subscriptionRefId?: string;
565
566
  customerRefId?: string;
566
567
  invoiceRefId?: string;
568
+ allowCustomerToChooseAuth?: boolean;
567
569
  };
568
570
 
569
571
  declare interface NetworkChangeEvent {
package/dist/index.es.js CHANGED
@@ -1,10 +1,11 @@
1
- import { F as e, O as i, l as r, m as s } from "./index-9ijTN8eR.js";
1
+ import { F as i, O as r, l as p, m as s } from "./index-Dpfjaf59.js";
2
2
  import "penpal";
3
+ import "zod";
3
4
  import "uuid";
4
5
  export {
5
- e as FieldName,
6
- i as OpenPayForm,
7
- r as SubmitMethod,
6
+ i as FieldName,
7
+ r as OpenPayForm,
8
+ p as SubmitMethod,
8
9
  s as SubmitMethods
9
10
  };
10
- //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiaW5kZXguZXMuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImV4cG9ydCB7IEYgYXMgRmllbGROYW1lLCBPIGFzIE9wZW5QYXlGb3JtLCBsIGFzIFN1Ym1pdE1ldGhvZCwgbSBhcyBTdWJtaXRNZXRob2RzIH0gZnJvbSAnLi9pbmRleC0hfnswMDV9fi5qcyc7XG5pbXBvcnQgJ3BlbnBhbCc7XG5pbXBvcnQgJ3V1aWQnOyJdLAogICJtYXBwaW5ncyI6ICJBQUFBLFNBQWMsS0FBTEEsR0FBcUIsS0FBTEMsR0FBdUIsS0FBTEMsR0FBd0IsS0FBTEMsU0FBMEI7QUFDeEYsT0FBTztBQUNQLE9BQU87IiwKICAibmFtZXMiOiBbIkYiLCAiTyIsICJsIiwgIm0iXQp9Cg==
11
+ //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiaW5kZXguZXMuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImV4cG9ydCB7IEYgYXMgRmllbGROYW1lLCBPIGFzIE9wZW5QYXlGb3JtLCBsIGFzIFN1Ym1pdE1ldGhvZCwgbSBhcyBTdWJtaXRNZXRob2RzIH0gZnJvbSAnLi9pbmRleC0hfnswMDV9fi5qcyc7XG5pbXBvcnQgJ3BlbnBhbCc7XG5pbXBvcnQgJ3pvZCc7XG5pbXBvcnQgJ3V1aWQnOyJdLAogICJtYXBwaW5ncyI6ICJBQUFBLFNBQWMsS0FBTEEsR0FBcUIsS0FBTEMsR0FBdUIsS0FBTEMsR0FBd0IsS0FBTEMsU0FBMEI7QUFDeEYsT0FBTztBQUNQLE9BQU87QUFDUCxPQUFPOyIsCiAgIm5hbWVzIjogWyJGIiwgIk8iLCAibCIsICJtIl0KfQo=