@notifi-network/notifi-frontend-client
Advanced tools
Comparing version 0.31.1-alpha.23 to 0.31.1-alpha.24
@@ -316,9 +316,10 @@ "use strict"; | ||
}); | ||
const { tenantId } = this._configuration; | ||
const { tenantId, walletBlockchain } = this._configuration; | ||
let loginPromise = Promise.reject( | ||
"Unsupported blockchain" | ||
); | ||
switch (this._configuration.walletBlockchain) { | ||
switch (walletBlockchain) { | ||
case "SOLANA": { | ||
loginPromise = this._service.logInFromDapp({ | ||
walletBlockchain, | ||
walletPublicKey: this._configuration.walletPublicKey, | ||
@@ -333,2 +334,3 @@ dappAddress: tenantId, | ||
loginPromise = this._service.logInFromDapp({ | ||
walletBlockchain, | ||
walletPublicKey: this._configuration.authenticationKey, | ||
@@ -335,0 +337,0 @@ accountId: this._configuration.accountAddress, |
@@ -69,9 +69,10 @@ import type { FilterOptions } from '@notifi-network/notifi-core'; | ||
const { tenantId } = this._configuration; | ||
const { tenantId, walletBlockchain } = this._configuration; | ||
let loginPromise = Promise.reject<Types.LogInFromDappMutation>( | ||
'Unsupported blockchain', | ||
); | ||
switch (this._configuration.walletBlockchain) { | ||
switch (walletBlockchain) { | ||
case 'SOLANA': { | ||
loginPromise = this._service.logInFromDapp({ | ||
walletBlockchain, | ||
walletPublicKey: this._configuration.walletPublicKey, | ||
@@ -86,2 +87,3 @@ dappAddress: tenantId, | ||
loginPromise = this._service.logInFromDapp({ | ||
walletBlockchain, | ||
walletPublicKey: this._configuration.authenticationKey, | ||
@@ -88,0 +90,0 @@ accountId: this._configuration.accountAddress, |
{ | ||
"name": "@notifi-network/notifi-frontend-client", | ||
"version": "0.31.1-alpha.23+4d2810b", | ||
"version": "0.31.1-alpha.24+aa14dc1", | ||
"description": "The frontend client for Notifi", | ||
@@ -36,7 +36,7 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@notifi-network/notifi-graphql": "^0.31.1-alpha.23+4d2810b", | ||
"@notifi-network/notifi-graphql": "^0.31.1-alpha.24+aa14dc1", | ||
"graphql-request": "^5.0.0", | ||
"localforage": "^1.10.0" | ||
}, | ||
"gitHead": "4d2810b0412cd037d61a9e936c1d5ecef42a5f68" | ||
"gitHead": "aa14dc1f3c4c742068351d9a06ca5165bb6393e7" | ||
} |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
85877
2407