@rozoai/intent-pay 0.1.22-beta.5 → 0.1.22-beta.7

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/package.json CHANGED
@@ -1,102 +1,103 @@
1
- {
2
- "name": "@rozoai/intent-pay",
3
- "private": false,
4
- "version": "0.1.22-beta.5",
5
- "author": "RozoAI",
6
- "homepage": "https://github.com/RozoAI/intent-pay",
7
- "license": "BSD-2-Clause",
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
- },
17
- "types": "./build/index.d.ts",
18
- "engines": {
19
- "node": ">=12.4"
20
- },
21
- "files": [
22
- "build",
23
- "README.md"
24
- ],
25
- "keywords": [
26
- "ens",
27
- "react-hook",
28
- "blockchain",
29
- "hooks",
30
- "family",
31
- "ethereum",
32
- "react",
33
- "rozoai",
34
- "pay",
35
- "payment",
36
- "crypto"
37
- ],
38
- "dependencies": {
39
- "@reown/appkit": "^1.7.0",
40
- "@rollup/plugin-image": "^3.0.3",
41
- "@rollup/plugin-typescript": "^12.1.2",
42
- "@rozoai/intent-common": "0.1.15-beta.1",
43
- "@solana/spl-token": "^0.4.14",
44
- "@solana/wallet-adapter-base": "^0.9.27",
45
- "@solana/wallet-adapter-react": "^0.15.39",
46
- "@solana/web3.js": "^1.98.4",
47
- "@trpc/client": "^11.0.0-next-beta.318",
48
- "@trpc/server": "^11.0.0-next-beta.318",
49
- "@walletconnect/sign-client": "^2.22.3",
50
- "@worldcoin/minikit-js": "^1.9.7",
51
- "bs58": "^6.0.0",
52
- "buffer": "^6.0.3",
53
- "detect-browser": "^5.3.0",
54
- "framer-motion": "^11.11.4",
55
- "pusher-js": "^8.4.0",
56
- "qrcode": "^1.5.4",
57
- "react-transition-state": "^1.1.4",
58
- "react-use-measure": "^2.1.1",
59
- "resize-observer-polyfill": "^1.5.1",
60
- "styled-components": "^5.3.5"
61
- },
62
- "peerDependencies": {
63
- "@creit.tech/stellar-wallets-kit": "^2.2.0",
64
- "@stellar/stellar-sdk": "^14.2.0",
65
- "@tanstack/react-query": ">=5.0.0",
66
- "react": "18.x || 19.x",
67
- "react-dom": "18.x || 19.x",
68
- "viem": "2.x",
69
- "wagmi": "2.x"
70
- },
71
- "peerDependenciesMeta": {
72
- "@worldcoin/minikit-js": {
73
- "optional": true
74
- }
75
- },
76
- "devDependencies": {
77
- "@rollup/plugin-json": "^6.1.0",
78
- "@types/node": "^20.14.12",
79
- "@types/qrcode": "^1.4.2",
80
- "@types/react": "^18.2.47",
81
- "@types/react-dom": "^18.2.18",
82
- "@types/styled-components": "^5.1.25",
83
- "@typescript-eslint/eslint-plugin": "^8.0.0",
84
- "@typescript-eslint/parser": "^8.0.0",
85
- "@walletconnect/types": "^2.22.3",
86
- "eslint": "^8.57.0",
87
- "eslint-plugin-react": "^7.37.0",
88
- "eslint-plugin-react-hooks": "^5.2.0",
89
- "rollup": "^3.29.5",
90
- "rollup-plugin-peer-deps-external": "^2.2.4",
91
- "rollup-plugin-visualizer": "^6.0.5"
92
- },
93
- "scripts": {
94
- "start": "rollup --config rollup.config.js -w",
95
- "dev": "rollup --config rollup.config.js -w",
96
- "build": "rollup --config rollup.config.js",
97
- "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}' --quiet",
98
- "release": "bumpp",
99
- "publish:beta": "pnpm publish --no-git-checks --tag beta",
100
- "publish:latest": "pnpm publish --no-git-checks --tag latest"
101
- }
102
- }
1
+ {
2
+ "name": "@rozoai/intent-pay",
3
+ "private": false,
4
+ "version": "0.1.22-beta.7",
5
+ "author": "RozoAI",
6
+ "homepage": "https://github.com/RozoAI/intent-pay",
7
+ "license": "BSD-2-Clause",
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
+ },
17
+ "types": "./build/index.d.ts",
18
+ "engines": {
19
+ "node": ">=12.4"
20
+ },
21
+ "files": [
22
+ "build",
23
+ "README.md"
24
+ ],
25
+ "scripts": {
26
+ "start": "rollup --config rollup.config.js -w",
27
+ "dev": "rollup --config rollup.config.js -w",
28
+ "build": "rollup --config rollup.config.js",
29
+ "prepare": "pnpm run build",
30
+ "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}' --quiet",
31
+ "release": "bumpp",
32
+ "publish:beta": "pnpm publish --no-git-checks --tag beta",
33
+ "publish:latest": "pnpm publish --no-git-checks --tag latest"
34
+ },
35
+ "keywords": [
36
+ "ens",
37
+ "react-hook",
38
+ "blockchain",
39
+ "hooks",
40
+ "family",
41
+ "ethereum",
42
+ "react",
43
+ "rozoai",
44
+ "pay",
45
+ "payment",
46
+ "crypto"
47
+ ],
48
+ "dependencies": {
49
+ "@reown/appkit": "^1.7.0",
50
+ "@rollup/plugin-image": "^3.0.3",
51
+ "@rollup/plugin-typescript": "^12.1.2",
52
+ "@rozoai/intent-common": "0.1.17",
53
+ "@solana/spl-token": "^0.4.14",
54
+ "@solana/wallet-adapter-base": "^0.9.27",
55
+ "@solana/wallet-adapter-react": "^0.15.39",
56
+ "@solana/web3.js": "^1.98.4",
57
+ "@trpc/client": "^11.0.0-next-beta.318",
58
+ "@trpc/server": "^11.0.0-next-beta.318",
59
+ "@walletconnect/sign-client": "^2.22.3",
60
+ "@worldcoin/minikit-js": "^1.9.7",
61
+ "bs58": "^6.0.0",
62
+ "buffer": "^6.0.3",
63
+ "detect-browser": "^5.3.0",
64
+ "framer-motion": "^11.11.4",
65
+ "pusher-js": "^8.4.0",
66
+ "qrcode": "^1.5.4",
67
+ "react-transition-state": "^1.1.4",
68
+ "react-use-measure": "^2.1.1",
69
+ "resize-observer-polyfill": "^1.5.1",
70
+ "styled-components": "^5.3.5"
71
+ },
72
+ "peerDependencies": {
73
+ "@creit.tech/stellar-wallets-kit": "^1.9.5",
74
+ "@stellar/stellar-sdk": "^14.2.0",
75
+ "@tanstack/react-query": ">=5.0.0",
76
+ "react": "18.x || 19.x",
77
+ "react-dom": "18.x || 19.x",
78
+ "viem": "2.x",
79
+ "wagmi": "2.x"
80
+ },
81
+ "peerDependenciesMeta": {
82
+ "@worldcoin/minikit-js": {
83
+ "optional": true
84
+ }
85
+ },
86
+ "devDependencies": {
87
+ "@rollup/plugin-json": "^6.1.0",
88
+ "@types/node": "^20.14.12",
89
+ "@types/qrcode": "^1.4.2",
90
+ "@types/react": "^18.2.47",
91
+ "@types/react-dom": "^18.2.18",
92
+ "@types/styled-components": "^5.1.25",
93
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
94
+ "@typescript-eslint/parser": "^8.0.0",
95
+ "@walletconnect/types": "^2.22.3",
96
+ "eslint": "^8.57.0",
97
+ "eslint-plugin-react": "^7.37.0",
98
+ "eslint-plugin-react-hooks": "^5.2.0",
99
+ "rollup": "^3.29.5",
100
+ "rollup-plugin-peer-deps-external": "^2.2.4",
101
+ "rollup-plugin-visualizer": "^6.0.5"
102
+ }
103
+ }
package/src/index.ts DELETED
@@ -1,52 +0,0 @@
1
- export type * as Types from "./types";
2
-
3
- export { version } from "../package.json";
4
-
5
- // Configure Rozo Pay
6
- export { default as getDefaultConfig } from "./defaultConfig";
7
- export { RozoPayProvider } from "./provider/RozoPayProvider";
8
-
9
- // Pay button
10
- export { RozoPayButton } from "./components/RozoPayButton";
11
-
12
- export type {
13
- RozoPayButtonCustomProps,
14
- RozoPayButtonProps,
15
- } from "./components/RozoPayButton/types";
16
-
17
- // Hooks to track payment status + UI status.
18
- export { useRozoPay } from "./hooks/useRozoPay";
19
- export { useRozoPayStatus } from "./hooks/useRozoPayStatus";
20
- export { useRozoPayUI } from "./hooks/useRozoPayUI";
21
-
22
- // For convenience, export components to show connected account.
23
- // export { default as ChainIcon } from "./components/Common/Chain";
24
- export { wallets } from "./wallets";
25
-
26
- // Export utilities.
27
- export * from "./utils/exports";
28
-
29
- // Export types
30
- export * from "./types";
31
-
32
- // Export chain address utilities and types
33
- export {
34
- isValidEvmAddress,
35
- isValidSolanaAddress,
36
- isValidStellarAddress,
37
- validateAddressForChain,
38
- } from "./types/chainAddress";
39
-
40
- // TODO: expose this more selectively.
41
- export { usePayContext } from "./hooks/usePayContext";
42
- export { PayContext as RozoPayContext } from "./provider/PayContext";
43
-
44
- // Stellar integration
45
- export { useRozoConnectStellar } from "./provider/StellarContextProvider";
46
-
47
- // EVM utils
48
- export { getAddress as getEVMAddress, isAddress as isEVMAddress } from "viem";
49
- export {
50
- createConfig as createRozoWagmiConfig,
51
- WagmiProvider as RozoWagmiProvider,
52
- } from "wagmi";