@project-serum/borsh
Advanced tools
Comparing version 0.2.1 to 0.2.2
/// <reference types="node" /> | ||
import { PublicKey } from '@solana/web3.js'; | ||
import BN from 'bn.js'; | ||
export { u8, u32, u16, struct } from 'buffer-layout'; | ||
export { u8, s8 as i8, u16, s16 as i16, u32, s32 as i32, 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.u16 = 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.i32 = exports.u32 = exports.i16 = exports.u16 = exports.i8 = exports.u8 = void 0; | ||
const buffer_layout_1 = require("buffer-layout"); | ||
@@ -13,4 +13,7 @@ const web3_js_1 = require("@solana/web3.js"); | ||
Object.defineProperty(exports, "u8", { enumerable: true, get: function () { return buffer_layout_2.u8; } }); | ||
Object.defineProperty(exports, "i8", { enumerable: true, get: function () { return buffer_layout_2.s8; } }); | ||
Object.defineProperty(exports, "u16", { enumerable: true, get: function () { return buffer_layout_2.u16; } }); | ||
Object.defineProperty(exports, "i16", { enumerable: true, get: function () { return buffer_layout_2.s16; } }); | ||
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, "i32", { enumerable: true, get: function () { return buffer_layout_2.s32; } }); | ||
Object.defineProperty(exports, "struct", { enumerable: true, get: function () { return buffer_layout_2.struct; } }); | ||
@@ -17,0 +20,0 @@ class BNLayout extends buffer_layout_1.Layout { |
{ | ||
"name": "@project-serum/borsh", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"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
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
156018
209