Skip to content

Commit

Permalink
Remove debug code (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn authored Dec 18, 2024
1 parent 0d07c3f commit 8ce34e6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 6 additions & 0 deletions packages/cheqd-blockchain-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @docknetwork/cheqd-blockchain-api

## 0.16.0

### Minor Changes

- Remove debug code

## 0.15.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cheqd-blockchain-api/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 1 addition & 3 deletions packages/cheqd-blockchain-api/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/cheqd-blockchain-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8ce34e6

Please sign in to comment.