Replace nap-proto-core with napcat-protobuf package

Switched all imports from '@napneko/nap-proto-core' to the new 'napcat-protobuf' package across napcat-core and related packages. Updated dependencies and references to support the new package structure, improving maintainability and workspace integration.
This commit is contained in:
手瓜一十雪
2025-11-14 16:19:26 +08:00
parent 8bc8df32f9
commit 36aa08a8f5
98 changed files with 363 additions and 109 deletions

View File

@@ -1,6 +1,6 @@
import type { LoginRuntimeType } from '../types/data';
import store from 'napcat-common/src/store';
import { napCatVersion } from 'napcat-common/src/version';
import type { LoginRuntimeType } from '../types';
const LoginRuntime: LoginRuntimeType = {
LoginCurrentTime: Date.now(),

View File

@@ -1,5 +1,6 @@
import crypto from 'crypto';
import store from 'napcat-common/src/store';
import type { WebUiCredentialJson, WebUiCredentialInnerJson } from '@/napcat-webui-backend/types';
export class AuthHelper {
private static readonly secretKey = Math.random().toString(36).slice(2);