Skip to content

Commit

Permalink
Merge pull request #409 from multiversx/same-robustness-converter
Browse files Browse the repository at this point in the history
More robust conversion of plain object to Transaction (same as v12)
  • Loading branch information
andreibancioiu authored Mar 21, 2024
2 parents b6cc98a + afd4c11 commit b9415c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@multiversx/sdk-core",
"version": "13.0.0-beta.7",
"version": "13.0.0-beta.8",
"description": "MultiversX SDK for JavaScript and TypeScript",
"main": "out/index.js",
"types": "out/index.d.js",
Expand Down
4 changes: 2 additions & 2 deletions src/converters/transactionsConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export class TransactionsConverter {
gasLimit: BigInt(object.gasLimit),
data: this.bufferFromBase64(object.data),
chainID: String(object.chainID),
version: object.version,
options: object.options,
version: Number(object.version),
options: Number(object.options),
signature: this.bufferFromHex(object.signature),
guardianSignature: this.bufferFromHex(object.guardianSignature),
});
Expand Down

0 comments on commit b9415c6

Please sign in to comment.