Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Commit

Permalink
> modified: es6/zil/index.js
Browse files Browse the repository at this point in the history
>	modified:   lib/zil/index.js
>	modified:   package.json
  • Loading branch information
CapCap_ghostcorn authored and CapCap_ghostcorn committed Aug 28, 2018
1 parent 456ba82 commit 85f4921
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions es6/zil/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ const mapPropertyToObjects = (main) => {
propertyObjects.map((data) => {
const zilProperty = new Property(data)
const zilName = data.name
zilProperty.setMessanger(main.messanger)
const zilObject = {
get: zilProperty.propertyBuilder(),
enumerable: true
}
console.log({ zilName, zilObject })
zilProperty.setMessanger(main.messanger)
return Object.defineProperty(main, zilName, zilObject)
})
}
Expand Down
3 changes: 1 addition & 2 deletions lib/zil/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,11 @@ var mapPropertyToObjects = function mapPropertyToObjects(main) {
_propertyObjects2.default.map(function (data) {
var zilProperty = new _property2.default(data);
var zilName = data.name;
zilProperty.setMessanger(main.messanger);
var zilObject = {
get: zilProperty.propertyBuilder(),
enumerable: true
};
console.log({ zilName: zilName, zilObject: zilObject });
zilProperty.setMessanger(main.messanger);
return (0, _defineProperty2.default)(main, zilName, zilObject);
});
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webz.js",
"version": "0.0.20",
"version": "0.0.21",
"description": "Zilliqa Javascript Libraries",
"main": "lib/index.js",
"browser": "dist/Webz.browser.js",
Expand Down

0 comments on commit 85f4921

Please sign in to comment.