@equinor/fusion-framework-react-app 1.2.0 → 1.2.2

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.
@@ -1,4 +1,4 @@
1
1
  import type { AppModulesInstance } from '@equinor/fusion-framework-app';
2
2
  import { AnyModule, ModuleKey, ModuleType, ModuleTypes } from '@equinor/fusion-framework-module';
3
- export declare const useAppModule: <TType extends unknown = unknown, TKey extends string = ModuleKey<ModuleTypes<import("@equinor/fusion-framework-module").CombinedModules<[TType], [import("@equinor/fusion-framework-module-event").EventModule, import("@equinor/fusion-framework-module-http").HttpModule, import("@equinor/fusion-framework-module-msal").MsalModule]>>>>(module: TKey) => TType extends AnyModule ? ModuleType<TType> : AppModulesInstance<unknown>[Extract<"event", TKey> | Extract<"http", TKey> | Extract<"auth", TKey> | Extract<"dispose", TKey>];
3
+ export declare const useAppModule: <TType extends unknown = unknown, TKey extends string = ModuleKey<ModuleTypes<import("@equinor/fusion-framework-module").CombinedModules<[TType], [import("@equinor/fusion-framework-module-event").EventModule, import("@equinor/fusion-framework-module-http").HttpModule, import("@equinor/fusion-framework-module-msal").MsalModule]>>>>(module: TKey) => TType extends AnyModule ? ModuleType<TType> : AppModulesInstance<unknown>[Extract<"http", TKey> | Extract<"dispose", TKey> | Extract<"event", TKey> | Extract<"auth", TKey>];
4
4
  export default useAppModule;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-react-app",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "",
5
5
  "main": "dist/esm/index.js",
6
6
  "exports": {
@@ -24,8 +24,8 @@
24
24
  }
25
25
  },
26
26
  "scripts": {
27
- "build": "npm run build:typescript",
28
- "build:typescript": "tsc -b --verbose"
27
+ "build": "tsc -b",
28
+ "prepack": "yarn build"
29
29
  },
30
30
  "keywords": [],
31
31
  "author": "",
@@ -39,13 +39,13 @@
39
39
  "directory": "packages/react"
40
40
  },
41
41
  "dependencies": {
42
- "@equinor/fusion-framework-app": "^3.1.2",
43
- "@equinor/fusion-framework-module": "^1.2.6",
44
- "@equinor/fusion-framework-module-event": "^1.1.1",
45
- "@equinor/fusion-framework-module-msal": "^1.0.15",
46
- "@equinor/fusion-framework-react": "^1.3.0",
47
- "@equinor/fusion-framework-react-module-context": "^0.1.0",
48
- "@equinor/fusion-framework-react-module-http": "^1.0.15"
42
+ "@equinor/fusion-framework-app": "^3.1.4",
43
+ "@equinor/fusion-framework-module": "^1.2.7",
44
+ "@equinor/fusion-framework-module-event": "^1.1.2",
45
+ "@equinor/fusion-framework-module-msal": "^1.0.16",
46
+ "@equinor/fusion-framework-react": "^1.3.2",
47
+ "@equinor/fusion-framework-react-module-context": "^0.1.1",
48
+ "@equinor/fusion-framework-react-module-http": "^1.0.16"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/react": "^17.0.11",
@@ -67,5 +67,5 @@
67
67
  "optional": true
68
68
  }
69
69
  },
70
- "gitHead": "21ae1ec0a760c03a0887eced5532de8443274916"
70
+ "gitHead": "07b75f05b0f7c01cfeb240dc1dfd1e64fbaa2267"
71
71
  }
@@ -1,2 +0,0 @@
1
- export { useAppConfig } from '@equinor/fusion-framework-react-module-app-config';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mDAAmD,CAAC"}
@@ -1,2 +0,0 @@
1
- export { useAppConfig } from '@equinor/fusion-framework-react-module-app-config';
2
- export type { AppConfig } from '@equinor/fusion-framework-react-module-app-config';