@odatano/nightgate 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 +2 -1
- package/db/schema.cds +196 -327
- package/package.json +8 -1
- package/src/index.js +34 -15
- package/src/plugin.d.ts +4 -0
- package/src/plugin.js +37 -4
- package/srv/crawler/BlockProcessor.d.ts +8 -0
- package/srv/crawler/BlockProcessor.js +193 -5
- package/srv/crawler/Crawler.js +56 -53
- package/srv/crawler/index.d.ts +4 -0
- package/srv/crawler/index.js +20 -1
- package/srv/nightgate-indexer-service.cds +47 -10
- package/srv/nightgate-indexer-service.d.ts +2 -0
- package/srv/nightgate-indexer-service.js +144 -1
- package/srv/nightgate-service.cds +192 -134
- package/srv/nightgate-service.js +27 -0
- package/srv/providers/MidnightNodeProvider.js +13 -1
- package/srv/utils/scale.d.ts +25 -24
- package/srv/utils/scale.js +167 -89
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ NightgateService / NightgateIndexerService / Analytics / Admin
|
|
|
46
46
|
| Wallet sessions | `connectWallet` / `disconnectWallet` with encrypted viewing-key storage |
|
|
47
47
|
| Offline mode | CAP app starts even if the node is unreachable |
|
|
48
48
|
|
|
49
|
-
Version `0.1.
|
|
49
|
+
Version `0.1.1` is a read-side first release. Transaction build/sign/submit flows are not yet included.
|
|
50
50
|
|
|
51
51
|
## Quick Start
|
|
52
52
|
|
|
@@ -118,6 +118,7 @@ curl "http://localhost:4004/api/v1/indexer/getMetrics()"
|
|
|
118
118
|
npm run dev # Start with auto-reload
|
|
119
119
|
npm run lint # ESLint
|
|
120
120
|
npm run typecheck # TypeScript check
|
|
121
|
+
npm run cds:types # Regenerate @cds-models
|
|
121
122
|
npm test # Full test suite with coverage
|
|
122
123
|
```
|
|
123
124
|
|