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