@module-federation/bridge-vue3 0.0.0-next-20241106110902 → 0.0.0-next-20241107072243

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @module-federation/bridge-vue3
2
2
 
3
- ## 0.0.0-next-20241106110902
3
+ ## 0.0.0-next-20241107072243
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -8,9 +8,9 @@
8
8
  - Updated dependencies [8712967]
9
9
  - Updated dependencies [6db4c5f]
10
10
  - Updated dependencies [3082116]
11
- - @module-federation/runtime@0.0.0-next-20241106110902
12
- - @module-federation/sdk@0.0.0-next-20241106110902
13
- - @module-federation/bridge-shared@0.0.0-next-20241106110902
11
+ - @module-federation/runtime@0.0.0-next-20241107072243
12
+ - @module-federation/sdk@0.0.0-next-20241107072243
13
+ - @module-federation/bridge-shared@0.0.0-next-20241107072243
14
14
 
15
15
  ## 0.7.0
16
16
 
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { ComponentPublicInstance } from 'vue';
2
2
 
3
3
  declare type BridgeHooks = {
4
- beforeBridgeRender?: (params: RenderFnParams) => any;
5
- afterBridgeRender?: (params: RenderFnParams) => any;
6
- beforeBridgeDestroy?: (params: DestroyParams) => any;
7
- afterBridgeDestroy?: (params: DestroyParams) => any;
4
+ beforeBridgeRender?: (params: RenderFnParams) => void | Record<string, any>;
5
+ afterBridgeRender?: (params: RenderFnParams) => void | Record<string, any>;
6
+ beforeBridgeDestroy?: (params: DestroyParams) => void | Record<string, any>;
7
+ afterBridgeDestroy?: (params: DestroyParams) => void | Record<string, any>;
8
8
  };
9
9
 
10
10
  export declare function createBridgeComponent(bridgeInfo: any): (params: {
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/module-federation/core",
8
8
  "directory": "packages/vue3-bridge"
9
9
  },
10
- "version": "0.0.0-next-20241106110902",
10
+ "version": "0.0.0-next-20241107072243",
11
11
  "publishConfig": {
12
12
  "access": "public"
13
13
  },
@@ -30,11 +30,11 @@
30
30
  "peerDependencies": {
31
31
  "vue": "=3",
32
32
  "vue-router": "=3",
33
- "@module-federation/runtime": "0.0.0-next-20241106110902"
33
+ "@module-federation/runtime": "0.0.0-next-20241107072243"
34
34
  },
35
35
  "dependencies": {
36
- "@module-federation/bridge-shared": "0.0.0-next-20241106110902",
37
- "@module-federation/sdk": "0.0.0-next-20241106110902"
36
+ "@module-federation/bridge-shared": "0.0.0-next-20241107072243",
37
+ "@module-federation/sdk": "0.0.0-next-20241107072243"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@vitejs/plugin-vue": "^5.0.4",
package/src/provider.ts CHANGED
@@ -10,10 +10,10 @@ type DestroyParams = {
10
10
  };
11
11
 
12
12
  type BridgeHooks = {
13
- beforeBridgeRender?: (params: RenderFnParams) => any;
14
- afterBridgeRender?: (params: RenderFnParams) => any;
15
- beforeBridgeDestroy?: (params: DestroyParams) => any;
16
- afterBridgeDestroy?: (params: DestroyParams) => any;
13
+ beforeBridgeRender?: (params: RenderFnParams) => void | Record<string, any>;
14
+ afterBridgeRender?: (params: RenderFnParams) => void | Record<string, any>;
15
+ beforeBridgeDestroy?: (params: DestroyParams) => void | Record<string, any>;
16
+ afterBridgeDestroy?: (params: DestroyParams) => void | Record<string, any>;
17
17
  };
18
18
 
19
19
  export function createBridgeComponent(bridgeInfo: any) {