Explorar el Código

update package.json files

Jordan Sexton hace 3 años
padre
commit
9b0d08377d
Se han modificado 52 ficheros con 562 adiciones y 620 borrados
  1. 30 32
      package.json
  2. 10 13
      packages/core/base/package.json
  3. 15 16
      packages/core/react/package.json
  4. 21 18
      packages/starter/create-react-app-starter/package.json
  5. 23 19
      packages/starter/example/package.json
  6. 10 27
      packages/starter/material-ui-starter/package.json
  7. 22 17
      packages/starter/nextjs-starter/package.json
  8. 11 28
      packages/starter/react-ui-starter/package.json
  9. 15 14
      packages/ui/ant-design/package.json
  10. 17 14
      packages/ui/material-ui/package.json
  11. 11 12
      packages/ui/react-ui/package.json
  12. 8 9
      packages/wallets/avana/package.json
  13. 8 9
      packages/wallets/backpack/package.json
  14. 8 9
      packages/wallets/bitkeep/package.json
  15. 8 9
      packages/wallets/bitpie/package.json
  16. 8 9
      packages/wallets/blocto/package.json
  17. 8 9
      packages/wallets/brave/package.json
  18. 8 9
      packages/wallets/clover/package.json
  19. 8 9
      packages/wallets/coin98/package.json
  20. 8 9
      packages/wallets/coinbase/package.json
  21. 8 9
      packages/wallets/coinhub/package.json
  22. 9 9
      packages/wallets/exodus/package.json
  23. 8 9
      packages/wallets/fake/package.json
  24. 8 9
      packages/wallets/glow/package.json
  25. 8 9
      packages/wallets/huobi/package.json
  26. 8 9
      packages/wallets/hyperpay/package.json
  27. 8 9
      packages/wallets/keystone/package.json
  28. 8 9
      packages/wallets/krystal/package.json
  29. 8 9
      packages/wallets/ledger/package.json
  30. 8 9
      packages/wallets/magiceden/package.json
  31. 8 9
      packages/wallets/mathwallet/package.json
  32. 8 9
      packages/wallets/neko/package.json
  33. 8 9
      packages/wallets/nightly/package.json
  34. 8 9
      packages/wallets/nufi/package.json
  35. 11 11
      packages/wallets/particle/package.json
  36. 8 9
      packages/wallets/phantom/package.json
  37. 8 9
      packages/wallets/safepal/package.json
  38. 8 9
      packages/wallets/saifu/package.json
  39. 8 9
      packages/wallets/salmon/package.json
  40. 8 9
      packages/wallets/sky/package.json
  41. 8 9
      packages/wallets/slope/package.json
  42. 9 10
      packages/wallets/solflare/package.json
  43. 8 9
      packages/wallets/sollet/package.json
  44. 8 9
      packages/wallets/solong/package.json
  45. 8 9
      packages/wallets/spot/package.json
  46. 10 10
      packages/wallets/strike/package.json
  47. 8 9
      packages/wallets/tokenary/package.json
  48. 8 9
      packages/wallets/tokenpocket/package.json
  49. 8 9
      packages/wallets/torus/package.json
  50. 8 9
      packages/wallets/trust/package.json
  51. 7 8
      packages/wallets/walletconnect/package.json
  52. 51 47
      packages/wallets/wallets/package.json

+ 30 - 32
package.json

@@ -5,54 +5,52 @@
     "repository": "https://github.com/solana-labs/wallet-adapter",
     "license": "Apache-2.0",
     "type": "module",
+    "engines": {
+        "node": ">=16",
+        "pnpm": ">=7"
+    },
     "workspaces": {
         "packages": [
             "packages/*/*"
         ]
     },
