sample-cross-fx 1.6.0-beta.7193 → 1.6.0-beta.7201

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/app/index.d.ts CHANGED
@@ -176,6 +176,7 @@ export interface PiralEventMap extends PiralCustomEventMap {
176
176
  "unload-pilet": PiralUnloadPiletEvent;
177
177
  [custom: string]: any;
178
178
  "store-data": PiralStoreDataEvent;
179
+ "unhandled-error": PiralUnhandledErrorEvent;
179
180
  }
180
181
 
181
182
  /**
@@ -591,6 +592,28 @@ export interface PiralStoreDataEvent<TValue = any> {
591
592
  expires: number;
592
593
  }
593
594
 
595
+ /**
596
+ * Gets fired when an unhandled error in a component has been prevented.
597
+ */
598
+ export interface PiralUnhandledErrorEvent {
599
+ /**
600
+ * The container showing the error / containing the component.
601
+ */
602
+ container: any;
603
+ /**
604
+ * The type of the error, i.e., the type of component that crashed.
605
+ */
606
+ errorType: string;
607
+ /**
608
+ * The actual error that was emitted.
609
+ */
610
+ error: Error;
611
+ /**
612
+ * The name of the pilet containing the problematic component.
613
+ */
614
+ pilet: string;
615
+ }
616
+
594
617
  export interface VueComponent<TProps> {
595
618
  /**
596
619
  * The root component of Vue rendering tree.
package/app/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <title>Sample - Cross Framework with Piral</title>
6
6
  <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
7
7
 
8
- <script defer src="/index.16807a.js"></script></head>
8
+ <script defer src="/index.19c62a.js"></script></head>
9
9
  <body>
10
10
  <div id="app"></div>
11
11
 
package/files.tar CHANGED
Binary file
package/files_once.tar CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sample-cross-fx",
3
3
  "description": "Example project illustrating the mixing of different (opt-in) frameworks via plugins.",
4
- "version": "1.6.0-beta.7193",
4
+ "version": "1.6.0-beta.7201",
5
5
  "license": "MIT",
6
6
  "homepage": "https://piral.io",
7
7
  "keywords": [
@@ -50,7 +50,7 @@
50
50
  "files": []
51
51
  },
52
52
  "piralCLI": {
53
- "version": "1.6.0-beta.7193",
53
+ "version": "1.6.0-beta.7201",
54
54
  "generated": true
55
55
  },
56
56
  "main": "./app/index.js",
@@ -65,8 +65,8 @@
65
65
  "@types/react-router": "^5.1.8",
66
66
  "@types/react-router-dom": "^5.1.6",
67
67
  "@vue/component-compiler-utils": "^3.0.0",
68
- "piral-cli": "^1.6.0-beta.7193",
69
- "piral-cli-webpack5": "^1.6.0-beta.7193",
68
+ "piral-cli": "^1.6.0-beta.7201",
69
+ "piral-cli-webpack5": "^1.6.0-beta.7201",
70
70
  "sass": "^1.17.0",
71
71
  "vue-template-compiler": "^2.6.10",
72
72
  "@angular/common": "16.2.9",
@@ -89,22 +89,22 @@
89
89
  "inferno-create-element": "7.4.11",
90
90
  "lit-element": "2.5.1",
91
91
  "mithril": "2.2.2",
92
- "piral-aurelia": "^1.6.0-beta.7193",
93
- "piral-blazor": "^1.6.0-beta.7193",
94
- "piral-core": "^1.6.0-beta.7193",
95
- "piral-elm": "^1.6.0-beta.7193",
96
- "piral-hyperapp": "^1.6.0-beta.7193",
97
- "piral-inferno": "^1.6.0-beta.7193",
98
- "piral-lazy": "^1.6.0-beta.7193",
99
- "piral-litel": "^1.6.0-beta.7193",
100
- "piral-mithril": "^1.6.0-beta.7193",
101
- "piral-ng": "^1.6.0-beta.7193",
102
- "piral-ngjs": "^1.6.0-beta.7193",
103
- "piral-preact": "^1.6.0-beta.7193",
104
- "piral-riot": "^1.6.0-beta.7193",
105
- "piral-solid": "^1.6.0-beta.7193",
106
- "piral-svelte": "^1.6.0-beta.7193",
107
- "piral-vue": "^1.6.0-beta.7193",
92
+ "piral-aurelia": "^1.6.0-beta.7201",
93
+ "piral-blazor": "^1.6.0-beta.7201",
94
+ "piral-core": "^1.6.0-beta.7201",
95
+ "piral-elm": "^1.6.0-beta.7201",
96
+ "piral-hyperapp": "^1.6.0-beta.7201",
97
+ "piral-inferno": "^1.6.0-beta.7201",
98
+ "piral-lazy": "^1.6.0-beta.7201",
99
+ "piral-litel": "^1.6.0-beta.7201",
100
+ "piral-mithril": "^1.6.0-beta.7201",
101
+ "piral-ng": "^1.6.0-beta.7201",
102
+ "piral-ngjs": "^1.6.0-beta.7201",
103
+ "piral-preact": "^1.6.0-beta.7201",
104
+ "piral-riot": "^1.6.0-beta.7201",
105
+ "piral-solid": "^1.6.0-beta.7201",
106
+ "piral-svelte": "^1.6.0-beta.7201",
107
+ "piral-vue": "^1.6.0-beta.7201",
108
108
  "preact": "10.18.1",
109
109
  "react": "18.2.0",
110
110
  "react-dom": "18.2.0",