@appfunnel-dev/sdk 2.0.0-canary.7 → 2.0.0-canary.8
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/{capabilities-7_hy5f5G.d.cts → capabilities-CsnkVwna.d.cts} +34 -1
- package/dist/{capabilities-7_hy5f5G.d.ts → capabilities-CsnkVwna.d.ts} +34 -1
- package/dist/{checkout-D1NUPv4p.d.ts → checkout-3PkKwPd7.d.ts} +1 -1
- package/dist/{checkout-CMEdxpgo.d.cts → checkout-Cg20l53c.d.cts} +1 -1
- package/dist/{chunk-VAOR77NW.cjs → chunk-FY3TMSRU.cjs} +7 -7
- package/dist/{chunk-VAOR77NW.cjs.map → chunk-FY3TMSRU.cjs.map} +1 -1
- package/dist/{chunk-CFFMZYPE.js → chunk-PWXMQGO6.js} +3 -3
- package/dist/{chunk-CFFMZYPE.js.map → chunk-PWXMQGO6.js.map} +1 -1
- package/dist/{chunk-TNLRQPVY.js → chunk-RVJLR4RS.js} +36 -8
- package/dist/chunk-RVJLR4RS.js.map +1 -0
- package/dist/{chunk-QMAZGLGV.cjs → chunk-RY3LOSVZ.cjs} +37 -7
- package/dist/chunk-RY3LOSVZ.cjs.map +1 -0
- package/dist/{chunk-7YQLPPPG.js → chunk-VW2HVPR4.js} +7 -2
- package/dist/chunk-VW2HVPR4.js.map +1 -0
- package/dist/{chunk-BPOAWI4G.cjs → chunk-Y4YNJ2EX.cjs} +7 -2
- package/dist/chunk-Y4YNJ2EX.cjs.map +1 -0
- package/dist/driver-paddle.cjs +22 -22
- package/dist/driver-paddle.d.cts +2 -2
- package/dist/driver-paddle.d.ts +2 -2
- package/dist/driver-paddle.js +2 -2
- package/dist/driver-stripe.cjs +24 -24
- package/dist/driver-stripe.d.cts +2 -2
- package/dist/driver-stripe.d.ts +2 -2
- package/dist/driver-stripe.js +2 -2
- package/dist/index.cjs +60 -60
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/{manifest-CMe8yVkr.d.cts → manifest-B3Tdab0M.d.cts} +64 -1
- package/dist/{manifest-CMe8yVkr.d.ts → manifest-B3Tdab0M.d.ts} +64 -1
- package/dist/manifest-entry.cjs +100 -31
- package/dist/manifest-entry.cjs.map +1 -1
- package/dist/manifest-entry.d.cts +9 -26
- package/dist/manifest-entry.d.ts +9 -26
- package/dist/manifest-entry.js +64 -3
- package/dist/manifest-entry.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-7YQLPPPG.js.map +0 -1
- package/dist/chunk-BPOAWI4G.cjs.map +0 -1
- package/dist/chunk-QMAZGLGV.cjs.map +0 -1
- package/dist/chunk-TNLRQPVY.js.map +0 -1
package/dist/driver-paddle.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkFY3TMSRU_cjs = require('./chunk-FY3TMSRU.cjs');
|
|
4
|
+
var chunkRY3LOSVZ_cjs = require('./chunk-RY3LOSVZ.cjs');
|
|
5
5
|
require('./chunk-EMMSS5I5.cjs');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
|
|
@@ -638,12 +638,12 @@ async function openCheckout(ctx, session, correlationId, display) {
|
|
|
638
638
|
if (!session.transactionId && !session.items) {
|
|
639
639
|
return {
|
|
640
640
|
ok: false,
|
|
641
|
-
error:
|
|
641
|
+
error: chunkRY3LOSVZ_cjs.checkoutError("processing_error", "provider_checkout carried neither items nor a transactionId")
|
|
642
642
|
};
|
|
643
643
|
}
|
|
644
644
|
const paddle = await getPaddle(session.clientToken, session.providerEnvironment);
|
|
645
645
|
if (!paddle) {
|
|
646
|
-
return { ok: false, error:
|
|
646
|
+
return { ok: false, error: chunkRY3LOSVZ_cjs.checkoutError("processing_error", "Paddle.js failed to initialize") };
|
|
647
647
|
}
|
|
648
648
|
return await new Promise((resolve) => {
|
|
649
649
|
let done = false;
|
|
@@ -653,7 +653,7 @@ async function openCheckout(ctx, session, correlationId, display) {
|
|
|
653
653
|
if (event.name === "checkout.completed") {
|
|
654
654
|
done = true;
|
|
655
655
|
listeners.delete(listener);
|
|
656
|
-
void
|
|
656
|
+
void chunkFY3TMSRU_cjs.completeWithPoll(ctx, correlationId, {
|
|
657
657
|
attempts: 10,
|
|
658
658
|
intervalMs: 3e3,
|
|
659
659
|
timeoutMessage: PADDLE_TIMEOUT_MESSAGE
|
|
@@ -661,7 +661,7 @@ async function openCheckout(ctx, session, correlationId, display) {
|
|
|
661
661
|
} else if (event.name === "checkout.closed") {
|
|
662
662
|
done = true;
|
|
663
663
|
listeners.delete(listener);
|
|
664
|
-
resolve({ ok: false, error:
|
|
664
|
+
resolve({ ok: false, error: chunkRY3LOSVZ_cjs.checkoutError("canceled", "Checkout was closed before completing") });
|
|
665
665
|
}
|
|
666
666
|
};
|
|
667
667
|
listeners.add(listener);
|
|
@@ -689,29 +689,29 @@ function paddleCheckoutDriver(ctx) {
|
|
|
689
689
|
if (prior) {
|
|
690
690
|
pendingTimeouts.delete(priorKey);
|
|
691
691
|
try {
|
|
692
|
-
const check = await
|
|
693
|
-
if (check.step === "settled") return
|
|
692
|
+
const check = await chunkFY3TMSRU_cjs.postComplete(ctx, prior);
|
|
693
|
+
if (check.step === "settled") return chunkFY3TMSRU_cjs.settlementToResult(check.result);
|
|
694
694
|
} catch {
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
697
|
const correlationId = crypto.randomUUID();
|
|
698
698
|
try {
|
|
699
|
-
const session = await
|
|
699
|
+
const session = await chunkFY3TMSRU_cjs.postSession(ctx, req, correlationId);
|
|
700
700
|
switch (session.step) {
|
|
701
701
|
case "settled":
|
|
702
|
-
return
|
|
702
|
+
return chunkFY3TMSRU_cjs.settlementToResult(session.result);
|
|
703
703
|
case "pending":
|
|
704
704
|
return rememberIfStillPending(
|
|
705
705
|
req,
|
|
706
706
|
correlationId,
|
|
707
|
-
await
|
|
707
|
+
await chunkFY3TMSRU_cjs.completeWithPoll(ctx, correlationId, {
|
|
708
708
|
timeoutMessage: PADDLE_PENDING_TIMEOUT_MESSAGE
|
|
709
709
|
})
|
|
710
710
|
);
|
|
711
711
|
case "failed":
|
|
712
712
|
return { ok: false, error: session.error };
|
|
713
713
|
case "redirect":
|
|
714
|
-
return
|
|
714
|
+
return chunkFY3TMSRU_cjs.leaveForRedirect(session.url);
|
|
715
715
|
case "provider_checkout":
|
|
716
716
|
return rememberIfStillPending(
|
|
717
717
|
req,
|
|
@@ -721,14 +721,14 @@ function paddleCheckoutDriver(ctx) {
|
|
|
721
721
|
default:
|
|
722
722
|
return {
|
|
723
723
|
ok: false,
|
|
724
|
-
error:
|
|
724
|
+
error: chunkRY3LOSVZ_cjs.checkoutError(
|
|
725
725
|
"processing_error",
|
|
726
726
|
`Paddle returned '${session.step}' for a trigger start \u2014 Paddle has no in-page confirm step`
|
|
727
727
|
)
|
|
728
728
|
};
|
|
729
729
|
}
|
|
730
730
|
} catch (e) {
|
|
731
|
-
return { ok: false, error:
|
|
731
|
+
return { ok: false, error: chunkFY3TMSRU_cjs.toCheckoutError(e) };
|
|
732
732
|
}
|
|
733
733
|
},
|
|
734
734
|
renderInline(req, cb) {
|
|
@@ -737,7 +737,7 @@ function paddleCheckoutDriver(ctx) {
|
|
|
737
737
|
// Redirect-return resume: verify an existing attempt. Webhook-dependent, so it
|
|
738
738
|
// gets the same ~10×3s window the overlay completion poll uses.
|
|
739
739
|
resume(correlationId) {
|
|
740
|
-
return
|
|
740
|
+
return chunkFY3TMSRU_cjs.completeWithPoll(ctx, correlationId, {
|
|
741
741
|
attempts: 10,
|
|
742
742
|
intervalMs: 3e3,
|
|
743
743
|
timeoutMessage: PADDLE_TIMEOUT_MESSAGE
|
|
@@ -759,7 +759,7 @@ function PaddleInline({
|
|
|
759
759
|
let disposed = false;
|
|
760
760
|
void (async () => {
|
|
761
761
|
try {
|
|
762
|
-
const session = await
|
|
762
|
+
const session = await chunkFY3TMSRU_cjs.postSession(ctx, req, correlationId);
|
|
763
763
|
if (disposed) return;
|
|
764
764
|
switch (session.step) {
|
|
765
765
|
case "provider_checkout": {
|
|
@@ -773,29 +773,29 @@ function PaddleInline({
|
|
|
773
773
|
});
|
|
774
774
|
if (disposed) return;
|
|
775
775
|
if (result.ok) cbRef.current.onSuccess(result);
|
|
776
|
-
else cbRef.current.onError(result.error ??
|
|
776
|
+
else cbRef.current.onError(result.error ?? chunkRY3LOSVZ_cjs.checkoutError("unknown", "Checkout failed"));
|
|
777
777
|
return;
|
|
778
778
|
}
|
|
779
779
|
case "settled":
|
|
780
|
-
cbRef.current.onSuccess(
|
|
780
|
+
cbRef.current.onSuccess(chunkFY3TMSRU_cjs.settlementToResult(session.result));
|
|
781
781
|
return;
|
|
782
782
|
case "failed":
|
|
783
783
|
cbRef.current.onError(session.error);
|
|
784
784
|
return;
|
|
785
785
|
case "redirect": {
|
|
786
|
-
const result = await
|
|
786
|
+
const result = await chunkFY3TMSRU_cjs.leaveForRedirect(session.url);
|
|
787
787
|
if (!disposed && !result.ok) {
|
|
788
|
-
cbRef.current.onError(result.error ??
|
|
788
|
+
cbRef.current.onError(result.error ?? chunkRY3LOSVZ_cjs.checkoutError("canceled", "Checkout was canceled"));
|
|
789
789
|
}
|
|
790
790
|
return;
|
|
791
791
|
}
|
|
792
792
|
default:
|
|
793
793
|
cbRef.current.onError(
|
|
794
|
-
|
|
794
|
+
chunkRY3LOSVZ_cjs.checkoutError("processing_error", "unexpected step for a Paddle inline surface")
|
|
795
795
|
);
|
|
796
796
|
}
|
|
797
797
|
} catch (e) {
|
|
798
|
-
if (!disposed) cbRef.current.onError(
|
|
798
|
+
if (!disposed) cbRef.current.onError(chunkFY3TMSRU_cjs.toCheckoutError(e));
|
|
799
799
|
}
|
|
800
800
|
})();
|
|
801
801
|
return () => {
|
package/dist/driver-paddle.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CheckoutDriverContext, a as CheckoutDriver } from './checkout-
|
|
1
|
+
import { C as CheckoutDriverContext, a as CheckoutDriver } from './checkout-Cg20l53c.cjs';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './capabilities-
|
|
3
|
+
import './capabilities-CsnkVwna.cjs';
|
|
4
4
|
|
|
5
5
|
/** TEST-ONLY: clear the page-load-scoped pending-attempt memory (mirrors __resetContextCache). */
|
|
6
6
|
declare function __resetPaddleDriverState(): void;
|
package/dist/driver-paddle.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CheckoutDriverContext, a as CheckoutDriver } from './checkout-
|
|
1
|
+
import { C as CheckoutDriverContext, a as CheckoutDriver } from './checkout-3PkKwPd7.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './capabilities-
|
|
3
|
+
import './capabilities-CsnkVwna.js';
|
|
4
4
|
|
|
5
5
|
/** TEST-ONLY: clear the page-load-scoped pending-attempt memory (mirrors __resetContextCache). */
|
|
6
6
|
declare function __resetPaddleDriverState(): void;
|
package/dist/driver-paddle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { completeWithPoll, postComplete, settlementToResult, postSession, leaveForRedirect, toCheckoutError } from './chunk-
|
|
2
|
-
import { checkoutError } from './chunk-
|
|
1
|
+
import { completeWithPoll, postComplete, settlementToResult, postSession, leaveForRedirect, toCheckoutError } from './chunk-PWXMQGO6.js';
|
|
2
|
+
import { checkoutError } from './chunk-RVJLR4RS.js';
|
|
3
3
|
import './chunk-G3PMV62Z.js';
|
|
4
4
|
import { createElement, useState, useId, useRef, useEffect } from 'react';
|
|
5
5
|
|
package/dist/driver-stripe.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkFY3TMSRU_cjs = require('./chunk-FY3TMSRU.cjs');
|
|
4
|
+
var chunkRY3LOSVZ_cjs = require('./chunk-RY3LOSVZ.cjs');
|
|
5
5
|
var chunkEMMSS5I5_cjs = require('./chunk-EMMSS5I5.cjs');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
|
|
@@ -2055,13 +2055,13 @@ function fromStripeError(err) {
|
|
|
2055
2055
|
const decline = err.decline_code;
|
|
2056
2056
|
const code = err.code;
|
|
2057
2057
|
const message = err.message ?? "Payment failed";
|
|
2058
|
-
if (decline === "insufficient_funds") return
|
|
2058
|
+
if (decline === "insufficient_funds") return chunkRY3LOSVZ_cjs.checkoutError("insufficient_funds", message, { declineCode: decline });
|
|
2059
2059
|
if (code === "expired_card" || decline === "expired_card")
|
|
2060
|
-
return
|
|
2061
|
-
if (code === "card_declined") return
|
|
2060
|
+
return chunkRY3LOSVZ_cjs.checkoutError("expired_card", message, { declineCode: decline ?? code });
|
|
2061
|
+
if (code === "card_declined") return chunkRY3LOSVZ_cjs.checkoutError("card_declined", message, { declineCode: decline ?? code });
|
|
2062
2062
|
if (code === "payment_intent_authentication_failure" || code === "setup_intent_authentication_failure")
|
|
2063
|
-
return
|
|
2064
|
-
return
|
|
2063
|
+
return chunkRY3LOSVZ_cjs.checkoutError("authentication_required", message, { declineCode: code });
|
|
2064
|
+
return chunkRY3LOSVZ_cjs.checkoutError("processing_error", message, { declineCode: decline ?? code });
|
|
2065
2065
|
}
|
|
2066
2066
|
function stripeCheckoutDriver(ctx) {
|
|
2067
2067
|
return {
|
|
@@ -2069,18 +2069,18 @@ function stripeCheckoutDriver(ctx) {
|
|
|
2069
2069
|
async start(req) {
|
|
2070
2070
|
const correlationId = crypto.randomUUID();
|
|
2071
2071
|
try {
|
|
2072
|
-
const session = await
|
|
2072
|
+
const session = await chunkFY3TMSRU_cjs.postSession(ctx, req, correlationId);
|
|
2073
2073
|
switch (session.step) {
|
|
2074
2074
|
case "settled":
|
|
2075
|
-
return
|
|
2075
|
+
return chunkFY3TMSRU_cjs.settlementToResult(session.result);
|
|
2076
2076
|
case "failed":
|
|
2077
2077
|
return { ok: false, error: session.error };
|
|
2078
2078
|
case "redirect":
|
|
2079
|
-
return
|
|
2079
|
+
return chunkFY3TMSRU_cjs.leaveForRedirect(session.url);
|
|
2080
2080
|
case "pending":
|
|
2081
2081
|
return {
|
|
2082
2082
|
ok: false,
|
|
2083
|
-
error:
|
|
2083
|
+
error: chunkRY3LOSVZ_cjs.checkoutError(
|
|
2084
2084
|
"processing_error",
|
|
2085
2085
|
"Stripe returned 'pending' for a trigger start \u2014 Stripe opens settle synchronously"
|
|
2086
2086
|
)
|
|
@@ -2088,14 +2088,14 @@ function stripeCheckoutDriver(ctx) {
|
|
|
2088
2088
|
default:
|
|
2089
2089
|
return {
|
|
2090
2090
|
ok: false,
|
|
2091
|
-
error:
|
|
2091
|
+
error: chunkRY3LOSVZ_cjs.checkoutError(
|
|
2092
2092
|
"processing_error",
|
|
2093
2093
|
`Stripe returned '${session.step}' for a trigger start \u2014 use an inline surface (element/express/sheet) instead`
|
|
2094
2094
|
)
|
|
2095
2095
|
};
|
|
2096
2096
|
}
|
|
2097
2097
|
} catch (e) {
|
|
2098
|
-
return { ok: false, error:
|
|
2098
|
+
return { ok: false, error: chunkFY3TMSRU_cjs.toCheckoutError(e) };
|
|
2099
2099
|
}
|
|
2100
2100
|
},
|
|
2101
2101
|
renderInline(req, cb) {
|
|
@@ -2104,7 +2104,7 @@ function stripeCheckoutDriver(ctx) {
|
|
|
2104
2104
|
// Redirect-return resume: verify an existing attempt (Stripe settles /complete
|
|
2105
2105
|
// synchronously — the bounded poll only covers a `processing` intent tail).
|
|
2106
2106
|
resume(correlationId) {
|
|
2107
|
-
return
|
|
2107
|
+
return chunkFY3TMSRU_cjs.completeWithPoll(ctx, correlationId);
|
|
2108
2108
|
}
|
|
2109
2109
|
};
|
|
2110
2110
|
}
|
|
@@ -2121,7 +2121,7 @@ function StripeInline({
|
|
|
2121
2121
|
let disposed = false;
|
|
2122
2122
|
void (async () => {
|
|
2123
2123
|
try {
|
|
2124
|
-
const session = await
|
|
2124
|
+
const session = await chunkFY3TMSRU_cjs.postSession(ctx, req, correlationId);
|
|
2125
2125
|
if (disposed) return;
|
|
2126
2126
|
switch (session.step) {
|
|
2127
2127
|
case "client_confirm":
|
|
@@ -2134,25 +2134,25 @@ function StripeInline({
|
|
|
2134
2134
|
return;
|
|
2135
2135
|
}
|
|
2136
2136
|
case "settled":
|
|
2137
|
-
cbRef.current.onSuccess(
|
|
2137
|
+
cbRef.current.onSuccess(chunkFY3TMSRU_cjs.settlementToResult(session.result));
|
|
2138
2138
|
return;
|
|
2139
2139
|
case "failed":
|
|
2140
2140
|
cbRef.current.onError(session.error);
|
|
2141
2141
|
return;
|
|
2142
2142
|
case "redirect": {
|
|
2143
|
-
const result = await
|
|
2143
|
+
const result = await chunkFY3TMSRU_cjs.leaveForRedirect(session.url);
|
|
2144
2144
|
if (!disposed && !result.ok) {
|
|
2145
|
-
cbRef.current.onError(result.error ??
|
|
2145
|
+
cbRef.current.onError(result.error ?? chunkRY3LOSVZ_cjs.checkoutError("canceled", "Checkout was canceled"));
|
|
2146
2146
|
}
|
|
2147
2147
|
return;
|
|
2148
2148
|
}
|
|
2149
2149
|
default:
|
|
2150
2150
|
cbRef.current.onError(
|
|
2151
|
-
|
|
2151
|
+
chunkRY3LOSVZ_cjs.checkoutError("processing_error", "unexpected step for a Stripe inline surface")
|
|
2152
2152
|
);
|
|
2153
2153
|
}
|
|
2154
2154
|
} catch (e) {
|
|
2155
|
-
if (!disposed) cbRef.current.onError(
|
|
2155
|
+
if (!disposed) cbRef.current.onError(chunkFY3TMSRU_cjs.toCheckoutError(e));
|
|
2156
2156
|
}
|
|
2157
2157
|
})();
|
|
2158
2158
|
return () => {
|
|
@@ -2160,12 +2160,12 @@ function StripeInline({
|
|
|
2160
2160
|
};
|
|
2161
2161
|
}, []);
|
|
2162
2162
|
const finish = async (providerRef) => {
|
|
2163
|
-
const result = await
|
|
2163
|
+
const result = await chunkFY3TMSRU_cjs.completeWithPoll(ctx, correlationId, { providerRef });
|
|
2164
2164
|
if (result.ok) cbRef.current.onSuccess(result);
|
|
2165
|
-
else cbRef.current.onError(result.error ??
|
|
2165
|
+
else cbRef.current.onError(result.error ?? chunkRY3LOSVZ_cjs.checkoutError("unknown", "Checkout failed"));
|
|
2166
2166
|
};
|
|
2167
2167
|
const reportFailure = (providerRef) => {
|
|
2168
|
-
void
|
|
2168
|
+
void chunkFY3TMSRU_cjs.postComplete(ctx, correlationId, providerRef).catch(() => {
|
|
2169
2169
|
});
|
|
2170
2170
|
};
|
|
2171
2171
|
let inner = null;
|
|
@@ -2237,7 +2237,7 @@ function ConfirmForm({
|
|
|
2237
2237
|
await finish(paymentIntent?.id);
|
|
2238
2238
|
}
|
|
2239
2239
|
} catch (e) {
|
|
2240
|
-
onError(
|
|
2240
|
+
onError(chunkFY3TMSRU_cjs.toCheckoutError(e));
|
|
2241
2241
|
} finally {
|
|
2242
2242
|
setSubmitting(false);
|
|
2243
2243
|
}
|
package/dist/driver-stripe.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CheckoutDriverContext, a as CheckoutDriver } from './checkout-
|
|
1
|
+
import { C as CheckoutDriverContext, a as CheckoutDriver } from './checkout-Cg20l53c.cjs';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './capabilities-
|
|
3
|
+
import './capabilities-CsnkVwna.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Detect the editor's null-origin preview (the builder mounts the funnel inside an
|
package/dist/driver-stripe.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CheckoutDriverContext, a as CheckoutDriver } from './checkout-
|
|
1
|
+
import { C as CheckoutDriverContext, a as CheckoutDriver } from './checkout-3PkKwPd7.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './capabilities-
|
|
3
|
+
import './capabilities-CsnkVwna.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Detect the editor's null-origin preview (the builder mounts the funnel inside an
|
package/dist/driver-stripe.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { completeWithPoll, postSession, leaveForRedirect, settlementToResult, toCheckoutError, postComplete } from './chunk-
|
|
2
|
-
import { checkoutError } from './chunk-
|
|
1
|
+
import { completeWithPoll, postSession, leaveForRedirect, settlementToResult, toCheckoutError, postComplete } from './chunk-PWXMQGO6.js';
|
|
2
|
+
import { checkoutError } from './chunk-RVJLR4RS.js';
|
|
3
3
|
import { __commonJS, __toESM, __export } from './chunk-G3PMV62Z.js';
|
|
4
4
|
import React, { createElement, useState, useRef, useEffect } from 'react';
|
|
5
5
|
|