@firebase/webchannel-wrapper 0.5.1-canary.fbb32e7bf → 0.5.1-canary.ff9baf70c
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.
- package/dist/index.esm.js +12 -23
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm2017.js +5 -18
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.esm2017.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
2
|
|
|
3
|
+
var esm = {};
|
|
4
|
+
|
|
3
5
|
/*
|
|
4
6
|
|
|
5
7
|
Copyright The Closure Library Authors.
|
|
@@ -98,23 +100,8 @@ t(Z,Sd);Z.prototype.xa=function(){D(this.g,"a");};Z.prototype.wa=function(a){D(t
|
|
|
98
100
|
limitations under the License.
|
|
99
101
|
*/
|
|
100
102
|
Td.prototype.createWebChannel=Td.prototype.g;Y.prototype.send=Y.prototype.u;Y.prototype.open=Y.prototype.m;Y.prototype.close=Y.prototype.close;Wb.NO_ERROR=0;Wb.TIMEOUT=8;Wb.HTTP_ERROR=6;Xb.COMPLETE="complete";$b.EventType=L;L.OPEN="a";L.CLOSE="b";L.ERROR="c";L.MESSAGE="d";C.prototype.listen=C.prototype.N;X.prototype.listenOnce=X.prototype.O;X.prototype.getLastError=X.prototype.La;X.prototype.getLastErrorCode=X.prototype.Da;X.prototype.getStatus=X.prototype.ba;X.prototype.getResponseJson=X.prototype.Qa;
|
|
101
|
-
X.prototype.getResponseText=X.prototype.ga;X.prototype.send=X.prototype.ea;var createWebChannelTransport=function(){return new Td};var getStatEventTarget=function(){return Sb()};var ErrorCode=Wb;var EventType=Xb;var Event=H;var Stat={rb:0,ub:1,vb:2,Ob:3,Tb:4,Qb:5,Rb:6,Pb:7,Nb:8,Sb:9,PROXY:10,NOPROXY:11,Lb:12,Hb:13,Ib:14,Gb:15,Jb:16,Kb:17,nb:18,mb:19,ob:20};var FetchXmlHttpFactory=pd;var WebChannel=$b;
|
|
102
|
-
var XhrIo=X;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
var esm = {
|
|
107
|
-
createWebChannelTransport: createWebChannelTransport,
|
|
108
|
-
getStatEventTarget: getStatEventTarget,
|
|
109
|
-
ErrorCode: ErrorCode,
|
|
110
|
-
EventType: EventType,
|
|
111
|
-
Event: Event,
|
|
112
|
-
Stat: Stat,
|
|
113
|
-
FetchXmlHttpFactory: FetchXmlHttpFactory,
|
|
114
|
-
WebChannel: WebChannel,
|
|
115
|
-
XhrIo: XhrIo
|
|
116
|
-
};
|
|
103
|
+
X.prototype.getResponseText=X.prototype.ga;X.prototype.send=X.prototype.ea;var createWebChannelTransport = esm.createWebChannelTransport=function(){return new Td};var getStatEventTarget = esm.getStatEventTarget=function(){return Sb()};var ErrorCode = esm.ErrorCode=Wb;var EventType = esm.EventType=Xb;var Event = esm.Event=H;var Stat = esm.Stat={rb:0,ub:1,vb:2,Ob:3,Tb:4,Qb:5,Rb:6,Pb:7,Nb:8,Sb:9,PROXY:10,NOPROXY:11,Lb:12,Hb:13,Ib:14,Gb:15,Jb:16,Kb:17,nb:18,mb:19,ob:20};var FetchXmlHttpFactory = esm.FetchXmlHttpFactory=pd;var WebChannel = esm.WebChannel=$b;
|
|
104
|
+
var XhrIo = esm.XhrIo=X;
|
|
117
105
|
|
|
118
|
-
export default
|
|
119
|
-
export { ErrorCode, Event, EventType, FetchXmlHttpFactory, Stat, WebChannel, XhrIo, createWebChannelTransport, getStatEventTarget };
|
|
106
|
+
export { ErrorCode, Event, EventType, FetchXmlHttpFactory, Stat, WebChannel, XhrIo, createWebChannelTransport, esm as default, getStatEventTarget };
|
|
120
107
|
//# sourceMappingURL=index.esm2017.js.map
|