@@ -18,14 +18,14 @@ import {
1818} from "./matrix/client/env-auth.js" ;
1919import { resolveMatrixAccountStorageRoot , resolveMatrixCredentialsPath } from "./storage-paths.js" ;
2020
21- export type MatrixStoredCredentials = {
21+ type MatrixStoredCredentials = {
2222 homeserver : string ;
2323 userId : string ;
2424 accessToken : string ;
2525 deviceId ?: string ;
2626} ;
2727
28- export type MatrixMigrationAccountTarget = {
28+ type MatrixMigrationAccountTarget = {
2929 accountId : string ;
3030 homeserver : string ;
3131 userId : string ;
@@ -34,7 +34,7 @@ export type MatrixMigrationAccountTarget = {
3434 storedDeviceId : string | null ;
3535} ;
3636
37- export type MatrixLegacyFlatStoreTarget = MatrixMigrationAccountTarget & {
37+ type MatrixLegacyFlatStoreTarget = MatrixMigrationAccountTarget & {
3838 selectionNote ?: string ;
3939} ;
4040
@@ -64,7 +64,7 @@ function resolveMatrixFlatStoreSelectionNote(
6464 ) ;
6565}
6666
67- export function resolveMatrixMigrationConfigFields ( params : {
67+ function resolveMatrixMigrationConfigFields ( params : {
6868 cfg : OpenClawConfig ;
6969 env : NodeJS . ProcessEnv ;
7070 accountId : string ;
@@ -101,7 +101,7 @@ export function resolveMatrixMigrationConfigFields(params: {
101101 } ;
102102}
103103
104- export function loadStoredMatrixCredentials (
104+ function loadStoredMatrixCredentials (
105105 env : NodeJS . ProcessEnv ,
106106 accountId : string ,
107107) : MatrixStoredCredentials | null {
@@ -135,7 +135,7 @@ export function loadStoredMatrixCredentials(
135135 }
136136}
137137
138- export function credentialsMatchResolvedIdentity (
138+ function credentialsMatchResolvedIdentity (
139139 stored : MatrixStoredCredentials | null ,
140140 identity : {
141141 homeserver : string ;
0 commit comments