@adobe/uix-guest 0.6.5-1 → 0.7.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/dist/guest-server.d.ts +0 -4
- package/dist/guest-server.d.ts.map +1 -1
- package/dist/guest.d.ts +2 -9
- package/dist/guest.d.ts.map +1 -1
- package/dist/iife/index.js +810 -364
- package/dist/iife/index.js.map +1 -1
- package/dist/index.js +25 -15
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/src/guest.ts +30 -21
package/dist/guest-server.d.ts
CHANGED
@@ -22,10 +22,6 @@ export declare class GuestServer<Outgoing extends GuestApis> extends Guest<Outgo
|
|
22
22
|
guest: Guest<import("@adobe/uix-core").VirtualApi>;
|
23
23
|
}) | (Record<string, unknown> & {
|
24
24
|
guest: Guest<import("@adobe/uix-core").VirtualApi>;
|
25
|
-
}) | ({
|
26
|
-
connection: import("penpal").Connection<import("penpal").CallSender>;
|
27
|
-
} & Record<string, unknown> & {
|
28
|
-
guest: Guest<import("@adobe/uix-core").VirtualApi>;
|
29
25
|
}) | ({
|
30
26
|
error: Error;
|
31
27
|
} & Record<string, unknown> & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"guest-server.d.ts","sourceRoot":"","sources":["../src/guest-server.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;;;;;;;;;GAUG;AACH,qBAAa,WAAW,CAAC,QAAQ,SAAS,SAAS,CAAE,SAAQ,KAAK,CAAC,QAAQ,CAAC;IAC1E,OAAO,CAAC,YAAY,CAAW;IAC/B,SAAS,CAAC,eAAe
|
1
|
+
{"version":3,"file":"guest-server.d.ts","sourceRoot":"","sources":["../src/guest-server.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;;;;;;;;;GAUG;AACH,qBAAa,WAAW,CAAC,QAAQ,SAAS,SAAS,CAAE,SAAQ,KAAK,CAAC,QAAQ,CAAC;IAC1E,OAAO,CAAC,YAAY,CAAW;IAC/B,SAAS,CAAC,eAAe;;;;;;;;;;;;;;IAMzB;;OAEG;IACH,aAAa,EAAE,aAAa,CAAC;IAC7B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;IAC9B;;;;;;;OAOG;IACG,QAAQ,CAAC,kBAAkB,EAAE,QAAQ;CAI5C"}
|
package/dist/guest.d.ts
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
import { Connection } from "penpal";
|
2
1
|
import type { RemoteHostApis, NamedEvent, VirtualApi } from "@adobe/uix-core";
|
3
2
|
import { Emitter } from "@adobe/uix-core";
|
4
3
|
/**
|
@@ -16,9 +15,7 @@ export declare type GuestEventContextChange = GuestEvent<"contextchange", {
|
|
16
15
|
/** @public */
|
17
16
|
export declare type GuestEventBeforeConnect = GuestEvent<"beforeconnect">;
|
18
17
|
/** @public */
|
19
|
-
export declare type GuestEventConnected = GuestEvent<"connected"
|
20
|
-
connection: Connection;
|
21
|
-
}>;
|
18
|
+
export declare type GuestEventConnected = GuestEvent<"connected">;
|
22
19
|
/** @public */
|
23
20
|
export declare type GuestEventError = GuestEvent<"error", {
|
24
21
|
error: Error;
|
@@ -105,7 +102,7 @@ export declare class Guest<Incoming extends object = VirtualApi> extends Emitter
|
|
105
102
|
* {@inheritdoc SharedContext}
|
106
103
|
*/
|
107
104
|
sharedContext: SharedContext;
|
108
|
-
|
105
|
+
logger: Console;
|
109
106
|
/**
|
110
107
|
* @param config - Initializer for guest object, including ID.
|
111
108
|
*/
|
@@ -131,10 +128,6 @@ export declare class Guest<Incoming extends object = VirtualApi> extends Emitter
|
|
131
128
|
guest: Guest<VirtualApi>;
|
132
129
|
}) | (Record<string, unknown> & {
|
133
130
|
guest: Guest<VirtualApi>;
|
134
|
-
}) | ({
|
135
|
-
connection: Connection<import("penpal").CallSender>;
|
136
|
-
} & Record<string, unknown> & {
|
137
|
-
guest: Guest<VirtualApi>;
|
138
131
|
}) | ({
|
139
132
|
error: Error;
|
140
133
|
} & Record<string, unknown> & {
|
package/dist/guest.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"guest.d.ts","sourceRoot":"","sources":["../src/guest.ts"],"names":[],"mappings":"AAaA,OAAO,
|
1
|
+
{"version":3,"file":"guest.d.ts","sourceRoot":"","sources":["../src/guest.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,cAAc,EAEd,UAAU,EAEV,UAAU,EACX,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EAKR,MAAM,iBAAiB,CAAC;AAGzB;;GAEG;AACH,oBAAY,UAAU,CACpB,IAAI,SAAS,MAAM,GAAG,MAAM,EAC5B,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC9B,UAAU,CACZ,IAAI,EACJ,MAAM,GACJ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACxB,KAAK,EAAE,KAAK,CAAC;CACd,CACJ,CAAC;AAEF;;GAEG;AACH,oBAAY,uBAAuB,GAAG,UAAU,CAC9C,eAAe,EACf;IAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,CACrC,CAAC;AAEF,cAAc;AACd,oBAAY,uBAAuB,GAAG,UAAU,CAAC,eAAe,CAAC,CAAC;AAClE,cAAc;AACd,oBAAY,mBAAmB,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;AAC1D,cAAc;AACd,oBAAY,eAAe,GAAG,UAAU,CAA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