@daimo/pay 0.3.8 → 0.3.9
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/build/index.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
|
5
5
|
import { detect } from 'detect-browser';
|
|
6
6
|
import React, { useEffect, useState, useCallback, useRef, useLayoutEffect, useMemo, createContext, createElement } from 'react';
|
|
7
7
|
import { Buffer } from 'buffer';
|
|
8
|
-
import { readDaimoPayOrderID, assert, assertNotNull, DaimoPayOrderMode, DaimoPayOrderStatusDest, ExternalPaymentOptions, getAddressContraction, capitalize, getDisplayPrice,
|
|
8
|
+
import { readDaimoPayOrderID, assert, assertNotNull, DaimoPayOrderMode, DaimoPayOrderStatusDest, ExternalPaymentOptions, getAddressContraction, capitalize, getDisplayPrice, DaimoPayOrderStatusSource, DaimoPayIntentStatus, retryBackoff, debugJson, writeDaimoPayOrderID } from '@daimo/common';
|
|
9
9
|
import styled$1, { css, keyframes, ThemeProvider } from 'styled-components';
|
|
10
10
|
import { erc20Abi, getChainName, ethereum, arbitrum as arbitrum$1, base as base$2, optimism as optimism$1, polygon as polygon$1, ethereumSepolia, baseSepolia as baseSepolia$1, getChainExplorerTxUrl } from '@daimo/contract';
|
|
11
11
|
import { zeroAddress, parseUnits } from 'viem';
|
|
@@ -900,13 +900,12 @@ const trpc = createTRPCClient({
|
|
|
900
900
|
],
|
|
901
901
|
});
|
|
902
902
|
|
|
903
|
-
function getPaymentInfo(setOpen, log) {
|
|
903
|
+
function getPaymentInfo({ daimoPayOrder, setDaimoPayOrder, setOpen, log, }) {
|
|
904
904
|
// Wallet state.
|
|
905
905
|
const { address: senderAddr } = useAccount();
|
|
906
906
|
const { writeContractAsync } = useWriteContract();
|
|
907
907
|
const { sendTransactionAsync } = useSendTransaction();
|
|
908
908
|
// Daimo Pay order state.
|
|
909
|
-
const [daimoPayOrder, setDaimoPayOrder] = useState();
|
|
910
909
|
const [paymentWaitingMessage, setPaymentWaitingMessage] = useState();
|
|
911
910
|
// Payment UI config.
|
|
912
911
|
const [modalOptions, setModalOptions] = useState({});
|
|
@@ -2177,7 +2176,7 @@ const ResetContainer = styled(motion.div) `
|
|
|
2177
2176
|
`;
|
|
2178
2177
|
|
|
2179
2178
|
var name = "@daimo/pay";
|
|
2180
|
-
var version = "0.3.
|
|
2179
|
+
var version = "0.3.9";
|
|
2181
2180
|
var author = "Daimo";
|
|
2182
2181
|
var homepage = "https://pay.daimo.com";
|
|
2183
2182
|
var license = "BSD-2-Clause license";
|
|
@@ -10049,13 +10048,7 @@ const TextButton = styled(motion.button) `
|
|
|
10049
10048
|
|
|
10050
10049
|
const Confirmation = () => {
|
|
10051
10050
|
const { paymentInfo } = useContext();
|
|
10052
|
-
const { daimoPayOrder
|
|
10053
|
-
useEffect(() => {
|
|
10054
|
-
const interval = setInterval(() => {
|
|
10055
|
-
refreshOrder();
|
|
10056
|
-
}, 300);
|
|
10057
|
-
return () => clearInterval(interval);
|
|
10058
|
-
}, [refreshOrder]);
|
|
10051
|
+
const { daimoPayOrder } = paymentInfo;
|
|
10059
10052
|
const { done, txURL } = (() => {
|
|
10060
10053
|
if (daimoPayOrder && daimoPayOrder.mode === DaimoPayOrderMode.HYDRATED) {
|
|
10061
10054
|
// Frontends are optimistic, assume submits will be successful
|
|
@@ -10992,7 +10985,37 @@ const DaimoPayProvider = ({ children, theme = "auto", mode = "auto", customTheme
|
|
|
10992
10985
|
}
|
|
10993
10986
|
}, [injectedConnector]);
|
|
10994
10987
|
const log = debugMode ? console.log : () => { };
|
|
10995
|
-
|
|
10988
|
+
// PaymentInfo is a second, inner context object containing a DaimoPayOrder
|
|
10989
|
+
// plus all associated status and callbacks. In order for useContext() and
|
|
10990
|
+
// downstream hooks like useDaimoPayStatus() to work correctly, we must set
|
|
10991
|
+
// set refresh context when payment status changes; done via setDaimoPayOrder.
|
|
10992
|
+
const [daimoPayOrder, setDaimoPayOrder] = useState();
|
|
10993
|
+
const paymentInfo = getPaymentInfo({
|
|
10994
|
+
daimoPayOrder,
|
|
10995
|
+
setDaimoPayOrder,
|
|
10996
|
+
setOpen,
|
|
10997
|
+
log,
|
|
10998
|
+
});
|
|
10999
|
+
// When a payment is in progress, poll for status updates. Do this regardless
|
|
11000
|
+
// of whether the modal is still being displayed for useDaimoPayStatus().
|
|
11001
|
+
useEffect(() => {
|
|
11002
|
+
// Order just updated...
|
|
11003
|
+
if (daimoPayOrder?.mode !== DaimoPayOrderMode.HYDRATED)
|
|
11004
|
+
return;
|
|
11005
|
+
const { sourceStatus, intentStatus } = daimoPayOrder;
|
|
11006
|
+
let intervalMs = 0;
|
|
11007
|
+
if (sourceStatus === DaimoPayOrderStatusSource.WAITING_PAYMENT) {
|
|
11008
|
+
intervalMs = 2500; // additional, faster polling in WaitingOther
|
|
11009
|
+
}
|
|
11010
|
+
else if (intentStatus === DaimoPayIntentStatus.PENDING) {
|
|
11011
|
+
intervalMs = 300; // poll fast from (payment initiated) to (finished)
|
|
11012
|
+
}
|
|
11013
|
+
else {
|
|
11014
|
+
return;
|
|
11015
|
+
}
|
|
11016
|
+
log(`[PAY] polling in ${intervalMs}ms`);
|
|
11017
|
+
setTimeout(() => retryBackoff("refreshOrder", () => paymentInfo.refreshOrder()), intervalMs);
|
|
11018
|
+
}, [daimoPayOrder]);
|
|
10996
11019
|
const loadAndShowPayment = async (payId, modalOptions) => {
|
|
10997
11020
|
log(`[PAY] showing order ${payId}, options ${debugJson(modalOptions)}`);
|
|
10998
11021
|
await paymentInfo.setPayId(payId);
|
|
@@ -11021,7 +11044,6 @@ const DaimoPayProvider = ({ children, theme = "auto", mode = "auto", customTheme
|
|
|
11021
11044
|
setOpen,
|
|
11022
11045
|
route,
|
|
11023
11046
|
setRoute,
|
|
11024
|
-
loadAndShowPayment,
|
|
11025
11047
|
connector,
|
|
11026
11048
|
setConnector,
|
|
11027
11049
|
onConnect,
|
|
@@ -11040,6 +11062,9 @@ const DaimoPayProvider = ({ children, theme = "auto", mode = "auto", customTheme
|
|
|
11040
11062
|
},
|
|
11041
11063
|
resize,
|
|
11042
11064
|
triggerResize: () => onResize((prev) => prev + 1),
|
|
11065
|
+
// Above: generic ConnectKit context
|
|
11066
|
+
// Below: Daimo Pay context
|
|
11067
|
+
loadAndShowPayment,
|
|
11043
11068
|
paymentInfo,
|
|
11044
11069
|
};
|
|
11045
11070
|
return createElement(Context.Provider, { value }, jsx(Web3ContextProvider, { enabled: open, children: jsxs(ThemeProvider, { theme: defaultTheme$1, children: [children, jsx(DaimoPayModal, { lang: ckLang, theme: ckTheme, mode: mode, customTheme: ckCustomTheme })] }) }));
|
package/build/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -25,7 +25,12 @@ export interface PaymentInfo {
|
|
|
25
25
|
txURL?: string;
|
|
26
26
|
}) => void;
|
|
27
27
|
}
|
|
28
|
-
export declare function getPaymentInfo(
|
|
28
|
+
export declare function getPaymentInfo({ daimoPayOrder, setDaimoPayOrder, setOpen, log, }: {
|
|
29
|
+
daimoPayOrder: DaimoPayOrder | undefined;
|
|
30
|
+
setDaimoPayOrder: (o: DaimoPayOrder) => void;
|
|
31
|
+
setOpen: (showModal: boolean) => void;
|
|
32
|
+
log: (...args: any[]) => void;
|
|
33
|
+
}): {
|
|
29
34
|
setPayId: (payId: string | null) => Promise<void>;
|
|
30
35
|
daimoPayOrder: DaimoPayOrder | undefined;
|
|
31
36
|
modalOptions: DaimoPayModalOptions;
|