Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix a lot of missing types #621

Merged
merged 1 commit into from Jun 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -20,6 +20,7 @@
"@rushstack/eslint-patch": "^1.1.3",
"@saberhq/eslint-config": "workspace:*",
"@saberhq/eslint-config-react": "workspace:*",
"@saberhq/use-solana": "workspace:*",
"@size-limit/file": "^7.0.8",
"@size-limit/webpack": "^7.0.8",
"@size-limit/webpack-why": "^7.0.8",
Expand All @@ -28,10 +29,11 @@
"@types/babel__preset-env": "^7.9.2",
"@types/bn.js": "^5.1.0",
"@types/eslint": "^8.4.2",
"@types/jest": "^27.5.1",
"@types/jest": "^27.5.2",
"@types/node": "^17.0.38",
"@types/react": "^18.0.10",
"@types/source-map-support": "^0.5.4",
"@types/w3c-web-usb": "^1.0.6",
"@yarnpkg/doctor": "^3.1.3",
"bn.js": "^5.2.1",
"buffer": "^6.0.3",
Expand All @@ -56,7 +58,7 @@
"build": "yarn workspaces foreach --exclude @saberhq/saber-common -ptv run build",
"clean": "yarn workspaces foreach --exclude @saberhq/saber-common -ptv run clean",
"publish:all": "yarn workspaces foreach --exclude @saberhq/saber-common -ptv npm publish",
"typecheck": "tsc --noEmit",
"typecheck": "tsc",
"lint": "eslint . --cache",
"lint:fix": "eslint . --cache --fix",
"lint:ci": "eslint . --max-warnings=0",
Expand Down
2 changes: 1 addition & 1 deletion packages/solana-contrib/package.json
Expand Up @@ -39,7 +39,7 @@
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.43.4",
"@types/bn.js": "^5.1.0",
"@types/jest": "^27.5.1",
"@types/jest": "^27.5.2",
"@types/node": "^17.0.38",
"bn.js": "^5.2.1",
"typescript": "^4.7.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/token-utils/package.json
Expand Up @@ -29,7 +29,7 @@
"@saberhq/solana-contrib": "workspace:^",
"@solana/buffer-layout": "^4.0.0",
"@solana/spl-token": "^0.1.8",
"@ubeswap/token-math": "^5.1.0",
"@ubeswap/token-math": "^5.1.1",
"tiny-invariant": "^1.2.0",
"tslib": "^2.4.0"
},
Expand Down
41 changes: 29 additions & 12 deletions yarn.lock
Expand Up @@ -2276,6 +2276,7 @@ __metadata:
"@rushstack/eslint-patch": ^1.1.3
"@saberhq/eslint-config": "workspace:*"
"@saberhq/eslint-config-react": "workspace:*"
"@saberhq/use-solana": "workspace:*"
"@size-limit/file": ^7.0.8
"@size-limit/webpack": ^7.0.8
"@size-limit/webpack-why": ^7.0.8
Expand All @@ -2284,10 +2285,11 @@ __metadata:
"@types/babel__preset-env": ^7.9.2
"@types/bn.js": ^5.1.0
"@types/eslint": ^8.4.2
"@types/jest": ^27.5.1
"@types/jest": ^27.5.2
"@types/node": ^17.0.38
"@types/react": ^18.0.10
"@types/source-map-support": ^0.5.4
"@types/w3c-web-usb": ^1.0.6
"@yarnpkg/doctor": ^3.1.3
bn.js: ^5.2.1
buffer: ^6.0.3
Expand Down Expand Up @@ -2316,7 +2318,7 @@ __metadata:
"@solana/buffer-layout": ^4.0.0
"@solana/web3.js": ^1.43.4
"@types/bn.js": ^5.1.0
"@types/jest": ^27.5.1
"@types/jest": ^27.5.2
"@types/node": ^17.0.38
"@types/promise-retry": ^1.1.3
"@types/retry": ^0.12.2
Expand Down Expand Up @@ -2367,7 +2369,7 @@ __metadata:
"@solana/spl-token": ^0.1.8
"@solana/web3.js": ^1.43.4
"@types/bn.js": ^5.1.0
"@ubeswap/token-math": ^5.1.0
"@ubeswap/token-math": ^5.1.1
jsbi: ^4.3.0
tiny-invariant: ^1.2.0
tslib: ^2.4.0
Expand All @@ -2385,7 +2387,7 @@ __metadata:
languageName: unknown
linkType: soft

