New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ceramicnetwork/streamid

Package Overview
Dependencies
Maintainers
9
Versions
485
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ceramicnetwork/streamid - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

4

lib/commit-id.js

@@ -99,4 +99,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

get bytes() {
const codec = varint.encode(STREAMID_CODEC);
const type = varint.encode(this.type);
const codec = new Uint8Array(varint.encode(STREAMID_CODEC));
const type = new Uint8Array(varint.encode(this.type));
const commitBytes = __classPrivateFieldGet(this, _CommitID_commit, "f")?.bytes || new Uint8Array([0]);

@@ -103,0 +103,0 @@ return uint8ArrayConcat([codec, type, this.cid.bytes, commitBytes]);

@@ -58,5 +58,5 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

get bytes() {
const streamCodec = varint.encode(STREAMID_CODEC);
const eventIDCodec = varint.encode(EVENT_ID_CODEC);
const networkID = varint.encode(this._networkID);
const streamCodec = new Uint8Array(varint.encode(STREAMID_CODEC));
const eventIDCodec = new Uint8Array(varint.encode(EVENT_ID_CODEC));
const networkID = new Uint8Array(varint.encode(this._networkID));
const eventHeight = cbor.encode(this._eventHeight);

@@ -63,0 +63,0 @@ const event = this._event.bytes;

@@ -80,4 +80,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

get bytes() {
const codec = varint.encode(STREAMID_CODEC);
const type = varint.encode(this.type);
const codec = new Uint8Array(varint.encode(STREAMID_CODEC));
const type = new Uint8Array(varint.encode(this.type));
return uint8ArrayConcat([codec, type, this.cid.bytes]);

@@ -84,0 +84,0 @@ }

{
"name": "@ceramicnetwork/streamid",
"version": "3.0.4",
"version": "3.0.5",
"description": "Ceramic Stream Ids",

@@ -38,3 +38,3 @@ "keywords": [

"multiformats": "^11.0.1",
"uint8arrays": "^4.0.3",
"uint8arrays": "^4.0.9",
"varint": "^6.0.0"

@@ -45,3 +45,3 @@ },

},
"gitHead": "a61758a300326df5caaa5e6d5598bbf1018697a7"
"gitHead": "3761560e46bd112972fbf31ea97742cb2fd971c3"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc