oak-pay-business/lib/context/FrontendRuntimeContext.js

13 lines
525 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FrontendRuntimeContext = void 0;
const FrontendRuntimeContext_1 = require("oak-general-business/es/context/FrontendRuntimeContext");
class FrontendRuntimeContext extends FrontendRuntimeContext_1.FrontendRuntimeContext {
async toString() {
const data = await this.getSerializedData();
return JSON.stringify(data);
}
}
exports.FrontendRuntimeContext = FrontendRuntimeContext;
exports.default = FrontendRuntimeContext;