braidfs 0.0.89 → 0.0.90

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 +2 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -498,7 +498,7 @@ async function sync_url(url) {
498
498
  "Content-Type": 'text/plain',
499
499
  ...(x => x && {Cookie: x})(config.cookies?.[new URL(url).hostname])
500
500
  },
501
- retry: true,
501
+ retry: { retryRes: () => true },
502
502
  ...params
503
503
  })
504
504
  } catch (e) {
@@ -812,6 +812,7 @@ async function sync_url(url) {
812
812
  },
813
813
  subscribe: true,
814
814
  retry: {
815
+ retryRes: () => true,
815
816
  onRes: (res) => {
816
817
  if (res.status !== 209)
817
818
  return log_error(`Can't sync ${url} -- got bad response ${res.status} from server (expected 209)`)
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "braidfs",
3
- "version": "0.0.89",
3
+ "version": "0.0.90",
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
- "braid-http": "^1.3.73",
9
+ "braid-http": "^1.3.75",
10
10
  "braid-text": "^0.2.28",
11
11
  "chokidar": "^3.6.0"
12
12
  },