braid-text 0.2.40 → 0.2.41

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,12 +1,12 @@
1
1
  {
2
2
  "name": "braid-text",
3
- "version": "0.2.40",
3
+ "version": "0.2.41",
4
4
  "description": "Library for collaborative text over http using braid.",
5
5
  "author": "Braid Working Group",
6
6
  "repository": "braid-org/braid-text",
7
7
  "homepage": "https://braid.org",
8
8
  "dependencies": {
9
9
  "@braid.org/diamond-types-node": "^2.0.0",
10
- "braid-http": "^1.3.74"
10
+ "braid-http": "~1.3.77"
11
11
  }
12
12
  }
@@ -30,7 +30,7 @@ function simpleton_client(url, { apply_remote_update, generate_local_diff_update
30
30
  headers: { "Merge-Type": "simpleton",
31
31
  ...(content_type ? {Accept: content_type} : {}) },
32
32
  subscribe: true,
33
- retry: true,
33
+ retry: () => true,
34
34
  parents: () => current_version.length ? current_version : null,
35
35
  peer,
36
36
  signal: ac.signal
@@ -120,7 +120,7 @@ function simpleton_client(url, { apply_remote_update, generate_local_diff_update
120
120
  headers: { "Merge-Type": "simpleton",
121
121
  ...(content_type ? {"Content-Type": content_type} : {}) },
122
122
  method: "PUT",
123
- retry: true,
123
+ retry: () => true,
124
124
  version, parents, patches,
125
125
  peer
126
126
  })