@leofcoin/codec-format-interface 1.4.0 → 1.4.1
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/index.js +1 -1
- package/dist/module.js +3 -3
- package/package.json +3 -2
- package/src/codecs.js +1 -1
package/dist/index.js
CHANGED
package/dist/module.js
CHANGED
|
@@ -456,7 +456,7 @@ var codecs = {
|
|
|
456
456
|
},
|
|
457
457
|
// chat message
|
|
458
458
|
'chat-message': {
|
|
459
|
-
codec: parseInt('
|
|
459
|
+
codec: parseInt('70636d', 16),
|
|
460
460
|
hashAlg: 'dbl-keccak-256',
|
|
461
461
|
},
|
|
462
462
|
'peernet-file' : {
|
|
@@ -4130,8 +4130,8 @@ var prebuildsOnly = !!process.env.PREBUILDS_ONLY;
|
|
|
4130
4130
|
var abi = process.versions.modules; // TODO: support old node where this is undef
|
|
4131
4131
|
var runtime = isElectron() ? 'electron' : (isNwjs() ? 'node-webkit' : 'node');
|
|
4132
4132
|
|
|
4133
|
-
var arch = os.arch();
|
|
4134
|
-
var platform = os.platform();
|
|
4133
|
+
var arch = process.env.npm_config_arch || os.arch();
|
|
4134
|
+
var platform = process.env.npm_config_platform || os.platform();
|
|
4135
4135
|
var libc = process.env.LIBC || (isAlpine(platform) ? 'musl' : 'glibc');
|
|
4136
4136
|
var armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || '';
|
|
4137
4137
|
var uv = (process.versions.uv || '').split('.')[0];
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leofcoin/codec-format-interface",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/module.js",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
9
|
"c": "rollup -c"
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
"varint": "^6.0.0"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
|
-
"rollup": "^2.
|
|
30
|
+
"rollup": "^2.79.1",
|
|
30
31
|
"tape": "^5.5.3"
|
|
31
32
|
}
|
|
32
33
|
}
|