@effectstream/sync 0.100.16 → 0.100.17
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 +4 -4
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -48,14 +48,14 @@ const protocols = await genSyncProtocols(config);
|
|
|
48
48
|
|
|
49
49
|
## Key exports
|
|
50
50
|
|
|
51
|
-
- `genSyncProtocols(dbConn, syncInfo)`
|
|
52
|
-
- `AllSyncProtocols`
|
|
53
|
-
- `ChainBlock`, plus base `Fetcher`/`State` types from `sync-protocols/base/`
|
|
51
|
+
- `genSyncProtocols(dbConn, syncInfo)` - Effection generator that instantiates a runtime fetcher + state pair for every protocol in `syncInfo` (from `config.syncProtocols`). Called from the runtime's process-blocks loop.
|
|
52
|
+
- `AllSyncProtocols` - union type covering every supported protocol; useful when authoring config that fans out.
|
|
53
|
+
- `ChainBlock`, plus base `Fetcher`/`State` types from `sync-protocols/base/` - the wire shape per chain.
|
|
54
54
|
|
|
55
55
|
Per-chain `Fetcher` / `SyncState` classes (`EvmFetcher`,
|
|
56
56
|
`BitcoinFetcher`, `MidnightFetcher`, `AvailFetcher`, `UtxoRpcFetcher`,
|
|
57
57
|
`NtpFetcher`, `CelestiaFetcher`, `NearFetcher`, and matching `*SyncState`
|
|
58
|
-
classes) are exported but are internal to the factory wiring
|
|
58
|
+
classes) are exported but are internal to the factory wiring -
|
|
59
59
|
application code drives them through `genSyncProtocols` rather than
|
|
60
60
|
instantiating them directly. Reach for them only if you're writing a
|
|
61
61
|
custom orchestration layer.
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effectstream/sync",
|
|
3
|
-
"version": "0.100.
|
|
3
|
+
"version": "0.100.17",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://effectstream.github.io/docs/",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/
|
|
8
|
+
"url": "https://github.com/effectstream/effectstream",
|
|
9
9
|
"directory": "packages/node-sdk/sync"
|
|
10
10
|
},
|
|
11
11
|
"bugs": {
|
|
12
|
-
"url": "https://github.com/
|
|
12
|
+
"url": "https://github.com/effectstream/effectstream/issues"
|
|
13
13
|
},
|
|
14
14
|
"exports": "./src/mod.ts",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@effectstream/config": "0.100.
|
|
17
|
-
"@effectstream/db": "0.100.
|
|
18
|
-
"@effectstream/log": "0.100.
|
|
19
|
-
"@effectstream/utils": "0.100.
|
|
16
|
+
"@effectstream/config": "0.100.17",
|
|
17
|
+
"@effectstream/db": "0.100.17",
|
|
18
|
+
"@effectstream/log": "0.100.17",
|
|
19
|
+
"@effectstream/utils": "0.100.17",
|
|
20
20
|
"@midnight-ntwrk/ledger-v8": "8.0.3",
|
|
21
21
|
"@midnight-ntwrk/midnight-js-indexer-public-data-provider": "4.0.2",
|
|
22
22
|
"@midnight-ntwrk/onchain-runtime": "npm:@midnight-ntwrk/onchain-runtime-v3@3.0.0",
|