Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Michael Telatynski
Olm
Commits
60d451bb
Commit
60d451bb
authored
Oct 06, 2020
by
Hubert Chathi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
all the (un)pickles take a Uint8Array
parent
4d17aa4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
javascript/index.d.ts
javascript/index.d.ts
+6
-6
No files found.
javascript/index.d.ts
View file @
60d451bb
...
...
@@ -29,8 +29,8 @@ declare class Account {
remove_one_time_keys
(
session
:
Session
);
generate_fallback_key
();
fallback_key
():
string
;
pickle
(
key
:
string
):
string
;
unpickle
(
key
:
string
,
pickle
:
string
);
pickle
(
key
:
string
|
Uint8Array
):
string
;
unpickle
(
key
:
string
|
Uint8Array
,
pickle
:
string
);
}
declare
class
Session
{
...
...
@@ -64,8 +64,8 @@ declare class Utility {
declare
class
InboundGroupSession
{
constructor
();
free
():
void
;
pickle
(
key
:
string
):
string
;
unpickle
(
key
:
string
,
pickle
:
string
);
pickle
(
key
:
string
|
Uint8Array
):
string
;
unpickle
(
key
:
string
|
Uint8Array
,
pickle
:
string
);
create
(
session_key
:
string
):
string
;
import_session
(
session_key
:
string
):
string
;
decrypt
(
message
:
string
):
object
;
...
...
@@ -77,8 +77,8 @@ declare class InboundGroupSession {
declare
class
OutboundGroupSession
{
constructor
();
free
():
void
;
pickle
(
key
:
string
):
string
;
unpickle
(
key
:
string
,
pickle
:
string
);
pickle
(
key
:
string
|
Uint8Array
):
string
;
unpickle
(
key
:
string
|
Uint8Array
,
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