@adonisjs/transmit-client 0.2.1 → 0.2.2

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.
@@ -102,4 +102,4 @@ declare class Transmit {
102
102
  close(): void;
103
103
  }
104
104
 
105
- export { Transmit };
105
+ export { Subscription, Transmit };
@@ -435,5 +435,6 @@ onError_fn = function() {
435
435
  __privateWrapper(this, _reconnectAttempts)._++;
436
436
  };
437
437
  export {
438
+ Subscription,
438
439
  Transmit
439
440
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adonisjs/transmit-client",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "A client for the native Server-Sent-Event module of AdonisJS.",
5
5
  "keywords": [
6
6
  "client",
@@ -14,9 +14,9 @@
14
14
  "license": "MIT",
15
15
  "author": "Romain Lanz <romain.lanz@pm.me>",
16
16
  "type": "module",
17
- "source": "src/transmit.ts",
18
- "main": "./build/transmit.js",
19
- "types": "./build/transmit.d.ts",
17
+ "source": "index.ts",
18
+ "main": "./build/index.js",
19
+ "types": "./build/index.d.ts",
20
20
  "scripts": {
21
21
  "clean": "del-cli build",
22
22
  "typecheck": "tsc --noEmit",
@@ -67,7 +67,7 @@
67
67
  "target": "es2020",
68
68
  "outDir": "build",
69
69
  "entry": [
70
- "src/transmit.ts"
70
+ "index.ts"
71
71
  ]
72
72
  },
73
73
  "release-it": {