@peerbit/stream-interface 5.1.2 → 5.1.3-182ba4d

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.
@@ -26,4 +26,6 @@ export declare class NotStartedError extends Error {
26
26
  }
27
27
  export declare class DeliveryError extends Error {
28
28
  }
29
+ export declare class InvalidMessageError extends Error {
30
+ }
29
31
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE1D,MAAM,WAAW,UAAU;IAC1B,cAAc,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IAC3C,gBAAgB,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IAC7C,kBAAkB,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,aAAa;IAC7B,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAC9B;AACD,MAAM,WAAW,YAAa,SAAQ,UAAU,EAAE,aAAa;IAC9D,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CAC/B;AAED,cAAc,eAAe,CAAC;AAE9B,MAAM,WAAW,WAAW;IAC3B,OAAO,CACN,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,MAAM,EACrC,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,WAAW,CAAA;KAAE,GAChC,OAAO,CAAC,IAAI,CAAC,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACzC,YAAY,CACX,IAAI,EAAE,MAAM,GACV,aAAa,GAAG,SAAS,GAAG,OAAO,CAAC,aAAa,GAAG,SAAS,CA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artedError extends Error {
6
6
  }
7
7
  export class DeliveryError extends Error {
8
8
  }
9
+ export class InvalidMessageError extends Error {
10
+ }
9
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAiBA,cAAc,eAAe,CAAC;AAe9B,MAAM,OAAO,eAAgB,SAAQ,KAAK;IACzC;QACC,KAAK,CAAC,aAAa,CAAC,CAAC;IACtB,CAAC;CACD;AAED,MAAM,OAAO,aAAc,SAAQ,KAAK;CAAG"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAiBA,cAAc,eAAe,CAAC;AAe9B,MAAM,OAAO,eAAgB,SAAQ,KAAK;IACzC;QACC,KAAK,CAAC,aAAa,CAAC,CAAC;IACtB,CAAC;CACD;AAED,MAAM,OAAO,aAAc,SAAQ,KAAK;CAAG;AAC3C,MAAM,OAAO,mBAAoB,SAAQ,KAAK;CAAG"}
package/package.json CHANGED
@@ -1,80 +1,80 @@
1
1
  {
2
- "name": "@peerbit/stream-interface",
3
- "version": "5.1.2",
4
- "description": "Block store streaming",
5
- "sideEffects": false,
6
- "type": "module",
7
- "types": "./dist/src/index.d.ts",
8
- "typesVersions": {
9
- "*": {
10
- "*": [
11
- "*",
12
- "dist/*",
13
- "dist/src/*",
14
- "dist/src/*/index"
15
- ],
16
- "src/*": [
17
- "*",
18
- "dist/*",
19
- "dist/src/*",
20
- "dist/src/*/index"
21
- ]
22
- }
23
- },
24
- "files": [
25
- "src",
26
- "dist",
27
- "!dist/test",
28
- "!**/*.tsbuildinfo"
29
- ],
30
- "exports": {
31
- ".": {
32
- "types": "./dist/src/index.d.ts",
33
- "import": "./dist/src/index.js"
34
- }
35
- },
36
- "eslintConfig": {
37
- "extends": "peerbit",
38
- "parserOptions": {
39
- "project": true,
40
- "sourceType": "module"
41
- },
42
- "ignorePatterns": [
43
- "!.aegir.js",
44
- "test/ts-use",
45
- "*.d.ts"
46
- ]
47
- },
48
- "publishConfig": {
49
- "access": "public"
50
- },
51
- "scripts": {
52
- "clean": "aegir clean",
53
- "build": "aegir build --no-bundle",
54
- "test": "",
55
- "lint": "aegir lint"
56
- },
57
- "engines": {
58
- "node": ">=16.15.1"
59
- },
60
- "repository": {
61
- "type": "git",
62
- "url": "git+https://github.com/dao-xyz/peerbit.git"
63
- },
64
- "keywords": [
65
- "peerbit"
66
- ],
67
- "author": "dao.xyz",
68
- "license": "MIT",
69
- "bugs": {
70
- "url": "https://github.com/dao-xyz/peerbit/issues"
71
- },
72
- "homepage": "https://github.com/dao-xyz/peerbit#readme",
73
- "localMaintainers": [
74
- "dao.xyz"
75
- ],
76
- "dependencies": {
77
- "@dao-xyz/borsh": "^5.2.3",
78
- "@peerbit/crypto": "2.3.3"
79
- }
2
+ "name": "@peerbit/stream-interface",
3
+ "version": "5.1.3-182ba4d",
4
+ "description": "Block store streaming",
5
+ "sideEffects": false,
6
+ "type": "module",
7
+ "types": "./dist/src/index.d.ts",
8
+ "typesVersions": {
9
+ "*": {
10
+ "*": [
11
+ "*",
12
+ "dist/*",
13
+ "dist/src/*",
14
+ "dist/src/*/index"
15
+ ],
16
+ "src/*": [
17
+ "*",
18
+ "dist/*",
19
+ "dist/src/*",
20
+ "dist/src/*/index"
21
+ ]
22
+ }
23
+ },
24
+ "files": [
25
+ "src",
26
+ "dist",
27
+ "!dist/test",
28
+ "!**/*.tsbuildinfo"
29
+ ],
30
+ "exports": {
31
+ ".": {
32
+ "types": "./dist/src/index.d.ts",
33
+ "import": "./dist/src/index.js"
34
+ }
35
+ },
36
+ "eslintConfig": {
37
+ "extends": "peerbit",
38
+ "parserOptions": {
39
+ "project": true,
40
+ "sourceType": "module"
41
+ },
42
+ "ignorePatterns": [
43
+ "!.aegir.js",
44
+ "test/ts-use",
45
+ "*.d.ts"
46
+ ]
47
+ },
48
+ "publishConfig": {
49
+ "access": "public"
50
+ },
51
+ "scripts": {
52
+ "clean": "aegir clean",
53
+ "build": "aegir build --no-bundle",
54
+ "test": "",
55
+ "lint": "aegir lint"
56
+ },
57
+ "engines": {
58
+ "node": ">=16.15.1"
59
+ },
60
+ "repository": {
61
+ "type": "git",
62
+ "url": "git+https://github.com/dao-xyz/peerbit.git"
63
+ },
64
+ "keywords": [
65
+ "peerbit"
66
+ ],
67
+ "author": "dao.xyz",
68
+ "license": "MIT",
69
+ "bugs": {
70
+ "url": "https://github.com/dao-xyz/peerbit/issues"
71
+ },
72
+ "homepage": "https://github.com/dao-xyz/peerbit#readme",
73
+ "localMaintainers": [
74
+ "dao.xyz"
75
+ ],
76
+ "dependencies": {
77
+ "@dao-xyz/borsh": "^5.2.3",
78
+ "@peerbit/crypto": "2.3.4-182ba4d"
79
+ }
80
80
  }
package/src/index.ts CHANGED
@@ -37,3 +37,4 @@ export class NotStartedError extends Error {
37
37
  }
38
38
 
39
39
  export class DeliveryError extends Error {}
40
+ export class InvalidMessageError extends Error {}