mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-19 17:13:31 -04:00
Switch to EventEmitter3.
This commit is contained in:
+2
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "revolt.js",
|
||||
"version": "3.0.1-beta.8",
|
||||
"version": "3.0.1-beta.9",
|
||||
"main": "dist/index.js",
|
||||
"repository": "https://gitlab.insrt.uk/revolt/revolt.js",
|
||||
"author": "Paul Makles <insrt.uk>",
|
||||
@@ -8,6 +8,7 @@
|
||||
"dependencies": {
|
||||
"axios": "^0.19.2",
|
||||
"concurrently": "^5.1.0",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"exponential-backoff": "^3.1.0",
|
||||
"isomorphic-ws": "^4.0.1",
|
||||
"lodash": "^4.17.15",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import Axios, { AxiosInstance } from 'axios';
|
||||
import { EventEmitter } from 'eventemitter3';
|
||||
import { defaultsDeep } from 'lodash';
|
||||
import { EventEmitter } from 'events';
|
||||
|
||||
import { defaultConfig } from '.';
|
||||
import { Core } from './api/core';
|
||||
|
||||
@@ -164,6 +164,11 @@ event-stream@=3.3.4:
|
||||
stream-combiner "~0.0.4"
|
||||
through "~2.3.1"
|
||||
|
||||
eventemitter3@^4.0.7:
|
||||
version "4.0.7"
|
||||
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
|
||||
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
|
||||
|
||||
exponential-backoff@^3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/exponential-backoff/-/exponential-backoff-3.1.0.tgz#9409c7e579131f8bd4b32d7d8094a911040f2e68"
|
||||
|
||||
Reference in New Issue
Block a user