(frame: any, parsedScripts: any[])
| 40 | } |
| 41 | |
| 42 | function frameUrl(frame: any, parsedScripts: any[]): string { |
| 43 | const sid = frame && frame.location && frame.location.scriptId; |
| 44 | const match = parsedScripts.find((ev) => ev.scriptId === sid && ev.url); |
| 45 | return (frame && frame.url) || (match && match.url) || '<unknown>'; |
| 46 | } |
| 47 | |
| 48 | async function getProps(Runtime: Client['Runtime'], objectId: string, limit = 20) { |
| 49 | if (!objectId) return []; |
no outgoing calls
no test coverage detected