diff --git a/packages/cheqd-blockchain-api/CHANGELOG.md b/packages/cheqd-blockchain-api/CHANGELOG.md index 18eb04c6b..dca840e2d 100644 --- a/packages/cheqd-blockchain-api/CHANGELOG.md +++ b/packages/cheqd-blockchain-api/CHANGELOG.md @@ -1,5 +1,11 @@ # @docknetwork/cheqd-blockchain-api +## 0.16.0 + +### Minor Changes + +- Remove debug code + ## 0.15.0 ### Minor Changes diff --git a/packages/cheqd-blockchain-api/package.json b/packages/cheqd-blockchain-api/package.json index b87ced1a4..6cdee6fbe 100644 --- a/packages/cheqd-blockchain-api/package.json +++ b/packages/cheqd-blockchain-api/package.json @@ -1,6 +1,6 @@ { "name": "@docknetwork/cheqd-blockchain-api", - "version": "0.15.0", + "version": "0.16.0", "license": "MIT", "main": "./dist/esm/index.js", "type": "module", diff --git a/packages/cheqd-blockchain-api/src/index.js b/packages/cheqd-blockchain-api/src/index.js index 07b509d6f..ea6d892fd 100644 --- a/packages/cheqd-blockchain-api/src/index.js +++ b/packages/cheqd-blockchain-api/src/index.js @@ -183,9 +183,7 @@ export class CheqdAPI extends AbstractApiProvider { payer: sender, }; - const txJSON = maybeToCheqdPayloadOrJSON( - PayloadWrapper.from(JSON.parse(JSON.stringify(tx.toJSON()))), - ); + const txJSON = maybeToCheqdPayloadOrJSON(PayloadWrapper.from(tx)); txJSON.typeUrl = `/${prefix}.${typeUrl}`; const res = await this.sdk.signer.signAndBroadcast( diff --git a/packages/cheqd-blockchain-modules/package.json b/packages/cheqd-blockchain-modules/package.json index e1d24580a..af08f66ab 100644 --- a/packages/cheqd-blockchain-modules/package.json +++ b/packages/cheqd-blockchain-modules/package.json @@ -42,7 +42,7 @@ "@babel/plugin-syntax-import-attributes": "^7.25.6", "@babel/plugin-transform-modules-commonjs": "^7.24.1", "@babel/preset-env": "^7.24.3", - "@docknetwork/cheqd-blockchain-api": "0.15.0", + "@docknetwork/cheqd-blockchain-api": "0.16.0", "@rollup/plugin-alias": "^4.0.2", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^24.0.0",