From 3662f1ae24e75f3e154b2916423ef801219ef856 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Fri, 29 Mar 2019 15:03:37 +0100 Subject: [PATCH] Add Operator getter for backwards compatibility --- lib/kredits.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/kredits.js b/lib/kredits.js index be79c68..e67fa10 100644 --- a/lib/kredits.js +++ b/lib/kredits.js @@ -81,6 +81,10 @@ class Kredits { return this.contractFor('Proposal'); } + get Operator() { + return this.Proposal(); + } + get Token() { return this.contractFor('Token'); }