New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@axelarjs/api

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axelarjs/api - npm Package Compare versions

Comparing version

to
0.0.0-snapshot.9c09e70

@@ -5,3 +5,3 @@ "use strict";

const getL1Fee_1 = require("./getL1Fee");
describe.only("getL1Fee", () => {
describe("getL1Fee", () => {
const env = "mainnet";

@@ -8,0 +8,0 @@ let client;

@@ -76,3 +76,3 @@ "use strict";

async estimateGasFee({ sourceChain, destinationChain, gasLimit, sourceTokenSymbol, sourceContractAddress, sourceTokenAddress, destinationContractAddress, amountInUnits, executeData, minGasPrice = "0", gasMultiplier = "auto", showDetailedFees = false, }) {
if (gasLimit < 21000) {
if (gasLimit < 1) {
throw new Error("Gas limit is too low.");

@@ -79,0 +79,0 @@ }

@@ -5,3 +5,3 @@ "use strict";

const getL1Fee_1 = require("./getL1Fee");
describe.only("getL1Fee", () => {
describe("getL1Fee", () => {
const env = "mainnet";

@@ -8,0 +8,0 @@ let client;

@@ -76,3 +76,3 @@ "use strict";

async estimateGasFee({ sourceChain, destinationChain, gasLimit, sourceTokenSymbol, sourceContractAddress, sourceTokenAddress, destinationContractAddress, amountInUnits, executeData, minGasPrice = "0", gasMultiplier = "auto", showDetailedFees = false, }) {
if (gasLimit < 21000) {
if (gasLimit < 1) {
throw new Error("Gas limit is too low.");

@@ -79,0 +79,0 @@ }

import { createAxelarscanClient, createGMPClient, } from "../..";
import { getL1FeeForL2 } from "./getL1Fee";
describe.only("getL1Fee", () => {
describe("getL1Fee", () => {
const env = "mainnet";

@@ -5,0 +5,0 @@ let client;

@@ -73,3 +73,3 @@ import { parseUnits } from "viem";

async estimateGasFee({ sourceChain, destinationChain, gasLimit, sourceTokenSymbol, sourceContractAddress, sourceTokenAddress, destinationContractAddress, amountInUnits, executeData, minGasPrice = "0", gasMultiplier = "auto", showDetailedFees = false, }) {
if (gasLimit < 21000) {
if (gasLimit < 1) {
throw new Error("Gas limit is too low.");

@@ -76,0 +76,0 @@ }

{
"name": "@axelarjs/api",
"version": "0.0.0-snapshot.99c2f0a",
"version": "0.0.0-snapshot.9c09e70",
"publishConfig": {

@@ -85,4 +85,4 @@ "access": "public"

"vitest": "^1.3.1",
"@axelarjs/config": "0.0.0-snapshot.99c2f0a",
"@axelarjs/utils": "0.0.0-snapshot.99c2f0a"
"@axelarjs/utils": "0.0.0-snapshot.9c09e70",
"@axelarjs/config": "0.0.0-snapshot.9c09e70"
},

@@ -96,3 +96,3 @@ "peerDependencies": {

"viem": "^2.8.1",
"@axelarjs/core": "0.0.0-snapshot.99c2f0a"
"@axelarjs/core": "0.0.0-snapshot.9c09e70"
},

@@ -99,0 +99,0 @@ "scripts": {