@proton-app/preload 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -19,4 +19,4 @@ export declare const APP_CHANNELS: {
19
19
  readonly syncAuth: "app:sync-auth";
20
20
  };
21
21
  export declare function createAppBridge(ipc: IpcClient): AppBridge;
22
- export {};
22
+ export * from "./ipc";
package/dist/index.js CHANGED
@@ -1,4 +1,18 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
17
  exports.APP_CHANNELS = void 0;
4
18
  exports.createAppBridge = createAppBridge;
@@ -36,3 +50,4 @@ function createAppBridge(ipc) {
36
50
  }
37
51
  };
38
52
  }
53
+ __exportStar(require("./ipc"), exports);
package/dist/ipc.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export declare function channel<Input, Result>(): {
2
+ input: Input;
3
+ result: Result;
4
+ };
package/dist/ipc.js ADDED
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.channel = channel;
4
+ function channel() {
5
+ return null;
6
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
 
3
3
  "name": "@proton-app/preload",
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "description": "",
6
6
  "keywords": [],
7
7
  "author": "",