diff --git a/FAQ.md b/FAQ.md index 665464f5e..7f0d3d060 100644 --- a/FAQ.md +++ b/FAQ.md @@ -14,7 +14,7 @@ After reading this FAQ, if you've found a bug or you'd like to request a feature ## Can I use this with ___? ### React -Yes, see the [react-ui-starter](https://github.com/solana-labs/wallet-adapter/tree/master/packages/starter/react-ui-starter) package +Yes, see the [react-ui-starter](https://github.com/solana-labs/wallet-adapter/tree/master/packages/starter/react-ui-starter) package. ### Anchor Yes, use the [`useAnchorWallet()`](https://github.com/solana-labs/wallet-adapter/blob/master/packages/core/react/src/useAnchorWallet.ts) hook in the React package to easily get an [Anchor-compatible Wallet interface](https://github.com/project-serum/anchor/blob/0faed886002a9b01ad0513c860e19d7570cb0221/ts/src/provider.ts#L220-L224). diff --git a/README.md b/README.md index afff0d6ee..76ae15a08 100644 --- a/README.md +++ b/README.md @@ -181,9 +181,7 @@ These packages provide components for common UI frameworks. | [material-ui](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/material-ui) | Components for [Material UI](https://material-ui.com) | [`@solana/wallet-adapter-material-ui`](https://npmjs.com/package/@solana/wallet-adapter-material-ui) | | [ant-design](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/ant-design) | Components for [Ant Design](https://ant.design) | [`@solana/wallet-adapter-ant-design`](https://npmjs.com/package/@solana/wallet-adapter-ant-design) | | [react-ui](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/react-ui) | Components for React (no UI framework, just CSS) | [`@solana/wallet-adapter-react-ui`](https://npmjs.com/package/@solana/wallet-adapter-react-ui) | -| [vue-ui](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/vue-ui) \* | Components for Vue (no UI framework, just CSS) | [`@solana/wallet-adapter-vue-ui`](https://npmjs.com/package/@solana/wallet-adapter-vue-ui) | - -\* Package has not been published to NPM yet. +| [vue-ui](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/vue-ui) | Components for Vue (no UI framework, just CSS) | [`@solana/wallet-adapter-vue-ui`](https://npmjs.com/package/@solana/wallet-adapter-vue-ui) | ### Starter Projects These packages provide projects that you can use to start building a dApp with built-in wallet support. diff --git a/packages/core/vue/package.json b/packages/core/vue/package.json index 8f58b6a44..ba941aff2 100644 --- a/packages/core/vue/package.json +++ b/packages/core/vue/package.json @@ -1,6 +1,6 @@ { "name": "@solana/wallet-adapter-vue", - "version": "0.3.0", + "version": "0.3.1", "author": "Solana Maintainers ", "repository": "https://github.com/solana-labs/wallet-adapter", "license": "Apache-2.0", diff --git a/packages/starter/nextjs-starter/pages/_app.tsx b/packages/starter/nextjs-starter/pages/_app.tsx index 47c08934d..3c4aca915 100644 --- a/packages/starter/nextjs-starter/pages/_app.tsx +++ b/packages/starter/nextjs-starter/pages/_app.tsx @@ -1,9 +1,11 @@ +import { WalletModalProvider } from '@solana/wallet-adapter-react-ui'; import { AppProps } from 'next/app'; import dynamic from 'next/dynamic'; import { FC, ReactNode } from 'react'; // Use require instead of import, and order matters require('../styles/globals.css'); +require('@solana/wallet-adapter-react-ui/styles.css'); const WalletConnectionProvider = dynamic<{ children: ReactNode }>( () => @@ -18,7 +20,9 @@ const WalletConnectionProvider = dynamic<{ children: ReactNode }>( const App: FC = ({ Component, pageProps }) => { return ( - + + + ); }; diff --git a/packages/starter/nextjs-starter/pages/index.tsx b/packages/starter/nextjs-starter/pages/index.tsx index 145e2334a..ccba5a052 100644 --- a/packages/starter/nextjs-starter/pages/index.tsx +++ b/packages/starter/nextjs-starter/pages/index.tsx @@ -1,3 +1,4 @@ +import { WalletDisconnectButton, WalletMultiButton } from '@solana/wallet-adapter-react-ui'; import { NextPage } from 'next'; import Head from 'next/head'; import Image from 'next/image'; @@ -17,6 +18,11 @@ const Index: NextPage = () => { Welcome to Next.js! +
+ + +
+

