splitwise-mcp 2.1.1 → 2.1.2

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.
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "metadata": {
9
9
  "description": "MCP server for Splitwise — natural-language expense and group management via the Splitwise API",
10
- "version": "2.1.1"
10
+ "version": "2.1.2"
11
11
  },
12
12
  "plugins": [
13
13
  {
@@ -15,7 +15,7 @@
15
15
  "displayName": "Splitwise",
16
16
  "source": "./",
17
17
  "description": "MCP server for Splitwise — manage expenses, groups, and friends via natural language",
18
- "version": "2.1.1",
18
+ "version": "2.1.2",
19
19
  "author": {
20
20
  "name": "Chris Hall"
21
21
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "splitwise-mcp",
3
3
  "displayName": "Splitwise",
4
- "version": "2.1.1",
4
+ "version": "2.1.2",
5
5
  "description": "MCP server for Splitwise — natural-language expense and group management via the Splitwise API",
6
6
  "author": {
7
7
  "name": "Chris Hall",
package/dist/bundle.js CHANGED
@@ -3769,6 +3769,7 @@ var require_fast_uri = __commonJS({
3769
3769
  return uriTokens.join("");
3770
3770
  }
3771
3771
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
3772
+ var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
3772
3773
  function getParseError(parsed, matches) {
3773
3774
  if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
3774
3775
  return 'URI path must start with "/" when authority is present.';
@@ -3798,6 +3799,11 @@ var require_fast_uri = __commonJS({
3798
3799
  uri = "//" + uri;
3799
3800
  }
3800
3801
  }
3802
+ const authorityMatch = uri.match(AUTHORITY_PREFIX);
3803
+ if (authorityMatch !== null && authorityMatch[1].indexOf("\\") !== -1) {
3804
+ parsed.error = "URI authority must not contain a literal backslash.";
3805
+ malformedAuthorityOrPort = true;
3806
+ }
3801
3807
  const matches = uri.match(URI_PARSE);
3802
3808
  if (matches) {
3803
3809
  parsed.scheme = matches[1];
@@ -3841,7 +3847,7 @@ var require_fast_uri = __commonJS({
3841
3847
  if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
3842
3848
  if (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
3843
3849
  try {
3844
- parsed.host = URL.domainToASCII(parsed.host.toLowerCase());
3850
+ parsed.host = new URL("http://" + parsed.host).hostname;
3845
3851
  } catch (e) {
3846
3852
  parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
3847
3853
  }
@@ -4035,7 +4041,7 @@ var require_core = __commonJS({
4035
4041
  constructor(opts = {}) {
4036
4042
  this.schemas = {};
4037
4043
  this.refs = {};
4038
- this.formats = {};
4044
+ this.formats = /* @__PURE__ */ Object.create(null);
4039
4045
  this._compilations = /* @__PURE__ */ new Set();
4040
4046
  this._loading = {};
4041
4047
  this._cache = /* @__PURE__ */ new Map();
@@ -31732,7 +31738,7 @@ function registerUtilityTools(server, client2) {
31732
31738
  // src/index.ts
31733
31739
  await runMcp({
31734
31740
  name: "splitwise-mcp",
31735
- version: "2.1.1",
31741
+ version: "2.1.2",
31736
31742
  // x-release-please-version
31737
31743
  deps: client,
31738
31744
  banner: "[splitwise-mcp] This project was developed and is maintained by AI (Claude Sonnet 4.6). Use at your own discretion.",
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import { registerUtilityTools } from './tools/utilities.js';
17
17
  // per-request client into the same registrars instead of this singleton.
18
18
  await runMcp({
19
19
  name: 'splitwise-mcp',
20
- version: '2.1.1', // x-release-please-version
20
+ version: '2.1.2', // x-release-please-version
21
21
  deps: client,
22
22
  banner: '[splitwise-mcp] This project was developed and is maintained by AI (Claude Sonnet 4.6). Use at your own discretion.',
23
23
  tools: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "splitwise-mcp",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "mcpName": "io.github.chrischall/splitwise-mcp",
5
5
  "description": "Splitwise MCP server for Claude — developed and maintained by AI (Claude Code)",
6
6
  "author": "Claude Code (AI) <https://www.anthropic.com/claude>",
@@ -52,9 +52,9 @@
52
52
  "zod": "^4.4.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@chrischall/mcp-connector": "^0.1.0",
55
+ "@chrischall/mcp-connector": "^1.0.0",
56
56
  "@cloudflare/vitest-pool-workers": "^0.18.4",
57
- "@cloudflare/workers-oauth-provider": "^0.0.11",
57
+ "@cloudflare/workers-oauth-provider": "^0.8.1",
58
58
  "@cloudflare/workers-types": "^5.20260708.1",
59
59
  "@types/node": "^26.0.0",
60
60
  "@vitest/coverage-v8": "^4.1.2",
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/chrischall/splitwise-mcp",
7
7
  "source": "github"
8
8
  },
9
- "version": "2.1.1",
9
+ "version": "2.1.2",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "splitwise-mcp",
14
- "version": "2.1.1",
14
+ "version": "2.1.2",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },