@dxos/broadcast
Advanced tools
@@ -0,7 +1,15 @@ | ||
/** | ||
* Defined in: | ||
* {@link file://./../../schema.proto} | ||
*/ | ||
export interface Packet { | ||
seqno?: Uint8Array; | ||
origin?: Uint8Array; | ||
seqno: Uint8Array; | ||
origin: Uint8Array; | ||
/** | ||
* Options: | ||
* - proto3_optional = true | ||
*/ | ||
from?: Uint8Array; | ||
data?: Uint8Array; | ||
data: Uint8Array; | ||
} | ||
//# sourceMappingURL=broadcast.d.ts.map |
@@ -5,4 +5,4 @@ "use strict"; | ||
const codec_protobuf_1 = require("@dxos/codec-protobuf"); | ||
exports.schemaJson = JSON.parse("{\"nested\":{\"dxos\":{\"nested\":{\"broadcast\":{\"nested\":{\"Packet\":{\"fields\":{\"seqno\":{\"type\":\"bytes\",\"id\":1,\"comment\":null},\"origin\":{\"type\":\"bytes\",\"id\":2,\"comment\":null},\"from\":{\"type\":\"bytes\",\"id\":3,\"comment\":null},\"data\":{\"type\":\"bytes\",\"id\":4,\"comment\":null}},\"comment\":null}}}}}}}"); | ||
exports.schemaJson = JSON.parse("{\"nested\":{\"dxos\":{\"nested\":{\"broadcast\":{\"nested\":{\"Packet\":{\"oneofs\":{\"_from\":{\"oneof\":[\"from\"]}},\"fields\":{\"seqno\":{\"type\":\"bytes\",\"id\":1,\"comment\":null},\"origin\":{\"type\":\"bytes\",\"id\":2,\"comment\":null},\"from\":{\"type\":\"bytes\",\"id\":3,\"options\":{\"proto3_optional\":true},\"comment\":null},\"data\":{\"type\":\"bytes\",\"id\":4,\"comment\":null}},\"comment\":null}}}}}}}"); | ||
exports.schema = codec_protobuf_1.Schema.fromJson(exports.schemaJson); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@dxos/broadcast", | ||
"version": "2.33.9-dev.d0ae5f95", | ||
"version": "2.33.9-dev.d0dce35f", | ||
"description": "Abstract module to send broadcast messages.", | ||
@@ -21,5 +21,5 @@ "repository": { | ||
"dependencies": { | ||
"@dxos/async": "2.33.9-dev.d0ae5f95", | ||
"@dxos/codec-protobuf": "2.33.9-dev.d0ae5f95", | ||
"@dxos/crypto": "2.33.9-dev.d0ae5f95", | ||
"@dxos/async": "2.33.9-dev.d0dce35f", | ||
"@dxos/codec-protobuf": "2.33.9-dev.d0dce35f", | ||
"@dxos/crypto": "2.33.9-dev.d0dce35f", | ||
"assert": "^2.0.0", | ||
@@ -31,3 +31,3 @@ "debug": "^4.3.3", | ||
"@dxos/eslint-plugin": "~1.0.34", | ||
"@dxos/network-generator": "2.33.9-dev.d0ae5f95", | ||
"@dxos/network-generator": "2.33.9-dev.d0dce35f", | ||
"@dxos/protocols-toolchain": "2.33.8", | ||
@@ -34,0 +34,0 @@ "@types/debug": "^4.1.7", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
75832
0.48%534
1.52%