Skip to content

Commit 7862965

Browse files
committed
Update dists
1 parent 1c8ee1f commit 7862965

File tree

4 files changed

+11
-19
lines changed

4 files changed

+11
-19
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ node_modules
3939

4040
#dist # Ugh, bower!
4141

42-
42+
package-lock.json

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
".gitignore",
2828
".babelrc"
2929
],
30-
"version": "0.0.19"
30+
"version": "0.0.20"
3131
}

dist/predicthq.js

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22144,6 +22144,7 @@ var Client = function () {
2214422144
_createClass(Client, [{
2214522145
key: "request",
2214622146
value: function request(method, path, returnClass, options) {
22147+
var _this = this;
2214722148

2214822149
var access_token = this.options.access_token;
2214922150

@@ -22162,7 +22163,7 @@ var Client = function () {
2216222163
headers: {
2216322164
'Authorization': 'Bearer ' + access_token,
2216422165
'Accept': 'application/json',
22165-
'x-user-agent': "PHQ-JS-SDK/" + version
22166+
'X-User-Agent': "PHQ-JS-SDK/" + _this.version
2216622167
}
2216722168
}).then(function (response) {
2216822169
return response.json();
@@ -22344,9 +22345,7 @@ function _inherits(subClass, superClass) {
2234422345
if (typeof superClass !== "function" && superClass !== null) {
2234522346
throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : _typeof(superClass)));
2234622347
}subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
22347-
} /*
22348-
22349-
*/
22348+
}
2235022349

2235122350
var Accounts = function (_BaseEndpoint) {
2235222351
_inherits(Accounts, _BaseEndpoint);
@@ -22364,13 +22363,6 @@ var Accounts = function (_BaseEndpoint) {
2236422363

2236522364
return this.client.get("/v1/accounts/" + _account + "/");
2236622365
}
22367-
}, {
22368-
key: "subscriptions",
22369-
value: function subscriptions() {
22370-
var account = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'self';
22371-
22372-
return this.client.get("/v1/accounts/" + account + "/subscriptions/");
22373-
}
2237422366
}]);
2237522367

2237622368
return Accounts;

dist/predicthq.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)