Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mysten/bcs

Package Overview
Dependencies
Maintainers
7
Versions
520
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mysten/bcs - npm Package Compare versions

Comparing version 0.0.0-experimental-20240715213046 to 0.0.0-experimental-20240716041834

3

CHANGELOG.md
# Change Log
## 0.0.0-experimental-20240715213046
## 0.0.0-experimental-20240716041834
### Patch Changes
- 7fc464a: Remove unique symbols from types to improve compatability between version
- 0f27a97: Update dependencies

@@ -8,0 +9,0 @@

@@ -35,7 +35,5 @@ import { BcsReader } from './reader.js';

}
declare const SERIALIZED_BCS_BRAND: unique symbol;
export declare function isSerializedBcs(obj: unknown): obj is SerializedBcs<unknown>;
export declare class SerializedBcs<T, Input = T> {
#private;
get [SERIALIZED_BCS_BRAND](): boolean;
constructor(type: BcsType<T, Input>, schema: Uint8Array);

@@ -80,2 +78,1 @@ toBytes(): Uint8Array;

export declare function lazyBcsType<T, Input>(cb: () => BcsType<T, Input>): BcsType<T, Input>;
export {};

@@ -35,7 +35,5 @@ import { BcsReader } from './reader.js';

}
declare const SERIALIZED_BCS_BRAND: unique symbol;
export declare function isSerializedBcs(obj: unknown): obj is SerializedBcs<unknown>;
export declare class SerializedBcs<T, Input = T> {
#private;
get [SERIALIZED_BCS_BRAND](): boolean;
constructor(type: BcsType<T, Input>, schema: Uint8Array);

@@ -80,2 +78,1 @@ toBytes(): Uint8Array;

export declare function lazyBcsType<T, Input>(cb: () => BcsType<T, Input>): BcsType<T, Input>;
export {};
{
"name": "@mysten/bcs",
"version": "0.0.0-experimental-20240715213046",
"version": "0.0.0-experimental-20240716041834",
"description": "BCS - Canonical Binary Serialization implementation for JavaScript",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -105,3 +105,3 @@ // Copyright (c) Mysten Labs, Inc.

const SERIALIZED_BCS_BRAND = Symbol.for('@mysten/serialized-bcs');
const SERIALIZED_BCS_BRAND = Symbol.for('@mysten/serialized-bcs') as never;
export function isSerializedBcs(obj: unknown): obj is SerializedBcs<unknown> {

@@ -108,0 +108,0 @@ return !!obj && typeof obj === 'object' && (obj as any)[SERIALIZED_BCS_BRAND] === true;

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

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