Skip to content

Commit 10327ce

Browse files
committed
chore: bump version to 1.0.4
Made-with: Cursor
1 parent cfa1d6f commit 10327ce

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mmx-cli",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "CLI for the MiniMax AI Platform",
55
"type": "module",
66
"engines": {
@@ -15,7 +15,7 @@
1515
"scripts": {
1616
"dev": "bun run src/main.ts",
1717
"build": "bun run build.ts",
18-
"build:dev": "bun build src/main.ts --outfile dist/mmx.mjs --target node --minify --define \"process.env.CLI_VERSION='1.0.3'\" && printf '#!/usr/bin/env node\\n' | cat - dist/mmx.mjs > dist/tmp && mv dist/tmp dist/mmx.mjs && chmod +x dist/mmx.mjs",
18+
"build:dev": "bun build src/main.ts --outfile dist/mmx.mjs --target node --minify --define \"process.env.CLI_VERSION='1.0.4'\" && printf '#!/usr/bin/env node\\n' | cat - dist/mmx.mjs > dist/tmp && mv dist/tmp dist/mmx.mjs && chmod +x dist/mmx.mjs",
1919
"prepublishOnly": "bun run build",
2020
"lint": "eslint src/ test/",
2121
"typecheck": "tsc --noEmit",

src/client/http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface RequestOpts {
2020
export async function request(config: Config, opts: RequestOpts): Promise<Response> {
2121
const isFormData = typeof FormData !== 'undefined' && opts.body instanceof FormData;
2222

23-
const version = process.env.CLI_VERSION ?? '1.0.3';
23+
const version = process.env.CLI_VERSION ?? '1.0.4';
2424
const headers: Record<string, string> = {
2525
'User-Agent': `mmx-cli/${version}`,
2626
...opts.headers,

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { checkForUpdate, getPendingUpdateNotification } from './update/checker';
99
import { loadCredentials } from './auth/credentials';
1010
import { ensureApiKey } from './auth/setup';
1111

12-
const CLI_VERSION = process.env.CLI_VERSION ?? '1.0.3';
12+
const CLI_VERSION = process.env.CLI_VERSION ?? '1.0.4';
1313

1414
// Handle Ctrl+C gracefully
1515
process.on('SIGINT', () => {

0 commit comments

Comments
 (0)