UNPKG

@exromany/lido-csm-sdk

Version:

[![GitHub license](https://img.shields.io/github/license/lidofinance/lido-csm-sdk?color=limegreen)](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [![Version npm](https://img.shields.io/npm/v/@lidofinance/lido-csm-sdk?label=version)](h

29 lines 954 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CsmSDKModule = void 0; const bus_registry_js_1 = require("./bus-registry.js"); const csm_sdk_cacheable_js_1 = require("./csm-sdk-cacheable.js"); class CsmSDKModule extends csm_sdk_cacheable_js_1.CsmSDKCacheable { constructor(props, name) { super(); Object.defineProperty(this, "core", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "bus", { enumerable: true, configurable: true, writable: true, value: void 0 }); this.core = props.core; this.bus = props.bus ?? new bus_registry_js_1.BusRegistry(); if (name) { this.bus.register(this, name); } } } exports.CsmSDKModule = CsmSDKModule; //# sourceMappingURL=csm-sdk-module.js.map