diff --git a/extensions/minimax-portal-auth/index.ts b/extensions/minimax-portal-auth/index.ts index 731404eb867..6eee6bdabe1 100644 --- a/extensions/minimax-portal-auth/index.ts +++ b/extensions/minimax-portal-auth/index.ts @@ -3,7 +3,7 @@ import { type OpenClawPluginApi, type ProviderAuthContext, type ProviderAuthResult, -} from "openclaw/plugin-sdk/core"; +} from "openclaw/plugin-sdk/minimax-portal-auth"; import { loginMiniMaxPortalOAuth, type MiniMaxRegion } from "./oauth.js"; const PROVIDER_ID = "minimax-portal"; diff --git a/extensions/minimax-portal-auth/oauth.ts b/extensions/minimax-portal-auth/oauth.ts index 016af72dbd5..5b18c13d3a4 100644 --- a/extensions/minimax-portal-auth/oauth.ts +++ b/extensions/minimax-portal-auth/oauth.ts @@ -1,5 +1,8 @@ import { randomBytes, randomUUID } from "node:crypto"; -import { generatePkceVerifierChallenge, toFormUrlEncoded } from "openclaw/plugin-sdk/compat"; +import { + generatePkceVerifierChallenge, + toFormUrlEncoded, +} from "openclaw/plugin-sdk/minimax-portal-auth"; export type MiniMaxRegion = "cn" | "global";