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

@solana/codecs-numbers

Package Overview
Dependencies
Maintainers
14
Versions
1183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/codecs-numbers - npm Package Compare versions

Comparing version 2.0.0-experimental.8618508 to 2.0.0-experimental.9741939

2

dist/types/f32.d.ts
import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from '@solana/codecs-core';
import { NumberCodecConfig } from './common';
import { NumberCodecConfig } from './common.js';
export declare const getF32Encoder: (config?: NumberCodecConfig) => FixedSizeEncoder<number, 4>;

@@ -4,0 +4,0 @@ export declare const getF32Decoder: (config?: NumberCodecConfig) => FixedSizeDecoder<number, 4>;

import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from '@solana/codecs-core';
import { NumberCodecConfig } from './common';
import { NumberCodecConfig } from './common.js';
export declare const getF64Encoder: (config?: NumberCodecConfig) => FixedSizeEncoder<number, 8>;

@@ -4,0 +4,0 @@ export declare const getF64Decoder: (config?: NumberCodecConfig) => FixedSizeDecoder<number, 8>;

import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from '@solana/codecs-core';
import { NumberCodecConfig } from './common';
import { NumberCodecConfig } from './common.js';
export declare const getI128Encoder: (config?: NumberCodecConfig) => FixedSizeEncoder<number | bigint, 16>;

@@ -4,0 +4,0 @@ export declare const getI128Decoder: (config?: NumberCodecConfig) => FixedSizeDecoder<bigint, 16>;

import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from '@solana/codecs-core';
import { NumberCodecConfig } from './common';
import { NumberCodecConfig } from './common.js';
export declare const getI16Encoder: (config?: NumberCodecConfig) => FixedSizeEncoder<number, 2>;

@@ -4,0 +4,0 @@ export declare const getI16Decoder: (config?: NumberCodecConfig) => FixedSizeDecoder<number, 2>;

import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from '@solana/codecs-core';
import { NumberCodecConfig } from './common';
import { NumberCodecConfig } from './common.js';
export declare const getI32Encoder: (config?: NumberCodecConfig) => FixedSizeEncoder<number, 4>;

@@ -4,0 +4,0 @@ export declare const getI32Decoder: (config?: NumberCodecConfig) => FixedSizeDecoder<number, 4>;

import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from '@solana/codecs-core';
import { NumberCodecConfig } from './common';
import { NumberCodecConfig } from './common.js';
export declare const getI64Encoder: (config?: NumberCodecConfig) => FixedSizeEncoder<number | bigint, 8>;

@@ -4,0 +4,0 @@ export declare const getI64Decoder: (config?: NumberCodecConfig) => FixedSizeDecoder<bigint, 8>;

@@ -1,16 +0,16 @@

export * from './assertions';
export * from './common';
export * from './f32';
export * from './f64';
export * from './i128';
export * from './i16';
export * from './i32';
export * from './i64';
export * from './i8';
export * from './short-u16';
export * from './u128';
export * from './u16';
export * from './u32';
export * from './u64';
export * from './u8';
export * from './assertions.js';
export * from './common.js';
export * from './f32.js';
export * from './f64.js';
export * from './i128.js';
export * from './i16.js';
export * from './i32.js';
export * from './i64.js';
export * from './i8.js';
export * from './short-u16.js';
export * from './u128.js';
export * from './u16.js';
export * from './u32.js';
export * from './u64.js';
export * from './u8.js';
//# sourceMappingURL=index.d.ts.map
import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from '@solana/codecs-core';
import { NumberCodecConfig } from './common';
import { NumberCodecConfig } from './common.js';
export declare const getU128Encoder: (config?: NumberCodecConfig) => FixedSizeEncoder<number | bigint, 16>;

@@ -4,0 +4,0 @@ export declare const getU128Decoder: (config?: NumberCodecConfig) => FixedSizeDecoder<bigint, 16>;

import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from '@solana/codecs-core';
import { NumberCodecConfig } from './common';
import { NumberCodecConfig } from './common.js';
export declare const getU16Encoder: (config?: NumberCodecConfig) => FixedSizeEncoder<number, 2>;

@@ -4,0 +4,0 @@ export declare const getU16Decoder: (config?: NumberCodecConfig) => FixedSizeDecoder<number, 2>;

import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from '@solana/codecs-core';
import { NumberCodecConfig } from './common';
import { NumberCodecConfig } from './common.js';
export declare const getU32Encoder: (config?: NumberCodecConfig) => FixedSizeEncoder<number, 4>;

@@ -4,0 +4,0 @@ export declare const getU32Decoder: (config?: NumberCodecConfig) => FixedSizeDecoder<number, 4>;

import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from '@solana/codecs-core';
import { NumberCodecConfig } from './common';
import { NumberCodecConfig } from './common.js';
export declare const getU64Encoder: (config?: NumberCodecConfig) => FixedSizeEncoder<number | bigint, 8>;

@@ -4,0 +4,0 @@ export declare const getU64Decoder: (config?: NumberCodecConfig) => FixedSizeDecoder<bigint, 8>;

import { FixedSizeDecoder, FixedSizeEncoder } from '@solana/codecs-core';
import { NumberCodecConfig } from './common';
import { NumberCodecConfig } from './common.js';
type NumberFactorySharedInput<TSize extends number> = {

@@ -4,0 +4,0 @@ name: string;

{
"name": "@solana/codecs-numbers",
"version": "2.0.0-experimental.8618508",
"version": "2.0.0-experimental.9741939",
"description": "Codecs for numbers of different sizes and endianness",

@@ -52,3 +52,3 @@ "exports": {

"dependencies": {
"@solana/codecs-core": "2.0.0-experimental.8618508"
"@solana/codecs-core": "2.0.0-experimental.9741939"
},

@@ -58,4 +58,4 @@ "devDependencies": {

"@swc/jest": "^0.2.29",
"@types/jest": "^29.5.6",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.3.0",

@@ -87,4 +87,4 @@ "agadoo": "^3.0.0",

"scripts": {
"compile:js": "tsup --config build-scripts/tsup.config.library.ts",
"compile:typedefs": "tsc -p ./tsconfig.declarations.json",
"compile:js": "tsup --config build-scripts/tsup.config.package.ts",
"compile:typedefs": "tsc -p ./tsconfig.declarations.json && node node_modules/build-scripts/add-js-extension-to-types.mjs",
"dev": "jest -c node_modules/test-config/jest-dev.config.ts --rootDir . --watch",

@@ -91,0 +91,0 @@ "publish-packages": "pnpm publish --tag experimental --access public --no-git-checks",

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