diff --git a/modules/lib/finders.js b/modules/lib/finders.js index aa77d81..f36713a 100644 --- a/modules/lib/finders.js +++ b/modules/lib/finders.js @@ -27,7 +27,10 @@ // "props": { "k": value } data properties (own or inherited) equal to // the given JSON primitives; getters never run, // "has": ["k", ...] properties present (`in`, incl. getters), -// "protoMethods": ["m", ...] (class) methods on its prototype chain, +// "protoMethods": ["m", ...] (class) methods on its prototype chain +// (plain methods only: decorated ones, e.g. +// MobX @action.bound, are getters in the +// page, though methods offline), // "methods": ["m", ...] (instance) methods on its prototype chain, // "getters": ["g", ...] getters on its prototype chain } // Fields that only scripts/check-signatures.mjs uses: "expects" (strings the diff --git a/modules/lib/signatures.json b/modules/lib/signatures.json index ddb008f..063da41 100644 --- a/modules/lib/signatures.json +++ b/modules/lib/signatures.json @@ -106,7 +106,7 @@ "mailbox": { "module": { "includes": ["\"mailbox_send \"", "WebSocketSend(", "\"vrcompositor_systemlayer\""] }, "exports": { - "Mailbox": { "type": "class", "protoMethods": ["SendMessage", "WebSocketSend"] } + "Mailbox": { "type": "class", "protoMethods": ["SendMessage", "SendMessageAndWaitForResponse", "RegisterHandler"] } } }, "sceneGraph": {