@dnzn/dxkit 0.1.0 → 0.1.1
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/README.md +0 -35
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -33,41 +33,6 @@ npm install @dnzn/dxkit-settings
|
|
|
33
33
|
npm install @dnzn/dxkit-theme
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
## Architecture
|
|
37
|
-
|
|
38
|
-
The shell owns orchestration. The developer owns the DOM. Dapps are self-contained scripts that mount into a provided `#dx-mount` container and interact with plugins and events through the shared `__DXKIT__` context.
|
|
39
|
-
|
|
40
|
-
```mermaid
|
|
41
|
-
graph TD
|
|
42
|
-
subgraph DxKit
|
|
43
|
-
Shell --> Router
|
|
44
|
-
Shell --> EventBus["Event Bus"]
|
|
45
|
-
Shell --> PluginRegistry["Plugin Registry"]
|
|
46
|
-
Shell --> Lifecycle["Lifecycle Manager"]
|
|
47
|
-
|
|
48
|
-
PluginRegistry --> Wallet["@dxkit/wallet"]
|
|
49
|
-
PluginRegistry --> Auth["@dxkit/auth"]
|
|
50
|
-
PluginRegistry --> Theme["@dxkit/theme"]
|
|
51
|
-
PluginRegistry --> Settings["@dxkit/settings"]
|
|
52
|
-
|
|
53
|
-
Router -->|resolve route| Lifecycle
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
subgraph Developer App
|
|
57
|
-
Dapp
|
|
58
|
-
Container["#dx-mount"]
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
Lifecycle -->|load & mount| Dapp
|
|
62
|
-
Lifecycle -->|mount into| Container
|
|
63
|
-
|
|
64
|
-
Dapp -->|window.__DXKIT__| EventBus
|
|
65
|
-
Dapp -->|window.__DXKIT__| PluginRegistry
|
|
66
|
-
|
|
67
|
-
EventBus -->|dx:mount / dx:unmount| Dapp
|
|
68
|
-
EventBus -->|dx:ready| Shell
|
|
69
|
-
```
|
|
70
|
-
|
|
71
36
|
## Documentation
|
|
72
37
|
|
|
73
38
|
### Framework
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dnzn/dxkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "DxKit — A headless microframework for building composable dapps.",
|
|
5
5
|
"author": "Denizen. <null@dnzn.dev>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/
|
|
9
|
+
"url": "https://github.com/dxnzn/dxkit"
|
|
10
10
|
},
|
|
11
11
|
"homepage": "https://dnzn.dev",
|
|
12
12
|
"type": "module",
|