ynab 1.32.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +438 -247
- package/dist/api.js +663 -329
- package/dist/browser/ynab.js +1 -2
- package/dist/esm/api.d.ts +438 -247
- package/dist/esm/api.js +566 -253
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/transactionsApi.d.ts +1 -1
- package/dist/esm/transactionsApi.js +3 -1
- package/dist/esm/utils.js +1 -1
- package/dist/index.js +1 -1
- package/dist/transactionsApi.d.ts +1 -1
- package/package.json +4 -4
|
@@ -22,7 +22,7 @@ export declare class TransactionsApi extends CodeGen.TransactionsApi {
|
|
|
22
22
|
* @throws {RequiredError}
|
|
23
23
|
* @memberof TransactionsApi
|
|
24
24
|
*/
|
|
25
|
-
createTransactions(budget_id: string, data: CodeGen.
|
|
25
|
+
createTransactions(budget_id: string, data: CodeGen.PostTransactionsWrapper, options?: any): Promise<CodeGen.SaveTransactionsResponse & {
|
|
26
26
|
rateLimit: string | null;
|
|
27
27
|
}>;
|
|
28
28
|
/**
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
package/dist/esm/utils.js
CHANGED
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
* Returns the current month (system timezone) in ISO 8601 format (i.e. '2015-12-01')
|
|
4
4
|
*/
|
|
5
5
|
getCurrentMonthInISOFormat: function () {
|
|
6
|
-
return this.getCurrentDateInISOFormat().substr(0, 7)
|
|
6
|
+
return "".concat(this.getCurrentDateInISOFormat().substr(0, 7), "-01");
|
|
7
7
|
},
|
|
8
8
|
/**
|
|
9
9
|
* Returns the current date (system timezone) in ISO 8601 format (i.e. '2015-12-15')
|
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
19
19
|
o[k2] = m[k];
|
|
20
20
|
}));
|
|
21
21
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
22
|
-
for (var p in m) if (p !== "default" && !
|
|
22
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.api = exports.utils = exports.API = void 0;
|
|
@@ -22,7 +22,7 @@ export declare class TransactionsApi extends CodeGen.TransactionsApi {
|
|
|
22
22
|
* @throws {RequiredError}
|
|
23
23
|
* @memberof TransactionsApi
|
|
24
24
|
*/
|
|
25
|
-
createTransactions(budget_id: string, data: CodeGen.
|
|
25
|
+
createTransactions(budget_id: string, data: CodeGen.PostTransactionsWrapper, options?: any): Promise<CodeGen.SaveTransactionsResponse & {
|
|
26
26
|
rateLimit: string | null;
|
|
27
27
|
}>;
|
|
28
28
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ynab",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.0",
|
|
4
4
|
"description": "YNAB API Javascript (Node) Library",
|
|
5
5
|
"author": "You Need a Budget, LLC",
|
|
6
6
|
"keywords": [
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"chai": "^4.2.0",
|
|
41
41
|
"fetch-mock": "^9.10.6",
|
|
42
42
|
"jsh": "0.34.0",
|
|
43
|
-
"mocha": "^
|
|
43
|
+
"mocha": "^10.2.0",
|
|
44
44
|
"npm-github-release": "^0.13.0",
|
|
45
45
|
"swagger-model-validator": "^3.0.19",
|
|
46
46
|
"ts-loader": "^8.0.2",
|
|
47
47
|
"ts-node": "^8.10.2",
|
|
48
|
-
"typescript": "
|
|
48
|
+
"typescript": "4.5.5",
|
|
49
49
|
"url": "^0.11.0",
|
|
50
50
|
"webpack": "^5.74.0",
|
|
51
|
-
"webpack-cli": "^
|
|
51
|
+
"webpack-cli": "^5.0.1"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"fetch-ponyfill": "^7.1.0"
|