untappd-mcp 2.5.0 → 2.5.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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/dist/bundle.js +5 -3
- package/dist/cache/sync-brewery-likes.js +3 -2
- package/dist/compact.js +3 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "MCP server for Untappd — beers, breweries, venues, check-ins, wishlists, and your friend feed",
|
|
10
|
-
"version": "2.5.
|
|
10
|
+
"version": "2.5.1"
|
|
11
11
|
},
|
|
12
12
|
"plugins": [
|
|
13
13
|
{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"displayName": "Untappd",
|
|
16
16
|
"source": "./",
|
|
17
17
|
"description": "MCP server for Untappd — search beers/breweries/venues, read profiles/check-ins/wishlists, and post check-ins, toasts, and comments",
|
|
18
|
-
"version": "2.5.
|
|
18
|
+
"version": "2.5.1",
|
|
19
19
|
"author": {
|
|
20
20
|
"name": "Chris Hall"
|
|
21
21
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "untappd-mcp",
|
|
3
3
|
"displayName": "Untappd",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.1",
|
|
5
5
|
"description": "MCP server for Untappd — search beers/breweries/venues, read check-ins and wishlists, and post check-ins, toasts, and comments",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Chris Hall",
|
package/dist/bundle.js
CHANGED
|
@@ -59906,7 +59906,7 @@ function toolAnnotations(opts = {}) {
|
|
|
59906
59906
|
}
|
|
59907
59907
|
|
|
59908
59908
|
// src/version.ts
|
|
59909
|
-
var VERSION = "2.5.
|
|
59909
|
+
var VERSION = "2.5.1";
|
|
59910
59910
|
|
|
59911
59911
|
// src/client.ts
|
|
59912
59912
|
import { dirname as dirname2, join as join4 } from "path";
|
|
@@ -60503,7 +60503,9 @@ function compactBreweryBeerList(r, page, favorites) {
|
|
|
60503
60503
|
source: r.source,
|
|
60504
60504
|
fetched_at: r.fetched_at,
|
|
60505
60505
|
expires_at: r.expires_at,
|
|
60506
|
-
|
|
60506
|
+
// Always present (null when favorites aren't known: no cache, or no username) so
|
|
60507
|
+
// the cached and no-cache paths return the same keys.
|
|
60508
|
+
favorite: favorites ? favorites.brewery : null,
|
|
60507
60509
|
pagination: { offset: page.offset, limit: page.limit, next_offset: more ? page.offset + count2 : null },
|
|
60508
60510
|
beers: {
|
|
60509
60511
|
count: count2,
|
|
@@ -64755,7 +64757,7 @@ async function syncBreweryLikes(client2, cache, rawUsername, maxPages = 10) {
|
|
|
64755
64757
|
added += await cache.upsertBreweryLikes(rawUsername, rows, passStamp);
|
|
64756
64758
|
const next = offsetOf(data?.pagination?.offset);
|
|
64757
64759
|
const advanced = next !== null && next > offset ? next : offset + items.length;
|
|
64758
|
-
complete = items.length === 0 ||
|
|
64760
|
+
complete = items.length === 0 || total !== null && advanced >= total;
|
|
64759
64761
|
offset = advanced;
|
|
64760
64762
|
if (complete) removed = await cache.pruneBreweryLikes(rawUsername, passStamp);
|
|
64761
64763
|
await cache.setListState(rawUsername, BREWERY_LIKES_LIST, {
|
|
@@ -83,8 +83,9 @@ export async function syncBreweryLikes(client, cache, rawUsername, maxPages = 10
|
|
|
83
83
|
// pagination.offset is ABSENT on an empty list (live, 6a) — fall back to offset + items.
|
|
84
84
|
const next = offsetOf(data?.pagination?.offset);
|
|
85
85
|
const advanced = next !== null && next > offset ? next : offset + items.length;
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
// Without a total, a short page is not proof of the end (a route may serve fewer
|
|
87
|
+
// than it was asked for), so only an empty page ends the pass.
|
|
88
|
+
complete = items.length === 0 || (total !== null && advanced >= total);
|
|
88
89
|
offset = advanced;
|
|
89
90
|
if (complete)
|
|
90
91
|
removed = await cache.pruneBreweryLikes(rawUsername, passStamp);
|
package/dist/compact.js
CHANGED
|
@@ -122,7 +122,9 @@ export function compactBreweryBeerList(r, page, favorites) {
|
|
|
122
122
|
source: r.source,
|
|
123
123
|
fetched_at: r.fetched_at,
|
|
124
124
|
expires_at: r.expires_at,
|
|
125
|
-
|
|
125
|
+
// Always present (null when favorites aren't known: no cache, or no username) so
|
|
126
|
+
// the cached and no-cache paths return the same keys.
|
|
127
|
+
favorite: favorites ? favorites.brewery : null,
|
|
126
128
|
pagination: { offset: page.offset, limit: page.limit, next_offset: more ? page.offset + count : null },
|
|
127
129
|
beers: {
|
|
128
130
|
count,
|
package/dist/version.js
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
// json's `extra-files`), and `versionSyncTest` guards that it stays equal to
|
|
4
4
|
// package.json. Import VERSION wherever the version is needed rather than
|
|
5
5
|
// re-declaring it.
|
|
6
|
-
export const VERSION = '2.5.
|
|
6
|
+
export const VERSION = '2.5.1'; // x-release-please-version
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "untappd-mcp",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"mcpName": "io.github.chrischall/untappd-mcp",
|
|
5
5
|
"description": "Untappd MCP server for Claude — developed and maintained by AI (Claude Code)",
|
|
6
6
|
"author": "Claude Code (AI) <https://www.anthropic.com/claude>",
|
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/chrischall/untappd-mcp",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "2.5.
|
|
9
|
+
"version": "2.5.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "untappd-mcp",
|
|
14
|
-
"version": "2.5.
|
|
14
|
+
"version": "2.5.1",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|