diff --git a/src/lib/methods.js b/src/lib/methods.js index bcab9a40..674d588f 100644 --- a/src/lib/methods.js +++ b/src/lib/methods.js @@ -111,6 +111,8 @@ export function deserializeMethod(source, origin, obj) { } wrapper.__name__ = obj.__name__; + wrapper.__xdomain__ = true; + wrapper.source = source; wrapper.origin = origin;