TKK_E32232340/node_modules/@firebase/webchannel-wrapper
kleponijo 1bcac66f66 update web firebase intialize guys 2026-02-06 13:25:59 +07:00
..
bloom-blob update web firebase intialize guys 2026-02-06 13:25:59 +07:00
dist update web firebase intialize guys 2026-02-06 13:25:59 +07:00
webchannel-blob update web firebase intialize guys 2026-02-06 13:25:59 +07:00
README.md update web firebase intialize guys 2026-02-06 13:25:59 +07:00
empty.js update web firebase intialize guys 2026-02-06 13:25:59 +07:00
package.json update web firebase intialize guys 2026-02-06 13:25:59 +07:00

README.md

@firebase/webchannel-wrapper

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.

Usage

The following 5 modules are exposed for use:

  • createWebChannelTransport
  • ErrorCode
  • EventType
  • WebChannel
  • XhrIoPool

You 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