@dotrino/identity 0.121.5 → 0.121.6
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,4 +1,4 @@
|
|
|
1
|
-
Copia vendorizada de @dotrino/proxy-client@0.38.
|
|
1
|
+
Copia vendorizada de @dotrino/proxy-client@0.38.4 (dotrino-proxy-client/src/{binpack,canonical,client,encpub,errors,index,parts,sealing,signature,stats-log,stats,webrtc}.js).
|
|
2
2
|
NO se edita a mano: la escribe `node vendor.mjs` y la vigila test/vendor-up-to-date.test.mjs.
|
|
3
3
|
sealing.js resuelve @dotrino/identity/content de forma PEREZOSA (= ../../content.js
|
|
4
4
|
por el import map): solo se carga si de verdad se sella algo.
|
|
@@ -342,6 +342,14 @@ export class WebRTCManager {
|
|
|
342
342
|
if (self && self > peer.remote && !peer.dc) {
|
|
343
343
|
const dc = peer.pc.createDataChannel('cc', { ordered: true })
|
|
344
344
|
this._attachDC(peer, dc)
|
|
345
|
+
} else if (self && self < peer.remote && !peer.dc) {
|
|
346
|
+
// EL QUE NO CREA EL CANAL TIENE QUE PEDIRLO. Sin un canal nuevo no hay nada que
|
|
347
|
+
// negociar (`onnegotiationneeded` no salta), así que si el que quiere ir directo
|
|
348
|
+
// era el del token menor, el otro nunca se enteraba y el canal no se abría jamás:
|
|
349
|
+
// la mitad de las parejas se quedaban en el proxio según cómo cayera el sorteo de
|
|
350
|
+
// tokens. Se le pide al otro que arranque; el que crea el canal sigue siendo uno
|
|
351
|
+
// solo, así que no hay ofertas cruzadas.
|
|
352
|
+
this._signal(peer, { kind: 'start' })
|
|
345
353
|
}
|
|
346
354
|
} catch (e) {
|
|
347
355
|
this.emit('error', { type: 'webrtc_start', error: e, peer: peer.remote })
|
|
@@ -398,6 +406,17 @@ export class WebRTCManager {
|
|
|
398
406
|
if (!peer.pc) this._createPC(peer)
|
|
399
407
|
const pc = peer.pc
|
|
400
408
|
|
|
409
|
+
if (msg.kind === 'start') {
|
|
410
|
+
// El otro quiere ir directo y el canal lo creamos nosotros (ver `_startNegotiation`).
|
|
411
|
+
// Solo lo atiende el del token mayor: así un `start` nunca rebota.
|
|
412
|
+
const self = this.getSelfToken()
|
|
413
|
+
if (self && self > peer.remote && !peer.dc) {
|
|
414
|
+
peer.negotiating = false
|
|
415
|
+
await this._startNegotiation(peer)
|
|
416
|
+
}
|
|
417
|
+
return
|
|
418
|
+
}
|
|
419
|
+
|
|
401
420
|
if (msg.kind === 'sdp' && msg.sdp) {
|
|
402
421
|
const offerCollision = msg.sdp.type === 'offer' &&
|
|
403
422
|
(peer.makingOffer || pc.signalingState !== 'stable')
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
Copia vendorizada de @dotrino/roadmap@0.4.
|
|
1
|
+
Copia vendorizada de @dotrino/roadmap@0.4.38 (dotrino-roadmap/src/{index,manifests}.js).
|
|
2
2
|
NO se edita a mano: la escribe `node vendor.mjs` y la vigila test/vendor-up-to-date.test.mjs.
|
|
3
3
|
El registro de versiones rotas que viaja con cada versión. Importa @dotrino/compat/ranges.
|
|
@@ -8,30 +8,30 @@
|
|
|
8
8
|
export const MANIFESTS = Object.freeze({
|
|
9
9
|
"dotrino": {
|
|
10
10
|
"manifest": "dotrino",
|
|
11
|
-
"seq":
|
|
11
|
+
"seq": 33,
|
|
12
12
|
"issued": "2026-10-18",
|
|
13
13
|
"note": "Registro comun de compatibilidad del ecosistema. Se edita a mano en este repo y se consulta con @dotrino/roadmap. Rangos: ver @dotrino/compat/ranges (x.y.z, >= > <= <, «a - b», «*», o una lista que es un O).",
|
|
14
14
|
"products": {
|
|
15
15
|
"compat": {
|
|
16
16
|
"repo": "imdotrino/dotrino-compat",
|
|
17
17
|
"npm": "@dotrino/compat",
|
|
18
|
-
"current": "0.4.
|
|
18
|
+
"current": "0.4.1",
|
|
19
19
|
"protocol": 1,
|
|
20
20
|
"requires": {}
|
|
21
21
|
},
|
|
22
22
|
"env": {
|
|
23
23
|
"repo": "imdotrino/dotrino-vault",
|
|
24
24
|
"npm": "@dotrino/env",
|
|
25
|
-
"current": "0.
|
|
25
|
+
"current": "0.93.0",
|
|
26
26
|
"protocol": 1,
|
|
27
27
|
"requires": {
|
|
28
|
-
"vault": ">=0.
|
|
28
|
+
"vault": ">=0.93.0"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"identity": {
|
|
32
32
|
"repo": "imdotrino/dotrino-identity",
|
|
33
33
|
"npm": "@dotrino/identity",
|
|
34
|
-
"current": "0.121.
|
|
34
|
+
"current": "0.121.5",
|
|
35
35
|
"protocol": 1,
|
|
36
36
|
"requires": {
|
|
37
37
|
"proxy-client": ">=0.13.1"
|
|
@@ -85,7 +85,7 @@ export const MANIFESTS = Object.freeze({
|
|
|
85
85
|
"notifications": {
|
|
86
86
|
"repo": "imdotrino/dotrino-notifications",
|
|
87
87
|
"npm": "@dotrino/notifications",
|
|
88
|
-
"current": "0.7.
|
|
88
|
+
"current": "0.7.2",
|
|
89
89
|
"protocol": 2,
|
|
90
90
|
"requires": {
|
|
91
91
|
"proxy-client": ">=0.20.0"
|
|
@@ -121,7 +121,7 @@ export const MANIFESTS = Object.freeze({
|
|
|
121
121
|
"proxy-client": {
|
|
122
122
|
"repo": "imdotrino/dotrino-proxy-client",
|
|
123
123
|
"npm": "@dotrino/proxy-client",
|
|
124
|
-
"current": "0.38.
|
|
124
|
+
"current": "0.38.3",
|
|
125
125
|
"protocol": 2,
|
|
126
126
|
"requires": {
|
|
127
127
|
"identity": ">=0.53.0",
|
|
@@ -131,10 +131,10 @@ export const MANIFESTS = Object.freeze({
|
|
|
131
131
|
"remote-agent": {
|
|
132
132
|
"repo": "imdotrino/dotrino-remote-agent",
|
|
133
133
|
"npm": "@dotrino/remote-agent",
|
|
134
|
-
"current": "0.22.
|
|
134
|
+
"current": "0.22.3",
|
|
135
135
|
"protocol": 1,
|
|
136
136
|
"requires": {
|
|
137
|
-
"identity": ">=0.
|
|
137
|
+
"identity": ">=0.121.4",
|
|
138
138
|
"vault": ">=0.85.0",
|
|
139
139
|
"proxy-client": ">=0.36.1",
|
|
140
140
|
"vaultd": ">=0.154.0"
|
|
@@ -181,7 +181,7 @@ export const MANIFESTS = Object.freeze({
|
|
|
181
181
|
"repo": "imdotrino/dotrino-ia",
|
|
182
182
|
"npm": "@dotrino/ia-agent",
|
|
183
183
|
"deprecated": "2026-10-07: retired, replaced by terminal-agent (dotrino-terminal)",
|
|
184
|
-
"current": "0.9.
|
|
184
|
+
"current": "0.9.1",
|
|
185
185
|
"protocol": 1,
|
|
186
186
|
"requires": {
|
|
187
187
|
"remote-agent": ">=0.20.1",
|
|
@@ -193,7 +193,7 @@ export const MANIFESTS = Object.freeze({
|
|
|
193
193
|
"content": {
|
|
194
194
|
"repo": "imdotrino/dotrino-content",
|
|
195
195
|
"npm": "@dotrino/content",
|
|
196
|
-
"current": "0.6.
|
|
196
|
+
"current": "0.6.8",
|
|
197
197
|
"protocol": 1,
|
|
198
198
|
"requires": {
|
|
199
199
|
"remote-agent": ">=0.22.2",
|
|
@@ -205,7 +205,7 @@ export const MANIFESTS = Object.freeze({
|
|
|
205
205
|
"sealers": {
|
|
206
206
|
"repo": "imdotrino/dotrino-sealers",
|
|
207
207
|
"npm": "@dotrino/sealers",
|
|
208
|
-
"current": "0.10.
|
|
208
|
+
"current": "0.10.2",
|
|
209
209
|
"protocol": 1,
|
|
210
210
|
"requires": {
|
|
211
211
|
"remote-agent": ">=0.20.1",
|
|
@@ -243,7 +243,7 @@ export const MANIFESTS = Object.freeze({
|
|
|
243
243
|
"topbar": {
|
|
244
244
|
"repo": "imdotrino/dotrino-topbar",
|
|
245
245
|
"npm": "@dotrino/topbar",
|
|
246
|
-
"current": "0.16.
|
|
246
|
+
"current": "0.16.3",
|
|
247
247
|
"protocol": 1,
|
|
248
248
|
"requires": {
|
|
249
249
|
"identity": ">=0.96.1",
|
|
@@ -253,7 +253,7 @@ export const MANIFESTS = Object.freeze({
|
|
|
253
253
|
"vault": {
|
|
254
254
|
"repo": "imdotrino/dotrino-vault",
|
|
255
255
|
"npm": "@dotrino/vault",
|
|
256
|
-
"current": "0.
|
|
256
|
+
"current": "0.93.0",
|
|
257
257
|
"protocol": 1,
|
|
258
258
|
"requires": {
|
|
259
259
|
"vaultd": ">=0.105.0",
|
|
@@ -269,7 +269,7 @@ export const MANIFESTS = Object.freeze({
|
|
|
269
269
|
"vaultd": {
|
|
270
270
|
"repo": "imdotrino/dotrino-vault",
|
|
271
271
|
"npm": "@dotrino/vaultd",
|
|
272
|
-
"current": "0.
|
|
272
|
+
"current": "0.165.0",
|
|
273
273
|
"protocol": 1,
|
|
274
274
|
"requires": {
|
|
275
275
|
"identity": ">=0.118.0",
|
|
@@ -375,7 +375,7 @@ export const MANIFESTS = Object.freeze({
|
|
|
375
375
|
"ai": {
|
|
376
376
|
"repo": "imdotrino/dotrino-ai",
|
|
377
377
|
"npm": "@dotrino/ai",
|
|
378
|
-
"current": "0.1.
|
|
378
|
+
"current": "0.1.1",
|
|
379
379
|
"protocol": 1,
|
|
380
380
|
"requires": {}
|
|
381
381
|
}
|