From 4f7d1528b29d4d9949b9052e1051f9e8e2337590 Mon Sep 17 00:00:00 2001 From: username01010100 Date: Tue, 9 Jan 2024 18:21:39 +0700 Subject: [PATCH] 0.4.2 --- README.md | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e7cd240..5e10d63 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # array-buffer-serializer -![CI](https://github.com/username0101010/array-buffer-serializer/actions/workflows/test.yml/badge.svg) +![CI](https://github.com/usernmae0101/array-buffer-serializer/actions/workflows/test.yml/badge.svg) [![codecov](https://codecov.io/gh/username0101010/array-buffer-serializer/branch/main/graph/badge.svg?token=IZFQQP34H7)](https://codecov.io/gh/username0101010/array-buffer-serializer) +![node-current](https://img.shields.io/node/v/array-buffer-serializer) Similar (without fixed length data representation and some other minor differences) as [CBOR](https://datatracker.ietf.org/doc/html/rfc7049) or [MessagePack](https://github.com/msgpack/msgpack/blob/master/spec.md), allows to encode an object into bytes before transmission via WebRTC or WebSocket and decode it back when received. This is very useful for network bandwidth when you need to send data to one or more recipients frequently. Works in both: browser and node. diff --git a/package.json b/package.json index 3a3f9f7..e9b2c14 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "array-buffer-serializer", - "version": "0.4.0", + "version": "0.4.2", "description": "Serializes data to transfer fewer bytes over the network", "main": "index.js", "types": "index.d.ts",