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

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

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}