Skip to content

Commit

Permalink
Dep bumps (#634)
Browse files Browse the repository at this point in the history
* bump dependencies

* anchor provider

* import star gone
  • Loading branch information
macalinao committed Jun 22, 2022
1 parent 605e6f3 commit 783522e
Show file tree
Hide file tree
Showing 16 changed files with 143 additions and 193 deletions.
2 changes: 1 addition & 1 deletion .yarn/sdks/eslint/package.json
@@ -1,6 +1,6 @@
{
"name": "eslint",
"version": "8.17.0-sdk",
"version": "8.18.0-sdk",
"main": "./lib/api.js",
"type": "commonjs"
}
2 changes: 1 addition & 1 deletion .yarn/sdks/typescript/package.json
@@ -1,6 +1,6 @@
{
"name": "typescript",
"version": "4.7.3-sdk",
"version": "4.7.4-sdk",
"main": "./lib/typescript.js",
"type": "commonjs"
}
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -25,21 +25,21 @@
"@size-limit/file": "^7.0.8",
"@size-limit/webpack": "^7.0.8",
"@size-limit/webpack-why": "^7.0.8",
"@solana/web3.js": "^1.44.0",
"@solana/web3.js": "^1.44.2",
"@types/babel__core": "^7.1.19",
"@types/babel__preset-env": "^7.9.2",
"@types/bn.js": "^5.1.0",
"@types/eslint": "^8.4.3",
"@types/jest": "^28.1.1",
"@types/jest": "^28.1.3",
"@types/node": "^18.0.0",
"@types/react": "^18.0.13",
"@types/react": "^18.0.14",
"@types/source-map-support": "^0.5.4",
"@types/w3c-web-usb": "^1.0.6",
"@typescript-eslint/utils": "^5.28.0",
"@typescript-eslint/utils": "^5.29.0",
"@yarnpkg/doctor": "^3.1.3",
"bn.js": "^5.2.1",
"buffer": "^6.0.3",
"eslint": "^8.17.0",
"eslint": "^8.18.0",
"husky": "^8.0.1",
"jest": "^28.1.1",
"jest-runtime": "^28.1.1",
Expand All @@ -52,7 +52,7 @@
"ts-jest": "^28.0.5",
"ts-node": "^10.8.1",
"typedoc": "^0.22.17",
"typescript": "^4.7.3"
"typescript": "^4.7.4"
},
"resolutions": {
"@solana/web3.js": "^1.42"
Expand Down
4 changes: 2 additions & 2 deletions packages/anchor-contrib/package.json
Expand Up @@ -29,11 +29,11 @@
"devDependencies": {
"@project-serum/anchor": "^0.25.0-beta.1",
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.44.0",
"@solana/web3.js": "^1.44.2",
"@types/lodash.camelcase": "^4.3.7",
"@types/lodash.mapvalues": "^4.6.7",
"bn.js": "^5.2.1",
"typescript": "^4.7.3"
"typescript": "^4.7.4"
},
"dependencies": {
"@saberhq/solana-contrib": "workspace:^",
Expand Down
14 changes: 10 additions & 4 deletions packages/anchor-contrib/src/utils/provider.ts
@@ -1,4 +1,7 @@
import type { Provider as IAnchorProvider } from "@project-serum/anchor";
import type {
AnchorProvider as AnchorProviderImpl,
Provider as IAnchorProvider,
} from "@project-serum/anchor";
import * as anchor from "@project-serum/anchor";
import type {
Provider as SaberProvider,
Expand All @@ -11,6 +14,9 @@ import {
} from "@saberhq/solana-contrib";
import type { ConfirmOptions, Connection } from "@solana/web3.js";

/**
* Interface of an AnchorProvider.
*/
export interface AnchorProvider extends IAnchorProvider {
wallet: Wallet;
opts: ConfirmOptions;
Expand All @@ -22,12 +28,12 @@ const anchorModule = anchor;
* Class used to create new {@link AnchorProvider}s.
*/
export const AnchorProviderClass: AnchorProviderCtor &
typeof anchor.AnchorProvider =
typeof AnchorProviderImpl =
"AnchorProvider" in anchorModule
? anchorModule.AnchorProvider
: (
anchorModule as unknown as {
Provider: AnchorProviderCtor & typeof anchor.AnchorProvider;
Provider: AnchorProviderCtor & typeof AnchorProviderImpl;
}
).Provider;

Expand Down Expand Up @@ -73,7 +79,7 @@ export const makeReadonlySaberProvider = (
* @returns
*/
export const makeSaberProvider = (
anchorProvider: anchor.AnchorProvider
anchorProvider: AnchorProvider
): SaberProvider => {
return SolanaProvider.init({
connection: anchorProvider.connection,
Expand Down
4 changes: 2 additions & 2 deletions packages/chai-solana/package.json
Expand Up @@ -50,9 +50,9 @@
"devDependencies": {
"@project-serum/anchor": "^0.25.0-beta.1",
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.44.0",
"@solana/web3.js": "^1.44.2",
"bn.js": "^5.2.1",
"jsbi": "^4.3.0",
"typescript": "^4.7.3"
"typescript": "^4.7.4"
}
}
4 changes: 2 additions & 2 deletions packages/eslint-config-react/package.json
Expand Up @@ -37,7 +37,7 @@
"@saberhq/tsconfig": "workspace:^",
"@types/eslint": "^8.4.3",
"@types/node": "^18.0.0",
"eslint": "^8.17.0",
"typescript": "^4.7.3"
"eslint": "^8.18.0",
"typescript": "^4.7.4"
}
}
8 changes: 4 additions & 4 deletions packages/eslint-config/package.json
Expand Up @@ -27,8 +27,8 @@
"eslint": ">=7"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-plugin-import": "^2.26.0",
Expand All @@ -41,7 +41,7 @@
"@saberhq/tsconfig": "workspace:^",
"@types/eslint": "^8.4.3",
"@types/node": "^18.0.0",
"eslint": "^8.17.0",
"typescript": "^4.7.3"
"eslint": "^8.18.0",
"typescript": "^4.7.4"
}
}
2 changes: 1 addition & 1 deletion packages/option-utils/package.json
Expand Up @@ -37,6 +37,6 @@
},
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"typescript": "^4.7.3"
"typescript": "^4.7.4"
}
}
6 changes: 3 additions & 3 deletions packages/solana-contrib/package.json
Expand Up @@ -37,12 +37,12 @@
},
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.44.0",
"@solana/web3.js": "^1.44.2",
"@types/bn.js": "^5.1.0",
"@types/jest": "^28.1.1",
"@types/jest": "^28.1.3",
"@types/node": "^18.0.0",
"bn.js": "^5.2.1",
"typescript": "^4.7.3"
"typescript": "^4.7.4"
},
"peerDependencies": {
"@solana/web3.js": "^1.42",
Expand Down
4 changes: 2 additions & 2 deletions packages/stableswap-sdk/package.json
Expand Up @@ -28,14 +28,14 @@
},
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.44.0",
"@solana/web3.js": "^1.44.2",
"@types/bn.js": "^5.1.0",
"@types/lodash": "^4.14.182",
"@types/node": "^18.0.0",
"bn.js": "^5.2.1",
"jsbi": "^4.3.0",
"lodash": "^4.17.21",
"typescript": "^4.7.3"
"typescript": "^4.7.4"
},
"peerDependencies": {
"@solana/web3.js": "^1.42",
Expand Down
4 changes: 2 additions & 2 deletions packages/token-utils/package.json
Expand Up @@ -39,10 +39,10 @@
],
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.44.0",
"@solana/web3.js": "^1.44.2",
"@types/bn.js": "^5.1.0",
"jsbi": "^4.3.0",
"typescript": "^4.7.3"
"typescript": "^4.7.4"
},
"peerDependencies": {
"@solana/web3.js": "^1.42",
Expand Down
2 changes: 1 addition & 1 deletion packages/tuple-utils/package.json
Expand Up @@ -38,6 +38,6 @@
},
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"typescript": "^4.7.3"
"typescript": "^4.7.4"
}
}
6 changes: 3 additions & 3 deletions packages/use-solana/package.json
Expand Up @@ -20,13 +20,13 @@
},
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"@solana/web3.js": "^1.44.0",
"@solana/web3.js": "^1.44.2",
"@types/bn.js": "^5.1.0",
"@types/node": "^18.0.0",
"@types/react": "^18.0.13",
"@types/react": "^18.0.14",
"bn.js": "^5.2.1",
"react": "^18.2.0",
"typescript": "^4.7.3"
"typescript": "^4.7.4"
},
"dependencies": {
"@ledgerhq/hw-transport": "^6.27.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/wallet-adapter-icons/package.json
Expand Up @@ -41,8 +41,8 @@
},
"devDependencies": {
"@saberhq/tsconfig": "workspace:^",
"@types/react": "^18.0.13",
"@types/react": "^18.0.14",
"react": "^18.2.0",
"typescript": "^4.7.3"
"typescript": "^4.7.4"
}
}

0 comments on commit 783522e

Please sign in to comment.