()
| 30 | let registrySnapshot = 0; |
| 31 | |
| 32 | function notify() { |
| 33 | registrySnapshot += 1; |
| 34 | for (const fn of listeners) { |
| 35 | try { |
| 36 | fn(); |
| 37 | } catch { |
| 38 | /* ignore */ |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | window.__HERMES_PLUGIN_SDK__ = buildSDK(); |
| 44 | window.__HERMES_PLUGINS__ = { |