@lightningtv/solid
Advanced tools
Comparing version 1.6.6 to 2.0.0
@@ -5,3 +5,3 @@ import { type IntrinsicNodeProps, type IntrinsicTextProps, type RendererMain, type RendererMainSettings } from '@lightningtv/core'; | ||
export declare const rootNode: import("@lightningtv/core").ElementNode; | ||
export declare function createRenderer(rendererOptions?: RendererMainSettings | undefined, node?: HTMLElement | string): { | ||
export declare function createRenderer(rendererOptions: RendererMainSettings, node?: HTMLElement | string): { | ||
renderer: RendererMain; | ||
@@ -8,0 +8,0 @@ rootNode: import("@lightningtv/core").ElementNode; |
@@ -13,4 +13,4 @@ import { createRenderer as solidCreateRenderer } from 'solid-js/universal'; | ||
}; | ||
export function createRenderer(rendererOptions = Config.rendererOptions, node) { | ||
renderer = startLightningRenderer(rendererOptions, node || 'app'); | ||
export function createRenderer(rendererOptions, node) { | ||
renderer = startLightningRenderer(rendererOptions || Config.rendererOptions, node || 'app'); | ||
//Prevent this from happening automatically | ||
@@ -17,0 +17,0 @@ Config.setActiveElement = setActiveElement; |
{ | ||
"name": "@lightningtv/solid", | ||
"version": "1.6.6", | ||
"version": "2.0.0", | ||
"description": "Lightning Renderer for Solid Universal", | ||
@@ -45,3 +45,3 @@ "type": "module", | ||
"dependencies": { | ||
"@lightningtv/core": "^1.5.7", | ||
"@lightningtv/core": "^2.0.0", | ||
"@solid-primitives/event-listener": "^2.3.3", | ||
@@ -48,0 +48,0 @@ "@solid-primitives/mouse": "^2.0.19", |
@@ -32,6 +32,9 @@ import { createRenderer as solidCreateRenderer } from 'solid-js/universal'; | ||
export function createRenderer( | ||
rendererOptions: RendererMainSettings | undefined = Config.rendererOptions, | ||
rendererOptions: RendererMainSettings, | ||
node?: HTMLElement | string, | ||
) { | ||
renderer = startLightningRenderer(rendererOptions, node || 'app'); | ||
renderer = startLightningRenderer( | ||
rendererOptions || Config.rendererOptions, | ||
node || 'app', | ||
); | ||
//Prevent this from happening automatically | ||
@@ -38,0 +41,0 @@ Config.setActiveElement = setActiveElement; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1704
143795
+ Added@lightningjs/renderer@2.8.0(transitive)
+ Added@lightningtv/core@2.6.1(transitive)
- Removed@lightningjs/renderer@1.0.1(transitive)
- Removed@lightningjs/threadx@0.3.5(transitive)
- Removed@lightningtv/core@1.5.7(transitive)
- Removed@protobufjs/eventemitter@1.1.0(transitive)
- Removedmemize@2.1.0(transitive)
Updated@lightningtv/core@^2.0.0