Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
281c5aac
Commit
281c5aac
authored
May 07, 2020
by
Hubert Chathi
Browse files
fix type signature of unpickle in Inbound/OutboundGroupSession
Thanks to Dominic Fischer for spotting.
parent
611d3949
Changes
1
Show whitespace changes
Inline
Side-by-side
javascript/index.d.ts
View file @
281c5aac
...
...
@@ -63,7 +63,7 @@ declare class InboundGroupSession {
constructor
();
free
():
void
;
pickle
(
key
:
string
):
string
;
unpickle
(
key
:
string
,
pickle
:
string
)
:
string
;
unpickle
(
key
:
string
,
pickle
:
string
);
create
(
session_key
:
string
):
string
;
import_session
(
session_key
:
string
):
string
;
decrypt
(
message
:
string
):
object
;
...
...
@@ -76,7 +76,7 @@ declare class OutboundGroupSession {
constructor
();
free
():
void
;
pickle
(
key
:
string
):
string
;
unpickle
(
key
:
string
)
:
string
;
unpickle
(
key
:
string
,
pickle
:
string
)
;
create
():
void
;
encrypt
(
plaintext
:
string
):
string
;
session_id
():
string
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment