Comparing version 3.0.0-alpha.9 to 3.0.0-alpha.10
import EventEmitter from './events.js'; | ||
import { Chunk, MetaReadable, MetaWritable } from './streams.js'; | ||
import { chunkDecode, MetaReadable, MetaWritable } from './streams.js'; | ||
@@ -142,3 +142,3 @@ const CALL_TIMEOUT = 7 * 1000; | ||
const byteView = new Uint8Array(buffer); | ||
const { id, payload } = Chunk.decode(byteView); | ||
const { id, payload } = chunkDecode(byteView); | ||
const stream = this.streams.get(id); | ||
@@ -145,0 +145,0 @@ if (stream) await stream.push(payload); |
{ | ||
"name": "metacom", | ||
"version": "3.0.0-alpha.9", | ||
"version": "3.0.0-alpha.10", | ||
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>", | ||
@@ -40,3 +40,7 @@ "description": "Communication protocol for Metarhia stack with rpc, events, binary streams, memory and db access", | ||
}, | ||
"files": ["dist/", "lib/", "metacom.d.ts"], | ||
"files": [ | ||
"dist/", | ||
"lib/", | ||
"metacom.d.ts" | ||
], | ||
"readmeFilename": "README.md", | ||
@@ -50,20 +54,20 @@ "scripts": { | ||
"engines": { | ||
"node": "^14.18 || 16 || 18 || 19 || 20" | ||
"node": "16 || 18 || 19 || 20" | ||
}, | ||
"dependencies": { | ||
"metautil": "^3.7.1", | ||
"metautil": "^3.7.2", | ||
"ws": "^8.13.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.15.2", | ||
"@types/node": "^18.16.3", | ||
"@types/ws": "^8.5.4", | ||
"eslint": "^8.36.0", | ||
"eslint": "^8.39.0", | ||
"eslint-config-metarhia": "^8.1.0", | ||
"eslint-config-prettier": "^8.7.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"metatests": "^0.8.2", | ||
"prettier": "^2.8.4", | ||
"prettier": "^2.8.8", | ||
"typescript": "^4.9.5" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54345
14
Updatedmetautil@^3.7.2