File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,10 @@ export class GuestServer<Outgoing extends GuestApis> extends Guest<Outgoing> {
5353 */
5454 async register ( implementedMethods : Outgoing , metadata : GuestMetadata ) {
5555 this . localMethods = implementedMethods ;
56- this . metadata = metadata ;
56+ this . metadata = {
57+ ...metadata ,
58+ extensionId : this . id ,
59+ } ;
5760 return this . _connect ( ) ;
5861 }
5962}
Original file line number Diff line number Diff line change @@ -23,11 +23,7 @@ import type {
2323 UIHostMethods ,
2424 GuestMetadata ,
2525} from "@adobe/uix-core" ;
26- import {
27- Emitter ,
28- connectIframe ,
29- formatHostMethodAddress ,
30- } from "@adobe/uix-core" ;
26+ import { Emitter , connectIframe } from "@adobe/uix-core" ;
3127import { normalizeIframe } from "./dom-utils" ;
3228
3329/**
You can’t perform that action at this time.
0 commit comments