greenmotion-wasm
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -45,6 +45,7 @@ let wasm; | ||
* @param {number} vehicle_distance | ||
* @param {number} mpg | ||
* @returns {number} | ||
*/ | ||
export function calculateCarJoules(vehicle_distance) { | ||
const ret = wasm.calculateCarJoules(vehicle_distance); | ||
export function calculateCarJoules(vehicle_distance, mpg) { | ||
const ret = wasm.calculateCarJoules(vehicle_distance, mpg); | ||
return ret; | ||
@@ -51,0 +52,0 @@ } |
@@ -26,5 +26,6 @@ /* tslint:disable */ | ||
* @param {number} vehicle_distance | ||
* @param {number} mpg | ||
* @returns {number} | ||
*/ | ||
export function calculateCarJoules(vehicle_distance: number): number; | ||
export function calculateCarJoules(vehicle_distance: number, mpg: number): number; | ||
/** | ||
@@ -31,0 +32,0 @@ * @param {number} car_joules |
{ | ||
"name": "greenmotion-wasm", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "greenmotion_wasm_bg.wasm", |
Sorry, the diff of this file is not supported yet
3658
109