Comparing version 0.1.4 to 0.1.5
@@ -22,5 +22,5 @@ import MuscleController from '../muscle/muscle-controller'; | ||
setRandomEmotionSet(): void; | ||
setEmotion(emotion: string, value: number): void; | ||
setEmotion(emotion: string, value: number, duration?: number): void; | ||
addListener(listener: Listener): void; | ||
} | ||
//# sourceMappingURL=grimace.d.ts.map |
@@ -67,4 +67,4 @@ "use strict"; | ||
} | ||
setEmotion(emotion, value) { | ||
this.emotionController.setEmotion(emotion, value); | ||
setEmotion(emotion, value, duration = 0.0) { | ||
this.emotionController.setEmotion(emotion, value, duration); | ||
} | ||
@@ -71,0 +71,0 @@ addListener(listener) { |
{ | ||
"name": "grimace", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "grimace shows what emotions look like", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
294749
0