diff --git a/CHANGELOG.md b/CHANGELOG.md index 49d3eb8..0e374c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [v2.1.2](https://github.com/ably-labs/react-hooks/tree/v2.1.2) + +[Full Changelog](https://github.com/ably-labs/react-hooks/compare/v2.1.1...v2.1.2) + +- Deprecate this package ([our react hooks are now available as part of ably-js](https://github.com/ably/ably-js/blob/main/docs/react.md)) [\#89](https://github.com/ably-labs/react-hooks/pull/89) + ## [v2.1.1](https://github.com/ably-labs/react-hooks/tree/v2.1.1) [Full Changelog](https://github.com/ably-labs/react-hooks/compare/934c32cb9af7e0b0aa4732c373294c632423f584...v2.1.1) diff --git a/package-lock.json b/package-lock.json index 7dc2113..9868759 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ably-labs/react-hooks", - "version": "2.1.1", + "version": "2.1.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@ably-labs/react-hooks", - "version": "2.1.1", + "version": "2.1.2", "license": "ISC", "dependencies": { "ably": "^1.2.27" diff --git a/package.json b/package.json index 744bacc..83bf3ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ably-labs/react-hooks", - "version": "2.1.1", + "version": "2.1.2", "description": "", "main": "dist/cjs/index.js", "module": "dist/mjs/index.js", diff --git a/src/AblyReactHooks.ts b/src/AblyReactHooks.ts index 096d796..f4c8a97 100644 --- a/src/AblyReactHooks.ts +++ b/src/AblyReactHooks.ts @@ -4,7 +4,7 @@ import { Types } from "ably"; export type ChannelNameAndOptions = { channelName: string; options?: Types.ChannelOptions; realtime?: Types.RealtimePromise, subscribeOnly?: boolean } export type ChannelParameters = string | ChannelNameAndOptions; -const version = "2.1.1" +const version = "2.1.2" let sdkInstance: Realtime | null = null;