Skip to content

Commit

Permalink
Merge pull request #247 from Psychedelic/fix/sign-payload-param
Browse files Browse the repository at this point in the history
Fix/sign payload param
  • Loading branch information
rocky-fleek authored Nov 23, 2022
2 parents 70ad923 + ffc5bdf commit 465a4a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"typescript": "^4.5"
},
"name": "@psychedelic/plug-controller",
"version": "0.25.1",
"version": "0.25.2",
"description": "Internet Computer Plug wallet's controller",
"main": "dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/PlugWallet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class PlugWallet {
this.name = val;
}

public async sign(payload: BinaryBlob): Promise<BinaryBlob> {
public async sign({ payload } : { payload: BinaryBlob }): Promise<BinaryBlob> {
return this.identity.sign(payload);
}

Expand Down
2 changes: 1 addition & 1 deletion src/constants/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PLUG_CONTROLLER_VERSION = "0.25.1";
export const PLUG_CONTROLLER_VERSION = "0.25.2";

0 comments on commit 465a4a7

Please sign in to comment.