Skip to content

Releases: hellotext/hellotext.js

V.1.4.0

25 Apr 08:07
Compare
Choose a tag to compare

Adds support for an optional default configuration option when initializing the Hellotext class. The available options are

  • autogenerateSession, which defaults to true. It can be turned off, by setting the value to false.

V1.3.4

07 Nov 05:32
Compare
Choose a tag to compare
  • Bump version to match the package on npmjs
  • Moved the API URL inside the Hellotext class.

v1.3.3

20 Feb 11:09
Compare
Choose a tag to compare

Uses @babel/plugin-transform-classes for older browsers that don't support the class keyword.

What's Changed

Full Changelog: 1.3.2...1.3.3

v1.3.2

13 Feb 17:33
Compare
Choose a tag to compare

Adds backwards compatibility code via Babel

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