magpie-multi-usage 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/package.json +1 -1
- package/src/aggregator.mjs +1 -1
- package/src/github-store.mjs +1 -1
- package/src/http-server.mjs +1 -1
- package/src/sync-engine.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "magpie-multi-usage",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Multi-device token usage dashboard plugin for Magpie using a dedicated private GitHub repository relay (no decryption passphrase required).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.mjs",
|
package/src/aggregator.mjs
CHANGED
package/src/github-store.mjs
CHANGED
|
@@ -224,7 +224,7 @@ export function createGitHubRelayStore({
|
|
|
224
224
|
apiBaseUrl = DEFAULT_API_BASE_URL,
|
|
225
225
|
fetchImpl = globalThis.fetch,
|
|
226
226
|
timeoutMs = 15000,
|
|
227
|
-
pluginVersion = "0.1.
|
|
227
|
+
pluginVersion = "0.1.1",
|
|
228
228
|
} = {}) {
|
|
229
229
|
const normalizedRepo = normalizeRepo(repo);
|
|
230
230
|
if (!normalizedRepo) {
|
package/src/http-server.mjs
CHANGED
|
@@ -19,7 +19,7 @@ import { createSyncEngine } from "./sync-engine.mjs";
|
|
|
19
19
|
|
|
20
20
|
export const TOKEN_HEADER = "x-multi-usage-token";
|
|
21
21
|
export const DEFAULT_PORT = DEFAULT_CONFIG.port;
|
|
22
|
-
export const PLUGIN_VERSION = "0.1.
|
|
22
|
+
export const PLUGIN_VERSION = "0.1.1";
|
|
23
23
|
|
|
24
24
|
const MAX_JSON_BODY_BYTES = 256 * 1024;
|
|
25
25
|
const ALLOWED_RANGES = new Set(["today", "7d", "30d", "all"]);
|
package/src/sync-engine.mjs
CHANGED