refactor: move secure random helpers onto core sdk

This commit is contained in:
Peter Steinberger
2026-03-28 03:04:20 +00:00
parent b98a6c223d
commit 12b7327e16
7 changed files with 48 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
import { generateSecureToken } from "openclaw/plugin-sdk/infra-runtime";
import { generateSecureToken } from "openclaw/plugin-sdk/core";
const SLACK_EXTERNAL_ARG_MENU_TOKEN_BYTES = 18;
const SLACK_EXTERNAL_ARG_MENU_TOKEN_LENGTH = Math.ceil(