-    "engines": {
-        "node": ">= 10"
-    },
-    "publishConfig": {
-        "access": "public"
-    },
     "scripts": {
-        "clean": "lerna run clean",
-        "build": "lerna run build",
-        "test": "lerna run test",
-        "publish": "lerna publish from-package",
+        "nuke": "shx rm -rf packages/*/*/node_modules node_modules pnpm-lock.yaml || true",
+        "reinstall": "pnpm run nuke && pnpm install",
+        "clean": "pnpm --recursive run clean",
+        "build": "tsc --project tsconfig.all.json --build --verbose",
+        "watch": "tsc --project tsconfig.all.json --build --verbose --watch",
+        "release": "pnpm run clean && pnpm run build",
         "version": "lerna version --no-git-tag-version --no-push",
-        "deploy": "yarn deploy:docs && yarn deploy:example",
-        "deploy:docs": "yarn docs && gh-pages --dist docs --dotfiles",
-        "deploy:example": "gh-pages --dist packages/starter/example/out --dest example --dotfiles",
-        "docs": "shx rm -rf docs && NODE_OPTIONS=--max_old_space_size=24000 typedoc && shx cp ./{.nojekyll,wallets.png} docs/",
-        "fmt": "prettier --write '{*,**/*}.{js,ts,jsx,tsx,json,vue}'",
-        "lint": "eslint --ext .ts,.tsx . && prettier --check '{*,**/*}.{js,ts,jsx,tsx,json,vue}'",
-        "lint:fix": "eslint --fix --ext .ts,.tsx . && yarn fmt",
-        "nuke": "shx rm -rf {.,packages/*/*}/{node_modules,yarn.lock}"
+        "publish": "lerna publish from-package",
+        "fmt": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,json}'",
+        "lint": "prettier --check '{*,**/*}.{ts,tsx,js,jsx,json}' && eslint .",
+        "lint:fix": "pnpm run fmt && eslint --fix .",
+        "test": "pnpm --recursive run test",
+        "docs": "shx rm -rf docs && NODE_OPTIONS=--max_old_space_size=16000 typedoc && shx cp ./{.nojekyll,wallets.png} docs/",
+        "deploy": "pnpm run deploy:docs && pnpm run deploy:example",
+        "deploy:docs": "pnpm run docs && gh-pages --dist docs --dotfiles",
+        "deploy:example": "gh-pages --dist packages/starter/example/out --dest example --dotfiles"
     },
     "devDependencies": {
-        "@babel/eslint-parser": "^7.18.9",
-        "@types/eslint": "^8.4.5",
-        "@types/eslint-plugin-prettier": "^3.1.0",
-        "@types/node": "^18.6.3",
-        "@types/prettier": "^2.6.4",
+        "@types/node": "^18.6.4",
         "@typescript-eslint/eslint-plugin": "^5.32.0",
         "@typescript-eslint/parser": "^5.32.0",
-        "babel-eslint": "^10.1.0",
-        "eslint": "^8.21.0",
+        "eslint": "^8.20.0",
         "eslint-config-prettier": "^8.5.0",
-        "eslint-config-react-app": "^7.0.0",
         "eslint-plugin-prettier": "^4.2.1",
         "gh-pages": "^4.0.0",
         "lerna": "^5.3.0",
-        "prettier": "^2.5.1",
-        "shx": "^0.3.3",
-        "tsc-esm": "^1.0.4",
-        "tslib": "^2.3.0",
+        "pnpm": "^7.8.0",
+        "prettier": "^2.7.1",
+        "shx": "^0.3.4",
         "typedoc": "^0.23.10",
-        "typescript": "^4.6.2",
-        "typescript-esm": "^2.0.0"
+        "typescript": "^4.7.4"
+    },
+    "overrides": {
+        "@ledgerhq/devices": "6.27.1",
+        "@ledgerhq/hw-transport": "6.27.1",
+        "@ledgerhq/hw-transport-webhid": "6.27.1"
     },
     "resolutions": {
         "@ledgerhq/devices": "6.27.1",

+ 10 - 13
packages/core/base/package.json

@@ -6,16 +6,13 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
-        ".": {
-            "require": "./lib/cjs/index.js",
-            "import": "./lib/esm/index.mjs",
-            "types": "./lib/types/index.d.ts"
-        },
-        "./package.json": "./package.json"
+        "require": "./lib/cjs/index.js",
+        "import": "./lib/esm/index.js",
+        "types": "./lib/types/index.d.ts"
     },
     "files": [
         "lib",
@@ -26,9 +23,7 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
@@ -37,6 +32,8 @@
         "eventemitter3": "^4.0.0"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "@types/node-fetch": "^2.6.2",
+        "shx": "^0.3.4"
     }
 }

+ 15 - 16
packages/core/react/package.json

@@ -6,16 +6,13 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
-        ".": {
-            "require": "./lib/cjs/index.js",
-            "import": "./lib/esm/index.mjs",
-            "types": "./lib/types/index.d.ts"
-        },
-        "./package.json": "./package.json"
+        "require": "./lib/cjs/index.js",
+        "import": "./lib/esm/index.js",
+        "types": "./lib/types/index.d.ts"
     },
     "files": [
         "lib",
@@ -26,26 +23,28 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "test": "jest",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib",
+        "test": "jest"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1",
-        "react": "*"
+        "react": "*",
+        "react-dom": "*"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
         "@solana/web3.js": "^1.50.1",
         "@types/jest": "^28.1.6",
-        "@types/react": "^18.0.15",
+        "@types/react": "^18.0.0",
+        "@types/react-dom": "^18.0.0",
         "jest": "^28.1.3",
         "jest-environment-jsdom": "^28.1.3",
         "jest-localstorage-mock": "^2.4.18",
         "react": "^18.0.0",
+        "react-dom": "^18.0.0",
+        "shx": "^0.3.4",
         "ts-jest": "^28.0.7"
     }
 }

+ 21 - 18
packages/starter/create-react-app-starter/package.json

@@ -8,8 +8,8 @@
         "access": "public"
     },
     "files": [
-        "src",
         "public",
+        "src",
         ".gitignore",
         "config-overrides.js",
         "LICENSE",
@@ -17,35 +17,38 @@
         "README.md",
         "tsconfig.json"
     ],
