From 7b43c4731c6cfd3d08d89d87f76235c1ee3cffc5 Mon Sep 17 00:00:00 2001 From: mmjee Date: Thu, 3 Aug 2023 12:39:02 +0530 Subject: [PATCH] Update Arcana Auth SDK version --- packages/arcana-auth/package.json | 4 ++-- packages/arcana-auth/src/index.ts | 1 - yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/arcana-auth/package.json b/packages/arcana-auth/package.json index 2994d19de..37c9a6145 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.1", + "version": "2.0.0-alpha.2", "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.6", + "@arcana/auth": "^1.0.7", "@web3-onboard/common": "2.3.3" }, "devDependencies": { diff --git a/packages/arcana-auth/src/index.ts b/packages/arcana-auth/src/index.ts index 57be577fd..9437113ac 100644 --- a/packages/arcana-auth/src/index.ts +++ b/packages/arcana-auth/src/index.ts @@ -17,7 +17,6 @@ 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 368ef6b3b..dbd942f83 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.6": - version "1.0.6" - resolved "https://registry.yarnpkg.com/@arcana/auth/-/auth-1.0.6.tgz#6b84a37e600b56c54651634debc11c8a01d3e129" - integrity sha512-wJ/qP6bZcJR/U3YUtGWNF359grRjPoILrRYn4jix7zlguhY34Yc27NFhsDwq7yrgnPQYa4lLz6uOZf0pDOHbgA== +"@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== dependencies: "@metamask/safe-event-emitter" "^2.0.0" eth-rpc-errors "^4.0.3"