@across-protocol/app-sdk
Advanced tools
Comparing version
@@ -0,1 +1,6 @@ | ||
/** | ||
* @notice ABI definition for the Across Protocol SpokePool contract | ||
* @dev WARNING: This ABI may be reduced in scope over time as unused functions are removed | ||
* @see {@link https://github.com/across-protocol/contracts/blob/audit-latest/contracts/SpokePool.sol} for the most recent audited contract specification | ||
*/ | ||
export declare const spokePoolAbi: readonly [{ | ||
@@ -2,0 +7,0 @@ readonly inputs: readonly []; |
@@ -1,2 +0,6 @@ | ||
// TODO: remove what we don't use | ||
/** | ||
* @notice ABI definition for the Across Protocol SpokePool contract | ||
* @dev WARNING: This ABI may be reduced in scope over time as unused functions are removed | ||
* @see {@link https://github.com/across-protocol/contracts/blob/audit-latest/contracts/SpokePool.sol} for the most recent audited contract specification | ||
*/ | ||
export const spokePoolAbi = [ | ||
@@ -3,0 +7,0 @@ { inputs: [], name: "DepositsArePaused", type: "error" }, |
@@ -0,1 +1,2 @@ | ||
import { isHex } from "viem"; | ||
import { getMultiCallHandlerAddress, buildMulticallHandlerMessage, } from "../utils/index.js"; | ||
@@ -13,2 +14,5 @@ import { getSuggestedFees } from "./getSuggestedFees.js"; | ||
let recipient = _recipient; | ||
if (isHex(crossChainMessage)) { | ||
message = crossChainMessage; | ||
} | ||
if (crossChainMessage && typeof crossChainMessage === "object") { | ||
@@ -15,0 +19,0 @@ if (crossChainMessage.actions.length === 0) { |
{ | ||
"name": "@across-protocol/app-sdk", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
367192
0.23%5871
0.22%3
-25%