Skip to content

Commit

Permalink
Remove cbridge from xy providers (#793)
Browse files Browse the repository at this point in the history
  • Loading branch information
axtezy authored Dec 28, 2024
2 parents 8bf97fe + ee35af7 commit f50a296
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rubic-sdk",
"version": "5.49.7",
"version": "5.49.8",
"description": "Simplify dApp creation",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export interface XyQuoteRequest {
affiliate?: string;
commissionRate?: number;
srcSwapProvider?: string;
bridgeProvider?: string;
bridgeProviders?: string;
dstSwapProvider?: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ export class XyCrossChainProvider extends CrossChainProvider {
dstChainId: blockchainId[toBlockchain],
dstQuoteTokenAddress: toToken.isNative ? XY_NATIVE_ADDRESS : toToken.address,
slippage: slippageTolerance,
affiliate: XY_AFFILIATE_ADDRESS
affiliate: XY_AFFILIATE_ADDRESS,
bridgeProviders:
'yBridge,XassetBridge,Synapse,Across,Owlto,PolygonPoSEtherBridge,ArbitrumEtherBridge'
};

const { success, routes, errorCode, errorMsg } =
Expand Down

0 comments on commit f50a296

Please sign in to comment.