minimal-piral 0.15.0-beta.4607 → 0.15.0-beta.4630

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
@@ -505,6 +505,10 @@ declare module "minimal-piral" {
505
505
  * @returns The disposable for stopping the block.
506
506
  */
507
507
  listen(listener: NavigationListener): Disposable;
508
+ /**
509
+ * The original router behind the navigation.
510
+ */
511
+ router: any;
508
512
  }
509
513
 
510
514
  export type Without<T, K> = Pick<T, Exclude<keyof T, K>>;
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.0307c7.js"></script></head>
6
+ <script defer src="/index.b77a5c.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.0307c7.js');
5
+ require('.//index.b77a5c.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.4607",
4
+ "version": "0.15.0-beta.4630",
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.14.29",
31
+ "version": "0.14.30",
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.14.29",
44
- "piral-cli-webpack5": "^0.14.29",
45
- "piral-core": "^0.14.29",
43
+ "piral-cli": "^0.14.30",
44
+ "piral-cli-webpack5": "^0.14.30",
45
+ "piral-core": "^0.14.30",
46
46
  "react": "18.2.0",
47
47
  "react-dom": "18.2.0",
48
48
  "react-router": "5.3.3",