feat: event.source.postMessage instead of window.opener.postMessage #877
Annotations
4 errors and 1 warning
build:
src/signer.ts#L137
Argument of type '{ data: any; lastEventId: string; origin: string; ports: readonly MessagePort[]; initMessageEvent(type: string, bubbles?: boolean | undefined, cancelable?: boolean | undefined, data?: any, origin?: string | undefined, lastEventId?: string | undefined, source?: MessageEventSource | ... 1 more ... | undefined, ports?:...' is not assignable to parameter of type 'SignerMessageEvent'.
|
build:
src/signer.ts#L259
Argument of type '{ id: string | number | null; origin: string; }' is not assignable to parameter of type '{ id: string | number | null; origin: string; source: MessagePort | Window | ServiceWorker; }'.
|
build
Process completed with exit code 2.
|
lint
Process completed with exit code 1.
|
lint:
src/handlers/signer.handlers.ts#L28
'origin' is defined but never used. Allowed unused args must match /^_/u
|