larasopp 1.2.20 → 1.2.21

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/lib/Listener.js CHANGED
@@ -44,7 +44,7 @@ class Listener extends easy_event_emitter_1.default.Stack {
44
44
  if (withCache)
45
45
  this.pushCache(event, data);
46
46
  });
47
- this.pushListener(listener);
47
+ this.push(listener);
48
48
  return this;
49
49
  }
50
50
  here(callback, withCache = true) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "larasopp",
3
- "version": "1.2.20",
3
+ "version": "1.2.21",
4
4
  "description": "Websocket client for laravel",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -37,6 +37,6 @@
37
37
  "typescript": "^5.1.6"
38
38
  },
39
39
  "dependencies": {
40
- "easy-event-emitter": "^1.1.4"
40
+ "easy-event-emitter": "^1.1.5"
41
41
  }
42
42
  }
package/src/Listener.ts CHANGED
@@ -30,7 +30,7 @@ class Listener extends EventEmmiter.Stack {
30
30
  if (withCache) this.pushCache(event, data);
31
31
  });
32
32
 
33
- this.pushListener(listener);
33
+ this.push(listener);
34
34
  return this;
35
35
  }
36
36