Skip to content

Commit a6bfefb

Browse files
committed
chore: cleanup
1 parent c3bad38 commit a6bfefb

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

include/utilities.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,6 @@ std::span<const uint8_t> from_base64_to_span(std::string_view x);
389389
std::vector<unsigned char> from_base64_to_vector(std::string_view x) ;
390390

391391

392-
// Concept to match containers with a size() method
393392
// Concept to match containers with a size() method
394393
template <typename T>
395394
concept HasSize = requires(T t) {

types/pro/pro.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ declare module 'libsession_util_nodejs' {
1818
type ProProof = {
1919
version: number;
2020
genIndexHashB64: string;
21+
/**
22+
* HexString, 64 chars
23+
*/
2124
rotatingPubkeyHex: string;
2225
expiryMs: number;
2326
};

types/user/userconfig.d.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,14 @@ declare module 'libsession_util_nodejs' {
4040

4141
setProConfig: (proConfig: ProConfig) => void;
4242
getProConfig: () => ProConfig | null;
43-
generateProMasterKey: ({ed25519SeedHex}: {ed25519SeedHex: string}) => {
43+
generateProMasterKey: ({
44+
ed25519SeedHex,
45+
}: {
46+
/**
47+
* HexString, 64 chars
48+
*/
49+
ed25519SeedHex: string;
50+
}) => {
4451
/**
4552
* 64 bytes
4653
*/
@@ -94,7 +101,6 @@ declare module 'libsession_util_nodejs' {
94101
| MakeActionCall<UserConfigWrapper, 'setEnableBlindedMsgRequest'>
95102
| MakeActionCall<UserConfigWrapper, 'getNoteToSelfExpiry'>
96103
| MakeActionCall<UserConfigWrapper, 'setNoteToSelfExpiry'>
97-
| MakeActionCall<UserConfigWrapper, 'setNoteToSelfExpiry'>
98104
| MakeActionCall<UserConfigWrapper, 'getProConfig'>
99105
| MakeActionCall<UserConfigWrapper, 'setProConfig'>
100106
| MakeActionCall<UserConfigWrapper, 'generateProMasterKey'>;

0 commit comments

Comments
 (0)