Skip to content

Commit

Permalink
ALL-4566 Print result as json for generateManagedPrivateKeyBatch (#100)
Browse files Browse the repository at this point in the history
Co-authored-by: jiri.andras <[email protected]>
  • Loading branch information
oliverjantar and jiri.andras authored Jan 29, 2024
1 parent 0198ff3 commit 80dbc9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tatumio/tatum-kms",
"version": "7.0.0",
"version": "7.0.1",
"description": "Tatum KMS - Key Management System for Tatum-powered apps.",
"main": "dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/management.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export const generateManagedPrivateKeyBatch = async (
}
const privateKey = wallet.secret ? wallet.secret : await generatePrivateKey(wallet.mnemonic, chain, 1, testnet)
const { signatureId } = await storePrivateKey(chain, testnet, privateKey as string, pwd, path, false)
console.log(`{ signatureId: ${signatureId}, address: ${address} }`)
console.log(JSON.stringify({ signatureId, address }))
}
}

Expand Down

0 comments on commit 80dbc9c

Please sign in to comment.