@leofcoin/codec-format-interface 1.6.11 → 1.6.13
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/LICENSE +20 -20
- package/dist/basic-interface.d.ts +33 -33
- package/dist/codec-format-interface.d.ts +32 -32
- package/dist/codec-hash.d.ts +27 -26
- package/dist/codec.d.ts +15 -15
- package/dist/index.d.ts +9 -9
- package/dist/index.js +435 -433
- package/package.json +48 -48
- package/dist/codecs.d.ts +0 -75
package/package.json
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@leofcoin/codec-format-interface",
|
|
3
|
-
"version": "1.6.
|
|
4
|
-
"description": "",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": "./dist/index.js"
|
|
8
|
-
},
|
|
9
|
-
"files": [
|
|
10
|
-
"dist"
|
|
11
|
-
],
|
|
12
|
-
"typings": "dist/index.d.ts",
|
|
13
|
-
"scripts": {
|
|
14
|
-
"prepublish": "npm run build && npm version patch",
|
|
15
|
-
"build": "rollup -c",
|
|
16
|
-
"test": "node test"
|
|
17
|
-
},
|
|
18
|
-
"repository": {
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "git+https://github.com/leofcoin/codec-format-interface.git"
|
|
21
|
-
},
|
|
22
|
-
"keywords": [],
|
|
23
|
-
"author": "",
|
|
24
|
-
"license": "MIT",
|
|
25
|
-
"bugs": {
|
|
26
|
-
"url": "https://github.com/leofcoin/codec-format-interface/issues"
|
|
27
|
-
},
|
|
28
|
-
"homepage": "https://github.com/leofcoin/codec-format-interface#readme",
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"@leofcoin/codecs": "^1.0.0",
|
|
31
|
-
"@vandeurenglenn/base32": "^1.1.0",
|
|
32
|
-
"@vandeurenglenn/base58": "^1.1.1",
|
|
33
|
-
"@vandeurenglenn/is-hex": "^1.0.0",
|
|
34
|
-
"@vandeurenglenn/proto-array": "^1.0.0",
|
|
35
|
-
"@vandeurenglenn/typed-array-utils": "^1.1.0",
|
|
36
|
-
"hash-wasm": "^4.9.0",
|
|
37
|
-
"varint": "^6.0.0"
|
|
38
|
-
},
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"@rollup/plugin-commonjs": "^23.0.3",
|
|
41
|
-
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
42
|
-
"@rollup/plugin-typescript": "^10.0.1",
|
|
43
|
-
"@types/varint": "^6.0.1",
|
|
44
|
-
"rollup": "^3.5.1",
|
|
45
|
-
"tape": "^5.5.3",
|
|
46
|
-
"tslib": "^2.4.1"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@leofcoin/codec-format-interface",
|
|
3
|
+
"version": "1.6.13",
|
|
4
|
+
"description": "",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./dist/index.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"typings": "dist/index.d.ts",
|
|
13
|
+
"scripts": {
|
|
14
|
+
"prepublish": "npm run build && npm version patch",
|
|
15
|
+
"build": "rollup -c",
|
|
16
|
+
"test": "node test"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/leofcoin/codec-format-interface.git"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [],
|
|
23
|
+
"author": "",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/leofcoin/codec-format-interface/issues"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/leofcoin/codec-format-interface#readme",
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@leofcoin/codecs": "^1.0.0",
|
|
31
|
+
"@vandeurenglenn/base32": "^1.1.0",
|
|
32
|
+
"@vandeurenglenn/base58": "^1.1.1",
|
|
33
|
+
"@vandeurenglenn/is-hex": "^1.0.0",
|
|
34
|
+
"@vandeurenglenn/proto-array": "^1.0.0",
|
|
35
|
+
"@vandeurenglenn/typed-array-utils": "^1.1.0",
|
|
36
|
+
"hash-wasm": "^4.9.0",
|
|
37
|
+
"varint": "^6.0.0"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@rollup/plugin-commonjs": "^23.0.3",
|
|
41
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
42
|
+
"@rollup/plugin-typescript": "^10.0.1",
|
|
43
|
+
"@types/varint": "^6.0.1",
|
|
44
|
+
"rollup": "^3.5.1",
|
|
45
|
+
"tape": "^5.5.3",
|
|
46
|
+
"tslib": "^2.4.1"
|
|
47
|
+
}
|
|
48
|
+
}
|
package/dist/codecs.d.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'disco-hash': {
|
|
3
|
-
codec: number;
|
|
4
|
-
hashAlg: string;
|
|
5
|
-
};
|
|
6
|
-
'peernet-peer-response': {
|
|
7
|
-
codec: number;
|
|
8
|
-
hashAlg: string;
|
|
9
|
-
};
|
|
10
|
-
'peernet-peer': {
|
|
11
|
-
codec: number;
|
|
12
|
-
hashAlg: string;
|
|
13
|
-
};
|
|
14
|
-
'peernet-dht': {
|
|
15
|
-
codec: number;
|
|
16
|
-
hashAlg: string;
|
|
17
|
-
};
|
|
18
|
-
'peernet-dht-response': {
|
|
19
|
-
codec: number;
|
|
20
|
-
hashAlg: string;
|
|
21
|
-
};
|
|
22
|
-
'peernet-data': {
|
|
23
|
-
codec: number;
|
|
24
|
-
hashAlg: string;
|
|
25
|
-
};
|
|
26
|
-
'peernet-data-response': {
|
|
27
|
-
codec: number;
|
|
28
|
-
hashAlg: string;
|
|
29
|
-
};
|
|
30
|
-
'peernet-message': {
|
|
31
|
-
codec: number;
|
|
32
|
-
hashAlg: string;
|
|
33
|
-
};
|
|
34
|
-
'peernet-ps': {
|
|
35
|
-
codec: number;
|
|
36
|
-
hashAlg: string;
|
|
37
|
-
};
|
|
38
|
-
'peernet-response': {
|
|
39
|
-
codec: number;
|
|
40
|
-
hashAlg: string;
|
|
41
|
-
};
|
|
42
|
-
'peernet-request': {
|
|
43
|
-
codec: number;
|
|
44
|
-
hashAlg: string;
|
|
45
|
-
};
|
|
46
|
-
'leofcoin-block': {
|
|
47
|
-
codec: number;
|
|
48
|
-
hashAlg: string;
|
|
49
|
-
};
|
|
50
|
-
'leofcoin-tx': {
|
|
51
|
-
codec: number;
|
|
52
|
-
hashAlg: string;
|
|
53
|
-
};
|
|
54
|
-
'leofcoin-itx': {
|
|
55
|
-
codec: number;
|
|
56
|
-
hashAlg: string;
|
|
57
|
-
};
|
|
58
|
-
'leofcoin-pr': {
|
|
59
|
-
codec: number;
|
|
60
|
-
hashAlg: string;
|
|
61
|
-
};
|
|
62
|
-
'chat-message': {
|
|
63
|
-
codec: number;
|
|
64
|
-
hashAlg: string;
|
|
65
|
-
};
|
|
66
|
-
'peernet-file': {
|
|
67
|
-
codec: number;
|
|
68
|
-
hashAlg: string;
|
|
69
|
-
};
|
|
70
|
-
'peernet-file-response': {
|
|
71
|
-
codec: number;
|
|
72
|
-
hashAlg: string;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
export default _default;
|