@mulmoclaude/accounting-plugin 2.0.0 → 2.1.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/server.cjs +3 -2
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +2 -1
- package/dist/server.js.map +1 -1
- package/dist/shared-BZAAF-I4.js.map +1 -1
- package/dist/shared-BpFVwa6Y.cjs.map +1 -1
- package/dist/vue.cjs +2 -1
- package/dist/vue.cjs.map +1 -1
- package/dist/vue.js +2 -1
- package/dist/vue.js.map +1 -1
- package/package.json +5 -5
package/dist/server.js
CHANGED
|
@@ -2022,9 +2022,10 @@ function validateTimeSeriesInput(input) {
|
|
|
2022
2022
|
async function loadTimeSeriesBookContext(requestedBookId, workspaceRoot) {
|
|
2023
2023
|
const config = await loadOrInitConfig(workspaceRoot);
|
|
2024
2024
|
const bookId = resolveBookId(config, requestedBookId);
|
|
2025
|
+
const book = findBook(config, bookId);
|
|
2025
2026
|
return {
|
|
2026
2027
|
bookId,
|
|
2027
|
-
fiscalYearEnd: resolveFiscalYearEnd(
|
|
2028
|
+
fiscalYearEnd: resolveFiscalYearEnd(book?.fiscalYearEnd),
|
|
2028
2029
|
accounts: await readAccounts(bookId, workspaceRoot)
|
|
2029
2030
|
};
|
|
2030
2031
|
}
|