Skip to content

Commit

Permalink
Update dependencies (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
macalinao committed Sep 13, 2022
1 parent 0ad97d0 commit f1891cb
Show file tree
Hide file tree
Showing 14 changed files with 787 additions and 723 deletions.
42 changes: 21 additions & 21 deletions package.json
Expand Up @@ -12,47 +12,47 @@
"*.{md,js,jsx,json,yml,yaml,css,md}": "prettier --write"
},
"devDependencies": {
"@babel/core": "^7.18.13",
"@babel/preset-env": "^7.18.10",
"@babel/core": "^7.19.0",
"@babel/preset-env": "^7.19.0",
"@babel/preset-typescript": "^7.18.6",
"@jest/types": "^29.0.0",
"@jest/types": "^29.0.3",
"@project-serum/anchor": "^0.25.0",
"@rushstack/eslint-patch": "^1.1.4",
"@saberhq/eslint-config": "^2.0.4",
"@saberhq/eslint-config-react": "^2.0.4",
"@saberhq/tsconfig": "^2.0.4",
"@saberhq/eslint-config": "^2.0.5",
"@saberhq/eslint-config-react": "^2.0.5",
"@saberhq/tsconfig": "^2.0.5",
"@saberhq/use-solana": "workspace:*",
"@size-limit/file": "^8.0.1",
"@size-limit/webpack": "^8.0.1",
"@size-limit/webpack-why": "^8.0.1",
"@size-limit/file": "^8.1.0",
"@size-limit/webpack": "^8.1.0",
"@size-limit/webpack-why": "^8.1.0",
"@solana/web3.js": "^1.54.0",
"@types/babel__core": "^7.1.19",
"@types/babel__preset-env": "^7.9.2",
"@types/bn.js": "^5.1.0",
"@types/bn.js": "^5.1.1",
"@types/eslint": "^8.4.6",
"@types/jest": "^28.1.8",
"@types/node": "^18.7.13",
"@types/react": "^18.0.17",
"@types/jest": "^29.0.1",
"@types/node": "^18.7.17",
"@types/react": "^18.0.19",
"@types/source-map-support": "^0.5.6",
"@types/w3c-web-usb": "^1.0.6",
"@typescript-eslint/utils": "^5.35.1",
"@typescript-eslint/utils": "^5.37.0",
"@yarnpkg/doctor": "^3.1.4",
"bn.js": "^5.2.1",
"buffer": "^6.0.3",
"eslint": "^8.22.0",
"eslint": "^8.23.1",
"husky": "^8.0.1",
"jest": "^29.0.0",
"jest-runtime": "^29.0.0",
"jest": "^29.0.3",
"jest-runtime": "^29.0.3",
"jsbi": "^4.3.0",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"react": "^18.2.0",
"size-limit": "^8.0.1",
"size-limit": "^8.1.0",
"source-map-support": "^0.5.21",
"ts-jest": "^28.0.8",
"ts-jest": "^29.0.0",
"ts-node": "^10.9.1",
"typedoc": "^0.23.10",
"typescript": "^4.7.4"
"typedoc": "^0.23.14",
"typescript": "^4.8.3"
},
"resolutions": {
"@solana/web3.js": "^1.42"
Expand Down
4 changes: 2 additions & 2 deletions packages/anchor-contrib/package.json
Expand Up @@ -28,12 +28,12 @@
},
"devDependencies": {
"@project-serum/anchor": "^0.25.0",
"@saberhq/tsconfig": "^2.0.4",
"@saberhq/tsconfig": "^2.0.5",
"@solana/web3.js": "^1.54.0",
"@types/lodash.camelcase": "^4.3.7",
"@types/lodash.mapvalues": "^4.6.7",
"bn.js": "^5.2.1",
"typescript": "^4.7.4"
"typescript": "^4.8.3"
},
"dependencies": {
"@saberhq/solana-contrib": "workspace:^",
Expand Down
4 changes: 2 additions & 2 deletions packages/chai-solana/package.json
Expand Up @@ -49,10 +49,10 @@
},
"devDependencies": {
"@project-serum/anchor": "^0.25.0",
"@saberhq/tsconfig": "^2.0.4",
"@saberhq/tsconfig": "^2.0.5",
"@solana/web3.js": "^1.54.0",
"bn.js": "^5.2.1",
"jsbi": "^4.3.0",
"typescript": "^4.7.4"
"typescript": "^4.8.3"
}
}
4 changes: 2 additions & 2 deletions packages/option-utils/package.json
Expand Up @@ -36,7 +36,7 @@
"tslib": "^2.4.0"
},
"devDependencies": {
"@saberhq/tsconfig": "^2.0.4",
"typescript": "^4.7.4"
"@saberhq/tsconfig": "^2.0.5",
"typescript": "^4.8.3"
}
}
10 changes: 5 additions & 5 deletions packages/solana-contrib/package.json
Expand Up @@ -36,13 +36,13 @@
"tslib": "^2.4.0"
},
"devDependencies": {
"@saberhq/tsconfig": "^2.0.4",
"@saberhq/tsconfig": "^2.0.5",
"@solana/web3.js": "^1.54.0",
"@types/bn.js": "^5.1.0",
"@types/jest": "^28.1.8",
"@types/node": "^18.7.13",
"@types/bn.js": "^5.1.1",
"@types/jest": "^29.0.1",
"@types/node": "^18.7.17",
"bn.js": "^5.2.1",
"typescript": "^4.7.4"
"typescript": "^4.8.3"
},
"peerDependencies": {
"@solana/web3.js": "^1.42",
Expand Down
4 changes: 3 additions & 1 deletion packages/solana-contrib/src/transaction/programErr.ts
Expand Up @@ -115,7 +115,9 @@ export function getTransactionInstructionError(
}

if (typeof error === "object" && "InstructionError" in error) {
const innerError = error["InstructionError"];
const innerError = (error as { InstructionError: number[] })[
"InstructionError"
];
const index = innerError[0] as number;
const instructionError = innerError[1];

Expand Down
10 changes: 5 additions & 5 deletions packages/stableswap-sdk/package.json
Expand Up @@ -27,15 +27,15 @@
"node": ">=12.x"
},
"devDependencies": {
"@saberhq/tsconfig": "^2.0.4",
"@saberhq/tsconfig": "^2.0.5",
"@solana/web3.js": "^1.54.0",
"@types/bn.js": "^5.1.0",
"@types/lodash": "^4.14.184",
"@types/node": "^18.7.13",
"@types/bn.js": "^5.1.1",
"@types/lodash": "^4.14.185",
"@types/node": "^18.7.17",
"bn.js": "^5.2.1",
"jsbi": "^4.3.0",
"lodash": "^4.17.21",
"typescript": "^4.7.4"
"typescript": "^4.8.3"
},
"peerDependencies": {
"@solana/web3.js": "^1.42",
Expand Down
6 changes: 3 additions & 3 deletions packages/token-utils/package.json
Expand Up @@ -38,11 +38,11 @@
"src/"
],
"devDependencies": {
"@saberhq/tsconfig": "^2.0.4",
"@saberhq/tsconfig": "^2.0.5",
"@solana/web3.js": "^1.54.0",
"@types/bn.js": "^5.1.0",
"@types/bn.js": "^5.1.1",
"jsbi": "^4.3.0",
"typescript": "^4.7.4"
"typescript": "^4.8.3"
},
"peerDependencies": {
"@solana/web3.js": "^1.42",
Expand Down
4 changes: 2 additions & 2 deletions packages/tuple-utils/package.json
Expand Up @@ -37,7 +37,7 @@
"tslib": "^2.4.0"
},
"devDependencies": {
"@saberhq/tsconfig": "^2.0.4",
"typescript": "^4.7.4"
"@saberhq/tsconfig": "^2.0.5",
"typescript": "^4.8.3"
}
}
10 changes: 5 additions & 5 deletions packages/use-solana/package.json
Expand Up @@ -19,14 +19,14 @@
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@saberhq/tsconfig": "^2.0.4",
"@saberhq/tsconfig": "^2.0.5",
"@solana/web3.js": "^1.54.0",
"@types/bn.js": "^5.1.0",
"@types/node": "^18.7.13",
"@types/react": "^18.0.17",
"@types/bn.js": "^5.1.1",
"@types/node": "^18.7.17",
"@types/react": "^18.0.19",
"bn.js": "^5.2.1",
"react": "^18.2.0",
"typescript": "^4.7.4"
"typescript": "^4.8.3"
},
"dependencies": {
"@ledgerhq/hw-transport": "^6.27.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/use-solana/src/providers.ts
Expand Up @@ -3,7 +3,7 @@ import {
BRAVEWALLET,
CLOVER,
COIN98,
COINBASEWALLET,
COINBASE_WALLET,
EXODUS,
FILE,
GLOW,
Expand Down Expand Up @@ -165,7 +165,7 @@ export const DEFAULT_WALLET_PROVIDERS: WalletProviderMap<
[DefaultWalletType.CoinbaseWallet]: {
name: "Coinbase Wallet",
url: "https://www.coinbase.com/wallet",
icon: COINBASEWALLET,
icon: COINBASE_WALLET,
makeAdapter: () => new SolanaWalletAdapter(new CoinbaseWalletAdapter()),
isInstalled: () => window.coinbaseSolana !== undefined,
isMobile: true,
Expand Down
6 changes: 3 additions & 3 deletions packages/wallet-adapter-icons/package.json
Expand Up @@ -40,9 +40,9 @@
"react": "^17.0.2 || ^18"
},
"devDependencies": {
"@saberhq/tsconfig": "^2.0.4",
"@types/react": "^18.0.17",
"@saberhq/tsconfig": "^2.0.5",
"@types/react": "^18.0.19",
"react": "^18.2.0",
"typescript": "^4.7.4"
"typescript": "^4.8.3"
}
}
2 changes: 1 addition & 1 deletion packages/wallet-adapter-icons/src/index.tsx
Expand Up @@ -201,7 +201,7 @@ export const PHANTOM: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
</svg>
);

export const COINBASEWALLET: React.FC<React.SVGProps<SVGSVGElement>> = (
export const COINBASE_WALLET: React.FC<React.SVGProps<SVGSVGElement>> = (
props
) => (
<svg
Expand Down

0 comments on commit f1891cb

Please sign in to comment.