@requestnetwork/data-access 0.29.1-next.1973 → 0.29.1-next.1976

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.
Files changed (2) hide show
  1. package/README.md +0 -4
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -139,10 +139,6 @@ Transactions are indexed with `topics`. When persisting a transaction on data-ac
139
139
 
140
140
  To save on costs, transactions are batched together. This is the responsibility of Data Access layer. This package creates `blocks` that are collections of `transactions`
141
141
 
142
- ### Cache
143
-
144
- In order to speed up recovery of transactions, data-access has a local cache of topics=>transaction. This is the reason why this package should be initialized with `dataAccess.initialize()` before being operational. This cache can be persisted in a file using a [Keyv store](https://github.com/lukechilds/keyv#official-storage-adapters).
145
-
146
142
  ### Synchronization
147
143
 
148
144
  Blocks can be added into the storage by other peers running their own data-access instance. Therefore, to remain consistent with the global state of the network, this package need to synchronize with these new blocks.`dataAccess.synchronizeNewDataIds()` allows to synchronize manually with all unsynchronized blocks. The synchronization can also be done automatically, `dataAccess.startAutoSynchronization()` allows to automatically synchronize with new blocks, the interval time between each synchronization can be defined in data-access constructor. `dataAccess.stopAutoSynchronization()` allows to stop automatic synchronization.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@requestnetwork/data-access",
3
- "version": "0.29.1-next.1973+f1f2f91a",
3
+ "version": "0.29.1-next.1976+f76583da",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -39,9 +39,9 @@
39
39
  "test:watch": "yarn test --watch"
40
40
  },
41
41
  "dependencies": {
42
- "@requestnetwork/multi-format": "0.15.13-next.1973+f1f2f91a",
43
- "@requestnetwork/types": "0.38.1-next.1973+f1f2f91a",
44
- "@requestnetwork/utils": "0.38.1-next.1973+f1f2f91a",
42
+ "@requestnetwork/multi-format": "0.15.13-next.1976+f76583da",
43
+ "@requestnetwork/types": "0.38.1-next.1976+f76583da",
44
+ "@requestnetwork/utils": "0.38.1-next.1976+f76583da",
45
45
  "tslib": "2.5.0"
46
46
  },
47
47
  "devDependencies": {
@@ -56,5 +56,5 @@
56
56
  "ts-node": "10.9.1",
57
57
  "typescript": "5.1.3"
58
58
  },
59
- "gitHead": "f1f2f91a4a90e9aef854aa23162acc944dedc779"
59
+ "gitHead": "f76583dad29d0b82c7e858bbaa8de5d1ecbd3a3d"
60
60
  }