@trycourier/react-provider 1.56.3-internal.b37eaac.0 → 1.57.0

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/dist/index.js CHANGED
@@ -178,6 +178,7 @@ var CourierProvider = function CourierProvider(_ref) {
178
178
 
179
179
  return function () {
180
180
  courierTransport.unsubscribe(userId);
181
+ courierTransport.closeConnection();
181
182
  };
182
183
  }, [actions, transport, userId]);
183
184
  (0, _react.useEffect)(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trycourier/react-provider",
3
- "version": "1.56.3-internal.b37eaac.0+b37eaac",
3
+ "version": "1.57.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "typings/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "license": "ISC",
17
17
  "dependencies": {
18
- "@trycourier/client-graphql": "^1.56.3-internal.b37eaac.0+b37eaac",
18
+ "@trycourier/client-graphql": "^1.57.0",
19
19
  "buffer": "^6.0.3",
20
20
  "react-use": "^17.2.1",
21
21
  "reconnecting-websocket": "^4.4.0",
@@ -31,5 +31,5 @@
31
31
  "dist/",
32
32
  "typings/"
33
33
  ],
34
- "gitHead": "b37eaac53f8fe24fbf2aac86ae5c9dd3de429948"
34
+ "gitHead": "861fd925f0eeef65c074104d8fe0eff8cbff8782"
35
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EACL,KAAK,EACL,eAAe,EACf,qBAAqB,EACrB,QAAQ,EACR,SAAS,EACV,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,eAAe,EACf,oBAAoB,EACpB,UAAU,EACX,MAAM,oBAAoB,CAAC;AAE5B,OAA0B,EAExB,UAAU,EACX,MAAM,cAAc,CAAC;A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