mirror of
https://github.com/k1tbyte/Wand-Enhancer.git
synced 2026-09-04 17:23:28 +00:00
fix: bump version to 1.0.9.4, update changelog
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { isRecord } from "../installed-apps-sync/runtime.js"
|
||||
|
||||
const WAND_QR_RENDERER_EXPORT = "mo"
|
||||
|
||||
export function resolveQrRenderer(webpackRequire) {
|
||||
for (const record of Object.values(webpackRequire?.c || {})) {
|
||||
const exports = record?.exports
|
||||
if (
|
||||
isRecord(exports) &&
|
||||
typeof exports[WAND_QR_RENDERER_EXPORT] === "function"
|
||||
) {
|
||||
return exports[WAND_QR_RENDERER_EXPORT]
|
||||
}
|
||||
}
|
||||
|
||||
return null
|
||||
}
|
||||
Reference in New Issue
Block a user