Skip to content

Commit

Permalink
Deploying to gh-pages from @ c0c16bd 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
michielpost committed Apr 13, 2024
1 parent 1b4ecd2 commit a032216
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions _content/MetaMask.Blazor/metaMaskJsInterop.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// functions, and may import other JavaScript modules if required.

export async function checkMetaMask() {
console.log('check');

// Modern dapp browsers...
if (window.ethereum) {
if (ethereum.selectedAddress === null || ethereum.selectedAddress === undefined) {
Expand Down Expand Up @@ -31,6 +33,7 @@ export async function requestAccounts() {
}

export function hasMetaMask() {
console.log('hasMetamask');
return (window.ethereum != undefined);
}

Expand Down
Binary file modified _framework/MetaMask.Blazor.SampleApp.pdb.gz
Binary file not shown.
Binary file modified _framework/MetaMask.Blazor.SampleApp.wasm
Binary file not shown.
Binary file modified _framework/MetaMask.Blazor.SampleApp.wasm.br
Binary file not shown.
Binary file modified _framework/MetaMask.Blazor.SampleApp.wasm.gz
Binary file not shown.
Binary file modified _framework/MetaMask.Blazor.pdb.gz
Binary file not shown.
Binary file modified _framework/MetaMask.Blazor.wasm
Binary file not shown.
Binary file modified _framework/MetaMask.Blazor.wasm.br
Binary file not shown.
Binary file modified _framework/MetaMask.Blazor.wasm.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions _framework/blazor.boot.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"mainAssemblyName": "MetaMask.Blazor.SampleApp",
"resources": {
"hash": "sha256-H2QK6+N7b1NCCZCY8f8kpA/Jgod8v/TCwUIGjX71HCE=",
"hash": "sha256-d6FXzFzv628QAw+33EVxU8ijbzA/74suCP3SCpKmLYw=",
"jsModuleNative": {
"dotnet.native.8.0.4.6vlmefabfv.js": "sha256-ju0+XWE0ihz554eKEj0HQ8Opa61xpbUIaX5/MNo8we4="
},
Expand All @@ -14,8 +14,8 @@
"assembly": {
"ADRaffy.ENSNormalize.wasm": "sha256-mJeVuwkRQbU/TYh6HEcVQG4nK7jcWLiSagvbIEcRGhg=",
"BouncyCastle.Crypto.wasm": "sha256-HeS42be/Aqaztu5YgE1TctQcYsXZ3k9kkkBhWkqo6RM=",
"MetaMask.Blazor.SampleApp.wasm": "sha256-77EjETFBpy3aF6ADSx14d5rkWTuXgdwTrWrB2N2ENiA=",
"MetaMask.Blazor.wasm": "sha256-g/DHTAs6oqZYV48VQzuf8vLPu8kpYLDT3K1XWQ01IJE=",
"MetaMask.Blazor.SampleApp.wasm": "sha256-rdXGHLRJTUjwJNEP/fWBJyNmSoVBZ6yZq87FSHWSzzc=",
"MetaMask.Blazor.wasm": "sha256-OY7kAhVMyREuzuG2oCiKFMV7m5jPkRRr6k1mjEVrbPU=",
"Microsoft.AspNetCore.Components.wasm": "sha256-Hj2H1q3CXTvqc8qsy7OqM+gEz4nGlA/V6+UJzoclBZE=",
"Microsoft.AspNetCore.Components.Web.wasm": "sha256-6YKsCJCEP8WCMLqe8FvXSHC3g9c14v4sXw5j4GsLysA=",
"Microsoft.AspNetCore.Components.WebAssembly.wasm": "sha256-1/q8HCnkfx2cBfBoL7rb6O3Y7KIh1kZ4j9xG3A72XlU=",
Expand Down
Binary file modified _framework/blazor.boot.json.br
Binary file not shown.
Binary file modified _framework/blazor.boot.json.gz
Binary file not shown.

0 comments on commit a032216

Please sign in to comment.