UNPKG

@openweb3-io/wallet-pay

Version:

Wallet Pay API client and wallet pay verification library

17 lines 546 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PromiseMiddlewareWrapper = void 0; const rxjsStub_1 = require("./rxjsStub"); class PromiseMiddlewareWrapper { constructor(middleware) { this.middleware = middleware; } pre(context) { return rxjsStub_1.from(this.middleware.pre(context)); } post(context) { return rxjsStub_1.from(this.middleware.post(context)); } } exports.PromiseMiddlewareWrapper = PromiseMiddlewareWrapper; //# sourceMappingURL=middleware.js.map