core-3nweb-client-lib 0.28.0 → 0.28.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -212,6 +212,7 @@ class ClientsSideImpl {
212
212
  }
213
213
  }
214
214
  registerClientDrop(o, srvRef) {
215
+ o._isObjectFromCore = true;
215
216
  this.srvFinalRegistry.register(o, srvRef);
216
217
  this.weakSrvByRefs.set(srvRef.path[0], new WeakRef(o));
217
218
  this.srvRefs.set(o, srvRef);
@@ -31,6 +31,9 @@ export interface Caller {
31
31
  listObjAsync?: (path: string[]) => Promise<string[]>;
32
32
  findCallingObjByRef<T>(ref: ObjectReference<any>): T | undefined;
33
33
  }
34
+ export interface ObjectFromCore {
35
+ _isObjectFromCore: true;
36
+ }
34
37
  export interface ClientsSide {
35
38
  caller(): Caller;
36
39
  processInterimCallReply(fnCallNum: number, body: EnvelopeBody): void;