Skip to content

Commit

Permalink
chore(core): updates for 2.81.0 release (#977)
Browse files Browse the repository at this point in the history
updates for 2.81.0 release
  • Loading branch information
JagadeeshKaricherla-branch authored Jan 24, 2024
1 parent ae5481e commit e02873d
Show file tree
Hide file tree
Showing 9 changed files with 544 additions and 378 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ All notable changes to the Branch Web SDK will be documented here.
The Branch Web SDK adheres to [Semantic Versioning](http://semver.org/).

## [VERSION] - unreleased
## [2.81.0] - 2024-01-18
- feat(SDK-2101): add setRequestMetadata method
- fix(BUX-2863): fix focus getting trapped on banner
- feat(SDK-2196): add banner method deprecation warning
- fix(MLP-13): Update journey display criterion to include desktop, rename mobileUserAgent to getPlatformByUserAgent

## [2.80.0] - 2023-09-14
- fix(SDK-2113): send session_link_click_id

Expand Down
92 changes: 52 additions & 40 deletions dist/build.js

Large diffs are not rendered by default.

156 changes: 79 additions & 77 deletions dist/build.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h4>QR Code</h4>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script type="text/javascript">
(function(b,r,a,n,c,h,_,s,d,k){if(!b[n]||!b[n]._q){for(;s<_.length;)c(h,_[s++]);d=r.createElement(a);d.async=1;d.src="https://cdn.branch.io/branch-latest.min.js";k=r.getElementsByTagName(a)[0];k.parentNode.insertBefore(d,k);b[n]=h}})(window,document,"script","branch",function(b,r){b[r]=function(){b._q.push([r,arguments])}},{_q:[],_v:1},"addListener banner closeBanner closeJourney data deepview deepviewCta first init link logout removeListener setBranchViewData setIdentity track trackCommerceEvent logEvent disableTracking getBrowserFingerprintId crossPlatformIds lastAttributedTouchData setAPIResponseCallback qrCode".split(" "), 0);
(function(b,r,a,n,c,h,_,s,d,k){if(!b[n]||!b[n]._q){for(;s<_.length;)c(h,_[s++]);d=r.createElement(a);d.async=1;d.src="https://cdn.branch.io/branch-latest.min.js";k=r.getElementsByTagName(a)[0];k.parentNode.insertBefore(d,k);b[n]=h}})(window,document,"script","branch",function(b,r){b[r]=function(){b._q.push([r,arguments])}},{_q:[],_v:1},"addListener banner closeBanner closeJourney data deepview deepviewCta first init link logout removeListener setBranchViewData setIdentity track trackCommerceEvent logEvent disableTracking getBrowserFingerprintId crossPlatformIds lastAttributedTouchData setAPIResponseCallback qrCode setRequestMetaData".split(" "), 0);

branch.setAPIResponseCallback(function(url, method, requestBody, error, status, responseBody) {
console.log('Request: ' + method + ' ' + url + ' body=' + JSON.stringify(requestBody));
Expand Down
Loading

0 comments on commit e02873d

Please sign in to comment.