Skip to content

Releases: hellotext/hellotext.js

v1.2.0

12 Feb 18:00
Compare
Choose a tag to compare

Major additions

Adds support for "preview" mode when the page where the client is activated is opened by the Google previewer. Events tracked in this state will not reach the API.

Other changes

  • Adds an internal Query class that is responsible for appending our prefix to the queries.
  • Converts Response#data to a getter, now, you can simply get the response with Response#data instead of Response#data().

v1.1.3

01 Feb 20:02
Compare
Choose a tag to compare

Events

Allow clients to subscribe to events emitted by the Hellotext class. Adds Hellotext.on and Hellotext.removeEventListener to subscribe and unsubscribe an event listener.

Full Changelog: v1.1.1...v1.1.3

v1.1.1

24 Jan 06:29
Compare
Choose a tag to compare

What's Changed

  • Adds the ability for clients to opt-in and out of en event via the event emitter. Exposes Hellotext.on to subscribe events and Hellotext.disconnect.
  • Wraps response from the API in a dedicated Response class that exposes methods to check the boolean state of the response.
  • Improves README.

Full Changelog: https://github.com/hellotext/hellotext.js/commits/v1.1.1