Skip to content

Commit

Permalink
stash
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac committed Jan 26, 2025
1 parent 9c1170a commit 5082810
Show file tree
Hide file tree
Showing 16 changed files with 4,878 additions and 4,851 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/frontend/angular/dist/casper/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
<style>html,body{display:grid;height:100%;margin:0;padding:0}</style><link rel="stylesheet" href="styles.bae465c3fcf30099.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.bae465c3fcf30099.css"></noscript></head>
<body>
<app-root></app-root>
<script src="runtime.5debcb79cff10eb2.js" type="module"></script><script src="polyfills.376204005635514d.js" type="module"></script><script src="main.c36795cc86bac906.js" type="module"></script></body>
<script src="runtime.5debcb79cff10eb2.js" type="module"></script><script src="polyfills.376204005635514d.js" type="module"></script><script src="main.352b4162952d4755.js" type="module"></script></body>
</html>

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,14 @@ export class HeaderComponent implements AfterViewInit {
this.node_address.replace(this.config['localhost'] as string, this.config['docker_gateway'] as string)].join(''));
}
else {
const network = this.networks.find(x => x.node_address == this.node_address);
const network = this.networks.find(x => x.rpc_address == this.rpc_address);
network && this.sdk.setRPCAddress([this.window?.location?.href, network?.name].join(''));
network && this.sdk.setNodeAddress([this.window?.location?.href, network?.name].join(''));
//network && this.sdk.setNodeAddress([this.window?.location?.href, network?.name].join(''));
this.sdk.setNodeAddress(this.node_address);
}
}
catch (e) {
console.error(e);
// TODO Fix bug https://github.com/rustwasm/wasm-bindgen/issues/1578
// recursive use of an object detected which would lead to unsafe aliasing in rust
}
}

Expand All @@ -188,8 +187,6 @@ export class HeaderComponent implements AfterViewInit {
this.sdk.setNodeAddress(this.node_address);
} catch (e) {
console.error(e);
// TODO Fix bug https://github.com/rustwasm/wasm-bindgen/issues/1578
// recursive use of an object detected which would lead to unsafe aliasing in rust
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,10 @@ export class BinaryService {

async get_binary_peers() {
let peers: PeerEntry[] = [];
try {
const get_binary_peers = await this.sdk.get_binary_peers();
get_binary_peers && this.resultService.setResult(get_binary_peers);
get_binary_peers && (peers = get_binary_peers.peers);
} catch (err) {
err && this.errorService.setError(err.toString());
}

const get_binary_peers = await this.sdk.get_binary_peers();
get_binary_peers && this.resultService.setResult(get_binary_peers);
get_binary_peers && (peers = get_binary_peers.peers);
return peers;
}

Expand Down
Loading

0 comments on commit 5082810

Please sign in to comment.