diff --git a/js/package.json b/js/package.json index 62fbba0..b9f795d 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "@anduintransaction/rivendell", - "version": "0.2.0", + "version": "0.2.1", "repository": { "type": "git", "url": "git+https://github.com/anduintransaction/rivendell.git" diff --git a/js/src/context.ts b/js/src/context.ts index f0c225f..c1e00aa 100644 --- a/js/src/context.ts +++ b/js/src/context.ts @@ -1,13 +1,9 @@ export class Context { - configs: Record; + configs: any; static Empty = new Context({}); - constructor(configs: Record) { + constructor(configs: any) { this.configs = configs; } - - merge(that: Context): Context { - return new Context(Object.assign({}, this.configs, that.configs)); - } }