@funnycode/myclaude 0.1.69 → 0.1.70

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/dist/myclaude.js CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.69",
8
- BUILD_TIME: "2026-07-15T01:55:18.082Z",
7
+ VERSION: "0.1.70",
8
+ BUILD_TIME: "2026-07-15T02:07:16.157Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -37985,6 +37985,11 @@ function getOauthConfig() {
37985
37985
  const oauthBaseUrl = process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;
37986
37986
  if (oauthBaseUrl) {
37987
37987
  const base2 = oauthBaseUrl.replace(/\/$/, "");
37988
+ try {
37989
+ new URL(base2);
37990
+ } catch {
37991
+ throw new Error(`CLAUDE_CODE_CUSTOM_OAUTH_URL is not a valid URL: ${base2}`);
37992
+ }
37988
37993
  if (!ALLOWED_OAUTH_BASE_URLS.includes(base2)) {
37989
37994
  throw new Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");
37990
37995
  }
package/dist/myclaude.mjs CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.69",
8
- BUILD_TIME: "2026-07-15T01:55:18.082Z",
7
+ VERSION: "0.1.70",
8
+ BUILD_TIME: "2026-07-15T02:07:16.157Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -37985,6 +37985,11 @@ function getOauthConfig() {
37985
37985
  const oauthBaseUrl = process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;
37986
37986
  if (oauthBaseUrl) {
37987
37987
  const base2 = oauthBaseUrl.replace(/\/$/, "");
37988
+ try {
37989
+ new URL(base2);
37990
+ } catch {
37991
+ throw new Error(`CLAUDE_CODE_CUSTOM_OAUTH_URL is not a valid URL: ${base2}`);
37992
+ }
37988
37993
  if (!ALLOWED_OAUTH_BASE_URLS.includes(base2)) {
37989
37994
  throw new Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");
37990
37995
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnycode/myclaude",
3
- "version": "0.1.69",
3
+ "version": "0.1.70",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
6
  "license": "MIT",