diff --git a/packages/arcana-auth/package.json b/packages/arcana-auth/package.json index 37c9a6145..2994d19de 100644 --- a/packages/arcana-auth/package.json +++ b/packages/arcana-auth/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/arcana-auth", - "version": "2.0.0-alpha.2", + "version": "2.0.0-alpha.1", "license": "MIT", "description": "Arcana wallet is a built-in, secure Web3 wallet that users can access instantly when logging into an app integrated with the Arcana Auth SDK. It offers a customizable interface that can be branded to match the app's style. Users don't need to generate or manage cryptographic keys or remember passphrases. The wallet uses advanced distributed key generation, giving users full control over their wallets while onboarding Web3 apps using familiar Web2 authentication methods. It is user-friendly, secure, and puts users in control of their Web3 experience.", "private": false, @@ -13,7 +13,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@arcana/auth": "^1.0.7", + "@arcana/auth": "^1.0.6", "@web3-onboard/common": "2.3.3" }, "devDependencies": { diff --git a/packages/arcana-auth/src/index.ts b/packages/arcana-auth/src/index.ts index 9437113ac..57be577fd 100644 --- a/packages/arcana-auth/src/index.ts +++ b/packages/arcana-auth/src/index.ts @@ -17,6 +17,7 @@ export default function (opts: { const instance = new AuthProvider(opts.clientID, opts.params) await instance.init() return new Promise((resolve, reject) => { + // @ts-ignore instance.provider.once('connect', () => { resolve({ provider: createEIP1193Provider(instance.provider), diff --git a/yarn.lock b/yarn.lock index dbd942f83..368ef6b3b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -154,10 +154,10 @@ resolved "https://registry.yarnpkg.com/@apocentre/alias-sampling/-/alias-sampling-0.5.3.tgz#897ff181b48ad7b2bcb4ecf29400214888244f08" integrity sha512-7UDWIIF9hIeJqfKXkNIzkVandlwLf1FWTSdrb9iXvOP8oF544JRXQjCbiTmCv2c9n44n/FIWtehhBfNuAx2CZA== -"@arcana/auth@^1.0.7": - version "1.0.7" - resolved "https://registry.yarnpkg.com/@arcana/auth/-/auth-1.0.7.tgz#58ed216b3e7a9cbea4ce64ce638b56f8739003e0" - integrity sha512-QSbVntohr0iTRJ/+FHYulNAC1agooNJXJOotNTnR75hXUMy1w5DNluvxCpEwa0gToyaKWmjqw3zVW4D7UoWtRw== +"@arcana/auth@^1.0.6": + version "1.0.6" + resolved "https://registry.yarnpkg.com/@arcana/auth/-/auth-1.0.6.tgz#6b84a37e600b56c54651634debc11c8a01d3e129" + integrity sha512-wJ/qP6bZcJR/U3YUtGWNF359grRjPoILrRYn4jix7zlguhY34Yc27NFhsDwq7yrgnPQYa4lLz6uOZf0pDOHbgA== dependencies: "@metamask/safe-event-emitter" "^2.0.0" eth-rpc-errors "^4.0.3"