bkper-js 1.19.2 → 1.19.4

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/lib/index.d.ts CHANGED
@@ -740,7 +740,7 @@ export declare class Book {
740
740
  *
741
741
  * @returns This Book, for chainning.
742
742
  */
743
- setLockDate(lockDate: string): Book;
743
+ setLockDate(lockDate: string | null): Book;
744
744
  /**
745
745
  * @returns The closing date of the Book in ISO format yyyy-MM-dd
746
746
  */
@@ -751,7 +751,7 @@ export declare class Book {
751
751
  *
752
752
  * @returns This Book, for chainning.
753
753
  */
754
- setClosingDate(closingDate: string): Book;
754
+ setClosingDate(closingDate: string | null): Book;
755
755
  /**
756
756
  * @returns The decimal separator of the Book
757
757
  */
@@ -7,8 +7,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { getRepresentativeValue, normalizeName } from "../utils";
11
- import { Amount } from "./Amount";
10
+ import { getRepresentativeValue, normalizeName } from "../utils.js";
11
+ import { Amount } from "./Amount.js";
12
12
  /** @internal */
13
13
  export class AccountBalancesContainer {
14
14
  constructor(parent, balancesReport, payload) {
@@ -7,9 +7,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { Amount } from "./Amount";
11
- import { getRepresentativeValue, normalizeName } from "../utils";
12
- import { AccountBalancesContainer } from "./BalancesContainerAccount";
10
+ import { Amount } from "./Amount.js";
11
+ import { getRepresentativeValue, normalizeName } from "../utils.js";
12
+ import { AccountBalancesContainer } from "./BalancesContainerAccount.js";
13
13
  /** @internal */
14
14
  export class GroupBalancesContainer {
15
15
  constructor(parent, balancesReport, payload) {
@@ -1,6 +1,6 @@
1
- import { normalizeName } from "../utils";
2
- import { AccountBalancesContainer } from "./BalancesContainerAccount";
3
- import { GroupBalancesContainer } from "./BalancesContainerGroup";
1
+ import { normalizeName } from '../utils.js';
2
+ import { AccountBalancesContainer } from "./BalancesContainerAccount.js";
3
+ import { GroupBalancesContainer } from "./BalancesContainerGroup.js";
4
4
  /**
5
5
  * Class representing a Balance Report, generated when calling [Book.getBalanceReport](#book_getbalancesreport)
6
6
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper-js",
3
- "version": "1.19.2",
3
+ "version": "1.19.4",
4
4
  "description": "Javascript client for Bkper REST API",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",