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

@project-serum/borsh

Package Overview
Dependencies
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@project-serum/borsh - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

dist/lib/index.d.ts
/// <reference types="node" />
import { PublicKey } from '@solana/web3.js';
import BN from 'bn.js';
export { u8, u32, struct } from 'buffer-layout';
export { u8, u32, u16, struct } from 'buffer-layout';
export interface Layout<T> {

@@ -6,0 +6,0 @@ span: number;

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.array = exports.rustEnum = exports.str = exports.vecU8 = exports.tagged = exports.vec = exports.bool = exports.option = exports.publicKey = exports.i128 = exports.u128 = exports.i64 = exports.u64 = exports.struct = exports.u32 = exports.u8 = void 0;
exports.array = exports.rustEnum = exports.str = exports.vecU8 = exports.tagged = exports.vec = exports.bool = exports.option = exports.publicKey = exports.i128 = exports.u128 = exports.i64 = exports.u64 = exports.struct = exports.u16 = exports.u32 = exports.u8 = void 0;
const buffer_layout_1 = require("buffer-layout");

@@ -14,2 +14,3 @@ const web3_js_1 = require("@solana/web3.js");

Object.defineProperty(exports, "u32", { enumerable: true, get: function () { return buffer_layout_2.u32; } });
Object.defineProperty(exports, "u16", { enumerable: true, get: function () { return buffer_layout_2.u16; } });
Object.defineProperty(exports, "struct", { enumerable: true, get: function () { return buffer_layout_2.struct; } });

@@ -16,0 +17,0 @@ class BNLayout extends buffer_layout_1.Layout {

{
"name": "@project-serum/borsh",
"version": "0.2.0",
"version": "0.2.1",
"description": "Serum Borsh",

@@ -5,0 +5,0 @@ "main": "dist/lib/index.js",

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