Skip to content

Commit d337aa5

Browse files
author
Enrique A.
committed
Update to v2.1.0
1 parent 1be3336 commit d337aa5

3 files changed

Lines changed: 21 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
All notable changes to this project will be documented in this file.
44
See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
55

6+
### 2.1.0 (2026-03-30)
7+
8+
### add
9+
10+
- Include PR 84 - adds `signAndSubmitTransaction` method
11+
- Add new method `fetchAddress`
12+
613
### 2.0.1 (2026-03-11)
714

815
### Changes

src/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@creit-tech/stellar-wallets-kit",
3-
"version": "2.0.1",
3+
"version": "2.1.0",
44
"license": "MIT",
55
"tasks": {
66
"build-npm": "deno run -A build_npm.ts",

src/sdk/modules/onekey.module.ts

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
import { type ModuleInterface, ModuleType } from "../../types/mod.ts";
22
import { parseError } from "../utils.ts";
33

4-
54
interface SignTransactionResult {
65
signedTxXdr: string;
76
signerAddress?: string;
8-
};
7+
}
98

109
interface SignAuthEntryResult {
1110
signedAuthEntry: string;
1211
signerAddress?: string;
13-
};
12+
}
1413

1514
interface SignMessageResult {
1615
signedMessage: string;
1716
signerAddress?: string;
18-
};
17+
}
1918

2019
declare const window: {
2120
$onekey?: {
@@ -26,18 +25,16 @@ declare const window: {
2625
address?: string;
2726
path?: string;
2827
}): Promise<SignTransactionResult>;
29-
signAuthEntry(authEntry: string,
30-
opts?: {
31-
networkPassphrase?: string;
32-
address?: string;
33-
path?: string;
34-
},): Promise<SignAuthEntryResult>;
35-
signMessage(message: string,
36-
opts?: {
37-
networkPassphrase?: string;
38-
address?: string;
39-
path?: string;
40-
}): Promise<SignMessageResult>;
28+
signAuthEntry(authEntry: string, opts?: {
29+
networkPassphrase?: string;
30+
address?: string;
31+
path?: string;
32+
}): Promise<SignAuthEntryResult>;
33+
signMessage(message: string, opts?: {
34+
networkPassphrase?: string;
35+
address?: string;
36+
path?: string;
37+
}): Promise<SignMessageResult>;
4138
};
4239
};
4340
};

0 commit comments

Comments
 (0)