Get started by editing pages/index.js

diff --git a/packages/starter/nextjs-starter/styles/Home.module.css b/packages/starter/nextjs-starter/styles/Home.module.css index 35454bb74..1aa4802c1 100644 --- a/packages/starter/nextjs-starter/styles/Home.module.css +++ b/packages/starter/nextjs-starter/styles/Home.module.css @@ -1,121 +1,123 @@ .container { - min-height: 100vh; - padding: 0 0.5rem; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - height: 100vh; + padding: 0 2rem; } .main { - padding: 5rem 0; - flex: 1; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; + min-height: 100vh; + padding: 4rem 0; + flex: 1; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; } .footer { - width: 100%; - height: 100px; - border-top: 1px solid #eaeaea; - display: flex; - justify-content: center; - align-items: center; + display: flex; + flex: 1; + padding: 2rem 0; + border-top: 1px solid #eaeaea; + justify-content: center; + align-items: center; } .footer a { - display: flex; - justify-content: center; - align-items: center; - flex-grow: 1; + display: flex; + justify-content: center; + align-items: center; + flex-grow: 1; } .title a { - color: #0070f3; - text-decoration: none; + color: #0070f3; + text-decoration: none; } .title a:hover, .title a:focus, .title a:active { - text-decoration: underline; + text-decoration: underline; } .title { - margin: 0; - line-height: 1.15; - font-size: 4rem; + margin: 0; + line-height: 1.15; + font-size: 4rem; } .title, .description { - text-align: center; + text-align: center; } .description { - line-height: 1.5; - font-size: 1.5rem; + margin: 4rem 0; + line-height: 1.5; + font-size: 1.5rem; } .code { - background: #fafafa; - border-radius: 5px; - padding: 0.75rem; - font-size: 1.1rem; - font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, - Bitstream Vera Sans Mono, Courier New, monospace; + background: #fafafa; + border-radius: 5px; + padding: 0.75rem; + font-size: 1.1rem; + font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, + monospace; } .grid { - display: flex; - align-items: center; - justify-content: center; - flex-wrap: wrap; - max-width: 800px; - margin-top: 3rem; + display: flex; + align-items: center; + justify-content: center; + flex-wrap: wrap; + max-width: 800px; } .card { - margin: 1rem; - padding: 1.5rem; - text-align: left; - color: inherit; - text-decoration: none; - border: 1px solid #eaeaea; - border-radius: 10px; - transition: color 0.15s ease, border-color 0.15s ease; - width: 45%; + margin: 1rem; + padding: 1.5rem; + text-align: left; + color: inherit; + text-decoration: none; + border: 1px solid #eaeaea; + border-radius: 10px; + transition: color 0.15s ease, border-color 0.15s ease; + max-width: 300px; } .card:hover, .card:focus, .card:active { - color: #0070f3; - border-color: #0070f3; + color: #0070f3; + border-color: #0070f3; } .card h2 { - margin: 0 0 1rem 0; - font-size: 1.5rem; + margin: 0 0 1rem 0; + font-size: 1.5rem; } .card p { - margin: 0; - font-size: 1.25rem; - line-height: 1.5; + margin: 0; + font-size: 1.25rem; + line-height: 1.5; } .logo { - height: 1em; - margin-left: 0.5rem; + height: 1em; + margin-left: 0.5rem; } @media (max-width: 600px) { - .grid { - width: 100%; + .grid { + width: 100%; + flex-direction: column; + } +} + +.walletButtons { + padding-top: 2rem; + display: flex; flex-direction: column; - } + gap: 2rem; } diff --git a/packages/ui/vue-ui/package.json b/packages/ui/vue-ui/package.json index c2fe0fda7..2d7406d24 100644 --- a/packages/ui/vue-ui/package.json +++ b/packages/ui/vue-ui/package.json @@ -1,10 +1,12 @@ { - "private": true, "name": "@solana/wallet-adapter-vue-ui", "version": "0.1.0", "author": "Solana Maintainers ", "repository": "https://github.com/solana-labs/wallet-adapter", "license": "Apache-2.0", + "main": "lib/index.js", + "esnext": "lib/index.js", + "types": "lib/src/index.d.ts", "files": [ "lib", "src", diff --git a/packages/ui/vue-ui/vite.config.ts b/packages/ui/vue-ui/vite.config.ts index e7b3316f4..8c73768a8 100644 --- a/packages/ui/vue-ui/vite.config.ts +++ b/packages/ui/vue-ui/vite.config.ts @@ -26,6 +26,7 @@ export default defineConfig({ }, }, }, + sourcemap: true, }, - plugins: [vue(), dts({ insertTypesEntry: true })], + plugins: [vue(), dts()], }); diff --git a/packages/wallets/torus/package.json b/packages/wallets/torus/package.json index 34d1e09e0..528cda327 100644 --- a/packages/wallets/torus/package.json +++ b/packages/wallets/torus/package.json @@ -1,6 +1,6 @@ { "name": "@solana/wallet-adapter-torus", - "version": "0.8.0", + "version": "0.8.1", "author": "Solana Maintainers ", "repository": "https://github.com/solana-labs/wallet-adapter", "license": "Apache-2.0", @@ -26,9 +26,10 @@ "@solana/web3.js": "^1.20.0" }, "dependencies": { - "@toruslabs/openlogin": "^0.10.2", - "@toruslabs/openlogin-ed25519": "^0.10.2", - "@types/keccak": "^3.0.1" + "@toruslabs/openlogin": "^1.0.0", + "@toruslabs/openlogin-ed25519": "^1.0.0", + "@types/keccak": "^3.0.1", + "@types/readable-stream": "^2.3.11" }, "devDependencies": { "@solana/wallet-adapter-base": "^0.7.0", diff --git a/tsconfig.json b/tsconfig.json index db8e224dd..77c451f7d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,31 @@ "include": ["packages/*/*/src"], "exclude": ["node_modules", "packages/*/*/node_modules"], "typedocOptions": { - "entryPoints": ".", + "entryPoints": [ + "packages/core/angular", + "packages/core/vue", + "packages/core/wallets", + "packages/core/base", + "packages/core/react", + "packages/ui/ant-design", + "packages/ui/material-ui", + "packages/ui/react-ui", + "packages/wallets/bitkeep", + "packages/wallets/bitpie", + "packages/wallets/blocto", + "packages/wallets/clover", + "packages/wallets/coin98", + "packages/wallets/ledger", + "packages/wallets/mathwallet", + "packages/wallets/phantom", + "packages/wallets/safepal", + "packages/wallets/slope", + "packages/wallets/solflare", + "packages/wallets/sollet", + "packages/wallets/solong", + "packages/wallets/tokenpocket", + "packages/wallets/torus" + ], "entryPointStrategy": "packages", "out": "docs", "readme": "README.md" diff --git a/yarn.lock b/yarn.lock index e007653db..27aef090f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3196,122 +3196,7 @@ dependencies: buffer "~6.0.3" -"@solana/wallet-adapter-base@^0.6.0": - version "0.6.0" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-base/-/wallet-adapter-base-0.6.0.tgz#5a300dcf3021b4d7b8fe965020c2e282a7f27afd" - integrity sha512-c32iJ3rSEPR7XIo1ijd/LgiUtMXRXgJHcYveekOb69JmbZwoF6gqeC5kHt8IwvGMuXofb19Mg+iquaqVTuWUlg== - dependencies: - eventemitter3 "^4.0.7" - -"@solana/wallet-adapter-bitpie@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-bitpie/-/wallet-adapter-bitpie-0.2.1.tgz#4784002467c01bdf1d3c4ab4bf4d8f6cf10d8008" - integrity sha512-AdnnLGPXJhQD3ciN9dWaOJX0/jAgGGodcGfcZ2HIz50ShBxvUfpyCciGwDwA2ADbJk+mWFs8oPmBQsXK9bVH5w== - -"@solana/wallet-adapter-blocto@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-blocto/-/wallet-adapter-blocto-0.2.1.tgz#87ccb814e69dcfab1a656bdedbdbd9ea3d6211cf" - integrity sha512-BuoS8T7KrHF+EiHVZQ/UYVPzDOvacfqNl7pEqilwFMWN+ZAcDN5R102QBHuzvbVEoLZ5D5i0XyLOM8NmNpR17g== - dependencies: - "@blocto/sdk" "^0.2.11" - -"@solana/wallet-adapter-clover@^0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-clover/-/wallet-adapter-clover-0.1.0.tgz#6e1298882c6a0019e466081b5119b31f227efeb2" - integrity sha512-+XhkkCbfi8esNUN5GMc2H9fJpjfPrmHTHnoEoPXNpoJn1zWwfOjW6GXdlr3/ClbjuPXvPmed6xerbA94JlDHqg== - -"@solana/wallet-adapter-coin98@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-coin98/-/wallet-adapter-coin98-0.2.1.tgz#eaf00b2d699ff364afc818db2ab3a4bfc6526c48" - integrity sha512-2iI5scAGORGGxGBGHHL+RudNH/+Osf268ttkCZygz3UrFq35w2ZmLU0RPx6KO+BXZ1HMnAt6Msig/m29wQuGsg== - dependencies: - "@types/bs58" "^4.0.1" - bs58 "^4.0.1" - -"@solana/wallet-adapter-ledger@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-ledger/-/wallet-adapter-ledger-0.6.1.tgz#f52164676740897b558a284b5286489c61f9712f" - integrity sha512-SykEks5+48dPA3rVipWxqg35QsDLFms5G6wfD79653W5xqVJ8A92OjnTpM6CrCTfgpjI9Wf75wLRpBUNi2h3Lw== - dependencies: - "@ledgerhq/hw-transport" "^6.7.0" - "@ledgerhq/hw-transport-webhid" "^6.7.0" - "@types/w3c-web-hid" "^1.0.2" - -"@solana/wallet-adapter-mathwallet@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-mathwallet/-/wallet-adapter-mathwallet-0.6.1.tgz#4318ea0b94efc4a55f304b09baebb3ad00c6d748" - integrity sha512-44Jx/PVMejlRm86q8rtwnON7qkdcYlzSbaKefr7fLdRJK0ft/kx2UUziU/EKY5vacP5KnrhcADbVoDjgTMM7Ow== - -"@solana/wallet-adapter-phantom@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-phantom/-/wallet-adapter-phantom-0.6.1.tgz#1715543998acaefa97dffcfed095ba6995e575a3" - integrity sha512-BVi/jT4ndwSKBcE70nVSelnm5nfCwQqlD+SXrX7/iLvjpy7ShTtE6ouBadEy1AbGsNBBQZqapq78M8x0YjJi9g== - -"@solana/wallet-adapter-safepal@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-safepal/-/wallet-adapter-safepal-0.2.1.tgz#91daad45e99205511effe00c3bcf3b7b6d026c9f" - integrity sha512-OTxN2FPvdbOhOSvvmzTX86By8Ugj2j40cYi5yRzD1f6+aApuQJRToFHXLnb+7JF3OyD3CtqtgGYsoOvxjCuGIg== - -"@solana/wallet-adapter-slope@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-slope/-/wallet-adapter-slope-0.2.1.tgz#fde8b2fe6ecf49c56085045b4ed47fc265da2e48" - integrity sha512-nsIPWqibxfV33ERUmfYv6pHyIfnX2rKjKoFn8dn5Dp9jy7m5nexRsc4MavTeoNm2ZziQiDAhrsHbFH96uOCBSw== - dependencies: - "@types/bs58" "^4.0.1" - bs58 "^4.0.1" - -"@solana/wallet-adapter-solflare@^0.3.1": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-solflare/-/wallet-adapter-solflare-0.3.1.tgz#2ca845938331b408a3231905cc8800b7a4a4426b" - integrity sha512-SaeZbFe0nBbs2zoVCvQrM5A39Bmj+wFwICgEP8fFxt4+//N8+xbZ+03x5vueQAQOLy63GIFI/qxM9lF8Rh8LEA== - -"@solana/wallet-adapter-sollet@^0.7.1": - version "0.7.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-sollet/-/wallet-adapter-sollet-0.7.1.tgz#82a5dbdfdd767c12b8176a17ff20c5e2649d9ee1" - integrity sha512-gwsuc5dL1ZXsR4jiQqcKvTXBB/Lr3MTJQBHNJUF2mw4FFQcJePLWkf69JLBBlv7mI0iT/jGj06YFz1o1utXPJg== - dependencies: - "@project-serum/sol-wallet-adapter" "^0.2.5" - -"@solana/wallet-adapter-solong@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-solong/-/wallet-adapter-solong-0.6.1.tgz#067c274f6ef3ce3bbec22fe03affd2d0cb0f2642" - integrity sha512-CuO0uWdeTVskRcomO5nkKGmFa1dB8ilhqZP/rwOP/5pve3xfrMMszXegGBLAr3FWuFsAmyg2MNrt47Mbk3YKbg== - -"@solana/wallet-adapter-tokenpocket@^0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-tokenpocket/-/wallet-adapter-tokenpocket-0.1.0.tgz#dab9fca82e9dee5063151fa691b03b62e94b28eb" - integrity sha512-A9APopVJITL+UGllbuBp8ocKmcyHz6CZgm5jUs+HPc3J/uv6DhVOE577a2cacH3TI81J8ie3fmvelbhVJkDp+g== - -"@solana/wallet-adapter-torus@^0.7.1": - version "0.7.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-torus/-/wallet-adapter-torus-0.7.1.tgz#7978a11ce045108fd9bb210a73cb1d493e6bf206" - integrity sha512-Fz5oFbUOFnR9xe0OJlenmmVYt7qI7SVYNE6iWgseqVAvSBLVnSV5n1DqgC+OVk2OKZD+UpuWgduMFfN5kFfP2w== - dependencies: - "@toruslabs/openlogin" "^0.10.2" - "@toruslabs/openlogin-ed25519" "^0.10.2" - "@types/keccak" "^3.0.1" - -"@solana/wallet-adapter-wallets@^0.10.1": - version "0.10.2" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-wallets/-/wallet-adapter-wallets-0.10.2.tgz#bfaa280b83043c9e2ab39ee072a1fb1bcd35f30a" - integrity sha512-BUU5nDEmcvW7TWkLP5ZD4CTzQD+epTK3DBhE1bAHW310VuK7Xq6OsiCEP7OVfWObdJbXebWXWu1IqtgN+Ba2cQ== - dependencies: - "@solana/wallet-adapter-bitpie" "^0.2.1" - "@solana/wallet-adapter-blocto" "^0.2.1" - "@solana/wallet-adapter-clover" "^0.1.0" - "@solana/wallet-adapter-coin98" "^0.2.1" - "@solana/wallet-adapter-ledger" "^0.6.1" - "@solana/wallet-adapter-mathwallet" "^0.6.1" - "@solana/wallet-adapter-phantom" "^0.6.1" - "@solana/wallet-adapter-safepal" "^0.2.1" - "@solana/wallet-adapter-slope" "^0.2.1" - "@solana/wallet-adapter-solflare" "^0.3.1" - "@solana/wallet-adapter-sollet" "^0.7.1" - "@solana/wallet-adapter-solong" "^0.6.1" - "@solana/wallet-adapter-tokenpocket" "^0.1.0" - "@solana/wallet-adapter-torus" "^0.7.1" - -"@solana/web3.js@^1.20.0", "@solana/web3.js@^1.22.0", "@solana/web3.js@^1.29.2": +"@solana/web3.js@^1.20.0", "@solana/web3.js@^1.22.0": version "1.30.1" resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.30.1.tgz#3b8531021d54d481308fd6d4ca57822da87fc6dc" integrity sha512-vbJjrqVyGb0KTlfxbHiQsSqoMW7KmXHtC0hu/9RcOKEg85eKTAAsyHVP4vKsawezGUbLswX/iVOCiTOB7+tfHg== @@ -3556,42 +3441,44 @@ dependencies: deepmerge "^4.2.2" -"@toruslabs/openlogin-ed25519@^0.10.2": - version "0.10.2" - resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-ed25519/-/openlogin-ed25519-0.10.2.tgz#bcda4fff62344b6f55e4cd20ded44cab5a2d2e18" - integrity sha512-sgYTOgvAVd0e6WMpWi9p6YlsSroOfg1eLCa1DaNOj3Xy0WWs2mDxPwoNwzX/2WzJosoy/23lT3KOwJgUBhwpRA== +"@toruslabs/openlogin-ed25519@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-ed25519/-/openlogin-ed25519-1.0.0.tgz#2a307eaa793df29585f06febd0c0d4041fa64ebc" + integrity sha512-p4r4UtvC9wSKH/OlF1lOruHZRmQTV5/4ZUE1WdT0vnYw2I9h4lk7YQlLKYPwP6AqcFLR5OyetkW2+QvK5Mbe+A== dependencies: "@toruslabs/tweetnacl-js" "^1.0.3" -"@toruslabs/openlogin-jrpc@^0.10.2": - version "0.10.2" - resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-0.10.2.tgz#64ed0f8dce16c74a0409c32d4a14cf28626d37da" - integrity sha512-ZlP56CeQ/Ii8ubg+EbL0If7QwV4JLHzrrd4+enqG47PRcFR7clHEmmHM54BTyrJKbOygDsU75RvkCmMkSIs8Pw== +"@toruslabs/openlogin-jrpc@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-1.0.0.tgz#1e8001bd7008e152f7635474972c097f268fc3a8" + integrity sha512-ONQKHY/j4WHqO4XEILtfMeNSJSLfwTv4ikkO1D6JolWeVScH+6CtgO+rpalSf3oWJy/PECITiI63EGnHIH7yKA== dependencies: - "@toruslabs/openlogin-utils" "^0.10.2" + "@toruslabs/openlogin-utils" "^1.0.0" end-of-stream "^1.4.4" - fast-safe-stringify "^2.0.8" + events "^3.3.0" + fast-safe-stringify "^2.1.1" once "^1.4.0" pump "^3.0.0" + readable-stream "^3.6.0" -"@toruslabs/openlogin-utils@^0.10.2": - version "0.10.2" - resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-utils/-/openlogin-utils-0.10.2.tgz#0e9cea953955cb0f48db047642d6624f64da7acc" - integrity sha512-PUWn7RHfZm0v87lE9KniTrfJ9oAsCHywnMr8wOwiBZGvH84+7R389hh7jGOwnbTmqntFixD5YzlWQICzDfFrCA== +"@toruslabs/openlogin-utils@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-utils/-/openlogin-utils-1.0.0.tgz#4a16b37d3f18c3ef1f1ac8a0f7ac374fd6cc6a78" + integrity sha512-ZJO0KqzG1s71ouuop4TIka4JcQ/Uaat0iayydgQy5xFqCU4tgHLDB6UpHddZJnQDcqDYqWdmdvEuSnFe6qkNZA== dependencies: base64url "^3.0.1" keccak "^3.0.2" randombytes "^2.1.0" -"@toruslabs/openlogin@^0.10.2": - version "0.10.2" - resolved "https://registry.yarnpkg.com/@toruslabs/openlogin/-/openlogin-0.10.2.tgz#aeaf6031d6fc2f902721a88bbfabe28914926889" - integrity sha512-4nr7nY0JCGBXeFJ4g42P/GtjS5Qw9tr5qIKKdOd3BEC/DtycIMjc7CRCnpGim/PAZo22qoO+SNSBwd1hlU+zag== +"@toruslabs/openlogin@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@toruslabs/openlogin/-/openlogin-1.0.0.tgz#fad254303e76a56254da53b3d47176df13d64bb9" + integrity sha512-nsyPMT22I7YBx9UcW6ZTL52AB23bwsTABattlBZ3AO4OO9MjM5PCwYox3C8iLFBllOTOJZpCVhCJIvcOs3xP2w== dependencies: "@toruslabs/eccrypto" "^1.1.7" "@toruslabs/http-helpers" "^1.4.0" - "@toruslabs/openlogin-jrpc" "^0.10.2" - "@toruslabs/openlogin-utils" "^0.10.2" + "@toruslabs/openlogin-jrpc" "^1.0.0" + "@toruslabs/openlogin-utils" "^1.0.0" lodash.merge "^4.6.2" pump "^3.0.0" @@ -3804,14 +3691,14 @@ integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== "@types/node@*", "@types/node@^16.9.1": - version "16.11.5" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.5.tgz#e91be5ba4ab88c06095e7b61f9ad1767a1093faf" - integrity sha512-NyUV2DGcqYIx9op++MG2+Z4Nhw1tPhi0Wfs81TgncuX1aJC4zf2fgCJlJhl4BW9bCSS04e34VkqmOS96w0XQdg== + version "16.11.6" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.6.tgz#6bef7a2a0ad684cf6e90fcfe31cecabd9ce0a3ae" + integrity sha512-ua7PgUoeQFjmWPcoo9khiPum3Pd60k4/2ZGXt18sm2Slk0W0xZTqt5Y0Ny1NyBiN1EVQ/+FaF9NcY4Qe6rwk5w== "@types/node@^12.0.0", "@types/node@^12.12.54": - version "12.20.35" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.35.tgz#ccabdc86b5b3babff92f575ffd14c2329710635d" - integrity sha512-fsSWQa0FpolfK709jVqkmtMBtrfdRPM1ZSRlayrnVOqfiABLZJJDw1OA++VuQdpOKSgJgt/7buf/B4GPSH3EWQ== + version "12.20.36" + resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.36.tgz#5bd54d2383e714fc4d2c258107ee70c5bad86d0c" + integrity sha512-+5haRZ9uzI7rYqzDznXgkuacqb6LJhAti8mzZKWxIXn/WEtvB+GHVJ7AuMwcN1HMvXOSJcrvA6PPoYHYOYYebA== "@types/normalize-package-data@^2.4.0": version "2.4.1" @@ -3887,14 +3774,22 @@ "@types/react" "*" "@types/react@*", "@types/react@^17.0.24": - version "17.0.32" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.32.tgz#89a161286bbe2325d4d516420a27364a324909f4" - integrity sha512-hAm1pmwA3oZWbkB985RFwNvBRMG0F3KWSiC4/hNmanigKZMiKQoH5Q6etNw8HIDztTGfvXyOjPvdNnvBUCuaPg== + version "17.0.33" + resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.33.tgz#e01ae3de7613dac1094569880bb3792732203ad5" + integrity sha512-pLWntxXpDPaU+RTAuSGWGSEL2FRTNyRQOjSWDke/rxRg14ncsZvx8AKWMWZqvc1UOaJIAoObdZhAWvRaHFi5rw== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" csstype "^3.0.2" +"@types/readable-stream@^2.3.11": + version "2.3.11" + resolved "https://registry.yarnpkg.com/@types/readable-stream/-/readable-stream-2.3.11.tgz#942bc4574a1d7ca4368cb9cb4352e3d2b4b51dea" + integrity sha512-0z+/apYJwKFz/RHp6mOMxz/y7xOvWPYPevuCEyAY3gXsjtaac02E26RvxA+I96rfvmVH/dEMGXNvyJfViR1FSQ== + dependencies: + "@types/node" "*" + safe-buffer "*" + "@types/resolve@0.0.8": version "0.0.8" resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.8.tgz#f26074d238e02659e323ce1a13d041eee280e194" @@ -7857,9 +7752,9 @@ ejs@^3.1.5: jake "^10.6.1" electron-to-chromium@^1.3.564, electron-to-chromium@^1.3.723, electron-to-chromium@^1.3.878: - version "1.3.878" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.878.tgz#baa9fb5c24b9b580f08fb245cbb52a22f8fc8fa8" - integrity sha512-O6yxWCN9ph2AdspAIszBnd9v8s11hQx8ub9w4UGApzmNRnoKhbulOWqbO8THEQec/aEHtvy+donHZMlh6l1rbA== + version "1.3.879" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.879.tgz#4aba9700cfb241fb95c6ed69e31785e3d1605a43" + integrity sha512-zJo+D9GwbJvM31IdFmwcGvychhk4KKbKYo2GWlsn+C/dxz2NwmbhGJjWwTfFSF2+eFH7VvfA8MCZ8SOqTrlnpw== elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" @@ -8900,7 +8795,7 @@ fast-redact@^3.0.0: resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-3.0.2.tgz#c940ba7162dde3aeeefc522926ae8c5231412904" integrity sha512-YN+CYfCVRVMUZOUPeinHNKgytM1wPI/C/UCLEi56EsY2dwwvI00kIJHJoI7pMVqGoMew8SMZ2SSfHKHULHXDsg== -fast-safe-stringify@^2.0.7, fast-safe-stringify@^2.0.8: +fast-safe-stringify@^2.0.7, fast-safe-stringify@^2.0.8, fast-safe-stringify@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884" integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA== @@ -16279,9 +16174,9 @@ rollup@^2.45.1, rollup@^2.57.0: fsevents "~2.3.2" rpc-websockets@^7.4.2: - version "7.4.15" - resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-7.4.15.tgz#1f6b4640231c1d6479b9fda347e418d0b54ddab5" - integrity sha512-ICuqy1MeGl7z0/kesAShN1Lz0AYvOPLpmv2hzfIV5YNGhmJl+B/osmFoWrvxZcQnn/wyPl4Q29ItTJkXFNc9oA== + version "7.4.16" + resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-7.4.16.tgz#eb701cdef577d4357ba5f526d50e25f370396fac" + integrity sha512-0b7OVhutzwRIaYAtJo5tqtaQTWKfwAsKnaThOSOy+VkhVdleNUgb8eZnWSdWITRZZEigV5uPEIDr5KZe4DBrdQ== dependencies: "@babel/runtime" "^7.11.2" circular-json "^0.5.9" @@ -16330,16 +16225,16 @@ rxjs@^7.2.0: dependencies: tslib "~2.1.0" +safe-buffer@*, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== - safe-json-utils@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/safe-json-utils/-/safe-json-utils-1.1.1.tgz#0e883874467d95ab914c3f511096b89bfb3e63b1"