@beyond-js/widgets
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -27,3 +27,3 @@ define(["exports", "@beyond-js/kernel/bundle"], function (_exports, dependency_0) { | ||
ims.set('./startup', { | ||
hash: 1273520329, | ||
hash: 3891866801, | ||
creator: function (require, exports) { | ||
@@ -61,4 +61,4 @@ "use strict"; | ||
window.__ssr_fetch.then(ssr => { | ||
if (ssr.error) { | ||
console.error('Error getting ssr data:', ssr.error); | ||
if (!ssr.json || ssr.json.errors?.length) { | ||
console.error('Error getting ssr data:', ssr.json.errors); | ||
startup(); | ||
@@ -65,0 +65,0 @@ return; |
@@ -69,3 +69,3 @@ define(["exports", "@beyond-js/kernel/bundle", "@beyond-js/kernel/core", "@beyond-js/widgets/render", "@beyond-js/kernel/styles", "@beyond-js/kernel/routing", "@beyond-js/widgets/routing"], function (_exports, dependency_0, dependency_1, dependency_2, dependency_3, dependency_4, dependency_5) { | ||
ims.set('./client', { | ||
hash: 108585529, | ||
hash: 173431773, | ||
creator: function (require, exports) { | ||
@@ -185,2 +185,7 @@ "use strict"; | ||
if (!_bundle.instances.has(this.specs.id)) { | ||
console.log(`Bundle id "${this.specs.id}" not found. Try refreshing the page.\n` + `If the problem still persist, delete the BeyondJS cache and try again.`); | ||
return; | ||
} | ||
const pkg = _bundle.instances.get(this.specs.id).package(); | ||
@@ -187,0 +192,0 @@ |
@@ -15,9 +15,9 @@ /************ | ||
const ssr: { | ||
"__#57455@#main": string; | ||
"__#83093@#main": string; | ||
readonly main: string; | ||
"__#57455@#page": string; | ||
"__#83093@#page": string; | ||
readonly page: string; | ||
"__#57455@#layouts": string[]; | ||
"__#83093@#layouts": string[]; | ||
readonly layouts: string[]; | ||
"__#57455@#hierarchy": string[]; | ||
"__#83093@#hierarchy": string[]; | ||
readonly hierarchy: string[]; | ||
@@ -24,0 +24,0 @@ data(main: string, page: PageSSR): void; |
{ | ||
"name": "@beyond-js/widgets", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"keywords": [], | ||
@@ -29,3 +29,3 @@ "static": {}, | ||
"dependencies": { | ||
"@beyond-js/kernel": "0.0.18", | ||
"@beyond-js/kernel": "0.0.19", | ||
"socket.io-client": "^4.4.1" | ||
@@ -32,0 +32,0 @@ }, |
@@ -11,9 +11,9 @@ /************ | ||
const attributes: { | ||
"__#50552@#values": Map<string, string>; | ||
"__#76204@#values": Map<string, string>; | ||
readonly values: Map<string, string>; | ||
add(name: string, value: string): void; | ||
remove(name: string): void; | ||
"__#50551@#specs": ns_events_types.EventsSpecs; | ||
"__#50551@#listeners": Map<string, ns_events_types.ListenerSpecs[]>; | ||
"__#50551@#destroyed": boolean; | ||
"__#76203@#specs": ns_events_types.EventsSpecs; | ||
"__#76203@#listeners": Map<string, ns_events_types.ListenerSpecs[]>; | ||
"__#76203@#destroyed": boolean; | ||
readonly destroyed: boolean; | ||
@@ -158,3 +158,3 @@ on(event: string, listener: ns_events_types.ListenerFunction, priority?: number): any; | ||
const prerender: { | ||
readonly "__#50557@#ssr": IWidgetRendered[]; | ||
readonly "__#76209@#ssr": IWidgetRendered[]; | ||
readonly ssr: IWidgetRendered[]; | ||
@@ -321,8 +321,8 @@ find(element: string, attrs: Map<string, string>): IWidgetRendered; | ||
const globalcss: { | ||
"__#50562@#version": number; | ||
"__#76214@#version": number; | ||
readonly link: string; | ||
update(): void; | ||
"__#50551@#specs": ns_events_types.EventsSpecs; | ||
"__#50551@#listeners": Map<string, ns_events_types.ListenerSpecs[]>; | ||
"__#50551@#destroyed": boolean; | ||
"__#76203@#specs": ns_events_types.EventsSpecs; | ||
"__#76203@#listeners": Map<string, ns_events_types.ListenerSpecs[]>; | ||
"__#76203@#destroyed": boolean; | ||
readonly destroyed: boolean; | ||
@@ -374,3 +374,3 @@ on(event: string, listener: ns_events_types.ListenerFunction, priority?: number): any; | ||
const widgets: { | ||
"__#50565@#ssr": boolean; | ||
"__#76217@#ssr": boolean; | ||
readonly ssr: boolean; | ||
@@ -419,9 +419,9 @@ readonly hosts: { | ||
readonly attributes: { | ||
"__#50552@#values": Map<string, string>; | ||
"__#76204@#values": Map<string, string>; | ||
readonly values: Map<string, string>; | ||
add(name: string, value: string): void; | ||
remove(name: string): void; | ||
"__#50551@#specs": ns_events_types.EventsSpecs; | ||
"__#50551@#listeners": Map<string, ns_events_types.ListenerSpecs[]>; | ||
"__#50551@#destroyed": boolean; | ||
"__#76203@#specs": ns_events_types.EventsSpecs; | ||
"__#76203@#listeners": Map<string, ns_events_types.ListenerSpecs[]>; | ||
"__#76203@#destroyed": boolean; | ||
readonly destroyed: boolean; | ||
@@ -428,0 +428,0 @@ on(event: string, listener: ns_events_types.ListenerFunction, priority?: number): any; |
@@ -61,16 +61,16 @@ /************ | ||
const manager: { | ||
readonly "__#54054@#instances": { | ||
readonly "__#79692@#instances": { | ||
layouts: Layouts; | ||
pages: Pages; | ||
}; | ||
"__#54054@#initialised": boolean; | ||
"__#79692@#initialised": boolean; | ||
readonly initialised: boolean; | ||
"__#54054@#resolve": any; | ||
"__#54054@#ready": Promise<unknown>; | ||
"__#79692@#resolve": any; | ||
"__#79692@#ready": Promise<unknown>; | ||
readonly ready: Promise<unknown>; | ||
readonly layouts: Layouts; | ||
readonly pages: Pages; | ||
"__#54054@#main": Layout; | ||
"__#79692@#main": Layout; | ||
readonly main: Layout; | ||
"__#54054@#ct": CancellationToken; | ||
"__#79692@#ct": CancellationToken; | ||
set(uri: URI): Promise<void>; | ||
@@ -77,0 +77,0 @@ }; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
109626
3082
2
+ Added@beyond-js/kernel@0.0.19(transitive)
- Removed@beyond-js/kernel@0.0.18(transitive)
Updated@beyond-js/kernel@0.0.19