+    "scripts": {
+        "clean": "shx mkdir -p build lib && shx rm -rf build lib",
+        "start": "react-app-rewired start",
+        "build": "react-app-rewired build",
+        "test": "react-app-rewired test",
+        "eject": "react-scripts eject"
+    },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12",
+        "@solana/wallet-adapter-base": "^0.9.13",
         "@solana/wallet-adapter-react": "^0.15.15",
         "@solana/wallet-adapter-react-ui": "^0.9.13",
-        "@solana/wallet-adapter-wallets": "^0.18.1",
+        "@solana/wallet-adapter-wallets": "^0.18.2",
         "@solana/web3.js": "^1.50.1",
         "react": "^18.0.0",
+        "react-app-rewired": "^2.2.1",
         "react-dom": "^18.0.0",
+        "react-scripts": "5.0.1",
         "web-vitals": "^2.1.4"
     },
     "devDependencies": {
-        "@testing-library/jest-dom": "^5.16.2",
+        "@testing-library/jest-dom": "^5.16.5",
         "@testing-library/react": "^13.3.0",
-        "@testing-library/user-event": "^14.4.1",
-        "@types/jest": "^28.1.6",
-        "@types/node": "^18.6.3",
-        "@types/react": "^18.0.15",
-        "@types/react-dom": "^18.0.6",
+        "@testing-library/user-event": "^14.4.3",
+        "@types/jest": "^28.1.7",
+        "@types/react": "^18.0.0",
+        "@types/react-dom": "^18.0.0",
+        "@types/testing-library__jest-dom": "^5.14.5",
         "process": "^0.11.10",
-        "react-app-rewired": "^2.1.11",
-        "react-scripts": "^5.0.0",
+        "shx": "^0.3.4",
         "source-map-loader": "^4.0.0",
-        "typescript": "^4.5.5"
-    },
-    "scripts": {
-        "start": "react-app-rewired start",
-        "build": "react-app-rewired build",
-        "test": "react-app-rewired test",
-        "eject": "react-scripts eject"
+        "typescript": "^4.7.4",
+        "webpack": "^5.74.0"
     },
     "eslintConfig": {
         "extends": [

+ 23 - 19
packages/starter/example/package.json

@@ -4,25 +4,28 @@
     "author": "Solana Maintainers <maintainers@solana.foundation>",
     "repository": "https://github.com/solana-labs/wallet-adapter",
     "license": "Apache-2.0",
+    "publishConfig": {
+        "access": "public"
+    },
     "files": [
-        "components",
-        "pages",
         "public",
-        "styles",
+        "src",
+        ".editorconfig",
         ".eslintrc.json",
+        ".gitignore",
+        ".prettierignore",
+        ".prettierrc",
         "LICENSE",
         "next.config.js",
         "next-env.d.ts",
+        "package.json",
         "README.md",
         "tsconfig.json"
     ],
-    "publishConfig": {
-        "access": "public"
-    },
     "scripts": {
-        "clean": "shx rm -rf .next out",
+        "clean": "shx rm -rf .next lib",
         "dev": "NODE_OPTIONS='--inspect' next dev",
-        "build": "yarn clean && next build && next export",
+        "build": "next build",
         "start": "next start",
         "lint": "next lint"
     },
@@ -33,29 +36,30 @@
         "@mui/icons-material": "^5.8.4",
         "@mui/material": "^5.9.3",
         "@solana/wallet-adapter-ant-design": "^0.11.10",
-        "@solana/wallet-adapter-base": "^0.9.12",
+        "@solana/wallet-adapter-base": "^0.9.13",
         "@solana/wallet-adapter-material-ui": "^0.16.11",
         "@solana/wallet-adapter-react": "^0.15.15",
         "@solana/wallet-adapter-react-ui": "^0.9.13",
-        "@solana/wallet-adapter-wallets": "^0.18.1",
+        "@solana/wallet-adapter-wallets": "^0.18.2",
         "@solana/web3.js": "^1.50.1",
-        "antd": "^4.22.3",
+        "antd": "^4.22.6",
         "bs58": "^4.0.1",
-        "next": "^12.2.3",
+        "next": "^12.2.5",
         "notistack": "^2.0.3",
         "react": "^18.0.0",
         "react-dom": "^18.0.0",
         "tweetnacl": "^1.0.3"
     },
     "devDependencies": {
-        "@types/node": "^18.6.3",
-        "@types/react": "^18.0.15",
-        "@types/react-dom": "^18.0.6",
-        "eslint": "^8.21.0",
-        "eslint-config-next": "^12.2.3",
+        "@types/node-fetch": "^2.6.2",
+        "@types/react": "^18.0.0",
+        "@types/react-dom": "^18.0.0",
+        "eslint": "^8.22.0",
+        "eslint-config-next": "^12.2.5",
         "next-compose-plugins": "^2.2.1",
         "next-plugin-antd-less": "^1.8.0",
-        "shx": "^0.3.3",
-        "typescript": "^4.6.2"
+        "prettier": "^2.7.1",
+        "shx": "^0.3.4",
+        "typescript": "^4.7.4"
     }
 }

