rimless 0.1.6 → 0.2.0
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/README.md +41 -42
- package/dist/index.es.js +159 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.umd.js +2 -0
- package/dist/index.umd.js.map +1 -0
- package/package.json +46 -78
- package/lib/guest.d.ts +0 -6
- package/lib/helpers.d.ts +0 -26
- package/lib/host.d.ts +0 -15
- package/lib/index.d.ts +0 -3
- package/lib/index.js +0 -2307
- package/lib/rimless.min.js +0 -2
- package/lib/rimless.min.js.map +0 -1
- package/lib/rpc.d.ts +0 -40
- package/lib/types.d.ts +0 -52
- package/lib/worker.d.ts +0 -6
package/lib/host.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IConnection, ISchema } from "./types";
|
|
2
|
-
/**
|
|
3
|
-
* Perform a handshake with the target iframe, when the handshake is confirmed
|
|
4
|
-
* resolve the connection object containing RPCs and properties
|
|
5
|
-
*
|
|
6
|
-
* @param iframe
|
|
7
|
-
* @param schema
|
|
8
|
-
* @param options
|
|
9
|
-
* @returns Promise
|
|
10
|
-
*/
|
|
11
|
-
declare function connect(guest: HTMLIFrameElement | Worker, schema?: ISchema, options?: any): Promise<IConnection>;
|
|
12
|
-
declare const _default: {
|
|
13
|
-
connect: typeof connect;
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
package/lib/index.d.ts
DELETED