@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 +7 -2
- package/dist/myclaude.mjs +7 -2
- package/package.json +1 -1
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.
|
|
8
|
-
BUILD_TIME: "2026-07-
|
|
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.
|
|
8
|
-
BUILD_TIME: "2026-07-
|
|
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
|
}
|