Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ccip-api-ref/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/ccip-api-ref",
"version": "1.13.0",
"version": "1.13.1",
"private": true,
"description": "API Reference documentation for CCIP SDK and CLI",
"scripts": {
Expand Down
12 changes: 6 additions & 6 deletions ccip-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/ccip-cli",
"version": "1.13.0",
"version": "1.13.1",
"description": "CCIP Command Line Interface, based on @chainlink/ccip-sdk",
"author": "Chainlink devs",
"license": "MIT",
Expand Down Expand Up @@ -43,18 +43,18 @@
"!**/__mocks__"
],
"devDependencies": {
"@types/node": "26.2.0",
"@types/node": "26.4.1",
"@types/update-notifier": "^6.0.8",
"@types/yargs": "17.0.35",
"tsx": "4.23.12",
"tsx": "4.23.13",
"typescript": "7.0.2"
},
"dependencies": {
"@aptos-labs/ts-sdk": "^6.3.1",
"@chainlink/ccip-sdk": "^1.13.0",
"@aptos-labs/ts-sdk": "^7.3.0",
"@chainlink/ccip-sdk": "^1.13.1",
"@coral-xyz/anchor": "^0.29.0",
"@ethers-ext/signer-ledger": "^6.0.0-beta.1",
"@inquirer/prompts": "8.5.2",
"@inquirer/prompts": "8.7.0",
"@ledgerhq/hw-app-aptos": "6.37.0",
"@ledgerhq/hw-app-solana": "7.9.0",
"@ledgerhq/hw-transport-node-hid": "6.32.0",
Expand Down
3 changes: 1 addition & 2 deletions ccip-cli/src/commands/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,7 @@ function formatDate(timestamp: number) {
*/
export function formatDuration(secs: number) {
if (secs < 0) secs = -secs
if (secs >= 3540 && Math.floor(secs) % 60 >= 50)
secs += 60 - (secs % 60) // round up 50+s
if (secs >= 3540 && Math.floor(secs) % 60 >= 50) secs += 60 - (secs % 60) // round up 50+s
else if (secs >= 118 && Math.floor(secs) % 60 >= 58) secs += 60 - (secs % 60) // round up 58+s
const time = {
d: Math.floor(secs / 86400),
Expand Down
2 changes: 1 addition & 1 deletion ccip-cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Error.stackTraceLimit = 50 // show more stack frames for better debugging

// generate:nofail
// `const VERSION = '${require('./package.json').version}-${require('child_process').execSync('git rev-parse --short HEAD').toString().trim()}'`
const VERSION = '1.13.0-e9a50591'
const VERSION = '1.13.1-e6a58224'
// generate:end

const require = createRequire(import.meta.url)
Expand Down
8 changes: 4 additions & 4 deletions ccip-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainlink/ccip-sdk",
"version": "1.13.0",
"version": "1.13.1",
"description": "SDK/Library to interact with CCIP",
"author": "Chainlink devs",
"license": "MIT",
Expand Down Expand Up @@ -59,14 +59,14 @@
},
"devDependencies": {
"@types/bn.js": "^5.2.0",
"@types/node": "26.2.0",
"@types/node": "26.4.1",
"ethers-abitype": "1.0.3",
"prool": "^0.2.14",
"typescript": "7.0.2",
"viem": "^2.55.13"
},
"dependencies": {
"@aptos-labs/ts-sdk": "^6.3.1",
"@aptos-labs/ts-sdk": "^7.3.0",
"@coral-xyz/anchor": "^0.29.0",
"@mysten/bcs": "^2.1.0",
"@mysten/sui": "^2.23.2",
Expand All @@ -76,7 +76,7 @@
"@ton/core": "0.63.1",
"@ton/ton": "^16.3.0",
"abitype": "1.3.0",
"axios": "1.19.0",
"axios": "1.20.0",
"bn.js": "^5.2.5",
"borsh": "^2.0.0",
"bs58": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion ccip-sdk/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const DEFAULT_TIMEOUT_MS = 30000
/** SDK version string for telemetry header */
// generate:nofail
// `export const SDK_VERSION = '${require('./package.json').version}-${require('child_process').execSync('git rev-parse --short HEAD').toString().trim()}'`
export const SDK_VERSION = '1.13.0-e9a50591'
export const SDK_VERSION = '1.13.1-e6a58224'
// generate:end

/** SDK telemetry header name */
Expand Down
3 changes: 1 addition & 2 deletions ccip-sdk/src/gas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ export async function getDestTokenAmount({
let sourceTokenAddress, sourcePoolAddress, destTokenAddress
if ('destTokenAddress' in tokenAmount) {
;({ destTokenAddress, sourcePoolAddress, sourceTokenAddress } = tokenAmount)
} else if (!source)
return tokenAmount // if we don't have a source, assume we were already given a dest `{token, amount}`
} else if (!source) return tokenAmount // if we don't have a source, assume we were already given a dest `{token, amount}`
else {
;({ destTokenAddress, sourceTokenAddress, sourcePoolAddress } =
await sourceToDestTokenAddresses({
Expand Down
Loading
Loading