Skip to content

Update to comapi-sdk-js 1.4.0#4

Open
chante-gobel wants to merge 1 commit into
masterfrom
feature/update-to-1.4.0
Open

Update to comapi-sdk-js 1.4.0#4
chante-gobel wants to merge 1 commit into
masterfrom
feature/update-to-1.4.0

Conversation

@chante-gobel

Copy link
Copy Markdown

Updates the bower distribution package to reflect the latest comapi-sdk-js 1.4.0 release.

What's new in 1.4.0

Added handlePushAndGetMessageDetails(message) to the Foundation class. This method tracks notification clicks (same as the existing handlePush) but additionally returns a ddOriginated flag to identify whether the push notification originated from Dotdigital.

const { url, ddOriginated } = await foundation.handlePushAndGetMessageDetails(message);

What this changes:

  • foundation.js — new handlePushAndGetMessageDetails method + JSDoc fix on handlePush
  • foundation.d.ts — TypeScript declaration for the new method
  • foundation.js.map — updated source map
  • sessionManager.js — updated compiled output from 1.4.0 build
  • comapi-foundation.js — updated webpack bundle
  • comapi-foundation.min.js — updated minified bundle
  • package.json / bower.json — version bumped to 1.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants