Skip to content

Releases: WunderbarNetwork/mini-digital-sdk-js

V1.4.1

16 Aug 04:59
b3d4d1c
Compare
Choose a tag to compare

Added:

  • Optional parameter raiseExceptions has been added to EventTrackingService.postEvent() function.
    This ensures that the SDK will not raise exceptions unexpectedly, instead a console.error() will present the error when set as default(false).

v1.4.0

26 Jul 02:48
1a2adf1
Compare
Choose a tag to compare

⚠️ Bundle location and file names have been modified, and ESM/UMD/CJS bundles now sit in the lib/bundles folder.

Added:

  • Added the CHANGELOG.md file
  • Dev: Greatly expanded the test coverage
  • Dev: GitHub action which uploads bundles to the Mini Digital CDN
  • Dev: CI/Build runs on all supported Node versions - 16 (LTS), 18 (LTS) & 20 (latest)

Fixed:

  • TrackingID was not set correctly in certain edge cases
  • Updated dependency packages to fix vulnerability (CVE-2022-25883)
    Note that the vulnerability only affected devDependency packages (i.e. does not affect production builds)
  • Dev: ESLint wasn't loading all the plugins and configs before

v1.3.1

06 Jul 02:28
e63e487
Compare
Choose a tag to compare

Fixed:

  • Publishing to npm applied the wrong tag, now applies latest tag

v1.3.0

05 Jul 22:33
9b01597
Compare
Choose a tag to compare
  • Automatic retry on HTTP 500 errors returned from the server
  • Better handling of HTTP errors, including a newly exported HttpError class
  • New config options: errorRetryIntervalMs, maxRetriesOn500
  • GitHub action to automatically publish to npm, fixed CI action
  • Improved tests
  • Minor refactoring

v1.2.0

29 Jun 23:14
8c0da98
Compare
Choose a tag to compare
  • New config params: pauseTracking, useCookies
  • Fixed a bug with setting cookie time
  • Fixed a bug when 401 from the server (if the origin was missing) would not result in an error being thrown
  • Added tests & GitHub CI Workflow to run them
  • Updated README, package.json and .npmrc - ready for npm publish

v1.1.0

16 Jun 02:17
769d21a
Compare
Choose a tag to compare
  • Using cookies to store TrackingID and JWT tokens
  • Bug fixes & documentation improvements

v1.0.1

08 Jun 06:29
7cb77b6
Compare
Choose a tag to compare
Merge pull request #6 from WunderbarNetwork/api-route-change

API Route Change

v1.0.0

07 Jun 04:31
6464081
Compare
Choose a tag to compare
Merge pull request #5 from WunderbarNetwork/new-schema

New schema

v0.1.0

08 May 01:33
4c373d2
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release