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