Changelog
0.8.0
- Tune Intents are now supported in
navigateTo
events - 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
bigint
types 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
.mjs
extension - Firebolt builds are now pure ES6 modules, not bundled with Webpack
- Added
types
path to package.json - Fixed TypeScript declarations for
FlatMap
andBooleanMap
- Added TypeScript return type declarations for
listen
andonce
(all modules) - Added TypeScript declaration for
clear
method (all modules) - Changed
{}
return type tovoid
for 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
type
as first parameter - Created window.__firebolt.testHarness handshake (for Mock TL only)
- Added
LocalizedString
type for localized string dictionaries - Updated
Discovery.watchNext
to useLocalizedString
fortitle
and each property ofimages
- Added
OfferingType
andProgramType
parameters 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
verifyContentRating
andverifyPurchase
toapproveContentRating
andapprovePurchase
respectively - Added
Profile.flags()
for distributor-specific profile flags - Added optional
source
field to allLifecycleEvents
- Complete rewrite of
Metrics
APIs (see docs) - Added
policyChanged
events toDiscovery
andAdvertising
- 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
coppa
parameter forAdvertising.confg()
into theoptions
object, and made it optional - Final version of
Advertising.policy().skipRestriction
semantics