v1.4.0
- Adjust width, height and background color to be accessible before loaded.
v1.3.0
- Added index.js to .gitignore
- Made the configLoader change forceDefault accordingly
- Created a config file for the new tests refarding forceDefault.
- Created new tests in feeds.config
v1.2.0
- Updated package-json-lock to fix hoek vulnerability.
v1.1.0
- Fixed library version on example dependencies.
- Added library version to be retrieved from OpenLoop's tag or getter method.
- Added free_text on example (also added on sample.config.js).
- Simplfied logic (without switch) on feed usage of example.
- Added OL publisher version flag.
- Added setDefaultFrameId method.
- Added parseOpenLoopFlag utils method.
- Added getWidth and setDefaultWidth.
- Added getHeight and setDefaultHeight.
- Added getForceDefault and setDefaultForceDefault.
- Added getBackgroundColor and setDefaultBackgroundColor.
- Added isConfigLoaded.
- Adjusted example to use the new methods.
- Added unit tests for new methods.
- Added utils/parseOpenLoop flag.
- Re-using defaultable accessors with a common util called accessorFromOpenLoopFlag.
- Added feeds.json.addDefaultFeedFromFile
- Only loading default feeds from file is the real config file could not be loaded.
- Moved node pollyfills for tests to a /utils folder.
- Created nodeFetch pollyfill.
- Added onPlay and setDefaultPlayCallback methods to be used on players like broadsign (like BroadSignPlay callback).
- accessorFromOpenLoopFlag now supports value accessor handler for mappers and defaultValue accessors.
- Removed unnecessary variables to store OpenLoop flags, now using them directly on accessorFromOpenLoopFlag
- Config loader now force to next stack to avoid wrong use of the library using defaults.
- load method does not returns a promise anymore, now you should always use callbacks.
- Created nodeWindow to pollyfill window on all tests for nodeJs env.
- Added onPlay and example usage of setDefaultPlayCallback on creative example.
- Improved frameId to also detects BroadSignObject.frame_id if it is present.
- Added unit tests.
- Moved README to a doc folder so can be the source README file.
- Installed md-toc that automatically generates the Table of Contents of the readme and output to the README on the root folder.
- Adjusted README to document all the new features.
- Added onPlay and setDefaultPlayCallback methods to be used on players like broadsign (like BroadSignPlay callback).
- accessorFromOpenLoopFlag now supports value accessor handler for mappers and defaultValue accessors.
- Removed unnecessary variables to store OpenLoop flags, now using them directly on accessorFromOpenLoopFlag
- Config loader now force to next stack to avoid wrong use of the library using defaults.
- load method does not returns a promise anymore, now you should always use callbacks.
- Created nodeWindow to pollyfill window on all tests for nodeJs env.
- Added onPlay and example usage of setDefaultPlayCallback on creative example.
- Improved frameId to also detects BroadSignObject.frame_id if it is present.
- Added unit tests.