UNPKG

admob-ssv

Version:

Tool for validate AdMob rewarded ads signatures SSV

11 lines (10 loc) 385 B
import { type KeyObject } from 'node:crypto'; import type RawKeyRegister from '../rawkeys'; import type KeyDictCache from './cache'; export default class MemoryCache implements KeyDictCache { private keys; constructor(keys?: Array<RawKeyRegister>); has(id: number): Promise<boolean>; get(id: number): Promise<KeyObject>; save(key: RawKeyRegister): Promise<void>; }