123456789101112131415161718192021222324 |
- "use strict";
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- exports.EthereumEvents = exports.ConnectorEvents = void 0; // Events being emitted by an eip-1193 provider
- // See https://eips.ethereum.org/EIPS/eip-1193#events
- const EthereumEvents = Object.freeze({
- CONNECT: 'connect',
- DISCONNECT: 'disconnect',
- CHAIN_CHANGED: 'chainChanged',
- ACCOUNTS_CHANGED: 'accountsChanged'
- }); // Events emitted by the connectors,
- // The InternalWeb3Provider of Moralis will listen to these
- exports.EthereumEvents = EthereumEvents;
- const ConnectorEvents = Object.freeze({
- CONNECT: 'connect',
- DISCONNECT: 'disconnect',
- CHAIN_CHANGED: 'chainChanged',
- ACCOUNT_CHANGED: 'accountChanged'
- });
- exports.ConnectorEvents = ConnectorEvents;
|