Refactor api.js into web_api, which encapsulates all web access
This commit is contained in:
parent
37ebe9fcec
commit
f3bd0cf903
16 changed files with 763 additions and 577 deletions
|
@ -14,6 +14,10 @@
|
|||
(async function() {
|
||||
'use strict';
|
||||
|
||||
// We add this to window here because the default Node context is erased at the end
|
||||
// of preload.js processing
|
||||
window.setImmediate = window.nodeSetImmediate;
|
||||
|
||||
const { IdleDetector, MessageDataMigrator } = Signal.Workflow;
|
||||
const { Errors, Message } = window.Signal.Types;
|
||||
const { upgradeMessageSchema } = window.Signal.Migrations;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue