Comparing version 0.1.4 to 0.1.5
@@ -42,2 +42,5 @@ "use strict"; | ||
get: intercept(wrapper || {}), | ||
set: () => { | ||
throw new Error('Illegal access to an immutable object.'); | ||
}, | ||
}); | ||
@@ -44,0 +47,0 @@ return [target, proxy]; |
@@ -16,3 +16,3 @@ import { ClientConfig, NexusConfig } from '../common'; | ||
export declare type System = SystemInstance & SystemWrapper; | ||
declare const _default: Readonly<SystemInstance & SystemWrapper>; | ||
export default _default; | ||
declare const system: SystemInstance & SystemWrapper; | ||
export default system; |
@@ -34,2 +34,3 @@ "use strict"; | ||
Object.assign(instance, { getLibModule, nexus }); | ||
Object.freeze(instance); | ||
initialized = true; | ||
@@ -39,2 +40,2 @@ }); | ||
const [instance, system] = common_1.proxyWrap({}, { init }); | ||
exports.default = Object.freeze(system); | ||
exports.default = system; |
{ | ||
"name": "bf-lib", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "the standard client library for block-5 services", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
33401
37
765