Skip to content

Commit caf31cf

Browse files
authored
fix: update bridge client (#275)
1 parent b93a7d9 commit caf31cf

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/client/bridge/index.ts

+1-8
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,13 @@ import {
1515
* Bridge
1616
*/
1717
export class Bridge {
18-
static instance: Bridge
19-
2018
private _bncClient!: BncClient
2119

2220
/**
2321
* @param {BncClient} bncClient
2422
*/
2523
constructor(bncClient: BncClient) {
26-
if (!Bridge.instance) {
27-
this._bncClient = bncClient
28-
Bridge.instance = this
29-
}
30-
31-
return Bridge.instance
24+
this._bncClient = bncClient
3225
}
3326

3427
/**

0 commit comments

Comments
 (0)