Skip to content

Commit

Permalink
Merge pull request #342 from rdkcentral/dev
Browse files Browse the repository at this point in the history
v5.0.1
  • Loading branch information
michielvandergeest authored Aug 22, 2022
2 parents 8c112b9 + a57f8aa commit 2b25d37
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v5.0.1

*22 aug 2022*

- Fixed issue with metrological-sdk initialization sequence

## v5.0.0

*22 aug 2022*
Expand Down
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v5.0.1

*22 aug 2022*

- Fixed issue with metrological-sdk initialization sequence

## v5.0.0

*22 aug 2022*
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightningjs/sdk",
"version": "5.0.0",
"version": "5.0.1",
"license": "Apache-2.0",
"scripts": {
"postinstall": "node ./scripts/postinstall.js",
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightningjs/sdk",
"version": "5.0.0",
"version": "5.0.1",
"license": "Apache-2.0",
"scripts": {
"postinstall": "node ./scripts/postinstall.js",
Expand Down
11 changes: 10 additions & 1 deletion src/Launch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import Application from '../Application'
import Settings from '../Settings'
import Log from '../Log'
import Ads from '../Ads'
import Lightning from '../Lightning'

export let ApplicationInstance

Expand All @@ -56,7 +57,15 @@ export default (App, appSettings, platformSettings, appData) => {
platformSettings.plugins.pin && initPin(platformSettings.plugins.pin)
}
const app = Application(App, appData, platformSettings)

initLightningSdkPlugin.log = Log
initLightningSdkPlugin.settings = Settings
initLightningSdkPlugin.ads = Ads
initLightningSdkPlugin.lightning = Lightning

ApplicationInstance = new app(appSettings)
initLightningSdkPlugin(ApplicationInstance, Log, Settings, Ads)

initLightningSdkPlugin.appInstance = ApplicationInstance

return ApplicationInstance
}

0 comments on commit 2b25d37

Please sign in to comment.