@exodus/ui-config 3.6.1 → 3.7.0

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
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.7.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/ui-config@3.6.1...@exodus/ui-config@3.7.0) (2024-06-05)
7
+
8
+ ### Features
9
+
10
+ - add ui config types ([#7271](https://github.com/ExodusMovement/exodus-hydra/issues/7271)) ([b52bf11](https://github.com/ExodusMovement/exodus-hydra/commit/b52bf1137c5645de78afe11fb8600b09bfae0bf6))
11
+
6
12
  ## [3.6.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/ui-config@3.6.0...@exodus/ui-config@3.6.1) (2024-04-19)
7
13
 
8
14
  ### Bug Fixes
package/api/index.d.ts ADDED
@@ -0,0 +1,13 @@
1
+ import { Atom } from '@exodus/atoms'
2
+
3
+ type UiConfigAtom = Pick<Atom<any>, 'set' | 'get'>
4
+
5
+ declare const uiConfigDefinition: {
6
+ id: 'uiConfig'
7
+ type: 'api'
8
+ factory(): {
9
+ uiConfig: UiConfigAtomRecord<string, UiConfigAtom>
10
+ }
11
+ }
12
+
13
+ export default uiConfigDefinition
package/index.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ import uiConfigApiDefinition from './api'
2
+
3
+ type Config = { config: Record<string, any> }
4
+
5
+ declare const uiConfig: (config: Config) => {
6
+ id: 'uiConfig'
7
+ definitions: [{ definition: typeof uiConfigApiDefinition }]
8
+ }
9
+
10
+ export default uiConfig
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@exodus/ui-config",
3
- "version": "3.6.1",
3
+ "version": "3.7.0",
4
4
  "description": "Helper for storing various UI-specific settings/config.",
5
- "author": "Exodus Movement Inc.",
5
+ "author": "Exodus Movement, Inc.",
6
6
  "license": "UNLICENSED",
7
7
  "homepage": "https://github.com/ExodusMovement/exodus-hydra/tree/master/features/ui-config",
8
8
  "bugs": {
@@ -19,9 +19,10 @@
19
19
  "plugin",
20
20
  "redux",
21
21
  "utils",
22
- "CHANGELOG.md",
23
- "utils.js",
22
+ "index.d.ts",
24
23
  "README.md",
24
+ "utils.js",
25
+ "CHANGELOG.md",
25
26
  "!**/__tests__/**"
26
27
  ],
27
28
  "scripts": {
@@ -36,8 +37,8 @@
36
37
  "lodash": "^4.17.21"
37
38
  },
38
39
  "devDependencies": {
39
- "@exodus/redux-dependency-injection": "^3.0.0",
40
+ "@exodus/redux-dependency-injection": "^3.1.0",
40
41
  "redux": "^4.2.1"
41
42
  },
42
- "gitHead": "0854ba86c26c63d2a84b766c716cf37874427713"
43
+ "gitHead": "3b883f4702806024319ff8b115b09cf0bed084c5"
43
44
  }