@getopenpay/openpay-js 0.5.11 → 0.5.13

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 { A as r, b as e, B as o, a as p, C as n, F as S, I as c, N as l, P as m, R as t, d, S as i, e as P, c as B, T as I } from "./SimpleSpanProcessor-BlC7aMwS.js";
1
+ import { A as r, b as e, B as o, a as p, C as n, F as S, I as c, N as l, P as m, R as t, d, S as i, e as P, c as B, T as I } from "./SimpleSpanProcessor-CwJD-GjM.js";
2
2
  export {
3
3
  r as AlwaysOffSampler,
4
4
  e as AlwaysOnSampler,
@@ -1,4 +1,4 @@
1
- import { b as I, t as l, i as D, T as o, d as T, e as b } from "./index-CsYu7T8Y.js";
1
+ import { b as I, t as l, i as D, T as o, d as T, e as b } from "./index-CtZ-xuHu.js";
2
2
  var C = I("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
3
3
  function A(r) {
4
4
  return r.getValue(C) === !0;
@@ -1,9 +1,9 @@
1
- import { d as z } from "./diag-api-Cz-UtaIj.js";
2
- import { b as G, c as I, d as W, e as X, p as _, i as V, f as K, g as Q, j as C, k as $, m as J } from "./url-Bg17qvHA.js";
3
- import { s as Y, i as Z, I as q } from "./utils-DUkJ-8r_.js";
1
+ import { d as z } from "./diag-api-CHLb_Weo.js";
2
+ import { b as G, c as I, d as W, e as X, p as _, i as V, f as K, g as Q, j as C, k as $, m as J } from "./url-BAeEv8aD.js";
3
+ import { s as Y, i as Z, I as q } from "./utils-Bf8wDuNo.js";
4
4
  import { _ as T } from "./utils-CX5YT7yI.js";
5
- import { P as O, b as P, p as N, s as ee, c as te } from "./utils-DBqZC8JN.js";
6
- import { t as x, c as p, S as re } from "./index-CsYu7T8Y.js";
5
+ import { P as O, b as P, p as N, s as ee, c as te } from "./utils--qqdHZ_b.js";
6
+ import { t as x, c as p, S as re } from "./index-CtZ-xuHu.js";
7
7
  var y;
8
8
  (function(a) {
9
9
  a.COMPONENT = "component", a.HTTP_ERROR_NAME = "http.error_name", a.HTTP_STATUS_TEXT = "http.status_text";
@@ -1,7 +1,7 @@
1
- import { R as u } from "./index-CsYu7T8Y.js";
2
- import { B as c } from "./SimpleSpanProcessor-BlC7aMwS.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-BlC7aMwS.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-DBqZC8JN.js";
1
+ import { R as u } from "./index-CtZ-xuHu.js";
2
+ import { B as c } from "./SimpleSpanProcessor-CwJD-GjM.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-CwJD-GjM.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--qqdHZ_b.js";
5
5
  var l = function(n, r) {
6
6
  var e = typeof Symbol == "function" && n[Symbol.iterator];
7
7
  if (!e) return n;
@@ -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-Bg17qvHA.js";
2
- import { b as k, t as O, i as Y, T as b, d as Ie, c as B } from "./index-CsYu7T8Y.js";
3
- import { d as _ } from "./diag-api-Cz-UtaIj.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-BAeEv8aD.js";
2
+ import { b as k, t as O, i as Y, T as b, d as Ie, c as B } from "./index-CtZ-xuHu.js";
3
+ import { d as _ } from "./diag-api-CHLb_Weo.js";
4
4
  import { h as X, E as je } from "./ExportResult-B-YLKMaU.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-CqjfNdA7.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-DYuuxEVK.js";
6
6
  import { _ as Ke } from "./utils-CX5YT7yI.js";
7
7
  var p;
8
8
  (function(e) {
package/dist/index.d.ts CHANGED
@@ -345,6 +345,10 @@ export declare enum FieldName {
345
345
  SHIPPING_ZIP_CODE = 'shippingAddressZipCode',
346
346
  IS_SHIPPING_SAME_AS_BILLING = 'isShippingSameAsBilling',
347
347
  PROMOTION_CODE = 'promotionCode',
348
+ IS_BUSINESS_PURCHASE = 'isBusinessPurchase',
349
+ BUSINESS_NAME = 'businessName',
350
+ TAX_ID = 'taxId',
351
+ TAX_ID_TYPE = 'taxIdType',
348
352
  }
349
353
 
350
354
  declare const FieldNameEnum = z.nativeEnum(FieldName);
@@ -835,7 +839,8 @@ declare type OnCheckoutSuccess = (
835
839
  invoiceUrls: string[],
836
840
  subscriptionIds: string[],
837
841
  customerId: string,
838
- processorsUsed: string[]
842
+ processorsUsed: string[],
843
+ paymentMethodId: string
839
844
  ) => void;
840
845
 
841
846
  declare type OnSetupPaymentMethodSuccess = (paymentMethodId: string) => void;
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-CsYu7T8Y.js";
1
+ import { E as p, F as r, O as i, l as s } from "./index-CtZ-xuHu.js";
2
2
  import "penpal";
3
3
  import "uuid";
4
4
  import "zod";