From 2d48709a13290115ccd8aeb6bef990bbf2922c03 Mon Sep 17 00:00:00 2001 From: s-traut Date: Sat, 2 Apr 2022 15:24:53 +0200 Subject: [PATCH] fixing function name --- index.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index d199dea..04a66b8 100644 --- a/index.js +++ b/index.js @@ -8,8 +8,8 @@ const { EASINGS, EVENTS } = require('./src/utils.js'); exports.Storyboard = Storyboard.Storyboard; exports.Sprite = Sprite.Sprite; exports.Animation = Animation.Animation; -exports.createEvent = Events.newEvent; -exports.createParam = Events.newParam; +exports.newEvent = Events.newEvent; +exports.newParam = Events.newParam; exports.Easing = EASINGS; exports.Event = EVENTS; exports.FromString = Storyboard.fromString; diff --git a/package.json b/package.json index 4b41e6d..36dda43 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dotosb", - "version": "1.6.5", + "version": "1.6.6", "description": "Simple, dependency free osb file parser", "main": "index.js", "keywords": ["parser", "text", "file", "osb", "motion-design", "no-deps"],