payrolla-mcp 0.2.3 → 0.2.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.
Files changed (2) hide show
  1. package/dist/index.js +15 -8
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -34,7 +34,6 @@ function buildCustomGlobalParams(customParams) {
34
34
  if (!customParams) return void 0;
35
35
  return {
36
36
  minWage: customParams.minWage,
37
- minWageNet: customParams.minWageNet,
38
37
  ssi_LowerLimit: customParams.ssiLowerLimit,
39
38
  ssi_UpperLimit: customParams.ssiUpperLimit,
40
39
  stampTaxRatio: customParams.stampTaxRatio,
@@ -170,9 +169,21 @@ var DEFAULT_PARAMS_2025 = {
170
169
  incomeTaxBrackets: [
171
170
  { limit: 158e3, rate: 0.15, description: "158,000 TL'ye kadar %15" },
172
171
  { limit: 33e4, rate: 0.2, description: "158,000-330,000 TL aras\u0131 %20" },
173
- { limit: 12e5, rate: 0.27, description: "330,000-1,200,000 TL aras\u0131 %27" },
174
- { limit: 43e5, rate: 0.35, description: "1,200,000-4,300,000 TL aras\u0131 %35" },
175
- { limit: Number.MAX_SAFE_INTEGER, rate: 0.4, description: "4,300,000 TL'den fazlas\u0131 %40" }
172
+ {
173
+ limit: 12e5,
174
+ rate: 0.27,
175
+ description: "330,000-1,200,000 TL aras\u0131 %27"
176
+ },
177
+ {
178
+ limit: 43e5,
179
+ rate: 0.35,
180
+ description: "1,200,000-4,300,000 TL aras\u0131 %35"
181
+ },
182
+ {
183
+ limit: Number.MAX_SAFE_INTEGER,
184
+ rate: 0.4,
185
+ description: "4,300,000 TL'den fazlas\u0131 %40"
186
+ }
176
187
  ]
177
188
  };
178
189
 
@@ -191,9 +202,6 @@ function applyScenario(defaults, scenario) {
191
202
  if (scenario.minWage !== void 0) {
192
203
  result.minWage = scenario.minWage;
193
204
  }
194
- if (scenario.minWageNet !== void 0) {
195
- result.minWageNet = scenario.minWageNet;
196
- }
197
205
  if (scenario.ssiLimitIncreasePercent !== void 0) {
198
206
  const multiplier = 1 + scenario.ssiLimitIncreasePercent / 100;
199
207
  result.ssiLowerLimit = defaults.ssiLowerLimit * multiplier;
@@ -256,7 +264,6 @@ async function simulateBudget(client, input) {
256
264
  scenarioApplied: {
257
265
  salaryRaisePercent: scenario.salaryRaisePercent || 0,
258
266
  effectiveMinWage: customParams.minWage || defaults.minWage,
259
- effectiveMinWageNet: customParams.minWageNet || defaults.minWageNet,
260
267
  effectiveTaxBrackets
261
268
  },
262
269
  summary: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payrolla-mcp",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "MCP server for Payrolla payroll budget simulations - enables LLMs to calculate Turkish payroll and simulate budget scenarios",
5
5
  "author": "Payrolla",
6
6
  "license": "MIT",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@modelcontextprotocol/sdk": "^1.0.0",
50
- "payrolla": "^0.2.2",
50
+ "payrolla": "^0.2.4",
51
51
  "zod": "^3.25.0"
52
52
  },
53
53
  "devDependencies": {