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

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-BGez9uXz.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-ZwWbrA27.js";
2
2
  export {
3
3
  r as AlwaysOffSampler,
4
4
  e as AlwaysOnSampler,
@@ -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-cqzSEkdo.js";
2
- import { b as k, t as O, i as Y, T as b, d as Ie, c as B } from "./index-Dpfjaf59.js";
3
- import { d as _ } from "./diag-api-DlxP-lM3.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-Ddbabwo1.js";
2
+ import { b as k, t as O, i as Y, T as b, d as Ie, c as B } from "./index-CM28ZKY-.js";
3
+ import { d as _ } from "./diag-api-BZd81gXR.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-BvoxDVaJ.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-zR2TjJEO.js";
6
6
  import { _ as Ke } from "./utils-BGeftTvk.js";
7
7
  var p;
8
8
  (function(e) {
@@ -1,9 +1,9 @@
1
- import { d as z } from "./diag-api-DlxP-lM3.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-cqzSEkdo.js";
3
- import { s as Y, i as Z, I as q } from "./utils-Bnkan3rx.js";
1
+ import { d as z } from "./diag-api-BZd81gXR.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-Ddbabwo1.js";
3
+ import { s as Y, i as Z, I as q } from "./utils-BYrqqSgW.js";
4
4
  import { _ as T } from "./utils-BGeftTvk.js";
5
- import { P as O, b as P, p as N, s as ee, c as te } from "./utils-Cvb_-ubd.js";
6
- import { t as x, c as p, S as re } from "./index-Dpfjaf59.js";
5
+ import { P as O, b as P, p as N, s as ee, c as te } from "./utils-C2YytxT6.js";
6
+ import { t as x, c as p, S as re } from "./index-CM28ZKY-.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,4 +1,4 @@
1
- import { d as diag } from "./diag-api-DlxP-lM3.js";
1
+ import { d as diag } from "./diag-api-BZd81gXR.js";
2
2
  import { E as ExportResultCode, h as hexToBinary } from "./ExportResult-Bo1QOwfo.js";
3
3
  import { c as commonjsGlobal } from "./_commonjsHelpers-DnMzE-71.js";
4
4
  var OTLPExporterBase = (
@@ -1,7 +1,7 @@
1
- import { R as l } from "./Resource-B-Nfd4CB.js";
2
- import { d as ee } from "./Resource-B-Nfd4CB.js";
3
- import { d as v } from "./diag-api-DlxP-lM3.js";
4
- import { e as A, f as m, g as b, h as w, S as D } from "./sdk-info-BvoxDVaJ.js";
1
+ import { R as l } from "./Resource-qCFgdIPQ.js";
2
+ import { d as ee } from "./Resource-qCFgdIPQ.js";
3
+ import { d as v } from "./diag-api-BZd81gXR.js";
4
+ import { e as A, f as m, g as b, h as w, S as D } from "./sdk-info-zR2TjJEO.js";
5
5
  var T = (
6
6
  /** @class */
7
7
  function() {
package/dist/index.d.ts CHANGED
@@ -167,7 +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
+ payment_method?: string | SubmitMethod; // This is not coming from checkout setting. TODO: Define a type in future if there are more attrs
171
171
  show_all_prices?: boolean;
172
172
  exclusive_prices?: boolean;
173
173
  price_id_product_mapping?: Record<string, string>;
@@ -264,7 +264,7 @@ export declare enum FieldName {
264
264
  SHIPPING_STATE = 'shippingAddressState',
265
265
  SHIPPING_COUNTRY = 'shippingAddressCountry',
266
266
  SHIPPING_ZIP_CODE = 'shippingAddressZipCode',
267
- // IS_SHIPPING_SAME_AS_BILLING = 'isShippingSameAsBilling',
267
+ IS_SHIPPING_SAME_AS_BILLING = 'isShippingSameAsBilling',
268
268
  PROMOTION_CODE = 'promotionCode',
269
269
  }
270
270
 
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as i, O as r, l as p, m as s } from "./index-Dpfjaf59.js";
1
+ import { F as i, O as r, l as p, m as s } from "./index-CM28ZKY-.js";
2
2
  import "penpal";
3
3
  import "zod";
4
4
  import "uuid";