+ 10 - 27
packages/starter/material-ui-starter/package.json

@@ -10,8 +10,7 @@
     "files": [
         "src",
         ".editorconfig",
-        ".eslintignore",
-        ".eslintrc.json",
+        ".env",
         ".gitignore",
         ".prettierignore",
         ".prettierrc",
@@ -20,47 +19,31 @@
         "tsconfig.json"
     ],
     "scripts": {
-        "clean": "shx rm -rf dist .parcel-cache",
-        "build": "yarn clean && parcel build src/index.html",
-        "start": "yarn clean && parcel src/index.html",
-        "fmt": "prettier --write '{*,**/*}.{js,ts,jsx,tsx,json}'",
-        "lint": "eslint . && prettier --check '{*,**/*}.{js,ts,jsx,tsx,json}'",
-        "lint:fix": "eslint --fix . && yarn fmt",
-        "nuke": "shx rm -rf node_modules yarn.lock"
+        "clean": "shx mkdir -p .parcel-cache dist lib && shx rm -rf .parcel-cache dist lib",
+        "start": "parcel src/index.html",
+        "build": "parcel build src/index.html"
     },
     "dependencies": {
         "@emotion/react": "^11.10.0",
         "@emotion/styled": "^11.10.0",
         "@mui/icons-material": "^5.8.4",
         "@mui/material": "^5.9.3",
-        "@solana/wallet-adapter-base": "^0.9.12",
+        "@solana/wallet-adapter-base": "^0.9.13",
         "@solana/wallet-adapter-material-ui": "^0.16.11",
         "@solana/wallet-adapter-react": "^0.15.15",
-        "@solana/wallet-adapter-wallets": "^0.18.1",
+        "@solana/wallet-adapter-wallets": "^0.18.2",
         "@solana/web3.js": "^1.50.1",
         "notistack": "^2.0.0",
         "react": "^18.0.0",
         "react-dom": "^18.0.0"
     },
     "devDependencies": {
-        "@types/eslint": "^8.4.5",
-        "@types/eslint-plugin-prettier": "^3.1.0",
-        "@types/node": "^18.6.3",
-        "@types/prettier": "^2.6.4",
-        "@types/react": "^18.0.15",
-        "@types/react-dom": "^18.0.6",
-        "@typescript-eslint/eslint-plugin": "^5.32.0",
-        "@typescript-eslint/parser": "^5.32.0",
-        "eslint": "^8.21.0",
-        "eslint-config-prettier": "^8.5.0",
-        "eslint-plugin-prettier": "^4.2.1",
-        "eslint-plugin-react": "^7.29.3",
-        "eslint-plugin-react-hooks": "^4.3.0",
+        "@types/react": "^18.0.0",
+        "@types/react-dom": "^18.0.0",
         "parcel": "^2.7.0",
-        "prettier": "^2.5.1",
+        "prettier": "^2.7.1",
         "process": "^0.11.10",
         "shx": "^0.3.4",
-        "tslib": "^2.3.1",
-        "typescript": "^4.5.4"
+        "typescript": "^4.7.4"
     }
 }

+ 22 - 17
packages/starter/nextjs-starter/package.json

@@ -4,43 +4,48 @@
     "author": "Solana Maintainers <maintainers@solana.foundation>",
     "repository": "https://github.com/solana-labs/wallet-adapter",
     "license": "Apache-2.0",
+    "publishConfig": {
+        "access": "public"
+    },
     "files": [
-        "pages",
         "public",
-        "styles",
+        "src",
+        ".editorconfig",
         ".eslintrc.json",
+        ".gitignore",
+        ".prettierignore",
+        ".prettierrc",
         "LICENSE",
         "next.config.js",
         "next-env.d.ts",
+        "package.json",
         "README.md",
         "tsconfig.json"
     ],
-    "publishConfig": {
-        "access": "public"
-    },
     "scripts": {
-        "clean": "shx rm -rf .next",
+        "clean": "shx rm -rf .next lib",
         "dev": "NODE_OPTIONS='--inspect' next dev",
-        "build": "yarn clean && next build",
+        "build": "next build",
         "start": "next start",
         "lint": "next lint"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12",
+        "@solana/wallet-adapter-base": "^0.9.13",
         "@solana/wallet-adapter-react": "^0.15.15",
         "@solana/wallet-adapter-react-ui": "^0.9.13",
-        "@solana/wallet-adapter-wallets": "^0.18.1",
-        "next": "^12.2.3",
+        "@solana/wallet-adapter-wallets": "^0.18.2",
+        "next": "^12.2.5",
         "react": "^18.0.0",
         "react-dom": "^18.0.0"
     },
     "devDependencies": {
-        "@types/node": "^18.6.3",
-        "@types/react": "^18.0.15",
-        "@types/react-dom": "^18.0.6",
-        "eslint": "^8.21.0",
-        "eslint-config-next": "^12.2.3",
-        "shx": "^0.3.3",
-        "typescript": "^4.6.2"
+        "@types/node-fetch": "^2.6.2",
+        "@types/react": "^18.0.0",
+        "@types/react-dom": "^18.0.0",
+        "eslint": "^8.22.0",
+        "eslint-config-next": "^12.2.5",
+        "prettier": "^2.7.1",
+        "shx": "^0.3.4",
+        "typescript": "^4.7.4"
     }
 }

