viz-js-lib 0.12.6 → 0.13.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/.qoder/docs/spec/prediction-market-library-integration-spec.md +1138 -0
- package/VIZ-JS-LIB-COVERAGE-STATUS.md +70 -5
- package/api-frontend/app.js +890 -0
- package/api-frontend/index.html +41 -0
- package/api-frontend/jsonrpc-api-spec.json +1353 -0
- package/api-frontend/style.css +600 -0
- package/config.json +1 -1
- package/dist/statistics.html +1 -1
- package/dist/viz-tests.min.js +6 -272
- package/dist/viz-tests.min.js.gz +0 -0
- package/dist/viz.min.js +6 -6
- package/dist/viz.min.js.gz +0 -0
- package/lib/api/methods.js +136 -153
- package/lib/auth/serializer/src/ChainTypes.js +42 -0
- package/lib/auth/serializer/src/operations.js +446 -3
- package/lib/auth/serializer/src/types.js +24 -0
- package/lib/broadcast/operations.js +92 -0
- package/lib/formatter.js +47 -0
- package/package.json +6 -3
- package/test/api.test.js +11 -164
- package/test/api.ws.test.js +162 -0
- package/test/methods_by_version.js +56 -35
- package/test/types_test.js +2 -2
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>VIZ API Explorer</title>
|
|
7
|
+
<link rel="stylesheet" href="style.css" />
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div id="header">
|
|
11
|
+
<button id="menu-toggle" aria-label="Toggle menu">☰</button>
|
|
12
|
+
<div id="header-brand">VIZ API Explorer</div>
|
|
13
|
+
<div id="header-node">
|
|
14
|
+
<label for="node-select">Node:</label>
|
|
15
|
+
<select id="node-select"></select>
|
|
16
|
+
<input id="custom-node-input" type="text" placeholder="https://custom.node.url" />
|
|
17
|
+
<div class="node-btn-row">
|
|
18
|
+
<button id="add-node-btn">Add</button>
|
|
19
|
+
<button id="remove-node-btn">Remove</button>
|
|
20
|
+
</div>
|
|
21
|
+
<button id="check-nodes-btn">Check nodes</button>
|
|
22
|
+
</div>
|
|
23
|
+
<button id="server-toggle" aria-label="Select server">⚙</button>
|
|
24
|
+
<div id="theme-toggle">
|
|
25
|
+
<a href="#" data-theme="light" title="Light theme">☼</a>
|
|
26
|
+
<a href="#" data-theme="dark" title="Dark theme">☾</a>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
<div id="sidebar-backdrop"></div>
|
|
30
|
+
<div id="node-status-panel" class="hidden"></div>
|
|
31
|
+
<div id="app">
|
|
32
|
+
<div id="sidebar"></div>
|
|
33
|
+
<div id="content">
|
|
34
|
+
<div id="content-main"></div>
|
|
35
|
+
<div id="response-area"></div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<script src="../dist/viz.min.js"></script>
|
|
39
|
+
<script src="app.js"></script>
|
|
40
|
+
</body>
|
|
41
|
+
</html>
|