@getopenpay/openpay-js 0.5.26-alpha.b27533a → 0.5.26-alpha.b87651e
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-BTI6WB7T.js → Resource-D1KX66fN.js} +1 -1
- package/dist/{SimpleSpanProcessor-Wdf_4dSN.js → SimpleSpanProcessor-CC9KuRD0.js} +6 -6
- package/dist/{detect-resources-BNscsznr.js → detect-resources-BFGam8f4.js} +5 -5
- package/dist/{diag-api-FVBEcpxz.js → diag-api-f12j3-r8.js} +1 -1
- package/dist/{index-BgHhU0A8.js → index-7_Q6KGPv.js} +4 -4
- package/dist/{index-DyERGUVL.js → index-BdWwsSSc.js} +1 -1
- package/dist/{index-C1AiPpyr.js → index-BwD3CSVq.js} +4 -4
- package/dist/{index-BEVVMoU9.js → index-BwnZFAGG.js} +1 -1
- package/dist/{index-Cjw9fKN9.js → index-C7M366Sm.js} +5 -5
- package/dist/index-CIL8e1Fq.js +7803 -0
- package/dist/{index-Y0ak9P_0.js → index-DA4IQ5ca.js} +2 -2
- package/dist/{index-CghLdfn-.js → index-VuFbXelA.js} +4 -4
- package/dist/{index-CKzbKyBk.js → index-ehhfvtWz.js} +1 -1
- package/dist/{index-BcWFYkb4.js → index-w4N_ucuf.js} +1 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +11 -11
- package/dist/{metrics-api-S56G7fxm.js → metrics-api-Chiu9AL5.js} +1 -1
- package/dist/{suppress-tracing-DCUyTcqK.js → suppress-tracing-BdVrGcq9.js} +1 -1
- package/dist/{url-CA0iqkek.js → url-Dc8-WNXl.js} +1 -1
- package/dist/{utils-DV10T3sw.js → utils-BXNdlACI.js} +1 -1
- package/dist/{utils-DQ0NI9P1.js → utils-BcwMyp_5.js} +3 -3
- package/package.json +1 -1
- package/dist/index-oH6YuusY.js +0 -7671
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as M, t as p, i as P, T as o, b as D, d as b } from "./index-
|
|
2
|
-
import { i as A } from "./suppress-tracing-
|
|
1
|
+
import { c as M, t as p, i as P, T as o, b as D, d as b } from "./index-CIL8e1Fq.js";
|
|
2
|
+
import { i as A } from "./suppress-tracing-BdVrGcq9.js";
|
|
3
3
|
var l = M("OpenTelemetry Context Key B3 Debug Flag"), f = "b3", v = "x-b3-traceid", g = "x-b3-spanid", c = "x-b3-sampled", B = "x-b3-parentspanid", S = "x-b3-flags", F = /* @__PURE__ */ new Set([!0, "true", "True", "1", 1]), N = /* @__PURE__ */ new Set([!1, "false", "False", "0", 0]);
|
|
4
4
|
function V(r) {
|
|
5
5
|
return r === o.SAMPLED || r === o.NONE;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as v } from "./metrics-api-
|
|
2
|
-
import { t as d } from "./index-
|
|
3
|
-
import { l as f } from "./utils-
|
|
4
|
-
import { I, i as p, s as h } from "./utils-
|
|
1
|
+
import { m as v } from "./metrics-api-Chiu9AL5.js";
|
|
2
|
+
import { t as d } from "./index-CIL8e1Fq.js";
|
|
3
|
+
import { l as f } from "./utils-BcwMyp_5.js";
|
|
4
|
+
import { I, i as p, s as h } from "./utils-BcwMyp_5.js";
|
|
5
5
|
function n(r, o, a, i) {
|
|
6
6
|
for (var t = 0, s = r.length; t < s; t++) {
|
|
7
7
|
var e = r[t];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as r, b as e, B as o, a as p, C as S, F as n, N as c, P as l, R as m, d as t, S as d, e as i, c as P, T as B } from "./SimpleSpanProcessor-
|
|
1
|
+
import { A as r, b as e, B as o, a as p, C as S, F as n, N as c, P as l, R as m, d as t, S as d, e as i, c as P, T as B } from "./SimpleSpanProcessor-CC9KuRD0.js";
|
|
2
2
|
export {
|
|
3
3
|
r as AlwaysOffSampler,
|
|
4
4
|
e as AlwaysOnSampler,
|
package/dist/index.d.ts
CHANGED
|
@@ -8,11 +8,21 @@ import { z } from 'zod';
|
|
|
8
8
|
|
|
9
9
|
declare type AffirmFlowCustomParams = {
|
|
10
10
|
processor?: PaymentProcessor;
|
|
11
|
+
/**
|
|
12
|
+
* Open the BNPL authorization page in a new tab instead of an iframe.
|
|
13
|
+
* The merchant page stays open, so `onCheckoutSuccess` / `onCheckoutError` still fire.
|
|
14
|
+
* Defaults to false to preserve the existing iframe flow.
|
|
15
|
+
*/
|
|
11
16
|
useRedirectFlow?: boolean;
|
|
12
17
|
};
|
|
13
18
|
|
|
14
19
|
declare type AfterpayFlowCustomParams = {
|
|
15
20
|
processor?: PaymentProcessor;
|
|
21
|
+
/**
|
|
22
|
+
* Open the BNPL authorization page in a new tab instead of an iframe.
|
|
23
|
+
* The merchant page stays open, so `onCheckoutSuccess` / `onCheckoutError` still fire.
|
|
24
|
+
* Defaults to false to preserve the existing iframe flow.
|
|
25
|
+
*/
|
|
16
26
|
useRedirectFlow?: boolean;
|
|
17
27
|
};
|
|
18
28
|
|
|
@@ -610,7 +620,8 @@ declare type KlarnaFlowCustomParams = {
|
|
|
610
620
|
processor?: PaymentProcessor;
|
|
611
621
|
isAnonymous?: boolean;
|
|
612
622
|
/**
|
|
613
|
-
*
|
|
623
|
+
* Open the BNPL authorization page in a new tab instead of an iframe.
|
|
624
|
+
* The merchant page stays open, so `onCheckoutSuccess` / `onCheckoutError` still fire.
|
|
614
625
|
* Defaults to false to preserve the existing iframe flow.
|
|
615
626
|
*/
|
|
616
627
|
useRedirectFlow?: boolean;
|
package/dist/index.es.js
CHANGED