From 22a8638309f7109d7a62ca4285b14b20869cea16 Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Mon, 30 Oct 2023 12:29:08 +0000 Subject: [PATCH 1/2] chore: update CHANGELOG for 2.1.2 release --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) 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) From 7e48a2985660c16bfe9901e8c1a8722b4b77be0e Mon Sep 17 00:00:00 2001 From: Owen Pearson Date: Mon, 30 Oct 2023 12:29:55 +0000 Subject: [PATCH 2/2] chore: bump version for 2.1.2 release --- package-lock.json | 4 ++-- package.json | 2 +- src/AblyReactHooks.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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;