Skip to content

Commit

Permalink
chore: update to alpha 6
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Dec 2, 2024
1 parent ce2231b commit 43ad996
Show file tree
Hide file tree
Showing 2 changed files with 3 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": "@axelar-network/axelarjs-sdk",
"version": "0.17.1-alpha.4",
"version": "0.17.1-alpha.6",
"description": "The JavaScript SDK for Axelar Network",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions src/libs/TransactionRecoveryApi/AxelarGMPRecoveryAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export type SendOptions = {
export type AddGasStellarParams = {
senderAddress: string; // the contract address that initiates the gateway contract call.
tokenAddress?: string; // defaults to native token, XLM.
amount?: string; // defaults to estimated gas fee value.
amount: string; // the token amount to pay for the gas fee
spender: string; // The address that pays for the gas fee.
messageId: string; // The message ID of the transaction.
};
Expand Down Expand Up @@ -882,7 +882,7 @@ export class AxelarGMPRecoveryAPI extends AxelarRecoveryApi {
* const xdr = await sdk.addGasToStellarChain{
* senderAddress: 'GCXXX...', // The address that sent the cross-chain message via the `axelar_gateway`
* messageId: 'tx-123',
* amount: '10000000', // default value will be set by the estimateGasFee function
* amount: '10000000', // the token amount to pay for the gas fee
* spender: 'GXXX...' // The spender pays for the gas fee.
* });
*
Expand Down

0 comments on commit 43ad996

Please sign in to comment.