diff --git a/packages/connector/package.json b/packages/connector/package.json index 5845a834..ddd60941 100644 --- a/packages/connector/package.json +++ b/packages/connector/package.json @@ -1,6 +1,6 @@ { "name": "@rarimo/rarime-connector", - "version": "2.1.0-rc.2", + "version": "2.1.0-rc.3", "description": "Facilitates interaction between a DApp and RariMe MetaMask snap", "repository": { "type": "git", diff --git a/packages/connector/src/version.json b/packages/connector/src/version.json index d86b337b..472ee68e 100644 --- a/packages/connector/src/version.json +++ b/packages/connector/src/version.json @@ -1,3 +1,3 @@ { - "version": "2.1.0-rc.2" + "version": "2.1.0-rc.3" } diff --git a/packages/site/package.json b/packages/site/package.json index 36181110..09c95675 100644 --- a/packages/site/package.json +++ b/packages/site/package.json @@ -1,6 +1,6 @@ { "name": "site", - "version": "2.1.0-rc.2", + "version": "2.1.0-rc.3", "private": true, "license": "(MIT-0 OR Apache-2.0)", "scripts": { diff --git a/packages/snap/package.json b/packages/snap/package.json index d6e44c04..5af9e326 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -1,6 +1,6 @@ { "name": "@rarimo/rarime", - "version": "2.1.0-rc.2", + "version": "2.1.0-rc.3", "description": "RariMe is a MetaMask Snap that safely holds any of your credentials and allows you to prove your identity without revealing any personal data. Powered by Rarimo Protocol and Zero-Knowledge Proof technology.", "repository": { "type": "git", @@ -56,7 +56,7 @@ "@metamask/snaps-jest": "^4.0.0", "@metamask/snaps-sdk": "^1.1.0", "@metamask/snaps-utils": "^4.0.0", - "@rarimo/rarime-connector": "2.1.0-rc.2", + "@rarimo/rarime-connector": "2.1.0-rc.3", "buffer": "6.0.3", "dids": "4.0.4", "ethers": "5.7.2", diff --git a/packages/snap/snap.manifest.json b/packages/snap/snap.manifest.json index f6b59f24..92abe2bc 100644 --- a/packages/snap/snap.manifest.json +++ b/packages/snap/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "2.1.0-rc.2", + "version": "2.1.0-rc.3", "description": "Securely store and manage all of your identity credentials. Use them across chains with ZK-protected privacy guarantees.", "proposedName": "RariMe", "repository": { @@ -7,7 +7,7 @@ "url": "https://github.com/rarimo/rarime.git" }, "source": { - "shasum": "hrr/7zfhAaSlivEUrdEN85WchDcUYKcKpF0CBWjPcKg=", + "shasum": "MDLZWWGjnl4+z/enMNOc/5b+sdV45jksxdHxiOOZaF8=", "location": { "npm": { "filePath": "dist/bundle.js", diff --git a/packages/snap/src/index.ts b/packages/snap/src/index.ts index 6932dbee..d6502d11 100644 --- a/packages/snap/src/index.ts +++ b/packages/snap/src/index.ts @@ -155,7 +155,9 @@ export const onRpcRequest = async ({ throw new Error('User rejected request'); } - return Promise.all(vcs.map((vc) => vcManager.clearMatchedVcs(vc))); + await Promise.all(vcs.map((vc) => vcManager.clearMatchedVcs(vc))); + + return undefined; } case RPCMethods.SaveCredentials: { diff --git a/yarn.lock b/yarn.lock index 0d4fb2a9..31193697 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7620,7 +7620,7 @@ __metadata: languageName: node linkType: hard -"@rarimo/rarime-connector@2.1.0-rc.2, @rarimo/rarime-connector@workspace:^, @rarimo/rarime-connector@workspace:packages/connector": +"@rarimo/rarime-connector@2.1.0-rc.3, @rarimo/rarime-connector@workspace:^, @rarimo/rarime-connector@workspace:packages/connector": version: 0.0.0-use.local resolution: "@rarimo/rarime-connector@workspace:packages/connector" dependencies: @@ -7665,7 +7665,7 @@ __metadata: "@metamask/snaps-jest": ^4.0.0 "@metamask/snaps-sdk": ^1.1.0 "@metamask/snaps-utils": ^4.0.0 - "@rarimo/rarime-connector": 2.1.0-rc.2 + "@rarimo/rarime-connector": 2.1.0-rc.3 "@typechain/ethers-v5": 11.1.1 "@types/intl": 1.2.0 "@types/lodash": ^4.14.202