Repository URL to install this package:
|
Version:
2.1.0-1 ▾
|
vending-agent-dep
/
usr
/
local
/
lib
/
vending
/
agent
/
node_modules
/
@firebase
/
webchannel-wrapper
|
|---|
| .. |
| dist |
| CHANGELOG.md |
| package.json |
| README.md |
NOTE: This is specifically tailored for Firebase JS SDK usage, if you are not a member of the Firebase team, please avoid using this package
This is a wrapper of some Webchannel Features for the Firebase JS SDK.
The following 5 modules are exposed for use:
createWebChannelTransportErrorCodeEventTypeWebChannelXhrIoPoolYou can include these by doing the following:
ES Modules
import { WebChannel } from '@firebase/webchannel-wrapper' // Do stuff with WebChannel
CommonJS Modules
const webchannelWrapper = require('@firebase/webchannel-wrapper'); // Do stuff with webchannelWrapper.ErrorCode, webchannelWrapper.EventType, etc