Skip to content

Commit cf00ae3

Browse files
committed
Revert RepoInfo.ts, too
1 parent 447b94f commit cf00ae3

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

packages/database/src/core/RepoInfo.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
* limitations under the License.
1616
*/
1717

18-
import { assert, EmulatorMockTokenOptions } from '@firebase/util';
18+
import {
19+
assert,
20+
//EmulatorMockTokenOptions //DEDB replace
21+
} from '@firebase/util';
1922

2023
import { LONG_POLLING, WEBSOCKET } from '../realtime/Constants';
2124

@@ -28,9 +31,12 @@ import { each } from './util/util';
2831
export class RepoInfo {
2932
private _host: string;
3033
private _domain: string;
34+
/*
35+
//DEDB replace
3136
private _emulatorOptions: {
3237
mockUserToken?: EmulatorMockTokenOptions | string;
3338
};
39+
*/
3440
internalHost: string;
3541

3642
/**
@@ -53,7 +59,7 @@ export class RepoInfo {
5359
) {
5460
this._host = host.toLowerCase();
5561
this._domain = this._host.substr(this._host.indexOf('.') + 1);
56-
this._emulatorOptions = {};
62+
// this._emulatorOptions = {}; //DEDB replace
5763
this.internalHost =
5864
(PersistentStorage.get('host:' + host) as string) || this._host;
5965
}
@@ -82,11 +88,14 @@ export class RepoInfo {
8288
}
8389
}
8490

91+
/*
92+
//DEDB replace
8593
get emulatorOptions(): {
8694
mockUserToken?: EmulatorMockTokenOptions | string;
8795
} {
8896
return this._emulatorOptions;
8997
}
98+
*/
9099

91100
toString(): string {
92101
let str = this.toURLString();

0 commit comments

Comments
 (0)