+ 11 - 28
packages/starter/react-ui-starter/package.json

@@ -10,8 +10,7 @@
     "files": [
         "src",
         ".editorconfig",
-        ".eslintignore",
-        ".eslintrc.json",
+        ".env",
         ".gitignore",
         ".prettierignore",
         ".prettierrc",
@@ -20,42 +19,26 @@
         "tsconfig.json"
     ],
     "scripts": {
-        "clean": "shx rm -rf dist .parcel-cache",
-        "build": "yarn clean && parcel build src/index.html",
-        "start": "yarn clean && parcel src/index.html",
-        "fmt": "prettier --write '{*,**/*}.{js,ts,jsx,tsx,json}'",
-        "lint": "eslint . && prettier --check '{*,**/*}.{js,ts,jsx,tsx,json}'",
-        "lint:fix": "eslint --fix . && yarn fmt",
-        "nuke": "shx rm -rf node_modules yarn.lock"
+        "clean": "shx mkdir -p .parcel-cache dist lib && shx rm -rf .parcel-cache dist lib",
+        "start": "parcel src/index.html",
+        "build": "parcel build src/index.html"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12",
+        "@solana/wallet-adapter-base": "^0.9.13",
         "@solana/wallet-adapter-react": "^0.15.15",
         "@solana/wallet-adapter-react-ui": "^0.9.13",
-        "@solana/wallet-adapter-wallets": "^0.18.1",
+        "@solana/wallet-adapter-wallets": "^0.18.2",
         "@solana/web3.js": "^1.50.1",
         "react": "^18.0.0",
         "react-dom": "^18.0.0"
     },
     "devDependencies": {
-        "@types/eslint": "^8.4.5",
-        "@types/eslint-plugin-prettier": "^3.1.0",
-        "@types/node": "^18.6.3",
-        "@types/prettier": "^2.6.4",
-        "@types/react": "^18.0.15",
-        "@types/react-dom": "^18.0.6",
-        "@typescript-eslint/eslint-plugin": "^5.32.0",
-        "@typescript-eslint/parser": "^5.32.0",
-        "eslint": "^8.21.0",
-        "eslint-config-prettier": "^8.5.0",
-        "eslint-plugin-prettier": "^4.2.1",
-        "eslint-plugin-react": "^7.29.3",
-        "eslint-plugin-react-hooks": "^4.3.0",
-        "parcel": "^2.7.0",
-        "prettier": "^2.5.1",
+        "@types/react": "^18.0.0",
+        "@types/react-dom": "^18.0.0",
+        "parcel": "^2.3.2",
+        "prettier": "^2.7.1",
         "process": "^0.11.10",
         "shx": "^0.3.4",
-        "tslib": "^2.3.1",
-        "typescript": "^4.5.4"
+        "typescript": "^4.7.4"
     }
 }

+ 15 - 14
packages/ui/ant-design/package.json

@@ -6,13 +6,13 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         ".": {
+            "import": "./lib/esm/index.js",
             "require": "./lib/cjs/index.js",
-            "import": "./lib/esm/index.mjs",
             "types": "./lib/types/index.d.ts"
         },
         "./styles.css": "./styles.css"
@@ -27,26 +27,27 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
+        "@ant-design/icons": "*",
         "@solana/web3.js": "^1.50.1",
+        "antd": "*",
         "react": "*",
         "react-dom": "*"
     },
     "dependencies": {
-        "@ant-design/icons": "^4.0.0",
-        "@solana/wallet-adapter-base": "^0.9.12",
-        "@solana/wallet-adapter-react": "^0.15.15",
-        "antd": "^4.22.3"
+        "@solana/wallet-adapter-base": "workspace:^",
+        "@solana/wallet-adapter-react": "workspace:^"
     },
     "devDependencies": {
+        "@ant-design/icons": "^4.7.0",
         "@solana/web3.js": "^1.50.1",
-        "@types/react": "^18.0.15",
-        "@types/react-dom": "^18.0.6",
+        "@types/react": "^18.0.0",
+        "@types/react-dom": "^18.0.0",
+        "antd": "^4.22.6",
         "react": "^18.0.0",
-        "react-dom": "^18.0.0"
+        "react-dom": "^18.0.0",
+        "shx": "^0.3.4"
     }
 }

