Skip to content

Commit

Permalink
chore(all): prepare release 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Dec 1, 2018
1 parent 16c238f commit 7aed7da
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-fetch-client",
"version": "1.6.0",
"version": "1.7.0",
"description": "A simple client based on the Fetch standard.",
"keywords": [
"aurelia",
Expand Down
6 changes: 6 additions & 0 deletions dist/amd/aurelia-fetch-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,12 @@ define(['exports', 'aurelia-pal'], function (exports, _aureliaPal) {

function trackRequestStart() {
this.isRequesting = !!++this.activeRequestCount;
if (this.isRequesting) {
var evt = _aureliaPal.DOM.createCustomEvent('aurelia-fetch-client-request-started', { bubbles: true, cancelable: true });
setTimeout(function () {
return _aureliaPal.DOM.dispatchEvent(evt);
}, 1);
}
}

function trackRequestEnd() {
Expand Down
4 changes: 4 additions & 0 deletions dist/aurelia-fetch-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,10 @@ const absoluteUrlRegexp = /^([a-z][a-z0-9+\-.]*:)?\/\//i;

function trackRequestStart() {
this.isRequesting = !!(++this.activeRequestCount);
if (this.isRequesting) {
let evt = DOM.createCustomEvent('aurelia-fetch-client-request-started', { bubbles: true, cancelable: true });
setTimeout(() => DOM.dispatchEvent(evt), 1);
}
}

function trackRequestEnd() {
Expand Down
6 changes: 6 additions & 0 deletions dist/commonjs/aurelia-fetch-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,12 @@ var absoluteUrlRegexp = /^([a-z][a-z0-9+\-.]*:)?\/\//i;

function trackRequestStart() {
this.isRequesting = !!++this.activeRequestCount;
if (this.isRequesting) {
var evt = _aureliaPal.DOM.createCustomEvent('aurelia-fetch-client-request-started', { bubbles: true, cancelable: true });
setTimeout(function () {
return _aureliaPal.DOM.dispatchEvent(evt);
}, 1);
}
}

function trackRequestEnd() {
Expand Down
4 changes: 4 additions & 0 deletions dist/es2015/aurelia-fetch-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ const absoluteUrlRegexp = /^([a-z][a-z0-9+\-.]*:)?\/\//i;

function trackRequestStart() {
this.isRequesting = !!++this.activeRequestCount;
if (this.isRequesting) {
let evt = DOM.createCustomEvent('aurelia-fetch-client-request-started', { bubbles: true, cancelable: true });
setTimeout(() => DOM.dispatchEvent(evt), 1);
}
}

function trackRequestEnd() {
Expand Down
6 changes: 6 additions & 0 deletions dist/native-modules/aurelia-fetch-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,12 @@ var absoluteUrlRegexp = /^([a-z][a-z0-9+\-.]*:)?\/\//i;

function trackRequestStart() {
this.isRequesting = !!++this.activeRequestCount;
if (this.isRequesting) {
var evt = DOM.createCustomEvent('aurelia-fetch-client-request-started', { bubbles: true, cancelable: true });
setTimeout(function () {
return DOM.dispatchEvent(evt);
}, 1);
}
}

function trackRequestEnd() {
Expand Down
6 changes: 6 additions & 0 deletions dist/system/aurelia-fetch-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ System.register(['aurelia-pal'], function (_export, _context) {

function trackRequestStart() {
this.isRequesting = !!++this.activeRequestCount;
if (this.isRequesting) {
var evt = DOM.createCustomEvent('aurelia-fetch-client-request-started', { bubbles: true, cancelable: true });
setTimeout(function () {
return DOM.dispatchEvent(evt);
}, 1);
}
}

function trackRequestEnd() {
Expand Down
7 changes: 7 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<a name="1.7.0"></a>
# [1.7.0](https://github.com/aurelia/fetch-client/compare/1.6.0...1.7.0) (2018-12-01)

### Features

* added 'aurelia-fetch-client-request-started' event

<a name="1.6.0"></a>
# [1.6.0](https://github.com/aurelia/fetch-client/compare/1.5.0...1.6.0) (2018-09-25)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-fetch-client",
"version": "1.6.0",
"version": "1.7.0",
"description": "A simple client based on the Fetch standard.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 7aed7da

Please sign in to comment.