mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-20 02:18:26 +00:00
Fix Chrome Debugger for RN
This commit is contained in:
parent
37a5a92cc9
commit
f8bac2d24a
@ -187,7 +187,8 @@ Object.defineProperties(Realm, {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
_waitForDownload: {
|
_waitForDownload: {
|
||||||
value: function(_config, callback) {
|
value: function(_config, sessionCallback, callback) {
|
||||||
|
sessionCallback();
|
||||||
callback();
|
callback();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -22,7 +22,9 @@ import { keys, objectTypes } from './constants';
|
|||||||
import { getterForProperty, createMethods } from './util';
|
import { getterForProperty, createMethods } from './util';
|
||||||
import { deserialize } from './rpc';
|
import { deserialize } from './rpc';
|
||||||
|
|
||||||
export default class Session { }
|
export default class Session {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
Object.defineProperties(Session.prototype, {
|
Object.defineProperties(Session.prototype, {
|
||||||
url: { get: getterForProperty('url') },
|
url: { get: getterForProperty('url') },
|
||||||
@ -31,7 +33,9 @@ Object.defineProperties(Session.prototype, {
|
|||||||
|
|
||||||
createMethods(Session.prototype, objectTypes.SESSION, [
|
createMethods(Session.prototype, objectTypes.SESSION, [
|
||||||
'_refreshAccessToken',
|
'_refreshAccessToken',
|
||||||
'_simulateError'
|
'_simulateError',
|
||||||
|
'addProgressNotification',
|
||||||
|
'removeProgressNotification'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
export function createSession(realmId, info) {
|
export function createSession(realmId, info) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user