From e42d345aee1400455826b4bcdd7c549db2f7efd1 Mon Sep 17 00:00:00 2001 From: Gustavo Madeira Santana Date: Wed, 4 Mar 2026 02:33:06 -0500 Subject: [PATCH] Plugins/minimax-portal-auth: migrate to scoped plugin-sdk imports --- extensions/minimax-portal-auth/index.ts | 2 +- extensions/minimax-portal-auth/oauth.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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";