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

@solana/codecs-core

Package Overview
Dependencies
Maintainers
14
Versions
1192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/codecs-core - npm Package Compare versions

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

2

dist/index.native.js

@@ -202,1 +202,3 @@ // src/assertions.ts

export { assertByteArrayHasEnoughBytesForCodec, assertByteArrayIsNotEmptyForCodec, assertIsFixedSize, assertIsVariableSize, combineCodec, createCodec, createDecoder, createEncoder, fixBytes, fixCodec, fixDecoder, fixEncoder, getEncodedSize, isFixedSize, isVariableSize, mapCodec, mapDecoder, mapEncoder, mergeBytes, padBytes, reverseCodec, reverseDecoder, reverseEncoder };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.native.js.map

@@ -202,1 +202,3 @@ // src/assertions.ts

export { assertByteArrayHasEnoughBytesForCodec, assertByteArrayIsNotEmptyForCodec, assertIsFixedSize, assertIsVariableSize, combineCodec, createCodec, createDecoder, createEncoder, fixBytes, fixCodec, fixDecoder, fixEncoder, getEncodedSize, isFixedSize, isVariableSize, mapCodec, mapDecoder, mapEncoder, mergeBytes, padBytes, reverseCodec, reverseDecoder, reverseEncoder };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.node.js.map

2

dist/types/combine-codec.d.ts

@@ -1,2 +0,2 @@

import { Codec, Decoder, Encoder, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, VariableSizeCodec, VariableSizeDecoder, VariableSizeEncoder } from './codec';
import { Codec, Decoder, Encoder, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, VariableSizeCodec, VariableSizeDecoder, VariableSizeEncoder } from './codec.js';
/**

@@ -3,0 +3,0 @@ * Combines an encoder and a decoder into a codec.

@@ -1,2 +0,2 @@

import { Codec, Decoder, Encoder, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from './codec';
import { Codec, Decoder, Encoder, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from './codec.js';
/**

@@ -3,0 +3,0 @@ * Creates a fixed-size encoder from a given encoder.

@@ -1,8 +0,8 @@

export * from './assertions';
export * from './bytes';
export * from './codec';
export * from './combine-codec';
export * from './fix-codec';
export * from './map-codec';
export * from './reverse-codec';
export * from './assertions.js';
export * from './bytes.js';
export * from './codec.js';
export * from './combine-codec.js';
export * from './fix-codec.js';
export * from './map-codec.js';
export * from './reverse-codec.js';
//# sourceMappingURL=index.d.ts.map

@@ -1,2 +0,2 @@

import { Codec, Decoder, Encoder, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, VariableSizeCodec, VariableSizeDecoder, VariableSizeEncoder } from './codec';
import { Codec, Decoder, Encoder, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, VariableSizeCodec, VariableSizeDecoder, VariableSizeEncoder } from './codec.js';
/**

@@ -3,0 +3,0 @@ * Converts an encoder A to a encoder B by mapping their values.

@@ -1,2 +0,2 @@

import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from './codec';
import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from './codec.js';
/**

@@ -3,0 +3,0 @@ * Reverses the bytes of a fixed-size encoder.

{
"name": "@solana/codecs-core",
"version": "2.0.0-experimental.8618508",
"version": "2.0.0-experimental.9741939",
"description": "Core types and helpers for encoding and decoding byte arrays on Solana",

@@ -54,4 +54,4 @@ "exports": {

"@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",

@@ -83,4 +83,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",

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

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