@getopenpay/openpay-js 0.5.1-alpha.4c51460 → 0.5.2
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.
- package/dist/{Resource-BqIs1Pik.js → Resource-BCwzhHdr.js} +2 -2
- package/dist/{SimpleSpanProcessor-D6ZsrLYV.js → SimpleSpanProcessor-chuJXVe5.js} +6 -6
- package/dist/{detect-resources-GzDWuwAF.js → detect-resources-BcZAWFxm.js} +6 -6
- package/dist/{diag-api-CpOU317S.js → diag-api-DVWdaM_5.js} +1 -1
- package/dist/{index-B9YbNdJ4.js → index-B7lHYRY-.js} +1 -1
- package/dist/{index-CUSi0COY.js → index-BVbeGNGK.js} +1399 -1377
- package/dist/{index-BB0YqmIi.js → index-C-ccmg0o.js} +4 -4
- package/dist/{index-BHiS7ZPQ.js → index-CqQHeM64.js} +4 -4
- package/dist/{index-D1PHx1Rm.js → index-D4LbNUEI.js} +5 -5
- package/dist/{index-BfqFaUFz.js → index-G4yJVL8S.js} +1 -1
- package/dist/{index-eKEoeWoe.js → index-GU4B98Sc.js} +1 -1
- package/dist/{index-DNix44po.js → index-Ur3w_iVo.js} +4 -4
- package/dist/{index-CQ9JSrer.js → index-d_a__Vrd.js} +1 -1
- package/dist/{index-DHJUHj6C.js → index-m-ctDxHJ.js} +5 -5
- package/dist/index.d.ts +3 -19
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +8 -8
- package/dist/{metrics-api-C4_2kZjP.js → metrics-api-DvG8X_VW.js} +1 -1
- package/dist/{sdk-info-C6liOgpU.js → sdk-info-Yldl_Nh7.js} +1 -1
- package/dist/{url-Dt_4rHUl.js → url-c22wWJRm.js} +1 -1
- package/dist/{utils-DJVZPXu_.js → utils-BlKzJ1p8.js} +3 -3
- package/dist/{utils-CKCImW5V.js → utils-Cog5OvOK.js} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as u } from "./index-
|
|
2
|
-
import { B as c } from "./SimpleSpanProcessor-
|
|
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-
|
|
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-
|
|
1
|
+
import { R as u } from "./index-BVbeGNGK.js";
|
|
2
|
+
import { B as c } from "./SimpleSpanProcessor-chuJXVe5.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-chuJXVe5.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-Cog5OvOK.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,7 +1,7 @@
|
|
|
1
|
-
import { R as l } from "./Resource-
|
|
2
|
-
import { d as ee } from "./Resource-
|
|
3
|
-
import { d as v } from "./diag-api-
|
|
4
|
-
import { e as A, f as m, g as b, h as w, S as D } from "./sdk-info-
|
|
1
|
+
import { R as l } from "./Resource-BCwzhHdr.js";
|
|
2
|
+
import { d as ee } from "./Resource-BCwzhHdr.js";
|
|
3
|
+
import { d as v } from "./diag-api-DVWdaM_5.js";
|
|
4
|
+
import { e as A, f as m, g as b, h as w, S as D } from "./sdk-info-Yldl_Nh7.js";
|
|
5
5
|
var T = (
|
|
6
6
|
/** @class */
|
|
7
7
|
function() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as z } from "./diag-api-
|
|
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-
|
|
3
|
-
import { s as Y, i as Z, I as q } from "./utils-
|
|
1
|
+
import { d as z } from "./diag-api-DVWdaM_5.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-c22wWJRm.js";
|
|
3
|
+
import { s as Y, i as Z, I as q } from "./utils-BlKzJ1p8.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-
|
|
6
|
-
import { t as x, c as p, S as re } from "./index-
|
|
5
|
+
import { P as O, b as P, p as N, s as ee, c as te } from "./utils-Cog5OvOK.js";
|
|
6
|
+
import { t as x, c as p, S as re } from "./index-BVbeGNGK.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 { 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-
|
|
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-chuJXVe5.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-
|
|
1
|
+
import { b as I, t as l, i as D, T as o, d as T, e as b } from "./index-BVbeGNGK.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,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-
|
|
2
|
-
import { b as k, t as O, i as Y, T as b, d as Ie, c as B } from "./index-
|
|
3
|
-
import { d as _ } from "./diag-api-
|
|
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-c22wWJRm.js";
|
|
2
|
+
import { b as k, t as O, i as Y, T as b, d as Ie, c as B } from "./index-BVbeGNGK.js";
|
|
3
|
+
import { d as _ } from "./diag-api-DVWdaM_5.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-
|
|
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-Yldl_Nh7.js";
|
|
6
6
|
import { _ as Ke } from "./utils-BGeftTvk.js";
|
|
7
7
|
var p;
|
|
8
8
|
(function(e) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as s } from "./metrics-api-
|
|
2
|
-
import { t as d } from "./index-
|
|
3
|
-
import { l as u } from "./utils-
|
|
4
|
-
import { I as N, i as T, s as w, a as E } from "./utils-
|
|
5
|
-
import { d as f } from "./diag-api-
|
|
1
|
+
import { m as s } from "./metrics-api-DvG8X_VW.js";
|
|
2
|
+
import { t as d } from "./index-BVbeGNGK.js";
|
|
3
|
+
import { l as u } from "./utils-BlKzJ1p8.js";
|
|
4
|
+
import { I as N, i as T, s as w, a as E } from "./utils-BlKzJ1p8.js";
|
|
5
|
+
import { d as f } from "./diag-api-DVWdaM_5.js";
|
|
6
6
|
function l(e, r, t, o) {
|
|
7
7
|
for (var n = 0, a = e.length; n < a; n++) {
|
|
8
8
|
var i = e[n];
|
package/dist/index.d.ts
CHANGED
|
@@ -5,16 +5,6 @@ import { PaymentRequest as PaymentRequest_2 } from '@stripe/stripe-js';
|
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
|
|
8
|
-
declare type AirwallexApplePayFlowCustomParams = {
|
|
9
|
-
overridePaymentRequest?: {
|
|
10
|
-
amount: Amount;
|
|
11
|
-
pending?: boolean;
|
|
12
|
-
label?: string;
|
|
13
|
-
applePayPaymentRequest?: ApplePayPaymentRequest;
|
|
14
|
-
};
|
|
15
|
-
defaultFieldValues?: DefaultFieldValues;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
8
|
declare type AllCallbacks = {
|
|
19
9
|
onFocus?: (elementId: string, field: AllFieldNames) => void;
|
|
20
10
|
onBlur?: (
|
|
@@ -358,12 +348,6 @@ declare type GooglePayPaymentRequest =
|
|
|
358
348
|
| ((current: PaymentDataRequest) => Partial<PaymentDataRequest>)
|
|
359
349
|
| Partial<PaymentDataRequest>;
|
|
360
350
|
|
|
361
|
-
declare type InitAirwallexApplePayFlowResult = {
|
|
362
|
-
isAvailable: boolean;
|
|
363
|
-
isLoading: boolean;
|
|
364
|
-
startFlow: (customParams?: AirwallexApplePayFlowCustomParams) => Promise<void>;
|
|
365
|
-
};
|
|
366
|
-
|
|
367
351
|
declare type InitApplePayFlowResult = {
|
|
368
352
|
processor: PaymentProcessor;
|
|
369
353
|
isAvailable: boolean;
|
|
@@ -1181,8 +1165,8 @@ declare type ProcessorSpecificSubmitSettings<T extends SubmitMethod = SubmitMeth
|
|
|
1181
1165
|
[SubmitMethods.paypal]: PaypalFlowCustomParams;
|
|
1182
1166
|
// TODO: The following methods are deprecated and will be removed in the future.
|
|
1183
1167
|
// Use googlePay/applePay instead
|
|
1184
|
-
[SubmitMethods.airwallexGooglePay]:
|
|
1185
|
-
[SubmitMethods.airwallexApplePay]:
|
|
1168
|
+
[SubmitMethods.airwallexGooglePay]: GooglePayFlowCustomParams;
|
|
1169
|
+
[SubmitMethods.airwallexApplePay]: ApplePayFlowCustomParams;
|
|
1186
1170
|
[SubmitMethods.authorizenetGooglePay]: GooglePayFlowCustomParams;
|
|
1187
1171
|
[SubmitMethods.authorizenetApplePay]: ApplePayFlowCustomParams;
|
|
1188
1172
|
[SubmitMethods.adyenGooglePay]: GooglePayFlowCustomParams;
|
|
@@ -1223,7 +1207,7 @@ export declare enum SubmitMethods {
|
|
|
1223
1207
|
*/
|
|
1224
1208
|
airwallexGooglePay = 'airwallex-google-pay',
|
|
1225
1209
|
/**
|
|
1226
|
-
* @deprecated Use
|
|
1210
|
+
* @deprecated Use applePay instead
|
|
1227
1211
|
*/
|
|
1228
1212
|
airwallexApplePay = 'airwallex-apple-pay',
|
|
1229
1213
|
/**
|
package/dist/index.es.js
CHANGED