braidfs 0.0.152 → 0.0.154

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 +3 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1083,6 +1083,7 @@ function sync_url(url) {
1083
1083
  braid_text.get(url, {
1084
1084
  signal: ac.signal,
1085
1085
  peer: file_peer,
1086
+ merge_type: 'dt',
1086
1087
  head: true,
1087
1088
  subscribe: () => {
1088
1089
  if (self.ac.signal.aborted) return
@@ -1128,11 +1129,12 @@ function sync_url(url) {
1128
1129
  //await sync_url.chain
1129
1130
  sync_url(url)
1130
1131
  },
1131
- on_disconnect: () => {
1132
+ on_disconnect: e => {
1132
1133
  // DEBUGGING HACK ID: L04LPFHQ1M -- INVESTIGATING DISCONNECTS
1133
1134
  do_investigating_disconnects_log(url, `sync.on_disconnect`)
1134
1135
  self.investigating_disconnects_thinks_connected = false
1135
1136
 
1137
+ console.log(`disconnected from ${url} with error: ${e}`)
1136
1138
  return reconnect_rate_limiter.on_diss(url)
1137
1139
  }
1138
1140
  })
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "braidfs",
3
- "version": "0.0.152",
3
+ "version": "0.0.154",
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.89",
10
- "braid-text": "~0.5.16",
10
+ "braid-text": "~0.5.20",
11
11
  "braid-blob": "~0.0.72",
12
12
  "chokidar": "^4.0.3",
13
13
  "undici": "^7.18.2"