Commit 5c866da4bc329c8a371cb24ee975d3c8eeab9c3c
upgrade to ssb-ahoy@3, move from ssb-server to secret-stack + ssb-db
mixmix committed on 12/2/2019, 1:32:25 AMParent: e1f6a94a8dade7e3ec4cec240fe393e4ee7adc5d
Files changed
app/sync/initialise/error-catcher.js | changed |
index.js | changed |
package-lock.json | changed |
package.json | changed |
app/sync/initialise/error-catcher.js | ||
---|---|---|
@@ -14,8 +14,14 @@ | ||
14 | 14 … | const tabs = api.app.html.tabs() |
15 | 15 … | |
16 | 16 … | var { container: errorPage, addError } = api.router.sync.router('/errors') |
17 | 17 … | window.addEventListener('error', ev => { |
18 … | + // HACK: Fix for ResizeObserver errors that are probably benign. | |
19 … | + if (ev.message && ev.message.startsWith('ResizeObserver')) { | |
20 … | + console.error('ResizeObserver (caught)') | |
21 … | + return | |
22 … | + } | |
23 … | + | |
18 | 24 … | if (!tabs.has('/errors')) tabs.add(errorPage, true) |
19 | 25 … | |
20 | 26 … | addError(ev.error || ev) |
21 | 27 … | }) |
index.js | ||
---|---|---|
@@ -5,13 +5,12 @@ | ||
5 | 5 … | 'ssb-master', |
6 | 6 … | 'ssb-unix-socket', |
7 | 7 … | 'ssb-no-auth', |
8 | 8 … | 'ssb-onion', |
9 | - 'ssb-local', | |
9 … | + 'ssb-lan', | |
10 | 10 … | 'ssb-logging', |
11 | 11 … | |
12 | - 'ssb-legacy-conn', | |
13 | - // 'ssb-conn', // TODO requires secret-stack@^6.2.0 , but ssb-server shrinkwrapped @6.1.2 | |
12 … | + 'ssb-conn', | |
14 | 13 … | 'ssb-replicate', |
15 | 14 … | 'ssb-friends', |
16 | 15 … | |
17 | 16 … | 'ssb-blobs', |
package-lock.json | ||
---|---|---|
The diff is too large to show. Use a local git client to view these changes. Old file size: 815551 bytes New file size: 547754 bytes |
package.json | ||
---|---|---|
@@ -94,25 +94,28 @@ | ||
94 | 94 … | "require-style": "^1.1.0", |
95 | 95 … | "scuttle-blog": "^1.0.1", |
96 | 96 … | "scuttle-book": "^2.0.6", |
97 | 97 … | "scuttle-thread": "^1.0.2", |
98 … | + "secret-stack": "^6.3.1", | |
98 | 99 … | "setimmediate": "^1.0.5", |
99 | 100 … | "ssb-about": "^2.0.1", |
100 | - "ssb-ahoy": "^2.0.1", | |
101 … | + "ssb-ahoy": "^3.0.0", | |
101 | 102 … | "ssb-audio-schema": "^1.0.0", |
102 | 103 … | "ssb-backlinks": "^0.7.3", |
103 | 104 … | "ssb-blob-files": "^1.1.6", |
104 | 105 … | "ssb-blobs": "^1.1.12", |
105 | 106 … | "ssb-chess-db": "^1.0.6", |
106 | 107 … | "ssb-chess-mithril": "1.0.13", |
107 | 108 … | "ssb-config": "^3.4.3", |
109 … | + "ssb-conn": "^0.11.2", | |
110 … | + "ssb-db": "^19.3.2", | |
108 | 111 … | "ssb-device-address": "^1.1.6", |
109 | 112 … | "ssb-ebt": "^5.6.7", |
110 | 113 … | "ssb-friend-pub": "^1.0.7", |
111 | 114 … | "ssb-friends": "^4.1.4", |
112 | 115 … | "ssb-identities": "^2.1.0", |
113 | 116 … | "ssb-invite": "~2.0.4", |
114 | - "ssb-legacy-conn": "^1.0.25", | |
117 … | + "ssb-lan": "^0.1.4", | |
115 | 118 … | "ssb-local": "^1.0.0", |
116 | 119 … | "ssb-logging": "^1.0.0", |
117 | 120 … | "ssb-master": "^1.0.3", |
118 | 121 … | "ssb-meme": "^1.0.4", |
@@ -127,9 +130,8 @@ | ||
127 | 130 … | "ssb-query": "^2.1.0", |
128 | 131 … | "ssb-ref": "^2.13.6", |
129 | 132 … | "ssb-replicate": "^1.3.1", |
130 | 133 … | "ssb-search": "^1.1.2", |
131 | - "ssb-server": "^15.2.0", | |
132 | 134 … | "ssb-sort": "^1.1.0", |
133 | 135 … | "ssb-suggest": "^1.0.4", |
134 | 136 … | "ssb-tangle": "^1.0.1", |
135 | 137 … | "ssb-unix-socket": "^1.0.0", |
Built with git-ssb-web