@dxos/hypercore 0.1.56-next.a63ce79 → 0.1.56-next.dc2716a

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/hypercore",
3
- "version": "0.1.56-next.a63ce79",
3
+ "version": "0.1.56-next.dc2716a",
4
4
  "description": "Hypercore wrapper and utils.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -20,16 +20,16 @@
20
20
  "sodium-native": "^3.2.0",
21
21
  "sodium-universal": "^3.0.2",
22
22
  "streamx": "^2.12.5",
23
- "@dxos/async": "0.1.56-next.a63ce79",
24
- "@dxos/codec-protobuf": "0.1.56-next.a63ce79",
25
- "@dxos/crypto": "0.1.56-next.a63ce79",
26
- "@dxos/debug": "0.1.56-next.a63ce79",
27
- "@dxos/invariant": "0.1.56-next.a63ce79",
28
- "@dxos/keys": "0.1.56-next.a63ce79",
29
- "@dxos/node-std": "0.1.56-next.a63ce79",
30
- "@dxos/random-access-storage": "0.1.56-next.a63ce79",
31
- "@dxos/typings": "0.1.56-next.a63ce79",
32
- "@dxos/util": "0.1.56-next.a63ce79"
23
+ "@dxos/async": "0.1.56-next.dc2716a",
24
+ "@dxos/codec-protobuf": "0.1.56-next.dc2716a",
25
+ "@dxos/crypto": "0.1.56-next.dc2716a",
26
+ "@dxos/debug": "0.1.56-next.dc2716a",
27
+ "@dxos/invariant": "0.1.56-next.dc2716a",
28
+ "@dxos/keys": "0.1.56-next.dc2716a",
29
+ "@dxos/node-std": "0.1.56-next.dc2716a",
30
+ "@dxos/random-access-storage": "0.1.56-next.dc2716a",
31
+ "@dxos/typings": "0.1.56-next.dc2716a",
32
+ "@dxos/util": "0.1.56-next.dc2716a"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@faker-js/faker": "^8.0.2",
@@ -39,8 +39,8 @@
39
39
  "hypercore-protocol": "^8.0.7",
40
40
  "noise-protocol": "3.0.1",
41
41
  "random-access-memory": "^4.1.0",
42
- "@dxos/util": "0.1.56-next.a63ce79",
43
- "@dxos/log": "0.1.56-next.a63ce79"
42
+ "@dxos/log": "0.1.56-next.dc2716a",
43
+ "@dxos/util": "0.1.56-next.dc2716a"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
@@ -132,7 +132,7 @@ describe('Replication', () => {
132
132
 
133
133
  // Write batch of messages with delay.
134
134
  batch((next, i, remaining) => {
135
- const size = faker.datatype.number({
135
+ const size = faker.number.int({
136
136
  min: 1,
137
137
  max: Math.min(10, remaining),
138
138
  });
@@ -143,7 +143,7 @@ describe('Replication', () => {
143
143
  // Random delay.
144
144
  setTimeout(() => {
145
145
  next(size);
146
- }, faker.datatype.number({ min: 0, max: 100 }));
146
+ }, faker.number.int({ min: 0, max: 100 }));
147
147
  }, numBlocks);
148
148
 
149
149
  // Done.