@daimo/pay 1.9.0 → 1.9.1
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/README.md +10 -2
- package/build/index.js +4 -3
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<a href="https://paydocs.daimo.com">
|
|
2
|
-
<img src="https://
|
|
2
|
+
<img src="https://pbs.twimg.com/profile_banners/1666972322828541954/1733698695/1500x500">
|
|
3
3
|
</a>
|
|
4
4
|
|
|
5
5
|
# Daimo Pay
|
|
@@ -10,7 +10,8 @@ Onboard users from any chain, any coin into your app with one click and maximize
|
|
|
10
10
|
|
|
11
11
|
## Features
|
|
12
12
|
|
|
13
|
-
- 🌱 Instant cross-chain payments — Accept payment from 1000+ tokens on multiple chains. Payments complete in less than 5 seconds. We handle the swapping
|
|
13
|
+
- 🌱 Instant cross-chain payments — Accept payment from 1000+ tokens on multiple chains. Payments complete in less than 5 seconds. We handle the swapping
|
|
14
|
+
and bridging so that your customers don't have to.
|
|
14
15
|
- 💡 Pay with a single transaction - No more wallet round-trips to make approval, swap, or bridging transactions. Your customers pay with a single transfer transaction.
|
|
15
16
|
- ⚡️ Fully permissionless - Daimo never custodies funds and funds can never be stuck in a contract. Payments can be permissionlessly completed by anyone.
|
|
16
17
|
- 💱 Support for all major wallets and exchanges - Daimo Pay supports payments from browser wallets like MetaMask and Rabby, WalletConnect, as well as exchanges like Coinbase and Binance.
|
|
@@ -51,6 +52,13 @@ npm run dev
|
|
|
51
52
|
|
|
52
53
|
Any changes will be reflected on the Pay button in the example app.
|
|
53
54
|
|
|
55
|
+
## Contracts
|
|
56
|
+
|
|
57
|
+
Daimo Pay is noncustodial and runs on open-source, audited contracts. See `/packages/contract`.
|
|
58
|
+
|
|
59
|
+
Audits:
|
|
60
|
+
- [Nethermind, 2025 Apr](https://github.com/user-attachments/files/20544714/NM-0500-Daimo-Pay-final-report.pdf)
|
|
61
|
+
|
|
54
62
|
## Support
|
|
55
63
|
|
|
56
64
|
[Contact us](mailto:support@daimo.com) if you'd like to integrate Daimo Pay.
|
package/build/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import { VersionedTransaction } from '@solana/web3.js';
|
|
|
22
22
|
import { normalize } from 'viem/ens';
|
|
23
23
|
|
|
24
24
|
var name = "@daimo/pay";
|
|
25
|
-
var version = "1.9.
|
|
25
|
+
var version = "1.9.1";
|
|
26
26
|
var author = "Daimo";
|
|
27
27
|
var homepage = "https://pay.daimo.com";
|
|
28
28
|
var license = "BSD-2-Clause license";
|
|
@@ -61,7 +61,7 @@ var keywords = [
|
|
|
61
61
|
"crypto"
|
|
62
62
|
];
|
|
63
63
|
var dependencies = {
|
|
64
|
-
"@daimo/pay-common": "1.9.
|
|
64
|
+
"@daimo/pay-common": "1.9.1",
|
|
65
65
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
66
66
|
"@solana/wallet-adapter-base": "^0.9.23",
|
|
67
67
|
"@solana/wallet-adapter-react": "^0.15.35",
|
|
@@ -2707,6 +2707,7 @@ async function runHydratePayParamsEffects(store, trpc, prev, event) {
|
|
|
2707
2707
|
isAmountEditable: order.mode === DaimoPayOrderMode.CHOOSE_AMOUNT,
|
|
2708
2708
|
metadata: order.metadata,
|
|
2709
2709
|
userMetadata: order.userMetadata,
|
|
2710
|
+
externalId: order.externalId ?? undefined,
|
|
2710
2711
|
},
|
|
2711
2712
|
refundAddress: event.refundAddress,
|
|
2712
2713
|
});
|
|
@@ -12313,7 +12314,7 @@ function usePaymentState({ trpc, lockPayParams, setRoute, log, redirectReturnUrl
|
|
|
12313
12314
|
if (lockPayParams)
|
|
12314
12315
|
return;
|
|
12315
12316
|
assert(payParams != null, "[SET PAY PARAMS] payParams cannot be null");
|
|
12316
|
-
|
|
12317
|
+
log("[SET PAY PARAMS] setting payParams", payParams);
|
|
12317
12318
|
pay.reset();
|
|
12318
12319
|
await pay.createPreviewOrder(payParams);
|
|
12319
12320
|
setCurrPayParams(payParams);
|