@mulmoclaude/accounting-plugin 0.1.0 → 0.1.1

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/vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ACCOUNTING_ACTIONS, ACCOUNTING_BOOKS_CHANNEL, FISCAL_YEAR_ENDS, SUPPORTED_COUNTRY_CODES, SUPPORTED_CURRENCY_CODES, bookChannel, countryHasFeature, currentFiscalYearRange, currentQuarterRange, decemberOfPreviousYearString, errorMessage, formatAmount, formatAmountNumeric, inputStepFor, isSupportedCountryCode, lastMonthOfPreviousQuarterString, localDateString, localMonthString, localizedCountryName, localizedCurrencyName, previousFiscalYearRange, previousMonthString, previousQuarterRange, resolveFiscalYearEnd } from "./shared.js";
1
+ import { ACCOUNTING_ACTIONS, ACCOUNTING_API, ACCOUNTING_BOOKS_CHANNEL, FISCAL_YEAR_ENDS, SUPPORTED_COUNTRY_CODES, SUPPORTED_CURRENCY_CODES, bookChannel, countryHasFeature, currentFiscalYearRange, currentQuarterRange, decemberOfPreviousYearString, errorMessage, formatAmount, formatAmountNumeric, inputStepFor, isSupportedCountryCode, lastMonthOfPreviousQuarterString, localDateString, localMonthString, localizedCountryName, localizedCurrencyName, previousFiscalYearRange, previousMonthString, previousQuarterRange, resolveFiscalYearEnd } from "./shared.js";
2
2
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, nextTick, normalizeClass, onMounted, onUnmounted, openBlock, reactive, ref, renderList, toDisplayString, unref, vModelSelect, vModelText, watch, withDirectives, withKeys, withModifiers } from "vue";
3
3
  import { useI18n } from "vue-i18n";
4
4
  //#region src/vue/hostContext.ts
@@ -19,8 +19,8 @@ function hostSubscribe(channel, handler) {
19
19
  }
20
20
  //#endregion
21
21
  //#region src/vue/api.ts
22
- var DISPATCH_URL = "/api/accounting";
23
- var DISPATCH_METHOD = "POST";
22
+ var DISPATCH_URL = ACCOUNTING_API.dispatch.path;
23
+ var DISPATCH_METHOD = ACCOUNTING_API.dispatch.method;
24
24
  function call(action, args = {}) {
25
25
  return hostApiCall(DISPATCH_URL, {
26
26
  method: DISPATCH_METHOD,