Comparing version 1.42.0 to 1.43.0
@@ -15,3 +15,3 @@ // tslint:disable | ||
function Configuration(accessToken, basePath) { | ||
this.apiKey = "Bearer " + accessToken; | ||
this.apiKey = "Bearer ".concat(accessToken); | ||
this.basePath = basePath; | ||
@@ -18,0 +18,0 @@ } |
@@ -25,3 +25,3 @@ import * as CodeGen from "./api"; | ||
*/ | ||
createTransactions(budget_id: string, data: CodeGen.SaveTransactionsWrapper, options?: any): Promise<CodeGen.SaveTransactionsResponse & { | ||
createTransactions(budget_id: string, data: CodeGen.PostTransactionsWrapper, options?: any): Promise<CodeGen.SaveTransactionsResponse & { | ||
rateLimit: string | null; | ||
@@ -28,0 +28,0 @@ }>; |
@@ -5,6 +5,8 @@ var __extends = (this && this.__extends) || (function () { | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
@@ -11,0 +13,0 @@ function __() { this.constructor = d; } |
@@ -6,3 +6,3 @@ export default { | ||
getCurrentMonthInISOFormat: function () { | ||
return this.getCurrentDateInISOFormat().substr(0, 7) + "-01"; | ||
return "".concat(this.getCurrentDateInISOFormat().substr(0, 7), "-01"); | ||
}, | ||
@@ -9,0 +9,0 @@ /** |
@@ -22,3 +22,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -25,0 +25,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -25,3 +25,3 @@ import * as CodeGen from "./api"; | ||
*/ | ||
createTransactions(budget_id: string, data: CodeGen.SaveTransactionsWrapper, options?: any): Promise<CodeGen.SaveTransactionsResponse & { | ||
createTransactions(budget_id: string, data: CodeGen.PostTransactionsWrapper, options?: any): Promise<CodeGen.SaveTransactionsResponse & { | ||
rateLimit: string | null; | ||
@@ -28,0 +28,0 @@ }>; |
{ | ||
"name": "ynab", | ||
"version": "1.42.0", | ||
"version": "1.43.0", | ||
"description": "YNAB API Javascript (Node) Library", | ||
@@ -48,3 +48,3 @@ "author": "You Need a Budget, LLC", | ||
"ts-node": "^8.10.2", | ||
"typescript": "^3.9.7", | ||
"typescript": "4.5.5", | ||
"url": "^0.11.0", | ||
@@ -51,0 +51,0 @@ "webpack": "^5.74.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
950292
17708
93