Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Jan 10, 2023
1 parent 1f3ef6e commit 7382236
Show file tree
Hide file tree
Showing 13 changed files with 481 additions and 371 deletions.
798 changes: 454 additions & 344 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
"@types/jsonwebtoken": "^8.5.9",
"@types/mocha": "^10.0.1",
"@types/node": "^16",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"chai": "^4.3.7",
"cross-env": "^7.0.3",
"dotenv": "^16.0.3",
"eslint": "^8.30.0",
"eslint": "^8.31.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-n": "^15.6.0",
Expand All @@ -50,16 +50,16 @@
"eslint-plugin-simple-import-sort": "^8.0.0",
"eslint-plugin-tsdoc": "^0.2.17",
"faker": "^5.5.3",
"husky": "^8.0.2",
"husky": "^8.0.3",
"jsonwebtoken": "^8.5.1",
"lerna": "^5.5.4",
"lint-staged": "^13.1.0",
"mocha": "^10.2.0",
"node-fetch": "^3.3.0",
"prettier": "^2.8.1",
"prettier": "^2.8.2",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.1",
"tsconfig-paths": "^4.1.2",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"tslib": "^2.4.1",
"typescript": "^4.9.4"
Expand Down
4 changes: 2 additions & 2 deletions packages/adapters/solflare-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"bn.js": "^5.2.1"
},
"devDependencies": {
"@solana/web3.js": "^1.72.0",
"@solflare-wallet/sdk": "^1.1.0"
"@solana/web3.js": "^1.73.0",
"@solflare-wallet/sdk": "^1.2.0"
},
"lint-staged": {
"!(*d).ts": [
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/torus-evm-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@babel/runtime": "^7.x"
},
"dependencies": {
"@toruslabs/torus-embed": "^1.38.4",
"@toruslabs/torus-embed": "^1.38.5",
"@web3auth/base": "^4.0.0",
"@web3auth/base-evm-adapter": "^4.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/base/src/adapter/IAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const ADAPTER_CATEGORY = {
EXTERNAL: "external",
IN_APP: "in_app",
} as const;
export type ADAPTER_CATEGORY_TYPE = typeof ADAPTER_CATEGORY[keyof typeof ADAPTER_CATEGORY];
export type ADAPTER_CATEGORY_TYPE = (typeof ADAPTER_CATEGORY)[keyof typeof ADAPTER_CATEGORY];

export interface AdapterInitOptions {
/**
Expand All @@ -35,7 +35,7 @@ export const ADAPTER_EVENTS = {
...ADAPTER_STATUS,
ADAPTER_DATA_UPDATED: "adapter_data_updated",
} as const;
export type ADAPTER_STATUS_TYPE = typeof ADAPTER_STATUS[keyof typeof ADAPTER_STATUS];
export type ADAPTER_STATUS_TYPE = (typeof ADAPTER_STATUS)[keyof typeof ADAPTER_STATUS];

export type CONNECTED_EVENT_DATA = {
adapter: string;
Expand Down
4 changes: 2 additions & 2 deletions packages/base/src/chain/IChainInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ export const CHAIN_NAMESPACES = {
OTHER: "other",
} as const;
// eip155 for all evm chains
export type ChainNamespaceType = typeof CHAIN_NAMESPACES[keyof typeof CHAIN_NAMESPACES];
export type ChainNamespaceType = (typeof CHAIN_NAMESPACES)[keyof typeof CHAIN_NAMESPACES];

export const ADAPTER_NAMESPACES = {
EIP155: "eip155",
SOLANA: "solana",
MULTICHAIN: "multichain",
} as const;
// eip155 for all evm chains
export type AdapterNamespaceType = typeof ADAPTER_NAMESPACES[keyof typeof ADAPTER_NAMESPACES];
export type AdapterNamespaceType = (typeof ADAPTER_NAMESPACES)[keyof typeof ADAPTER_NAMESPACES];

export type CustomChainConfig = {
chainNamespace: ChainNamespaceType;
Expand Down
8 changes: 4 additions & 4 deletions packages/base/src/wallet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ export const WALLET_ADAPTERS = {
...EVM_ADAPTERS,
...SOLANA_ADAPTERS,
};
export type WALLET_ADAPTER_TYPE = typeof WALLET_ADAPTERS[keyof typeof WALLET_ADAPTERS];
export type SOLANA_ADAPTER_TYPE = typeof SOLANA_ADAPTERS[keyof typeof SOLANA_ADAPTERS];
export type EVM_ADAPTER_TYPE = typeof EVM_ADAPTERS[keyof typeof EVM_ADAPTERS];
export type MULTI_CHAIN_ADAPTER_TYPE = typeof MULTI_CHAIN_ADAPTERS[keyof typeof MULTI_CHAIN_ADAPTERS];
export type WALLET_ADAPTER_TYPE = (typeof WALLET_ADAPTERS)[keyof typeof WALLET_ADAPTERS];
export type SOLANA_ADAPTER_TYPE = (typeof SOLANA_ADAPTERS)[keyof typeof SOLANA_ADAPTERS];
export type EVM_ADAPTER_TYPE = (typeof EVM_ADAPTERS)[keyof typeof EVM_ADAPTERS];
export type MULTI_CHAIN_ADAPTER_TYPE = (typeof MULTI_CHAIN_ADAPTERS)[keyof typeof MULTI_CHAIN_ADAPTERS];

export const ADAPTER_NAMES = {
[MULTI_CHAIN_ADAPTERS.OPENLOGIN]: "OpenLogin",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/base-plugin/src/IPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const PLUGIN_NAMESPACES = {
MULTICHAIN: "multichain",
} as const;

export type PluginNamespace = typeof PLUGIN_NAMESPACES[keyof typeof PLUGIN_NAMESPACES];
export type PluginNamespace = (typeof PLUGIN_NAMESPACES)[keyof typeof PLUGIN_NAMESPACES];

export interface IPlugin {
name: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"eth-rpc-errors": "^4.0.3"
},
"dependencies": {
"@toruslabs/torus-embed": "^1.38.4",
"@toruslabs/torus-embed": "^1.38.5",
"@web3auth/base": "^4.0.0",
"@web3auth/base-plugin": "^4.0.0",
"@web3auth/core": "^4.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/providers/solana-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"json-rpc-random-id": "^1.0.1"
},
"devDependencies": {
"@solana/web3.js": "^1.72.0",
"@solflare-wallet/sdk": "^1.1.0",
"@solana/web3.js": "^1.73.0",
"@solflare-wallet/sdk": "^1.2.0",
"@types/bn.js": "^5.1.1",
"@types/bs58": "^4.0.1",
"@types/json-rpc-random-id": "^1.0.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/single-factor-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@babel/runtime": "^7.x"
},
"dependencies": {
"@toruslabs/customauth": "^11.4.0",
"@toruslabs/customauth": "^11.4.1",
"@toruslabs/openlogin-ed25519": "^2.0.0",
"@web3auth/base": "^4.0.0",
"@web3auth/base-provider": "^4.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@
"@types/lodash.merge": "^4.6.7",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"autoprefixer": "^10.4.13",
"css-loader": "^6.7.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-jsx-a11y": "^6.7.0",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"live-server": "^1.2.2",
"postcss": "^8.4.20",
"postcss": "^8.4.21",
"postcss-loader": "^7.0.2",
"postcss-prefix-selector": "^1.16.0",
"react": "^18.2.0",
Expand All @@ -75,10 +75,10 @@
"bowser": "^2.11.0",
"classnames": "^2.3.2",
"copy-to-clipboard": "^3.3.3",
"i18next": "^22.4.6",
"i18next": "^22.4.9",
"lodash.clonedeep": "^4.5.0",
"lodash.merge": "^4.6.2",
"react-i18next": "^12.1.1",
"react-i18next": "^12.1.4",
"react-qrcode-logo": "^2.8.0"
},
"lint-staged": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const MODAL_STATUS = {
CONNECTING: "connecting",
ERRORED: "errored",
};
export type ModalStatusType = typeof MODAL_STATUS[keyof typeof MODAL_STATUS];
export type ModalStatusType = (typeof MODAL_STATUS)[keyof typeof MODAL_STATUS];

export interface ModalState {
status: ModalStatusType;
Expand Down

0 comments on commit 7382236

Please sign in to comment.