Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Apr 8, 2024
1 parent c38c9be commit 670958f
Show file tree
Hide file tree
Showing 21 changed files with 420 additions and 337 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
655 changes: 371 additions & 284 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"lint": "cross-env FORCE_COLOR=1 lerna run lint --parallel",
"pack:lerna": "lerna exec 'npm pack'",
"pre-commit": "lerna run pre-commit",
"prepare": "husky install",
"prepare": "husky",
"locale": "node locales/importLocales.mjs"
},
"devDependencies": {
Expand Down Expand Up @@ -52,11 +52,11 @@
"tsconfig-paths": "^4.2.0",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"tslib": "^2.6.2",
"typescript": "^5.4.3"
"typescript": "^5.4.4"
},
"optionalDependencies": {
"@nx/nx-linux-x64-gnu": "^18.1.3",
"@rollup/rollup-linux-x64-gnu": "^4.13.0"
"@nx/nx-linux-x64-gnu": "^18.2.3",
"@rollup/rollup-linux-x64-gnu": "^4.14.1"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/base-evm-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"pre-commit": "lint-staged --cwd ."
},
"dependencies": {
"@toruslabs/base-controllers": "^5.5.3",
"@toruslabs/base-controllers": "^5.5.5",
"@web3auth/base": "^8.0.0"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/base-solana-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"pre-commit": "lint-staged --cwd ."
},
"dependencies": {
"@toruslabs/base-controllers": "^5.5.3",
"@toruslabs/base-controllers": "^5.5.5",
"@web3auth/base": "^8.0.0",
"bs58": "^5.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/adapters/openlogin-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"@types/lodash.merge": "^4.6.9"
},
"dependencies": {
"@toruslabs/openlogin": "^8.0.0",
"@toruslabs/openlogin-utils": "^8.0.0",
"@toruslabs/openlogin": "^8.1.0",
"@toruslabs/openlogin-utils": "^8.1.0",
"@web3auth/base": "^8.0.0",
"@web3auth/base-provider": "^8.0.1",
"lodash.merge": "^4.6.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/solflare-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"bn.js": "^5.2.1"
},
"devDependencies": {
"@solana/web3.js": "^1.91.2",
"@solana/web3.js": "^1.91.4",
"@solflare-wallet/sdk": "^1.4.2"
},
"lint-staged": {
Expand Down
6 changes: 3 additions & 3 deletions packages/adapters/wallet-connect-v2-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
},
"devDependencies": {
"@types/lodash.merge": "^4.6.9",
"@walletconnect/sign-client": "^2.11.3",
"@walletconnect/types": "^2.11.3",
"@walletconnect/utils": "^2.11.3"
"@walletconnect/sign-client": "^2.12.1",
"@walletconnect/types": "^2.12.1",
"@walletconnect/utils": "^2.12.1"
},
"lint-staged": {
"!(*d).ts": [
Expand Down
8 changes: 4 additions & 4 deletions packages/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
},
"dependencies": {
"@toruslabs/constants": "^13.2.0",
"@toruslabs/http-helpers": "^6.1.0",
"@toruslabs/openlogin": "^8.0.0",
"@toruslabs/openlogin-jrpc": "^8.0.0",
"@toruslabs/openlogin-utils": "^8.0.0",
"@toruslabs/http-helpers": "^6.1.1",
"@toruslabs/openlogin": "^8.1.0",
"@toruslabs/openlogin-jrpc": "^8.1.0",
"@toruslabs/openlogin-utils": "^8.1.0",
"jwt-decode": "^4.0.0",
"loglevel": "^1.9.1",
"ts-custom-error": "^3.3.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/base/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { SIGNER_MAP } from "@toruslabs/constants";
import { get } from "@toruslabs/http-helpers";
import type { OPENLOGIN_NETWORK_TYPE, WhiteLabelData } from "@toruslabs/openlogin-utils";

import { WEB3AUTH_NETWORK } from "./adapter";
import { WEB3AUTH_NETWORK } from "./adapter/IAdapter";

export interface PROJECT_CONFIG_RESPONSE {
whitelabel?: WhiteLabelData;
Expand Down
4 changes: 2 additions & 2 deletions packages/modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"devDependencies": {
"@svgr/webpack": "^8.1.0",
"@toruslabs/isomorphic-style-loader": "^5.3.3",
"@toruslabs/openlogin-utils": "^8.0.0",
"@toruslabs/openlogin-utils": "^8.1.0",
"@web3auth/wallet-connect-v2-adapter": "^8.0.1",
"css-loader": "^6.10.0",
"css-loader": "^7.0.0",
"postcss-prefix-selector": "^1.16.0",
"style-loader": "^3.3.4",
"url-loader": "^4.1.1"
Expand Down
6 changes: 3 additions & 3 deletions packages/no-modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"@web3auth/wallet-connect-v2-adapter": "^8.x"
},
"dependencies": {
"@toruslabs/openlogin": "^8.0.0",
"@toruslabs/openlogin-jrpc": "^8.0.0",
"@toruslabs/openlogin-utils": "^8.0.0",
"@toruslabs/openlogin": "^8.1.0",
"@toruslabs/openlogin-jrpc": "^8.1.0",
"@toruslabs/openlogin-utils": "^8.1.0",
"@web3auth/base": "^8.0.0",
"@web3auth/base-plugin": "^8.0.1",
"@web3auth/base-provider": "^8.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@metamask/rpc-errors": "^6.2.1"
},
"dependencies": {
"@toruslabs/openlogin-jrpc": "^8.0.0",
"@toruslabs/openlogin-jrpc": "^8.1.0",
"@toruslabs/solana-embed": "^2.0.0",
"@web3auth/base": "^8.0.0",
"@web3auth/base-plugin": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/wallet-services-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"@web3auth/openlogin-adapter": "^8.0.1"
},
"dependencies": {
"@toruslabs/ethereum-controllers": "^5.5.3",
"@toruslabs/openlogin-jrpc": "^8.0.0",
"@toruslabs/ethereum-controllers": "^5.5.5",
"@toruslabs/openlogin-jrpc": "^8.1.0",
"@web3auth/base": "^8.0.0",
"@web3auth/base-plugin": "^8.0.1",
"@web3auth/no-modal": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/providers/base-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"dependencies": {
"@metamask/rpc-errors": "^6.2.1",
"@toruslabs/base-controllers": "^5.5.3",
"@toruslabs/openlogin-jrpc": "^8.0.0",
"@toruslabs/base-controllers": "^5.5.5",
"@toruslabs/openlogin-jrpc": "^8.1.0",
"@web3auth/base": "^8.0.0",
"json-rpc-random-id": "^1.0.1"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/providers/ethereum-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"@ethereumjs/util": "^9.0.3",
"@metamask/eth-sig-util": "^7.0.1",
"@metamask/rpc-errors": "^6.2.1",
"@toruslabs/base-controllers": "^5.5.3",
"@toruslabs/http-helpers": "^6.1.0",
"@toruslabs/openlogin-jrpc": "^8.0.0",
"@walletconnect/utils": "^2.11.3",
"@toruslabs/base-controllers": "^5.5.5",
"@toruslabs/http-helpers": "^6.1.1",
"@toruslabs/openlogin-jrpc": "^8.1.0",
"@walletconnect/utils": "^2.12.1",
"@web3auth/base": "^8.0.0",
"@web3auth/base-provider": "^8.0.1",
"assert": "^2.1.0",
Expand All @@ -38,7 +38,7 @@
"devDependencies": {
"@types/bn.js": "^5.1.5",
"@types/json-rpc-random-id": "^1.0.3",
"@walletconnect/types": "^2.11.3"
"@walletconnect/types": "^2.12.1"
},
"peerDependencies": {
"@babel/runtime": "7.x"
Expand Down
8 changes: 4 additions & 4 deletions packages/providers/solana-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
},
"dependencies": {
"@metamask/rpc-errors": "^6.2.1",
"@toruslabs/base-controllers": "^5.5.3",
"@toruslabs/openlogin-ed25519": "^8.0.0",
"@toruslabs/openlogin-jrpc": "^8.0.0",
"@toruslabs/base-controllers": "^5.5.5",
"@toruslabs/openlogin-ed25519": "^8.1.0",
"@toruslabs/openlogin-jrpc": "^8.1.0",
"@toruslabs/tweetnacl-js": "^1.0.4",
"@web3auth/base": "^8.0.0",
"@web3auth/base-provider": "^8.0.1",
Expand All @@ -31,7 +31,7 @@
"json-rpc-random-id": "^1.0.1"
},
"devDependencies": {
"@solana/web3.js": "^1.91.2",
"@solana/web3.js": "^1.91.4",
"@solflare-wallet/sdk": "^1.4.2",
"@types/bn.js": "^5.1.5",
"@types/bs58": "^4.0.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/providers/xrpl-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"dependencies": {
"@metamask/rpc-errors": "^6.2.1",
"@toruslabs/base-controllers": "^5.5.3",
"@toruslabs/openlogin-jrpc": "^8.0.0",
"@toruslabs/base-controllers": "^5.5.5",
"@toruslabs/openlogin-jrpc": "^8.1.0",
"@web3auth/base": "^8.0.0",
"@web3auth/base-provider": "^8.0.1",
"lodash": "^4.17.21",
Expand Down
18 changes: 9 additions & 9 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
"@svgr/webpack": "^8.1.0",
"@toruslabs/eslint-config-react": "^3.3.0",
"@toruslabs/isomorphic-style-loader": "^5.3.3",
"@toruslabs/vue-components": "^7.7.0",
"@toruslabs/vue-components": "^7.8.1",
"@types/lodash.clonedeep": "^4.5.9",
"@types/lodash.merge": "^4.6.9",
"@types/react": "^18.2.72",
"@types/react-dom": "^18.2.22",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"autoprefixer": "^10.4.19",
"css-loader": "^6.10.0",
"css-loader": "^7.0.0",
"live-server": "^1.2.2",
"postcss": "^8.4.38",
"postcss-loader": "^8.1.1",
Expand All @@ -61,14 +61,14 @@
"react-dom": "^18.2.0",
"rollup-plugin-postcss": "^4.0.2",
"style-loader": "^3.3.4",
"tailwindcss": "^3.4.1",
"tailwindcss": "^3.4.3",
"url-loader": "^4.1.1"
},
"dependencies": {
"@toruslabs/http-helpers": "^6.1.0",
"@toruslabs/openlogin": "^8.0.0",
"@toruslabs/openlogin-jrpc": "^8.0.0",
"@toruslabs/openlogin-utils": "^8.0.0",
"@toruslabs/http-helpers": "^6.1.1",
"@toruslabs/openlogin": "^8.1.0",
"@toruslabs/openlogin-jrpc": "^8.1.0",
"@toruslabs/openlogin-utils": "^8.1.0",
"@web3auth/base": "^8.0.0",
"bowser": "^2.11.0",
"classnames": "^2.5.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import "./styles.css";

import React, { CSSProperties, memo } from "react";
import { CSSProperties, memo, ReactNode } from "react";

type ButtonProps = {
variant: "primary" | "secondary" | "tertiary";
onClick?: () => void;
title?: string;
children?: React.ReactNode;
children?: ReactNode;
className?: string;
style?: CSSProperties;
size?: string;
Expand Down
1 change: 0 additions & 1 deletion packages/ui/src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { SafeEventEmitter } from "@toruslabs/openlogin-jrpc";
import { UX_MODE_TYPE, WhiteLabelData } from "@toruslabs/openlogin-utils";
import { BaseAdapterConfig, IWalletConnectExtensionAdapter, LoginMethodConfig, WALLET_ADAPTER_TYPE } from "@web3auth/base";

// TODO: change whitelabel settings and pass ui whitelabel to openlogin.
// capture whitelabel only once
export interface UIConfig extends WhiteLabelData {
/**
Expand Down

0 comments on commit 670958f

Please sign in to comment.