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