import BridgeFunction from './bridgeFunction'; import { getClientID } from '../../factory/api'; class GetStorageData extends BridgeFunction { name = 'getStorageData'; protected async executeFunction() { let storageKey = getClientID() + '.' + this.functionContext?.key; let value = await localStorage.getItem(storageKey); return this.cbHandler?.success({ [this.functionContext?.key]: value }); } } export default GetStorageData;