@leofcoin/peernet 0.12.1 → 0.12.2
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/dist/browser/generate-account.js +50 -0
- package/dist/browser/messages.js +439 -0
- package/dist/browser/pako.js +6731 -0
- package/dist/browser/peernet-swarm.js +836 -0
- package/dist/browser/peernet.js +7827 -51606
- package/dist/browser/{160.peernet.js → protons.js} +4 -27
- package/dist/browser/storage.js +12 -0
- package/dist/browser/wrtc.js +28 -0
- package/dist/commonjs/dht-6a1b6246.js +45 -0
- package/dist/commonjs/dht-response-e4a603ea.js +34 -0
- package/dist/commonjs/dht-response.js +3 -23
- package/dist/commonjs/dht.js +3 -34
- package/dist/commonjs/messages-bcb02ee9.js +189 -0
- package/dist/commonjs/{peernet-message.js → peernet-6eef77d5.js} +7 -1
- package/dist/commonjs/peernet.js +42 -1375
- package/dist/commonjs/peernet2.js +8 -0
- package/dist/commonjs/request-95ed03ec.js +33 -0
- package/dist/commonjs/request.js +3 -22
- package/dist/commonjs/response-bae4e2a2.js +33 -0
- package/dist/commonjs/response.js +3 -22
- package/dist/module/messages-421f88db.js +323 -0
- package/dist/module/peernet.js +35 -1479
- package/package.json +7 -11
- package/rollup.config.js +2 -21
- package/src/handlers/message.js +4 -5
- package/src/messages/{chat-message.js → chat.js} +0 -0
- package/src/messages/{peernet-message.js → peernet.js} +0 -0
- package/src/messages.js +11 -0
- package/src/peernet.js +33 -23
- package/webpack.config.js +6 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(self["
|
|
1
|
+
(self["webpackChunk_leofcoin_peernet"] = self["webpackChunk_leofcoin_peernet"] || []).push([[397],{
|
|
2
2
|
|
|
3
|
-
/***/
|
|
3
|
+
/***/ 4894:
|
|
4
4
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5
5
|
|
|
6
6
|
var parse = __webpack_require__(7126)
|
|
@@ -1181,7 +1181,6 @@ module.exports = function (value) {
|
|
|
1181
1181
|
/***/ 7986:
|
|
1182
1182
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1183
1183
|
|
|
1184
|
-
"use strict";
|
|
1185
1184
|
/* eslint max-depth: 1 */
|
|
1186
1185
|
|
|
1187
1186
|
|
|
@@ -1519,7 +1518,6 @@ module.exports = compileDecode
|
|
|
1519
1518
|
/***/ 9611:
|
|
1520
1519
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1521
1520
|
|
|
1522
|
-
"use strict";
|
|
1523
1521
|
|
|
1524
1522
|
|
|
1525
1523
|
var defined = (__webpack_require__(3864)/* .defined */ .r)
|
|
@@ -1660,7 +1658,6 @@ module.exports = compileEncode
|
|
|
1660
1658
|
/***/ 1216:
|
|
1661
1659
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1662
1660
|
|
|
1663
|
-
"use strict";
|
|
1664
1661
|
|
|
1665
1662
|
|
|
1666
1663
|
var defined = (__webpack_require__(3864)/* .defined */ .r)
|
|
@@ -1770,7 +1767,6 @@ module.exports = compileEncodingLength
|
|
|
1770
1767
|
/***/ 104:
|
|
1771
1768
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1772
1769
|
|
|
1773
|
-
"use strict";
|
|
1774
1770
|
|
|
1775
1771
|
|
|
1776
1772
|
const encoder = __webpack_require__(9851)
|
|
@@ -1799,7 +1795,6 @@ module.exports = encoder(0, boolEncode, boolDecode, boolEncodingLength)
|
|
|
1799
1795
|
/***/ 1092:
|
|
1800
1796
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1801
1797
|
|
|
1802
|
-
"use strict";
|
|
1803
1798
|
|
|
1804
1799
|
|
|
1805
1800
|
const varint = __webpack_require__(138)
|
|
@@ -1849,7 +1844,6 @@ module.exports = encoder(2, bytesEncode, bytesDecode, bytesEncodingLength)
|
|
|
1849
1844
|
/***/ 9620:
|
|
1850
1845
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1851
1846
|
|
|
1852
|
-
"use strict";
|
|
1853
1847
|
|
|
1854
1848
|
|
|
1855
1849
|
const encoder = __webpack_require__(9851)
|
|
@@ -1878,7 +1872,6 @@ module.exports = encoder(1, doubleEncode, doubleDecode, doubleEncodingLength)
|
|
|
1878
1872
|
/***/ 9851:
|
|
1879
1873
|
/***/ (function(module) {
|
|
1880
1874
|
|
|
1881
|
-
"use strict";
|
|
1882
1875
|
|
|
1883
1876
|
|
|
1884
1877
|
function encoder (type, encode, decode, encodingLength) {
|
|
@@ -1900,7 +1893,6 @@ module.exports = encoder
|
|
|
1900
1893
|
/***/ 9018:
|
|
1901
1894
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1902
1895
|
|
|
1903
|
-
"use strict";
|
|
1904
1896
|
|
|
1905
1897
|
|
|
1906
1898
|
const encoder = __webpack_require__(9851)
|
|
@@ -1929,7 +1921,6 @@ module.exports = encoder(5, fixed32Encode, fixed32Decode, fixed32EncodingLength)
|
|
|
1929
1921
|
/***/ 3334:
|
|
1930
1922
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1931
1923
|
|
|
1932
|
-
"use strict";
|
|
1933
1924
|
|
|
1934
1925
|
|
|
1935
1926
|
const encoder = __webpack_require__(9851)
|
|
@@ -1962,7 +1953,6 @@ module.exports = encoder(1, fixed64Encode, fixed64Decode, fixed64EncodingLength)
|
|
|
1962
1953
|
/***/ 4606:
|
|
1963
1954
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1964
1955
|
|
|
1965
|
-
"use strict";
|
|
1966
1956
|
|
|
1967
1957
|
|
|
1968
1958
|
const encoder = __webpack_require__(9851)
|
|
@@ -1991,7 +1981,6 @@ module.exports = encoder(5, floatEncode, floatDecode, floatEncodingLength)
|
|
|
1991
1981
|
/***/ 119:
|
|
1992
1982
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1993
1983
|
|
|
1994
|
-
"use strict";
|
|
1995
1984
|
|
|
1996
1985
|
|
|
1997
1986
|
exports.make = __webpack_require__(9851)
|
|
@@ -2021,7 +2010,6 @@ exports.float = __webpack_require__(4606)
|
|
|
2021
2010
|
/***/ 5282:
|
|
2022
2011
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2023
2012
|
|
|
2024
|
-
"use strict";
|
|
2025
2013
|
|
|
2026
2014
|
|
|
2027
2015
|
const varint = __webpack_require__(138)
|
|
@@ -2051,7 +2039,6 @@ module.exports = encoder(0, in32Encode, int32Decode, int32EncodingLength)
|
|
|
2051
2039
|
/***/ 4291:
|
|
2052
2040
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2053
2041
|
|
|
2054
|
-
"use strict";
|
|
2055
2042
|
|
|
2056
2043
|
|
|
2057
2044
|
const varint = __webpack_require__(138)
|
|
@@ -2108,7 +2095,6 @@ module.exports = encoder(0, int64Encode, int64Decode, int64EncodingLength)
|
|
|
2108
2095
|
/***/ 2730:
|
|
2109
2096
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2110
2097
|
|
|
2111
|
-
"use strict";
|
|
2112
2098
|
|
|
2113
2099
|
|
|
2114
2100
|
const encoder = __webpack_require__(9851)
|
|
@@ -2137,7 +2123,6 @@ module.exports = encoder(5, sfixed32Encode, sfixed32Decode, sfixed32EncodingLeng
|
|
|
2137
2123
|
/***/ 2407:
|
|
2138
2124
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2139
2125
|
|
|
2140
|
-
"use strict";
|
|
2141
2126
|
|
|
2142
2127
|
|
|
2143
2128
|
const svarint = __webpack_require__(1842)
|
|
@@ -2164,7 +2149,6 @@ module.exports = encoder(0, svarintEncode, svarintDecode, svarint.encodingLength
|
|
|
2164
2149
|
/***/ 6626:
|
|
2165
2150
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2166
2151
|
|
|
2167
|
-
"use strict";
|
|
2168
2152
|
|
|
2169
2153
|
|
|
2170
2154
|
const varint = __webpack_require__(138)
|
|
@@ -2213,7 +2197,6 @@ module.exports = encoder(2, stringEncode, stringDecode, stringEncodingLength)
|
|
|
2213
2197
|
/***/ 3083:
|
|
2214
2198
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2215
2199
|
|
|
2216
|
-
"use strict";
|
|
2217
2200
|
|
|
2218
2201
|
|
|
2219
2202
|
const varint = __webpack_require__(138)
|
|
@@ -2240,7 +2223,6 @@ module.exports = encoder(0, varintEncode, varintDecode, varint.encodingLength)
|
|
|
2240
2223
|
/***/ 7961:
|
|
2241
2224
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2242
2225
|
|
|
2243
|
-
"use strict";
|
|
2244
2226
|
|
|
2245
2227
|
|
|
2246
2228
|
const encodings = __webpack_require__(119)
|
|
@@ -2413,7 +2395,6 @@ module.exports = function (schema, extraEncodings) {
|
|
|
2413
2395
|
/***/ 3864:
|
|
2414
2396
|
/***/ (function(__unused_webpack_module, exports) {
|
|
2415
2397
|
|
|
2416
|
-
"use strict";
|
|
2417
2398
|
|
|
2418
2399
|
|
|
2419
2400
|
exports.r = function (val) {
|
|
@@ -2426,10 +2407,9 @@ exports.r = function (val) {
|
|
|
2426
2407
|
/***/ 7160:
|
|
2427
2408
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2428
2409
|
|
|
2429
|
-
"use strict";
|
|
2430
2410
|
|
|
2431
2411
|
|
|
2432
|
-
var schema = __webpack_require__(
|
|
2412
|
+
var schema = __webpack_require__(4894)
|
|
2433
2413
|
var compile = __webpack_require__(7961)
|
|
2434
2414
|
|
|
2435
2415
|
var flatten = function (values) {
|
|
@@ -2609,7 +2589,6 @@ module.exports = function (value) {
|
|
|
2609
2589
|
/***/ 2217:
|
|
2610
2590
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
2611
2591
|
|
|
2612
|
-
"use strict";
|
|
2613
2592
|
__webpack_require__.r(__webpack_exports__);
|
|
2614
2593
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2615
2594
|
/* harmony export */ "fromString": function() { return /* binding */ fromString; }
|
|
@@ -2629,7 +2608,6 @@ function fromString(string, encoding = 'utf8') {
|
|
|
2629
2608
|
/***/ 2263:
|
|
2630
2609
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
2631
2610
|
|
|
2632
|
-
"use strict";
|
|
2633
2611
|
__webpack_require__.r(__webpack_exports__);
|
|
2634
2612
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2635
2613
|
/* harmony export */ "toString": function() { return /* binding */ toString; }
|
|
@@ -2649,7 +2627,6 @@ function toString(array, encoding = 'utf8') {
|
|
|
2649
2627
|
/***/ 660:
|
|
2650
2628
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
2651
2629
|
|
|
2652
|
-
"use strict";
|
|
2653
2630
|
|
|
2654
2631
|
// EXPORTS
|
|
2655
2632
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -3806,4 +3783,4 @@ const BASES = {
|
|
|
3806
3783
|
|
|
3807
3784
|
/***/ })
|
|
3808
3785
|
|
|
3809
|
-
}])
|
|
3786
|
+
}])
|