Files
zeekayandHanzo Dev a72238953d Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so tsup's
dts build, typedoc and typescript-eslint cannot read it — packages/ui and
packages/wallet both pinned it bare and both build with tsup. It comes in
aliased as tsgo and does the typechecking; typescript drops to the 6 line so the
tools get their API back.

wallet also gains an ambient declare module '*.css', which TS7 wants for the
rainbowkit and solana stylesheet imports: 0 diagnostics under both compilers,
from 2. ui reports the same 36 under both, all its uninstalled @chakra-ui peer
and one duplicate export.

wallet's package-lock.json is left alone. It already records typescript 5.9.3
against a 7.0.2 pin, and it cannot be regenerated: rainbowkit 2.2.11 peers
wagmi ^2.9.0 while the package asks for ^3.7.7, so every install rewrites the
tree rather than resolving it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-17 00:42:26 -07:00

67 lines
1.6 KiB
JSON

{
"name": "@luxfi/wallet",
"version": "1.0.0",
"description": "Lux Omnichain Wallet SDK - RainbowKit + Solana",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./styles.css": "./dist/styles.css"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"type-check": "node_modules/tsgo/bin/tsc --noEmit --incremental false",
"lint": "eslint ."
},
"peerDependencies": {
"react": ">=19.2.8",
"react-dom": ">=19.2.8"
},
"dependencies": {
"@rainbow-me/rainbowkit": "^2.2.11",
"@solana/wallet-adapter-base": "^0.9.27",
"@solana/wallet-adapter-coinbase": "^0.1.23",
"@solana/wallet-adapter-glow": "^0.1.18",
"@solana/wallet-adapter-phantom": "^0.9.29",
"@solana/wallet-adapter-react": "^0.15.39",
"@solana/wallet-adapter-react-ui": "^0.9.39",
"@solana/wallet-adapter-solflare": "^0.6.33",
"@solana/wallet-adapter-walletconnect": "^0.1.21",
"@solana/web3.js": "^1.98.4",
"@tanstack/react-query": "^5.102.8",
"viem": "^2.56.0",
"wagmi": "^3.7.7"
},
"devDependencies": {
"@types/react": "19.2.18",
"@types/react-dom": "19.2.5",
"tsup": "^8.5.1",
"tsgo": "npm:[email protected]",
"typescript": "6.0.3"
},
"repository": {
"type": "git",
"url": "https://github.com/luxfi/dao.git",
"directory": "packages/wallet"
},
"keywords": [
"lux",
"wallet",
"rainbowkit",
"solana",
"wagmi",
"viem",
"web3"
],
"license": "MIT"
}