@maticnetwork/lxlyjs
Advanced tools
Comparing version 2.1.1 to 2.2.1
/*! | ||
* @license :@maticnetwork/lxlyjs - V2.1.1 - 22/08/2024 | ||
* @license :@maticnetwork/lxlyjs - V2.2.1 - 28/08/2024 | ||
* https://github.com/0xpolygon/lxly.js | ||
@@ -4,0 +4,0 @@ * Copyright (c) 2024 @Polygon Labs; Licensed MIT |
/*! | ||
* @license :@maticnetwork/lxlyjs - V2.1.1 - 22/08/2024 | ||
* @license :@maticnetwork/lxlyjs - V2.2.1 - 28/08/2024 | ||
* https://github.com/0xpolygon/lxly.js | ||
* Copyright (c) 2024 @Polygon Labs; Licensed MIT | ||
*/ |
import { ITransactionRequestConfig } from "./transaction_config"; | ||
export interface ITransactionOption extends ITransactionRequestConfig { | ||
returnTransaction?: boolean; | ||
isRefuel?: boolean; | ||
bridgeIndex?: number; | ||
} |
@@ -41,5 +41,5 @@ import { Web3SideChainClient } from "../utils"; | ||
private getProof_; | ||
getBridgeLogData(transactionHash: string, networkId: number, isRefuel?: boolean): any; | ||
getBridgeLogData(transactionHash: string, networkId: number, bridgeIndex?: number): any; | ||
computeGlobalIndex(indexLocal: number, sourceNetworkId: number): bigint; | ||
buildPayloadForClaim(transactionHash: string, networkId: number, isRefuel?: boolean): any; | ||
buildPayloadForClaim(transactionHash: string, networkId: number, bridgeIndex?: number): any; | ||
} |
@@ -13,6 +13,8 @@ import { Web3SideChainClient } from "."; | ||
* @param {string} txHash | ||
* @param {string} sourceNetwork | ||
* @param {number} [bridgeIndex=0] | ||
* @returns | ||
* @memberof BridgeClient | ||
*/ | ||
isBridgeClaimable(txHash: string, sourceNetwork: number): any; | ||
isBridgeClaimable(txHash: string, sourceNetwork: number, bridgeIndex?: number): any; | ||
/** | ||
@@ -22,6 +24,9 @@ * check whether deposit is completed | ||
* @param {string} txHash | ||
* @param {string} sourceNetwork | ||
* @param {string} destinationNetwork | ||
* @param {string} [bridgeIndex=0] | ||
* @returns | ||
* @memberof BridgeClient | ||
*/ | ||
isBridged(txHash: string, sourceNetowrk: number, destinationNetwork: number): any; | ||
isBridged(txHash: string, sourceNetwork: number, destinationNetwork: number, bridgeIndex?: number): any; | ||
} |
{ | ||
"name": "@maticnetwork/lxlyjs", | ||
"version": "2.1.1", | ||
"version": "2.2.1", | ||
"description": "Javascript developer library for interacting with Polygon LxLy Bridge", | ||
@@ -5,0 +5,0 @@ "main": "dist/lxly.node.js", |
@@ -133,3 +133,3 @@ # LxLy SDK | ||
Our [Discord](https://discord.gg/0xPolygonDevs) is the best way to reach us ✨. | ||
Our [Discord](https://discord.com/invite/0xpolygonrnd) is the best way to reach us ✨. | ||
@@ -136,0 +136,0 @@ ## Contributors |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3094523
10867
5