(message: messageTo)
| 931 | }); |
| 932 | this.postMessage({code: "isValid", url}); |
| 933 | }); |
| 934 | } |
| 935 | static async checkUpdates(): Promise<boolean> { |
| 936 | if (this.needsUpdate) return true; |
| 937 | return new Promise((res) => { |
| 938 | this.captureEvent("updates", (update, remove) => { |
| 939 | remove; |
| 940 | res(update.updates); |
| 941 | }); |
| 942 | this.postMessage({code: "CheckUpdate"}); |
no outgoing calls
no test coverage detected