utils: update exports
This commit is contained in:
@@ -48,7 +48,7 @@ export function makeCacheableSignalKeyStore(
|
||||
const data: { [_: string]: SignalDataTypeMap[typeof type] } = {}
|
||||
const idsToFetch: string[] = []
|
||||
for (const id of ids) {
|
||||
const item = await cache.get<SignalDataTypeMap[typeof type]>(getUniqueId(type, id)) as any
|
||||
const item = (await cache.get<SignalDataTypeMap[typeof type]>(getUniqueId(type, id))) as any
|
||||
if (typeof item !== 'undefined') {
|
||||
data[id] = item
|
||||
} else {
|
||||
|
||||
@@ -16,3 +16,5 @@ export * from './link-preview'
|
||||
export * from './event-buffer'
|
||||
export * from './process-message'
|
||||
export * from './message-retry-manager'
|
||||
export * from './browser-utils'
|
||||
export * from './proto-utils'
|
||||
|
||||
Reference in New Issue
Block a user