Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
network.onReady(() => {
this.client = network.getClient();
this.connection = network.getConnection();
this.session = this.connection.getSession();
setImmediate(() => {
setup(network.getClient().session);
this.setImageProvider();
this.forceUpdate();
});
});