@daimo/pay 1.19.11 → 2.0.0

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.
Files changed (4) hide show
  1. package/README.md +5 -70
  2. package/index.js +1 -0
  3. package/package.json +5 -94
  4. package/LICENSE +0 -26
package/README.md CHANGED
@@ -1,74 +1,9 @@
1
- <a href="https://paydocs.daimo.com">
2
- <img src="https://pbs.twimg.com/profile_banners/1666972322828541954/1733698695/1500x500">
3
- </a>
1
+ # @daimo/pay (DEPRECATED)
4
2
 
5
- # Daimo Pay
3
+ This package is deprecated. Use [`@daimo/sdk`](https://www.npmjs.com/package/@daimo/sdk) instead.
6
4
 
7
- Daimo Pay enables seamless crypto payments for your app.
8
-
9
- Onboard users from any chain, any coin into your app with one click and maximize your conversion.
10
-
11
- ## Features
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
14
- and bridging so that your customers don't have to.
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.
16
- - ⚡️ Fully permissionless - Daimo never custodies funds and funds can never be stuck in a contract. Payments can be permissionlessly completed by anyone.
17
- - 💱 Support for all major wallets and exchanges - Daimo Pay supports payments from browser wallets like MetaMask and Rabby, as well as exchanges like Coinbase and Binance.
18
- - 💨 Integrate within minutes - Get up and running with Daimo Pay in as little as 10 minutes with little to no code.
19
-
20
- and much more...
21
-
22
- ## Documentation
23
-
24
- You can find the full Daimo Pay documentation [here](https://paydocs.daimo.com).
25
-
26
- ## Examples
27
-
28
- Check out https://github.com/daimo-eth/daimo-pay-demo
29
-
30
- ### Try in CodeSandbox
31
-
32
- Coming soon.
33
-
34
- ### Local Development
35
-
36
- Clone the repository and build the SDK in `dev` mode:
37
-
38
- ```sh
39
- git clone https://github.com/daimo-eth/pay.git
40
- cd pay/packages/connectkit
41
- npm i
42
- npm run dev
5
+ ```bash
6
+ npm install @daimo/sdk
43
7
  ```
44
8
 
45
- The rollup bundler will now watch file changes in the background. Try using one of the examples for testing:
46
-
47
- ```sh
48
- cd examples/nextjs
49
- npm i
50
- npm run dev
51
- ```
52
-
53
- Any changes will be reflected on the Pay button in the example app.
54
-
55
- ## Contracts
56
-
57
- Daimo Pay is noncustodial and runs on open-source, audited contracts. See `/packages/contract`.
58
-
59
- Audits:
60
-
61
- - [Nethermind, 2025 Aug](https://github.com/user-attachments/files/22227674/NM-0585-Daimo.pdf)
62
- - [Nethermind, 2025 Apr](https://github.com/user-attachments/files/20544714/NM-0500-Daimo-Pay-final-report.pdf)
63
-
64
- ## Support
65
-
66
- [Contact us](mailto:support@daimo.com) if you'd like to integrate Daimo Pay.
67
-
68
- ## License
69
-
70
- See [LICENSE](https://github.com/daimo-eth/pay/blob/master/packages/connectkit/LICENSE) for more information.
71
-
72
- ## Credits
73
-
74
- Daimo Pay SDK uses a fork of [ConnectKit](https://github.com/family/connectkit), developed by [Family](https://family.co). We're grateful to them for making ConnectKit open-source.
9
+ [See docs.daimo.com](https://docs.daimo.com)
package/index.js ADDED
@@ -0,0 +1 @@
1
+ throw new Error("@daimo/pay is deprecated. Use @daimo/sdk instead. See https://daimo.com/docs");
package/package.json CHANGED
@@ -1,97 +1,8 @@
1
1
  {
2
2
  "name": "@daimo/pay",
3
- "private": false,
4
- "version": "1.19.11",
5
- "author": "Daimo",
6
- "homepage": "https://pay.daimo.com",
7
- "license": "BSD-2-Clause license",
8
- "description": "Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.",
9
- "main": "./src/index.ts",
10
- "type": "module",
11
- "exports": {
12
- ".": {
13
- "import": "./build/src/index.js",
14
- "types": "./build/index.d.ts"
15
- },
16
- "./world": {
17
- "import": "./build/src/world.js",
18
- "types": "./build/world.d.ts"
19
- }
20
- },
21
- "types": "./build/index.d.ts",
22
- "engines": {
23
- "node": ">=12.4"
24
- },
25
- "files": [
26
- "build",
27
- "README.md"
28
- ],
29
- "scripts": {
30
- "start": "rollup --config rollup.config.js -w",
31
- "dev": "rollup --config rollup.config.js -w",
32
- "build": "rollup --config rollup.config.js",
33
- "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}' --max-warnings=0"
34
- },
35
- "dependencies": {
36
- "@daimo/pay-common": "1.19.11",
37
- "@solana/wallet-adapter-base": "^0.9.23",
38
- "@solana/wallet-adapter-react": "^0.15.35",
39
- "@solana/web3.js": "^1.95.4",
40
- "@trpc/client": "^11.0.0-next-beta.318",
41
- "@trpc/server": "^11.0.0-next-beta.318",
42
- "buffer": "^6.0.3",
43
- "detect-browser": "^5.3.0",
44
- "encoding": "^0.1.13",
45
- "framer-motion": "^11.11.4",
46
- "pino-pretty": "^13.0.0",
47
- "qrcode": "^1.5.0",
48
- "react-transition-state": "^1.1.4",
49
- "react-use-measure": "^2.1.1",
50
- "resize-observer-polyfill": "^1.5.1",
51
- "react-is": "^19.1.0",
52
- "styled-components": "^5.3.5"
53
- },
54
- "peerDependencies": {
55
- "@tanstack/react-query": ">=5.0.0",
56
- "@worldcoin/minikit-js": ">=1.9.8",
57
- "react": "18.x || 19.x",
58
- "react-dom": "18.x || 19.x",
59
- "viem": ">=2.40.1",
60
- "wagmi": "^2.16.4"
61
- },
62
- "peerDependenciesMeta": {
63
- "@worldcoin/minikit-js": {
64
- "optional": true
65
- }
66
- },
67
- "devDependencies": {
68
- "@rollup/plugin-json": "^6.1.0",
69
- "@rollup/plugin-node-resolve": "^15.3.1",
70
- "@rollup/plugin-typescript": "^12.1.4",
71
- "@types/node": "^20.14.12",
72
- "@types/qrcode": "^1.4.2",
73
- "@types/react": "^19.0.0",
74
- "@types/react-dom": "^19.0.0",
75
- "@types/rollup-plugin-peer-deps-external": "^2.2.5",
76
- "@types/styled-components": "^5.1.25",
77
- "eslint-plugin-react-hooks": "^5.2.0",
78
- "rollup": "^3.29.5",
79
- "rollup-plugin-dts": "^6.1.1",
80
- "rollup-plugin-esbuild": "^6.2.1",
81
- "rollup-plugin-peer-deps-external": "^2.2.4",
82
- "rollup-plugin-visualizer": "^5.5.4",
83
- "typescript-plugin-styled-components": "^3.0.0"
84
- },
85
- "keywords": [
86
- "ens",
87
- "react-hook",
88
- "blockchain",
89
- "hooks",
90
- "ethereum",
91
- "react",
92
- "daimo",
93
- "pay",
94
- "payment",
95
- "crypto"
96
- ]
3
+ "version": "2.0.0",
4
+ "description": "DEPRECATED — use @daimo/sdk instead",
5
+ "license": "BSD-2-Clause",
6
+ "main": "index.js",
7
+ "files": ["index.js", "README.md"]
97
8
  }
package/LICENSE DELETED
@@ -1,26 +0,0 @@
1
- BSD 2-Clause License
2
-
3
- Copyright (c) 2024, Daimo, Inc.
4
- Copyright (c) 2022, LFE, Inc.
5
- All rights reserved.
6
-
7
- Redistribution and use in source and binary forms, with or without
8
- modification, are permitted provided that the following conditions are met:
9
-
10
- 1. Redistributions of source code must retain the above copyright notice, this
11
- list of conditions and the following disclaimer.
12
-
13
- 2. Redistributions in binary form must reproduce the above copyright notice,
14
- this list of conditions and the following disclaimer in the documentation
15
- and/or other materials provided with the distribution.
16
-
17
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.