minimal-piral 0.15.0-beta.4813 → 0.15.0-beta.4815

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
@@ -150,6 +150,9 @@ export interface PiletMetadata {
150
150
  * Listener for Piral app shell events.
151
151
  */
152
152
  export interface Listener<T> {
153
+ /**
154
+ * Receives an event of type T.
155
+ */
153
156
  (arg: T): void;
154
157
  }
155
158
 
@@ -202,6 +205,9 @@ export interface PiralPageMeta extends PiralCustomPageMeta, PiralCustomPageMeta
202
205
  * The shape of an implicit unregister function.
203
206
  */
204
207
  export interface RegistrationDisposer {
208
+ /**
209
+ * Cleans up the previous registration.
210
+ */
205
211
  (): void;
206
212
  }
207
213
 
@@ -224,6 +230,9 @@ export type ExtensionSlotProps<TName = string> = BaseExtensionSlotProps<TName ex
224
230
  * Can be implemented by functions to be used for disposal purposes.
225
231
  */
226
232
  export interface Disposable {
233
+ /**
234
+ * Disposes the created resource.
235
+ */
227
236
  (): void;
228
237
  }
229
238
 
package/app/index.html CHANGED
@@ -3,7 +3,7 @@
3
3
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
4
4
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
5
5
  <title>Minimal Piral Sample</title>
6
- <script defer src="/index.0da2ae.js"></script></head>
6
+ <script defer src="/index.001e0f.js"></script></head>
7
7
  <body>
8
8
  <div id="app"></div>
9
9
 
package/app/index.js CHANGED
@@ -2,7 +2,7 @@ if (process.env.NODE_ENV === 'test') {
2
2
  // behavior for the test environment, we'll try to make it work
3
3
 
4
4
  if (typeof window !== 'undefined') {
5
- require('.//index.0da2ae.js');
5
+ require('.//index.001e0f.js');
6
6
  const ctx = window['dbg:piral'];
7
7
  const dependencies = (ctx && ctx.pilets && ctx.pilets.getDependencies({})) || {};
8
8
  module.exports = dependencies['minimal-piral'] || {};
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": "minimal-piral",
3
3
  "description": "Example project illustrating the exposure of a minimal Pilet API.",
4
- "version": "0.15.0-beta.4813",
4
+ "version": "0.15.0-beta.4815",
5
5
  "license": "MIT",
6
6
  "homepage": "https://piral.io",
7
7
  "keywords": [
@@ -28,7 +28,7 @@
28
28
  "files": []
29
29
  },
30
30
  "piralCLI": {
31
- "version": "0.15.0-beta.4813",
31
+ "version": "0.15.0-beta.4815",
32
32
  "generated": true
33
33
  },
34
34
  "main": "./app/index.js",
@@ -40,9 +40,9 @@
40
40
  "@types/react-dom": "^18.0.0",
41
41
  "@types/react-router": "^5.1.8",
42
42
  "@types/react-router-dom": "^5.1.6",
43
- "piral-cli": "^0.15.0-beta.4813",
44
- "piral-cli-webpack5": "^0.15.0-beta.4813",
45
- "piral-core": "^0.15.0-beta.4813",
43
+ "piral-cli": "^0.15.0-beta.4815",
44
+ "piral-cli-webpack5": "^0.15.0-beta.4815",
45
+ "piral-core": "^0.15.0-beta.4815",
46
46
  "tslib": "2.3.1",
47
47
  "react": "18.2.0",
48
48
  "react-dom": "18.2.0",