+ 17 - 14
packages/ui/material-ui/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,26 +23,29 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
+        "@mui/icons-material": "*",
+        "@mui/material": "*",
         "@solana/web3.js": "^1.50.1",
         "react": "*",
         "react-dom": "*"
     },
     "dependencies": {
-        "@mui/icons-material": "^5.8.4",
-        "@mui/material": "^5.9.3",
-        "@solana/wallet-adapter-base": "^0.9.12",
-        "@solana/wallet-adapter-react": "^0.15.15"
+        "@solana/wallet-adapter-base": "workspace:^",
+        "@solana/wallet-adapter-react": "workspace:^"
     },
     "devDependencies": {
+        "@emotion/react": "^11.10.0",
+        "@emotion/styled": "^11.10.0",
+        "@mui/icons-material": "^5.8.4",
+        "@mui/material": "^5.10.1",
         "@solana/web3.js": "^1.50.1",
-        "@types/react": "^18.0.15",
-        "@types/react-dom": "^18.0.6",
+        "@types/react": "^18.0.0",
+        "@types/react-dom": "^18.0.0",
         "react": "^18.0.0",
-        "react-dom": "^18.0.0"
+        "react-dom": "^18.0.0",
+        "shx": "^0.3.4"
     }
 }

+ 11 - 12
packages/ui/react-ui/package.json

@@ -6,13 +6,13 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         ".": {
+            "import": "./lib/esm/index.js",
             "require": "./lib/cjs/index.js",
-            "import": "./lib/esm/index.mjs",
             "types": "./lib/types/index.d.ts"
         },
         "./styles.css": "./styles.css"
@@ -27,9 +27,7 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1",
@@ -37,14 +35,15 @@
         "react-dom": "*"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12",
