ReviewOS

also looking at this

stacks/ts-tokens

chore(deps): update dependency @solana/web3.js to 2.0.0

#409
Closed chris wants to merge buddy-bot/update-major-update---@solana/web3.js-1770682979244 into main
2 files +129 -11
packages/react/package.jsonmodified+15-6
Changes to packages/react/package.json
@@ -1,7 +1,7 @@
11{
22 "name": "react-tokens",
33 "type": "module",
4 "version": "0.0.0",
4 "version": "0.1.0",
55 "description": "React components for Solana tokens and NFTs",
66 "author": "Chris Breuer <chris@stacksjs.org>",
77 "license": "MIT",
@@ -43,13 +43,16 @@
4343 "dist"
4444 ],
4545 "scripts": {
46 "build": "bun build ./src/index.ts --outdir ./dist --target browser",
46 "dev": "vite --config vite.config.ts",
47 "build": "bun build ./src/index.ts --outdir ./dist --target browser --sourcemap=external",
4748 "lint": "bunx --bun eslint .",
4849 "lint:fix": "bunx --bun eslint . --fix",
49 "release": "bun publish --access public",
50 "release": "bun publish --access public --provenance",
5051 "prepublishOnly": "bun --bun run build",
5152 "test": "bun test",
52 "typecheck": "bun --bun tsc --noEmit"
53 "typecheck": "bun --bun tsc --noEmit",
54 "storybook": "storybook dev -p 6006",
55 "build-storybook": "storybook build"
5356 },
5457 "dependencies": {
5558 "ts-tokens": "workspace:*"
@@ -59,14 +62,20 @@
5962 "react-dom": ">=18.0.0",
6063 "@solana/wallet-adapter-react": ">=0.15.0",
6164 "@solana/wallet-adapter-react-ui": ">=0.9.0",
62 "@solana/web3.js": ">=1.87.0"
65 "@solana/web3.js": ">=2.0.0"
6366 },
6467 "devDependencies": {
68 "@storybook/react": "^10.2.8",
69 "@storybook/react-vite": "^10.2.8",
70 "@testing-library/jest-dom": "^6.9.1",
71 "@testing-library/react": "^16.3.2",
6572 "@types/react": "^18.2.0",
6673 "@types/react-dom": "^18.2.0",
74 "better-dx": "^0.2.5",
75 "happy-dom": "^20.6.1",
6776 "react": "^18.2.0",
6877 "react-dom": "^18.2.0",
69 "better-dx": "^0.2.5"
78 "storybook": "^10.2.8"
7079 },
7180 "lint-staged": {
7281 "*.{js,ts,tsx}": "bunx --bun eslint . --fix"
packages/ts-tokens/package.jsonmodified+114-5
Changes to packages/ts-tokens/package.json
@@ -1,7 +1,7 @@
11{
22 "name": "ts-tokens",
33 "type": "module",
4 "version": "0.0.0",
4 "version": "0.1.0",
55 "description": "A TypeScript library for managing fungible and non-fungible tokens on Solana.",
66 "author": "Chris Breuer <chris@stacksjs.org>",
77 "license": "MIT",
@@ -30,6 +30,110 @@
3030 "types": "./dist/index.d.ts",
3131 "import": "./dist/index.js"
3232 },
33 "./token": {
34 "types": "./dist/token/index.d.ts",
35 "import": "./dist/token/index.js"
36 },
37 "./nft": {
38 "types": "./dist/nft/index.d.ts",
39 "import": "./dist/nft/index.js"
40 },
41 "./config": {
42 "types": "./dist/config/config.d.ts",
43 "import": "./dist/config/config.js"
44 },
45 "./types": {
46 "types": "./dist/types/index.d.ts",
47 "import": "./dist/types/index.js"
48 },
49 "./utils": {
50 "types": "./dist/utils/index.d.ts",
51 "import": "./dist/utils/index.js"
52 },
53 "./drivers": {
54 "types": "./dist/drivers/index.d.ts",
55 "import": "./dist/drivers/index.js"
56 },
57 "./storage": {
58 "types": "./dist/storage/index.d.ts",
59 "import": "./dist/storage/index.js"
60 },
61 "./programs": {
62 "types": "./dist/programs/index.d.ts",
63 "import": "./dist/programs/index.js"
64 },
65 "./security": {
66 "types": "./dist/security/index.d.ts",
67 "import": "./dist/security/index.js"
68 },
69 "./staking": {
70 "types": "./dist/staking/index.d.ts",
71 "import": "./dist/staking/index.js"
72 },
73 "./batch": {
74 "types": "./dist/batch/index.d.ts",
75 "import": "./dist/batch/index.js"
76 },
77 "./multisig": {
78 "types": "./dist/multisig/index.d.ts",
79 "import": "./dist/multisig/index.js"
80 },
81 "./governance": {
82 "types": "./dist/governance/index.d.ts",
83 "import": "./dist/governance/index.js"
84 },
85 "./defi": {
86 "types": "./dist/defi/index.d.ts",
87 "import": "./dist/defi/index.js"
88 },
89 "./marketplace": {
90 "types": "./dist/marketplace/index.d.ts",
91 "import": "./dist/marketplace/index.js"
92 },
93 "./indexer": {
94 "types": "./dist/indexer/index.d.ts",
95 "import": "./dist/indexer/index.js"
96 },
97 "./wallets": {
98 "types": "./dist/wallets/index.d.ts",
99 "import": "./dist/wallets/index.js"
100 },
101 "./analytics": {
102 "types": "./dist/analytics/index.d.ts",
103 "import": "./dist/analytics/index.js"
104 },
105 "./fluent": {
106 "types": "./dist/fluent/index.d.ts",
107 "import": "./dist/fluent/index.js"
108 },
109 "./simple-nft": {
110 "types": "./dist/simple-nft/index.d.ts",
111 "import": "./dist/simple-nft/index.js"
112 },
113 "./pnft": {
114 "types": "./dist/pnft/index.d.ts",
115 "import": "./dist/pnft/index.js"
116 },
117 "./events": {
118 "types": "./dist/events/index.d.ts",
119 "import": "./dist/events/index.js"
120 },
121 "./treasury": {
122 "types": "./dist/treasury/index.d.ts",
123 "import": "./dist/treasury/index.js"
124 },
125 "./voting": {
126 "types": "./dist/voting/index.d.ts",
127 "import": "./dist/voting/index.js"
128 },
129 "./i18n": {
130 "types": "./dist/i18n/index.d.ts",
131 "import": "./dist/i18n/index.js"
132 },
133 "./debug": {
134 "types": "./dist/debug/index.d.ts",
135 "import": "./dist/debug/index.js"
136 },
33137 "./*": {
34138 "import": "./dist/*"
35139 }
@@ -55,13 +159,18 @@
55159 "lint": "bunx --bun eslint --flag unstable_ts_config .",
56160 "lint:fix": "bunx --bun eslint --flag unstable_ts_config . --fix",
57161 "prepublishOnly": "bun --bun run build && bun run compile:all",
58 "release": "bun publish --access public",
162 "release": "bun publish --access public --provenance",
59163 "test": "bun test",
164 "test:binary": "bash scripts/test-binary.sh",
60165 "typecheck": "bun --bun tsc --noEmit"
61166 },
62167 "dependencies": {
63 "@solana/web3.js": "^1.95.0",
64 "@solana/spl-token": "^0.4.0"
168 "@solana/web3.js": "^2.0.0",
169 "@solana/spl-token": "^0.4.0",
170 "chalk": "^5.3.0",
171 "ora": "^8.0.0",
172 "@inquirer/prompts": "^7.0.0",
173 "ts-governance": "workspace:*"
65174 },
66175 "devDependencies": {
67176 "@types/node": "^22.0.0",
@@ -71,6 +180,6 @@
71180 "bunfig": "^0.5.0"
72181 },
73182 "lint-staged": {
74 "*.{js,ts}": "bunx --bun eslint --flag unstable_ts_config . --fix"
183 "*.{js,ts}": "bunx --bun eslint --flag unstable_ts_config --fix"
75184 }
76185}