Skip to content

Commit

Permalink
bridge update
Browse files Browse the repository at this point in the history
  • Loading branch information
RomeroYang committed Apr 19, 2023
1 parent c8369fd commit 85f2728
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions assets/bridge.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion js_api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"@polkadot/keyring": "^10.4.2",
"@polkawallet/bridge": "0.0.6-14",
"bn.js": "4.12.0",
"ethers": "^5.6.8"
},
Expand All @@ -44,7 +45,7 @@
"@polkadot/api": "^9.14.2",
"@polkadot/extension-dapp": "^0.43.2",
"@polkadot/ui-shared": "^2.2.1",
"@polkawallet/bridge": "^0.0.6-12",
"@polkawallet/bridge": "^0.0.6-14",
"@walletconnect/client": "^1.8.0",
"@walletconnect/sign-client": "^2.5.2",
"@walletconnect/utils": "^2.5.2",
Expand Down
6 changes: 3 additions & 3 deletions js_api/src/service/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@ import { CalamariAdapter } from "@polkawallet/bridge/adapters/manta";
import { ShadowAdapter } from "@polkawallet/bridge/adapters/crust";
import { CrabAdapter } from "@polkawallet/bridge/adapters/darwinia";
import { IntegriteeAdapter } from "@polkawallet/bridge/adapters/integritee";
import { QuartzAdapter } from "@polkawallet/bridge/adapters/unique";
import { QuartzAdapter, UniqueAdapter } from "@polkawallet/bridge/adapters/unique";
import { KintsugiAdapter, InterlayAdapter } from "@polkawallet/bridge/adapters/interlay";
import { KicoAdapter } from "@polkawallet/bridge/adapters/kico";
import { PichiuAdapter } from "@polkawallet/bridge/adapters/kylin";
import { TuringAdapter } from "@polkawallet/bridge/adapters/oak";
import { ParallelAdapter, HeikoAdapter } from "@polkawallet/bridge/adapters/parallel";
import { KhalaAdapter } from "@polkawallet/bridge/adapters/phala";
import { BasiliskAdapter } from "@polkawallet/bridge/adapters/hydradx";
import { BasiliskAdapter, HydraAdapter } from "@polkawallet/bridge/adapters/hydradx";
import { ListenAdapter } from "@polkawallet/bridge/adapters/listen";
import { MoonbeamAdapter, MoonriverAdapter } from "@polkawallet/bridge/adapters/moonbeam";
import { HydraAdapter } from "@polkawallet/bridge/adapters/hydradx";
import { Observable, firstValueFrom, combineLatest } from "rxjs";
import { BaseCrossChainAdapter } from "@polkawallet/bridge/base-chain-adapter";
import { subscribeMessage } from "./setting";
Expand Down Expand Up @@ -68,6 +67,7 @@ const availableAdapters: Record<string, BaseCrossChainAdapter> = {
shiden: new ShidenAdapter(),
statemine: new StatemineAdapter(),
turing: new TuringAdapter(),
unique: new UniqueAdapter(),
};
let bridge: Bridge;

Expand Down
10 changes: 5 additions & 5 deletions js_api/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3422,9 +3422,9 @@ __metadata:
languageName: node
linkType: hard

"@polkawallet/bridge@npm:^0.0.6-12":
version: 0.0.6-12
resolution: "@polkawallet/bridge@npm:0.0.6-12"
"@polkawallet/bridge@npm:0.0.6-14":
version: 0.0.6-14
resolution: "@polkawallet/bridge@npm:0.0.6-14"
dependencies:
"@acala-network/api": 4.1.8-7
"@acala-network/sdk": 4.1.8-7
Expand All @@ -3437,7 +3437,7 @@ __metadata:
lodash: ^4.17.20
peerDependencies:
"@polkadot/api": ">9"
checksum: cad9c681de4d081d24a9ef8490cd34fc25345a963f16cc2be1234f1c1c476c215a1b7f1a7dacec8e8b1912b253cfc6a9d13d0acbfe9d5a27846175f33a729c1f
checksum: 968a2a9ee8b54bdeb9325357934d95b00e1e5ce980ba0949b06f08acd8903780de51aef7574dfe9648b80ca23fdfbc2da5f6d68415c365d698eec2a8cccf6cfc
languageName: node
linkType: hard

Expand All @@ -3455,7 +3455,7 @@ __metadata:
"@polkadot/api": ^9.14.2
"@polkadot/extension-dapp": ^0.43.2
"@polkadot/ui-shared": ^2.2.1
"@polkawallet/bridge": ^0.0.6-12
"@polkawallet/bridge": ^0.0.6-14
"@walletconnect/client": ^1.8.0
"@walletconnect/sign-client": ^2.5.2
"@walletconnect/types": ^2.4.6
Expand Down

0 comments on commit 85f2728

Please sign in to comment.