"@saberhq/use-solana@workspace:packages/use-solana":
"@saberhq/use-solana@workspace:*, @saberhq/use-solana@workspace:packages/use-solana":
version: 0.0.0-use.local
resolution: "@saberhq/use-solana@workspace:packages/use-solana"
dependencies:
Expand Down Expand Up @@ -2966,6 +2968,13 @@ __metadata:
languageName: node
linkType: hard

"@types/big.js@npm:^6.1.3":
version: 6.1.3
resolution: "@types/big.js@npm:6.1.3"
checksum: bf52e25c1d91daf5f88e7c49d03465ac9ce537cb09697c7677e70f9a09727156f4278987959769aabbfcce9e225c50713ccd594ab0c3835a7712d8635f323f7c
languageName: node
linkType: hard

"@types/bn.js@npm:^5.1.0":
version: 5.1.0
resolution: "@types/bn.js@npm:5.1.0"
Expand Down Expand Up @@ -3108,13 +3117,13 @@ __metadata:
languageName: node
linkType: hard

"@types/jest@npm:^27.5.1":
version: 27.5.1
resolution: "@types/jest@npm:27.5.1"
"@types/jest@npm:^27.5.2":
version: 27.5.2
resolution: "@types/jest@npm:27.5.2"
dependencies:
jest-matcher-utils: ^27.0.0
pretty-format: ^27.0.0
checksum: be20e39f7aaf17179109c0060d0a0489cec2034d4e2e28a631284c7ecd13c5ae52f62697a33a0e89b03b6cfe54e9d5e8c2bd387ab2bd90d6071d68c63b86d1e3
checksum: 7e11c6826aa429ad990dc262e4e4b54aa36573287fddf15773e4137f07d11d3105f0dd9f1baff73252160a057df23f5529bb83b1bf83cd3f45f9460a5ca5c22e
languageName: node
linkType: hard

Expand Down Expand Up @@ -3302,6 +3311,13 @@ __metadata:
languageName: node
linkType: hard

"@types/w3c-web-usb@npm:^1.0.6":
version: 1.0.6
resolution: "@types/w3c-web-usb@npm:1.0.6"
checksum: 9f30948cb84174fa290066b08274bdfb034d38c6db0976e9a826508732fba04d81e3300bca41ea23b737f1424c51adec5ae810cdf85d5b5a158d5840914f0417
languageName: node
linkType: hard

"@types/ws@npm:^7.4.4":
version: 7.4.7
resolution: "@types/ws@npm:7.4.7"
Expand Down Expand Up @@ -3444,18 +3460,19 @@ __metadata:
languageName: node
linkType: hard

"@ubeswap/token-math@npm:^5.1.0":
version: 5.1.0
resolution: "@ubeswap/token-math@npm:5.1.0"
"@ubeswap/token-math@npm:^5.1.1":
version: 5.1.1
resolution: "@ubeswap/token-math@npm:5.1.1"
dependencies:
"@types/big.js": ^6.1.3
big.js: ^6.1.1
decimal.js-light: ^2.5.1
tiny-invariant: ^1.2.0
tslib: ^2.4.0
peerDependencies:
bn.js: ^5.2.0
jsbi: ^3 || ^4
checksum: 702fd70a95bd104b56f59b236530da9e07319775f89e841d5c70bbcf9f4fba27b4346fc571a65fea12abceffb5bd5c9c81728c382346d02ccc3f7a6351f58559
checksum: ceb4e28b372d4f755cb3b1f8b5ee7cceb9fbf0c6fe67ee30a4ba1b362bff00fff12c0c9782f5d8c9ba4ba29f4f52e08219041719c1559d6dc30d8bbbec21ac53
languageName: node
linkType: hard

Expand Down