@stamhoofd/utility 2.116.0 → 2.117.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/src/FiscalDocumentYearHelper.d.ts +9 -5
- package/dist/src/FiscalDocumentYearHelper.d.ts.map +1 -1
- package/dist/src/FiscalDocumentYearHelper.js +16 -12
- package/dist/src/FiscalDocumentYearHelper.js.map +1 -1
- package/dist/src/Throttle.d.ts +3 -0
- package/dist/src/Throttle.d.ts.map +1 -1
- package/dist/src/Throttle.js +3 -0
- package/dist/src/Throttle.js.map +1 -1
- package/esm/dist/src/FiscalDocumentYearHelper.d.ts +9 -5
- package/esm/dist/src/FiscalDocumentYearHelper.d.ts.map +1 -1
- package/esm/dist/src/FiscalDocumentYearHelper.js +16 -12
- package/esm/dist/src/FiscalDocumentYearHelper.js.map +1 -1
- package/esm/dist/src/Throttle.d.ts +3 -0
- package/esm/dist/src/Throttle.d.ts.map +1 -1
- package/esm/dist/src/Throttle.js +3 -0
- package/esm/dist/src/Throttle.js.map +1 -1
- package/package.json +2 -2
|
@@ -16,10 +16,6 @@ export declare class FiscalDocumentYearHelper {
|
|
|
16
16
|
* Current month in Belgium (1-12)
|
|
17
17
|
*/
|
|
18
18
|
readonly month: number;
|
|
19
|
-
/**
|
|
20
|
-
* Previous year if no fiscal document can be created for the current year. Otherwise the current year.
|
|
21
|
-
*/
|
|
22
|
-
get defaultCalendarYear(): number;
|
|
23
19
|
/**
|
|
24
20
|
* Returns if a fiscal document for this year can be created.
|
|
25
21
|
*/
|
|
@@ -28,9 +24,17 @@ export declare class FiscalDocumentYearHelper {
|
|
|
28
24
|
* Max publish date is before 1 march of next year.
|
|
29
25
|
*/
|
|
30
26
|
getPublishDeadlineForYear(calendarYear: number): DateTime;
|
|
27
|
+
/**
|
|
28
|
+
* Should at the very very last date download Belcotax by 1st of july
|
|
29
|
+
*/
|
|
30
|
+
getAbsoluteDeadlineForYear(calendarYear: number): DateTime;
|
|
31
|
+
/**
|
|
32
|
+
* Check if the fiscal document XML can be downloaded. It can be downloaded if the fiscal document was created after the max publish date or if now is before the max publish date.
|
|
33
|
+
*/
|
|
34
|
+
canDownloadFiscalDocumentXML(calendarYear: number): boolean;
|
|
31
35
|
/**
|
|
32
36
|
* Check if the fiscal document XML can be downloaded. It can be downloaded if the fiscal document was created after the max publish date or if now is before the max publish date.
|
|
33
37
|
*/
|
|
34
|
-
|
|
38
|
+
isAfterDeadline(calendarYear: number): boolean;
|
|
35
39
|
}
|
|
36
40
|
//# sourceMappingURL=FiscalDocumentYearHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiscalDocumentYearHelper.d.ts","sourceRoot":"","sources":["../../src/FiscalDocumentYearHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,qBAAa,wBAAwB;IACjC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,GAAG,CACY;IAEhC;;MAEE;IACF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAE/B;IAET;;OAEG;IACH,QAAQ,CAAC,IAAI,SAAiB;IAE9B;;OAEG;IACH,QAAQ,CAAC,KAAK,SAAkB;IAEhC;;OAEG;IACH,IAAI,
|
|
1
|
+
{"version":3,"file":"FiscalDocumentYearHelper.d.ts","sourceRoot":"","sources":["../../src/FiscalDocumentYearHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,qBAAa,wBAAwB;IACjC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,GAAG,CACY;IAEhC;;MAEE;IACF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAE/B;IAET;;OAEG;IACH,QAAQ,CAAC,IAAI,SAAiB;IAE9B;;OAEG;IACH,QAAQ,CAAC,KAAK,SAAkB;IAEhC;;OAEG;IACH,IAAI,qCAAqC,IAAI,OAAO,CAEnD;IAED;;OAEG;IACH,yBAAyB,CAAC,YAAY,EAAE,MAAM,GAAG,QAAQ;IAKzD;;OAEG;IACH,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,QAAQ;IAI1D;;OAEG;IACH,4BAA4B,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO;IAM3D;;OAEG;IACH,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO;CAIjD"}
|
|
@@ -22,15 +22,6 @@ class FiscalDocumentYearHelper {
|
|
|
22
22
|
*/
|
|
23
23
|
this.month = this.now.month;
|
|
24
24
|
}
|
|
25
|
-
/**
|
|
26
|
-
* Previous year if no fiscal document can be created for the current year. Otherwise the current year.
|
|
27
|
-
*/
|
|
28
|
-
get defaultCalendarYear() {
|
|
29
|
-
if (this.month <= this.allowCreationAfterMonth) {
|
|
30
|
-
return this.year - 1;
|
|
31
|
-
}
|
|
32
|
-
return this.year;
|
|
33
|
-
}
|
|
34
25
|
/**
|
|
35
26
|
* Returns if a fiscal document for this year can be created.
|
|
36
27
|
*/
|
|
@@ -44,13 +35,26 @@ class FiscalDocumentYearHelper {
|
|
|
44
35
|
// max publish date is before 1 march of next year
|
|
45
36
|
return luxon_1.DateTime.fromObject({ year: calendarYear + 1, month: 3, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, { zone: 'Europe/Brussels' });
|
|
46
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Should at the very very last date download Belcotax by 1st of july
|
|
40
|
+
*/
|
|
41
|
+
getAbsoluteDeadlineForYear(calendarYear) {
|
|
42
|
+
return luxon_1.DateTime.fromObject({ year: calendarYear + 1, month: 7, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, { zone: 'Europe/Brussels' });
|
|
43
|
+
}
|
|
47
44
|
/**
|
|
48
45
|
* Check if the fiscal document XML can be downloaded. It can be downloaded if the fiscal document was created after the max publish date or if now is before the max publish date.
|
|
49
46
|
*/
|
|
50
|
-
canDownloadFiscalDocumentXML(calendarYear
|
|
51
|
-
const deadline = this.
|
|
47
|
+
canDownloadFiscalDocumentXML(calendarYear) {
|
|
48
|
+
const deadline = this.getAbsoluteDeadlineForYear(calendarYear).toJSDate();
|
|
52
49
|
// if created after max publish date or if now is before max publish date
|
|
53
|
-
return
|
|
50
|
+
return new Date().getTime() < deadline.getTime();
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if the fiscal document XML can be downloaded. It can be downloaded if the fiscal document was created after the max publish date or if now is before the max publish date.
|
|
54
|
+
*/
|
|
55
|
+
isAfterDeadline(calendarYear) {
|
|
56
|
+
const deadline = this.getPublishDeadlineForYear(calendarYear).toJSDate();
|
|
57
|
+
return new Date().getTime() >= deadline.getTime();
|
|
54
58
|
}
|
|
55
59
|
}
|
|
56
60
|
exports.FiscalDocumentYearHelper = FiscalDocumentYearHelper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiscalDocumentYearHelper.js","sourceRoot":"","sources":["../../src/FiscalDocumentYearHelper.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AAEjC,MAAa,wBAAwB;IAArC;QACI;;WAEG;QACc,QAAG,GAAG,gBAAQ,CAAC,GAAG,EAAE;aAChC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAEhC;;UAEE;QACe,4BAAuB,GAElC,EAAE,CAAC;QAET;;WAEG;QACM,SAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;QAE9B;;WAEG;QACM,UAAK,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"FiscalDocumentYearHelper.js","sourceRoot":"","sources":["../../src/FiscalDocumentYearHelper.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AAEjC,MAAa,wBAAwB;IAArC;QACI;;WAEG;QACc,QAAG,GAAG,gBAAQ,CAAC,GAAG,EAAE;aAChC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAEhC;;UAEE;QACe,4BAAuB,GAElC,EAAE,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AG,IAAI,CAAC,yBAAyB,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,CAAC;QACzE,OAAO,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;IACtD,CAAC;CACJ;AA9DD,4DA8DC"}
|
package/dist/src/Throttle.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Throttle.d.ts","sourceRoot":"","sources":["../../src/Throttle.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,MAGzB,MAAM,GAAG,SAgB7B,CAAC"}
|
|
1
|
+
{"version":3,"file":"Throttle.d.ts","sourceRoot":"","sources":["../../src/Throttle.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,MAGzB,MAAM,GAAG,SAgB7B,CAAC"}
|
package/dist/src/Throttle.js
CHANGED
package/dist/src/Throttle.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Throttle.js","sourceRoot":"","sources":["../../src/Throttle.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Throttle.js","sourceRoot":"","sources":["../../src/Throttle.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACI,MAAM,QAAQ,GAAG,CAAC,IAAS,EAAE,KAAU,EAAE,EAAE;IAC9C,IAAI,QAAwB,CAAC;IAC7B,IAAI,OAAY,CAAC;IACjB,OAAO;QACH,MAAM,OAAO,GAAG,IAAI,CAAC;QACrB,8CAA8C;QAC9C,MAAM,IAAI,GAAG,SAAS,CAAC;QACvB,IAAI,OAAO,EAAE,CAAC;YACV,YAAY,CAAC,QAAQ,CAAC,CAAC;QAC3B,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAErB,QAAQ,GAAG,UAAU,CAAC;YAClB,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,OAAO,IAAI,KAAK,EAAE,CAAC;gBAChC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAC1B,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;YACzB,CAAC;QACL,CAAC,EAAE,KAAK,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC;IACvC,CAAC,CAAC;AACN,CAAC,CAAC;AAnBW,QAAA,QAAQ,YAmBnB"}
|
|
@@ -16,10 +16,6 @@ export declare class FiscalDocumentYearHelper {
|
|
|
16
16
|
* Current month in Belgium (1-12)
|
|
17
17
|
*/
|
|
18
18
|
readonly month: number;
|
|
19
|
-
/**
|
|
20
|
-
* Previous year if no fiscal document can be created for the current year. Otherwise the current year.
|
|
21
|
-
*/
|
|
22
|
-
get defaultCalendarYear(): number;
|
|
23
19
|
/**
|
|
24
20
|
* Returns if a fiscal document for this year can be created.
|
|
25
21
|
*/
|
|
@@ -28,9 +24,17 @@ export declare class FiscalDocumentYearHelper {
|
|
|
28
24
|
* Max publish date is before 1 march of next year.
|
|
29
25
|
*/
|
|
30
26
|
getPublishDeadlineForYear(calendarYear: number): DateTime;
|
|
27
|
+
/**
|
|
28
|
+
* Should at the very very last date download Belcotax by 1st of july
|
|
29
|
+
*/
|
|
30
|
+
getAbsoluteDeadlineForYear(calendarYear: number): DateTime;
|
|
31
|
+
/**
|
|
32
|
+
* Check if the fiscal document XML can be downloaded. It can be downloaded if the fiscal document was created after the max publish date or if now is before the max publish date.
|
|
33
|
+
*/
|
|
34
|
+
canDownloadFiscalDocumentXML(calendarYear: number): boolean;
|
|
31
35
|
/**
|
|
32
36
|
* Check if the fiscal document XML can be downloaded. It can be downloaded if the fiscal document was created after the max publish date or if now is before the max publish date.
|
|
33
37
|
*/
|
|
34
|
-
|
|
38
|
+
isAfterDeadline(calendarYear: number): boolean;
|
|
35
39
|
}
|
|
36
40
|
//# sourceMappingURL=FiscalDocumentYearHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiscalDocumentYearHelper.d.ts","sourceRoot":"","sources":["../../../src/FiscalDocumentYearHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,qBAAa,wBAAwB;IACjC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,GAAG,CACY;IAEhC;;MAEE;IACF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAE/B;IAET;;OAEG;IACH,QAAQ,CAAC,IAAI,SAAiB;IAE9B;;OAEG;IACH,QAAQ,CAAC,KAAK,SAAkB;IAEhC;;OAEG;IACH,IAAI,
|
|
1
|
+
{"version":3,"file":"FiscalDocumentYearHelper.d.ts","sourceRoot":"","sources":["../../../src/FiscalDocumentYearHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,qBAAa,wBAAwB;IACjC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,GAAG,CACY;IAEhC;;MAEE;IACF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAE/B;IAET;;OAEG;IACH,QAAQ,CAAC,IAAI,SAAiB;IAE9B;;OAEG;IACH,QAAQ,CAAC,KAAK,SAAkB;IAEhC;;OAEG;IACH,IAAI,qCAAqC,IAAI,OAAO,CAEnD;IAED;;OAEG;IACH,yBAAyB,CAAC,YAAY,EAAE,MAAM,GAAG,QAAQ;IAKzD;;OAEG;IACH,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,QAAQ;IAI1D;;OAEG;IACH,4BAA4B,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO;IAM3D;;OAEG;IACH,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO;CAIjD"}
|
|
@@ -19,15 +19,6 @@ export class FiscalDocumentYearHelper {
|
|
|
19
19
|
*/
|
|
20
20
|
this.month = this.now.month;
|
|
21
21
|
}
|
|
22
|
-
/**
|
|
23
|
-
* Previous year if no fiscal document can be created for the current year. Otherwise the current year.
|
|
24
|
-
*/
|
|
25
|
-
get defaultCalendarYear() {
|
|
26
|
-
if (this.month <= this.allowCreationAfterMonth) {
|
|
27
|
-
return this.year - 1;
|
|
28
|
-
}
|
|
29
|
-
return this.year;
|
|
30
|
-
}
|
|
31
22
|
/**
|
|
32
23
|
* Returns if a fiscal document for this year can be created.
|
|
33
24
|
*/
|
|
@@ -41,13 +32,26 @@ export class FiscalDocumentYearHelper {
|
|
|
41
32
|
// max publish date is before 1 march of next year
|
|
42
33
|
return DateTime.fromObject({ year: calendarYear + 1, month: 3, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, { zone: 'Europe/Brussels' });
|
|
43
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Should at the very very last date download Belcotax by 1st of july
|
|
37
|
+
*/
|
|
38
|
+
getAbsoluteDeadlineForYear(calendarYear) {
|
|
39
|
+
return DateTime.fromObject({ year: calendarYear + 1, month: 7, day: 1, hour: 0, minute: 0, second: 0, millisecond: 0 }, { zone: 'Europe/Brussels' });
|
|
40
|
+
}
|
|
44
41
|
/**
|
|
45
42
|
* Check if the fiscal document XML can be downloaded. It can be downloaded if the fiscal document was created after the max publish date or if now is before the max publish date.
|
|
46
43
|
*/
|
|
47
|
-
canDownloadFiscalDocumentXML(calendarYear
|
|
48
|
-
const deadline = this.
|
|
44
|
+
canDownloadFiscalDocumentXML(calendarYear) {
|
|
45
|
+
const deadline = this.getAbsoluteDeadlineForYear(calendarYear).toJSDate();
|
|
49
46
|
// if created after max publish date or if now is before max publish date
|
|
50
|
-
return
|
|
47
|
+
return new Date().getTime() < deadline.getTime();
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if the fiscal document XML can be downloaded. It can be downloaded if the fiscal document was created after the max publish date or if now is before the max publish date.
|
|
51
|
+
*/
|
|
52
|
+
isAfterDeadline(calendarYear) {
|
|
53
|
+
const deadline = this.getPublishDeadlineForYear(calendarYear).toJSDate();
|
|
54
|
+
return new Date().getTime() >= deadline.getTime();
|
|
51
55
|
}
|
|
52
56
|
}
|
|
53
57
|
//# sourceMappingURL=FiscalDocumentYearHelper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiscalDocumentYearHelper.js","sourceRoot":"","sources":["../../../src/FiscalDocumentYearHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,OAAO,wBAAwB;IAArC;QACI;;WAEG;QACc,QAAG,GAAG,QAAQ,CAAC,GAAG,EAAE;aAChC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAEhC;;UAEE;QACe,4BAAuB,GAElC,EAAE,CAAC;QAET;;WAEG;QACM,SAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;QAE9B;;WAEG;QACM,UAAK,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"FiscalDocumentYearHelper.js","sourceRoot":"","sources":["../../../src/FiscalDocumentYearHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,OAAO,wBAAwB;IAArC;QACI;;WAEG;QACc,QAAG,GAAG,QAAQ,CAAC,GAAG,EAAE;aAChC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAEhC;;UAEE;QACe,4BAAuB,GAElC,EAAE,CAAC;QAET;;WAEG;QACM,SAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;QAE9B;;WAEG;QACM,UAAK,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;IAwCpC,CAAC;IAtCG;;OAEG;IACH,IAAI,qCAAqC;QACrC,OAAO,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,uBAAuB,CAAC;IACrD,CAAC;IAED;;OAE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ings":"AAAA,eAAO,MAAM,QAAQ,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,MAGzB,MAAM,GAAG,SAgB7B,CAAC"}
|
|
1
|
+
{"version":3,"file":"Throttle.d.ts","sourceRoot":"","sources":["../../../src/Throttle.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,MAGzB,MAAM,GAAG,SAgB7B,CAAC"}
|
package/esm/dist/src/Throttle.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Throttle.js","sourceRoot":"","sources":["../../../src/Throttle.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,IAAS,EAAE,KAAU,EAAE,EAAE;IAC9C,IAAI,QAAwB,CAAC;IAC7B,IAAI,OAAY,CAAC;IACjB,OAAO;QACH,MAAM,OAAO,GAAG,IAAI,CAAC;QACrB,8CAA8C;QAC9C,MAAM,IAAI,GAAG,SAAS,CAAC;QACvB,IAAI,OAAO,EAAE,CAAC;YACV,YAAY,CAAC,QAAQ,CAAC,CAAC;QAC3B,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAErB,QAAQ,GAAG,UAAU,CAAC;YAClB,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,OAAO,IAAI,KAAK,EAAE,CAAC;gBAChC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAC1B,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;YACzB,CAAC;QACL,CAAC,EAAE,KAAK,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC;IACvC,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"Throttle.js","sourceRoot":"","sources":["../../../src/Throttle.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,IAAS,EAAE,KAAU,EAAE,EAAE;IAC9C,IAAI,QAAwB,CAAC;IAC7B,IAAI,OAAY,CAAC;IACjB,OAAO;QACH,MAAM,OAAO,GAAG,IAAI,CAAC;QACrB,8CAA8C;QAC9C,MAAM,IAAI,GAAG,SAAS,CAAC;QACvB,IAAI,OAAO,EAAE,CAAC;YACV,YAAY,CAAC,QAAQ,CAAC,CAAC;QAC3B,CAAC;QACD,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAErB,QAAQ,GAAG,UAAU,CAAC;YAClB,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,OAAO,IAAI,KAAK,EAAE,CAAC;gBAChC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAC1B,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;YACzB,CAAC;QACL,CAAC,EAAE,KAAK,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC;IACvC,CAAC,CAAC;AACN,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stamhoofd/utility",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.117.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./esm/dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "ad4b006dca3aa5a7c14b2afc83b6df3c2a72424c"
|
|
23
23
|
}
|