braidfs 0.0.145 → 0.0.147

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/index.js +1 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -512,12 +512,10 @@ function sync_url(url) {
512
512
  while (true) {
513
513
  try {
514
514
  for (var try_sub = 0; try_sub <= 1; try_sub++) {
515
+ await reconnect_rate_limiter.get_turn(url)
515
516
  var res = await braid_fetch(url, {
516
517
  signal: self.ac.signal,
517
518
  method: 'HEAD',
518
- retry: () => true,
519
- // braid_fetch will await this function on each reconnect when retrying
520
- parents: async () => reconnect_rate_limiter.get_turn(url),
521
519
  // version needed to force Merge-Type return header
522
520
  version: [],
523
521
  // setting subscribe shouldn't work according to spec,
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "braidfs",
3
- "version": "0.0.145",
3
+ "version": "0.0.147",
4
4
  "description": "braid technology synchronizing files and webpages",
5
5
  "author": "Braid Working Group",
6
6
  "repository": "braid-org/braidfs",
7
7
  "homepage": "https://braid.org",
8
8
  "dependencies": {
9
9
  "braid-http": "~1.3.86",
10
- "braid-text": "~0.2.105",
10
+ "braid-text": "~0.2.106",
11
11
  "braid-blob": "~0.0.49",
12
12
  "chokidar": "^4.0.3",
13
13
  "undici": "^7.18.2"