@getopenpay/openpay-js 0.3.9 → 0.3.10

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-CVJ0ot2f.js";
2
- import { b as k, t as O, i as Y, T as b, d as Ie, c as B } from "./index-CwsGN1jX.js";
3
- import { d as _ } from "./diag-api-Cm1lbK_u.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-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";
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-CRXr3Btq.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";
6
6
  import { _ as Ke } from "./utils-BGeftTvk.js";
7
7
  var p;
8
8
  (function(e) {
@@ -1,7 +1,7 @@
1
- import { R as u } from "./index-CwsGN1jX.js";
2
- import { B as c } from "./SimpleSpanProcessor-Cw4fviR9.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-Cw4fviR9.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-DLTfoBSE.js";
1
+ import { R as u } from "./index-CsHbuY7s.js";
2
+ import { B as c } from "./SimpleSpanProcessor-CNeg-HkI.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-CNeg-HkI.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-CylBTH09.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,4 +1,4 @@
1
- import { R as Le } from "./index-CwsGN1jX.js";
1
+ import { R as Le } from "./index-CsHbuY7s.js";
2
2
  function Et(e) {
3
3
  return e === void 0 && (e = {}), typeof e.addEventListener == "function" && typeof e.removeEventListener == "function";
4
4
  }
@@ -1,4 +1,4 @@
1
- import { d as diag } from "./diag-api-Cm1lbK_u.js";
1
+ import { d as diag } from "./diag-api-CiDu2N_T.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 = (
package/dist/index.d.ts CHANGED
@@ -7,7 +7,13 @@ import { z } from 'zod';
7
7
 
8
8
  declare type AllCallbacks = {
9
9
  onFocus?: (elementId: string, field: AllFieldNames) => void;
10
- onBlur?: (elementId: string, field: AllFieldNames) => void;
10
+ onBlur?: (
11
+ elementId: string,
12
+ field: AllFieldNames,
13
+ extraArgs?: {
14
+ obfuscatedValue?: string;
15
+ }
16
+ ) => void;
11
17
  onChange?: (elementId: string, field: AllFieldNames, errors?: string[]) => void;
12
18
  onLoad?: (totalAmountAtoms?: number, currency?: string) => void;
13
19
  onLoadError?: (message: string) => void;
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-CwsGN1jX.js";
1
+ import { F as e, O as i, l as r, m as s } from "./index-CsHbuY7s.js";
2
2
  import "penpal";
3
3
  import "uuid";
4
4
  export {