Plugins/minimax-portal-auth: migrate to scoped plugin-sdk imports

This commit is contained in:
Gustavo Madeira Santana
2026-03-04 02:33:06 -05:00
parent 6b19b7f37a
commit e42d345aee
2 changed files with 5 additions and 2 deletions

View File

@@ -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";

View File

@@ -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";