2022-06-23 19:15:27 +00:00
|
|
|
// Copyright 2020-2022 Signal Messenger, LLC
|
2021-08-03 14:28:45 +00:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2022-06-23 19:15:27 +00:00
|
|
|
// This has to be the first import because of monkey-patching
|
|
|
|
import '../shims';
|
|
|
|
|
2021-09-17 22:12:58 +00:00
|
|
|
import { contextBridge } from 'electron';
|
2021-08-03 14:28:45 +00:00
|
|
|
|
2021-10-07 23:28:47 +00:00
|
|
|
import { SignalContext } from '../context';
|
2021-08-03 14:28:45 +00:00
|
|
|
|
2021-10-07 23:28:47 +00:00
|
|
|
contextBridge.exposeInMainWorld('SignalContext', SignalContext);
|