-        "@solana/wallet-adapter-react": "^0.15.15"
+        "@solana/wallet-adapter-base": "workspace:^",
+        "@solana/wallet-adapter-react": "workspace:^"
     },
     "devDependencies": {
         "@solana/web3.js": "^1.50.1",
-        "@types/react": "^18.0.15",
-        "@types/react-dom": "^18.0.6",
+        "@types/react": "^18.0.0",
+        "@types/react-dom": "^18.0.0",
         "react": "^18.0.0",
-        "react-dom": "^18.0.0"
+        "react-dom": "^18.0.0",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/avana/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/backpack/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/bitkeep/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/bitpie/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/blocto/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,18 +23,17 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
         "@blocto/sdk": "^0.2.21",
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/brave/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/clover/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/coin98/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,19 +23,18 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12",
+        "@solana/wallet-adapter-base": "workspace:^",
         "bs58": "^4.0.1"
     },
     "devDependencies": {
         "@solana/web3.js": "^1.50.1",
-        "@types/bs58": "^4.0.1"
+        "@types/bs58": "^4.0.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/coinbase/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/coinhub/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 9 - 9
packages/wallets/exodus/package.json

@@ -1,16 +1,17 @@
 {
     "name": "@solana/wallet-adapter-exodus",
     "version": "0.1.8",
+    "author": "Solana Maintainers <maintainers@solana.foundation>",
     "repository": "https://github.com/solana-labs/wallet-adapter",
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -22,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/fake/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/glow/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/huobi/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/hyperpay/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/keystone/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,18 +23,17 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
         "@keystonehq/sol-keyring": "^0.3.0",
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/krystal/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/ledger/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,9 +23,7 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
@@ -34,12 +32,13 @@
         "@ledgerhq/devices": "6.27.1",
         "@ledgerhq/hw-transport": "6.27.1",
         "@ledgerhq/hw-transport-webhid": "6.27.1",
-        "@solana/wallet-adapter-base": "^0.9.12",
+        "@solana/wallet-adapter-base": "workspace:^",
         "buffer": "^6.0.3"
     },
     "devDependencies": {
         "@solana/web3.js": "^1.50.1",
-        "@types/w3c-web-hid": "^1.0.2"
+        "@types/w3c-web-hid": "^1.0.2",
+        "shx": "^0.3.4"
     },
     "overrides": {
         "@ledgerhq/devices": {

+ 8 - 9
packages/wallets/magiceden/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/mathwallet/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/neko/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/nightly/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/nufi/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 11 - 11
packages/wallets/particle/package.json

@@ -1,17 +1,18 @@
 {
     "name": "@solana/wallet-adapter-particle",
     "version": "0.1.0",
-    "author": "Particle Developers <developers@particle.com>",
+    "author": "Solana Maintainers <maintainers@solana.foundation>",
     "repository": "https://github.com/solana-labs/wallet-adapter",
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
-        "import": "./lib/esm/index.mjs",
-        "require": "./lib/cjs/index.js"
+        "require": "./lib/cjs/index.js",
+        "import": "./lib/esm/index.js",
+        "types": "./lib/types/index.d.ts"
     },
     "files": [
         "lib",
@@ -22,18 +23,17 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
         "@particle-network/solana-wallet": "^0.5.0",
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/phantom/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/safepal/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/saifu/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/salmon/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,18 +23,17 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12",
+        "@solana/wallet-adapter-base": "workspace:^",
         "salmon-adapter-sdk": "^1.0.0"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/sky/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/slope/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,19 +23,18 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12",
+        "@solana/wallet-adapter-base": "workspace:^",
         "bs58": "^4.0.1"
     },
     "devDependencies": {
         "@solana/web3.js": "^1.50.1",
-        "@types/bs58": "^4.0.1"
+        "@types/bs58": "^4.0.1",
+        "shx": "^0.3.4"
     }
 }

+ 9 - 10
packages/wallets/solflare/package.json

@@ -1,17 +1,17 @@
 {
     "name": "@solana/wallet-adapter-solflare",
     "version": "0.6.12",
-    "author": "Solflare Developers <developers@solflare.com>",
+    "author": "Solana Maintainers <maintainers@solana.foundation>",
     "repository": "https://github.com/solana-labs/wallet-adapter",
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,18 +23,17 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12",
+        "@solana/wallet-adapter-base": "workspace:^",
         "@solflare-wallet/sdk": "^1.0.11"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/sollet/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,18 +23,17 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
         "@project-serum/sol-wallet-adapter": "^0.2.6",
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/solong/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/spot/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 10 - 10
packages/wallets/strike/package.json

@@ -6,12 +6,13 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
-        "import": "./lib/esm/index.mjs",
-        "require": "./lib/cjs/index.js"
+        "require": "./lib/cjs/index.js",
+        "import": "./lib/esm/index.js",
+        "types": "./lib/types/index.d.ts"
     },
     "files": [
         "lib",
@@ -22,18 +23,17 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12",
+        "@solana/wallet-adapter-base": "workspace:^",
         "@strike-protocols/solana-wallet-adapter": "^0.1.4"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/tokenary/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/tokenpocket/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 8 - 9
packages/wallets/torus/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,15 +23,13 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12",
+        "@solana/wallet-adapter-base": "workspace:^",
         "@toruslabs/solana-embed": "^0.2.2",
         "assert": "^2.0.0",
         "crypto-browserify": "^3.12.0",
@@ -42,7 +40,8 @@
         "@solana/web3.js": "^1.50.1",
         "@types/keccak": "^3.0.1",
         "@types/node-fetch": "^2.6.1",
-        "@types/readable-stream": "^2.3.14"
+        "@types/readable-stream": "^2.3.14",
+        "shx": "^0.3.4"
     },
     "overrides": {
         "@toruslabs/solana-embed": {

+ 8 - 9
packages/wallets/trust/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,17 +23,16 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
-        "@solana/web3.js": "^1.50.1"
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }

+ 7 - 8
packages/wallets/walletconnect/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,20 +23,19 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
     },
     "peerDependencies": {
         "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
         "@jnwng/walletconnect-solana": "^0.0.2",
-        "@solana/wallet-adapter-base": "^0.9.12"
+        "@solana/wallet-adapter-base": "workspace:^"
     },
     "devDependencies": {
         "@solana/web3.js": "^1.50.1",
         "@types/pino": "^6.3.11",
+        "@walletconnect/types": "^2.0.0-rc.2",
         "shx": "^0.3.4"
     }
 }

+ 51 - 47
packages/wallets/wallets/package.json

@@ -6,12 +6,12 @@
     "license": "Apache-2.0",
     "type": "module",
     "sideEffects": false,
-    "main": "lib/cjs/index.js",
-    "module": "lib/esm/index.mjs",
-    "types": "lib/types/index.d.ts",
+    "main": "./lib/cjs/index.js",
+    "module": "./lib/esm/index.js",
+    "types": "./lib/types/index.d.ts",
     "exports": {
         "require": "./lib/cjs/index.js",
-        "import": "./lib/esm/index.mjs",
+        "import": "./lib/esm/index.js",
         "types": "./lib/types/index.d.ts"
     },
     "files": [
@@ -23,50 +23,54 @@
         "access": "public"
     },
     "scripts": {
-        "clean": "shx rm -rf lib/*",
-        "build": "yarn clean && tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
-        "postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
+        "clean": "shx mkdir -p lib && shx rm -rf lib"
+    },
+    "peerDependencies": {
+        "@solana/web3.js": "^1.50.1"
     },
     "dependencies": {
-        "@solana/wallet-adapter-avana": "^0.1.2",
-        "@solana/wallet-adapter-backpack": "^0.1.2",
-        "@solana/wallet-adapter-base": "^0.9.12",
-        "@solana/wallet-adapter-bitkeep": "^0.3.9",
-        "@solana/wallet-adapter-bitpie": "^0.5.8",
-        "@solana/wallet-adapter-blocto": "^0.5.12",
-        "@solana/wallet-adapter-brave": "^0.1.7",
-        "@solana/wallet-adapter-clover": "^0.4.9",
-        "@solana/wallet-adapter-coin98": "^0.5.10",
-        "@solana/wallet-adapter-coinbase": "^0.1.8",
-        "@solana/wallet-adapter-coinhub": "^0.3.8",
-        "@solana/wallet-adapter-exodus": "^0.1.8",
-        "@solana/wallet-adapter-fake": "^0.1.1",
-        "@solana/wallet-adapter-glow": "^0.1.8",
-        "@solana/wallet-adapter-huobi": "^0.1.5",
-        "@solana/wallet-adapter-hyperpay": "^0.1.4",
-        "@solana/wallet-adapter-keystone": "^0.1.2",
-        "@solana/wallet-adapter-krystal": "^0.1.2",
-        "@solana/wallet-adapter-ledger": "^0.9.15",
-        "@solana/wallet-adapter-mathwallet": "^0.9.8",
-        "@solana/wallet-adapter-neko": "^0.2.2",
-        "@solana/wallet-adapter-nightly": "^0.1.5",
-        "@solana/wallet-adapter-nufi": "^0.1.6",
-        "@solana/wallet-adapter-particle": "^0.1.0",
-        "@solana/wallet-adapter-phantom": "^0.9.11",
-        "@solana/wallet-adapter-safepal": "^0.5.8",
-        "@solana/wallet-adapter-saifu": "^0.1.6",
-        "@solana/wallet-adapter-salmon": "^0.1.2",
-        "@solana/wallet-adapter-sky": "^0.1.5",
-        "@solana/wallet-adapter-slope": "^0.5.11",
-        "@solana/wallet-adapter-solflare": "^0.6.12",
-        "@solana/wallet-adapter-sollet": "^0.11.7",
-        "@solana/wallet-adapter-solong": "^0.9.8",
-        "@solana/wallet-adapter-spot": "^0.1.5",
-        "@solana/wallet-adapter-strike": "^0.1.1",
-        "@solana/wallet-adapter-tokenary": "^0.1.2",
-        "@solana/wallet-adapter-tokenpocket": "^0.4.9",
-        "@solana/wallet-adapter-torus": "^0.11.17",
-        "@solana/wallet-adapter-trust": "^0.1.2",
-        "@solana/wallet-adapter-walletconnect": "^0.1.0"
+        "@solana/wallet-adapter-avana": "workspace:^",
+        "@solana/wallet-adapter-backpack": "workspace:^",
+        "@solana/wallet-adapter-bitkeep": "workspace:^",
+        "@solana/wallet-adapter-bitpie": "workspace:^",
+        "@solana/wallet-adapter-blocto": "workspace:^",
+        "@solana/wallet-adapter-brave": "workspace:^",
+        "@solana/wallet-adapter-clover": "workspace:^",
+        "@solana/wallet-adapter-coin98": "workspace:^",
+        "@solana/wallet-adapter-coinbase": "workspace:^",
+        "@solana/wallet-adapter-coinhub": "workspace:^",
+        "@solana/wallet-adapter-exodus": "workspace:^",
+        "@solana/wallet-adapter-fake": "workspace:^",
+        "@solana/wallet-adapter-glow": "workspace:^",
+        "@solana/wallet-adapter-huobi": "workspace:^",
+        "@solana/wallet-adapter-hyperpay": "workspace:^",
+        "@solana/wallet-adapter-keystone": "workspace:^",
+        "@solana/wallet-adapter-krystal": "workspace:^",
+        "@solana/wallet-adapter-ledger": "workspace:^",
+        "@solana/wallet-adapter-mathwallet": "workspace:^",
+        "@solana/wallet-adapter-neko": "workspace:^",
+        "@solana/wallet-adapter-nightly": "workspace:^",
+        "@solana/wallet-adapter-nufi": "workspace:^",
+        "@solana/wallet-adapter-particle": "workspace:^",
+        "@solana/wallet-adapter-phantom": "workspace:^",
+        "@solana/wallet-adapter-safepal": "workspace:^",
+        "@solana/wallet-adapter-saifu": "workspace:^",
+        "@solana/wallet-adapter-salmon": "workspace:^",
+        "@solana/wallet-adapter-sky": "workspace:^",
+        "@solana/wallet-adapter-slope": "workspace:^",
+        "@solana/wallet-adapter-solflare": "workspace:^",
+        "@solana/wallet-adapter-sollet": "workspace:^",
+        "@solana/wallet-adapter-solong": "workspace:^",
+        "@solana/wallet-adapter-spot": "workspace:^",
+        "@solana/wallet-adapter-strike": "workspace:^",
+        "@solana/wallet-adapter-tokenary": "workspace:^",
+        "@solana/wallet-adapter-tokenpocket": "workspace:^",
+        "@solana/wallet-adapter-torus": "workspace:^",
+        "@solana/wallet-adapter-trust": "workspace:^",
+        "@solana/wallet-adapter-walletconnect": "workspace:^"
+    },
+    "devDependencies": {
+        "@solana/web3.js": "^1.50.1",
+        "shx": "^0.3.4"
     }
 }