@heathmont/lab-flask
Advanced tools
Comparing version 0.6.6 to 0.7.0-0
@@ -8,12 +8,3 @@ "use strict"; | ||
var actKind = actKindEnum.toLowerCase(); | ||
var act; | ||
if (actKindEnum === 'REACTION') { | ||
act = actEnum.toLowerCase(); | ||
} | ||
else if (actKindEnum === 'ELEMENT') { | ||
act = actEnum.toLowerCase(); | ||
} | ||
else { | ||
throw Error(coingaming_protobuf_1.Proto.Global.ActKind[actKindEnum] + " is not implemented."); | ||
} | ||
var act = actEnum.toLowerCase(); | ||
return substance + "/" + actKind + "/" + act; | ||
@@ -20,0 +11,0 @@ }; |
{ | ||
"name": "@heathmont/lab-flask", | ||
"version": "0.6.6", | ||
"version": "0.7.0-0", | ||
"author": "Margus Lamp", | ||
@@ -11,3 +11,3 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@heathmont/coingaming-protobuf": "0.10.6", | ||
"@heathmont/coingaming-protobuf": "0.11.0-0", | ||
"@heathmont/node-logger": "^1.0.12", | ||
@@ -14,0 +14,0 @@ "@types/body-parser": "1.17.0", |
@@ -17,10 +17,4 @@ import { LabConfig, LabContext } from './index'; | ||
const actKind = actKindEnum.toLowerCase(); | ||
let act; | ||
if (actKindEnum === 'REACTION') { | ||
act = actEnum.toLowerCase(); | ||
} else if (actKindEnum === 'ELEMENT') { | ||
act = actEnum.toLowerCase(); | ||
} else { | ||
throw Error(`${Proto.Global.ActKind[actKindEnum]} is not implemented.`); | ||
} | ||
const act = actEnum.toLowerCase(); | ||
return `${substance}/${actKind}/${act}`; | ||
@@ -27,0 +21,0 @@ }; |
Sorry, the diff of this file is not supported yet
122685
72
2164