Skip to content

Commit

Permalink
Merge pull request #88 from wavesplatform/v6.1.1
Browse files Browse the repository at this point in the history
V6.1.1
  • Loading branch information
vba2000 authored Jan 27, 2021
2 parents 272af6c + 29d8371 commit be12a7a
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 72 deletions.
130 changes: 65 additions & 65 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@waves/signature-adapter",
"version": "6.0.7",
"version": "6.1.1",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"license": "MIT",
Expand All @@ -12,7 +12,7 @@
"@types/ramda": "^0.27.3",
"@waves/bignumber": "^1.0.0",
"@waves/data-entities": "^2.0.3",
"@waves/ledger": "^4.0.0-beta.1",
"@waves/ledger": "^4.0.0",
"@waves/money-like-to-node": "0.1.3",
"@waves/ts-types": "^0.2.0",
"@waves/waves-transactions": "4.1.3",
Expand All @@ -33,7 +33,7 @@
"@types/node-fetch": "^2.5.5",
"browserify": "^16.5.1",
"jest": "^24.8.0",
"node-fetch": "^2.6.0",
"node-fetch": "^2.6.1",
"ts-jest": "^23.10.3",
"typescript": "^3.2.2",
"uglify-js": "^3.4.7"
Expand Down
8 changes: 4 additions & 4 deletions src/Signable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,11 @@ export class Signable {
});
}

public async getDataForApi() {
public async getDataForApi(needSign = true) {
const data = await this.getSignData();

await this.addMyProof();

if (needSign) {
await this.addMyProof();
}
const proofs = (this._proofs || []).slice();

try {
Expand Down

0 comments on commit be12a7a

Please sign in to comment.