Changelog
0.8.0
- Tune Intents are now supported in
navigateToevents - Added TypeScript declarations for Settings and Events
- Fixed/Removed test-enabling code from SDK
- Fixed bug where the SDK would initialize itself even when not being used
0.7.0
- Removed all
biginttypes from TypeScript declarations, in favor ofnumber, since bigint is not widely supported across browsers. This changes impacts:- Device.screenResolution
- Device.videoResolution
- Discovery.purchasedContent
- Metrics.mediaProgress
- Metrics.mediaSeeking
- Metrics.mediaSeeked
- Parameters.initialization
To upgrade to 0.7.0 simply change the type of any Firebolt Promise resolutions from bigint to number, e.g.:
const res:[bigin, bigint] = await Device.screenResolution()
Should become:
const res:[number, number] = await Device.screenResolution()
0.6.2
- Fixed incompatibility with Jest 26 due to jest/issues/10565
0.6.1
- Changed Firebolt build to use
.mjsextension - Firebolt builds are now pure ES6 modules, not bundled with Webpack
- Added
typespath to package.json - Fixed TypeScript declarations for
FlatMapandBooleanMap - Added TypeScript return type declarations for
listenandonce(all modules) - Added TypeScript declaration for
clearmethod (all modules) - Changed
{}return type tovoidfor listener callbacks
0.6.0
- Added support for rdkcentral/mock-firebolt via a WebSocket transport layer
- Deprecated Accessibility.closedCaptions and voiceGuidance, created properties for Accessibility.closedCaptionsSettings and voiceGuidanceSettings, which support subscribers
- Deprecated Device.listen(‘deviceNameChanged’), added support for subscribing to Device.name()
- Added support for subscribing to property changes: Device.audio, hdcp, hdr, name, network, screenResolution, videoResolution, Advertising.policy, Discovery.policy, Localization.language
- Added proper TypeScript declarations for Discovery.entityInfo and Discovery.purchasedContent
- Fixed race condition w/ Transport Layer initialization
0.5.2
- Added Parameters modules
- Fixed typo in Advertising.config example result for docs/Mock
- Updated Metrics.error signature to include
typeas first parameter - Created window.__firebolt.testHarness handshake (for Mock TL only)
- Added
LocalizedStringtype for localized string dictionaries - Updated
Discovery.watchNextto useLocalizedStringfortitleand each property ofimages - Added
OfferingTypeandProgramTypeparameters toDiscovery.purchasedContent
0.5.1
- Cleaned up errors in various Mock responses
- Methods that call private Metrics APIs, e.g. Lifecycle.ready, now do so after promise resolution
0.5.0
- Updated TS declarations (.d.ts) to detect which event is being passed to
.listen()methods - Updated all
listen()andonce()methods to return aPromise - Renamed
verifyContentRatingandverifyPurchasetoapproveContentRatingandapprovePurchaserespectively - Added
Profile.flags()for distributor-specific profile flags - Added optional
sourcefield to allLifecycleEvents - Complete rewrite of
MetricsAPIs (see docs) - Added
policyChangedevents toDiscoveryandAdvertising - Fixed duplicate RPC listen calls when listening to an event in slightly different ways, e.g.
once()vslisten() - Added Account, Authentication, Keyboard, Profile, SecondScreen modules
- Added Federated Search APIs to Discovery
- Added TypeScript/Intellisense declarations file
- Fixed spelling error on Accessibility module name
- Moved the
coppaparameter forAdvertising.confg()into theoptionsobject, and made it optional - Final version of
Advertising.policy().skipRestrictionsemantics