Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #27 from SaitoTech/develop
Browse files Browse the repository at this point in the history
wasm bug fixing
  • Loading branch information
SankaD authored Jul 24, 2023
2 parents b8a0cf4 + b68960a commit 4c7f6ef
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion lib/slip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class Slip extends WasmWrapper<WasmSlip> {
// private slip: WasmSlip;
public static Type: any;

public constructor(slip?: WasmSlip, json?: any) {
constructor(slip?: WasmSlip, json?: any) {
if (!slip) {
slip = new Slip.Type();
}
Expand Down
5 changes: 0 additions & 5 deletions lib/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,6 @@ export default class Transaction extends WasmWrapper<WasmTransaction> {
return this.instance.sign();
}

public async signAndEncrypt() {
this.packData();
return this.instance.sign_and_encrypt();
}

public isFrom(key: string): boolean {
return this.instance.is_from(key);
}
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "saito-js",
"version": "0.0.24",
"version": "0.0.25",
"description": "js wrappings around saito-core using wasm",
"scripts": {
"test": "env TS_NODE_PROJECT=\"tsconfig.testing.json\" mocha --require ts-node/register 'tests/**/*.ts'",
Expand Down Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"buffer": "^6.0.3",
"cookie-parser": "~1.4.6",
"saito-wasm": "^0.0.14",
"saito-wasm": "^0.0.15",
"cors": "^2.8.5",
"debug": "^4.3.4",
"express": "~4.18.2",
Expand Down

0 comments on commit 4c7f6ef

Please sign in to comment.