@mcintyre94/codecs-numbers
Advanced tools
Comparing version 2.0.0-experimental.970a0aa to 2.0.0-experimental.a537d8d
@@ -1,2 +0,2 @@ | ||
import { combineCodec, assertByteArrayIsNotEmptyForCodec, assertByteArrayHasEnoughBytesForCodec } from '@solana/codecs-core'; | ||
import { combineCodec, assertByteArrayIsNotEmptyForCodec, assertByteArrayHasEnoughBytesForCodec } from '@mcintyre94/codecs-core'; | ||
@@ -3,0 +3,0 @@ // src/assertions.ts |
@@ -1,2 +0,2 @@ | ||
import { combineCodec, assertByteArrayIsNotEmptyForCodec, assertByteArrayHasEnoughBytesForCodec } from '@solana/codecs-core'; | ||
import { combineCodec, assertByteArrayIsNotEmptyForCodec, assertByteArrayHasEnoughBytesForCodec } from '@mcintyre94/codecs-core'; | ||
@@ -3,0 +3,0 @@ // src/assertions.ts |
@@ -1,2 +0,2 @@ | ||
import { combineCodec, assertByteArrayIsNotEmptyForCodec, assertByteArrayHasEnoughBytesForCodec } from '@solana/codecs-core'; | ||
import { combineCodec, assertByteArrayIsNotEmptyForCodec, assertByteArrayHasEnoughBytesForCodec } from '@mcintyre94/codecs-core'; | ||
@@ -302,3 +302,1 @@ // src/assertions.ts | ||
export { Endian, assertNumberIsBetweenForCodec, getF32Codec, getF32Decoder, getF32Encoder, getF64Codec, getF64Decoder, getF64Encoder, getI128Codec, getI128Decoder, getI128Encoder, getI16Codec, getI16Decoder, getI16Encoder, getI32Codec, getI32Decoder, getI32Encoder, getI64Codec, getI64Decoder, getI64Encoder, getI8Codec, getI8Decoder, getI8Encoder, getShortU16Codec, getShortU16Decoder, getShortU16Encoder, getU128Codec, getU128Decoder, getU128Encoder, getU16Codec, getU16Decoder, getU16Encoder, getU32Codec, getU32Decoder, getU32Encoder, getU64Codec, getU64Decoder, getU64Encoder, getU8Codec, getU8Decoder, getU8Encoder }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.node.js.map |
@@ -1,2 +0,2 @@ | ||
import { BaseCodecConfig, Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { BaseCodecConfig, Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
/** Defines a encoder for numbers and bigints. */ | ||
@@ -3,0 +3,0 @@ export type NumberEncoder = Encoder<number> | Encoder<number | bigint>; |
@@ -1,3 +0,3 @@ | ||
import { Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { NumberCodecConfig } from './common'; | ||
import { Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { NumberCodecConfig } from './common.js'; | ||
export declare const getF32Encoder: (config?: NumberCodecConfig) => Encoder<number>; | ||
@@ -4,0 +4,0 @@ export declare const getF32Decoder: (config?: NumberCodecConfig) => Decoder<number>; |
@@ -1,3 +0,3 @@ | ||
import { Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { NumberCodecConfig } from './common'; | ||
import { Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { NumberCodecConfig } from './common.js'; | ||
export declare const getF64Encoder: (config?: NumberCodecConfig) => Encoder<number>; | ||
@@ -4,0 +4,0 @@ export declare const getF64Decoder: (config?: NumberCodecConfig) => Decoder<number>; |
@@ -1,3 +0,3 @@ | ||
import { Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { NumberCodecConfig } from './common'; | ||
import { Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { NumberCodecConfig } from './common.js'; | ||
export declare const getI128Encoder: (config?: NumberCodecConfig) => Encoder<number | bigint>; | ||
@@ -4,0 +4,0 @@ export declare const getI128Decoder: (config?: NumberCodecConfig) => Decoder<bigint>; |
@@ -1,3 +0,3 @@ | ||
import { Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { NumberCodecConfig } from './common'; | ||
import { Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { NumberCodecConfig } from './common.js'; | ||
export declare const getI16Encoder: (config?: NumberCodecConfig) => Encoder<number>; | ||
@@ -4,0 +4,0 @@ export declare const getI16Decoder: (config?: NumberCodecConfig) => Decoder<number>; |
@@ -1,3 +0,3 @@ | ||
import { Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { NumberCodecConfig } from './common'; | ||
import { Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { NumberCodecConfig } from './common.js'; | ||
export declare const getI32Encoder: (config?: NumberCodecConfig) => Encoder<number>; | ||
@@ -4,0 +4,0 @@ export declare const getI32Decoder: (config?: NumberCodecConfig) => Decoder<number>; |
@@ -1,3 +0,3 @@ | ||
import { Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { NumberCodecConfig } from './common'; | ||
import { Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { NumberCodecConfig } from './common.js'; | ||
export declare const getI64Encoder: (config?: NumberCodecConfig) => Encoder<number | bigint>; | ||
@@ -4,0 +4,0 @@ export declare const getI64Decoder: (config?: NumberCodecConfig) => Decoder<bigint>; |
@@ -1,3 +0,3 @@ | ||
import { Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { SingleByteNumberCodecConfig } from './common'; | ||
import { Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { SingleByteNumberCodecConfig } from './common.js'; | ||
export declare const getI8Encoder: (config?: SingleByteNumberCodecConfig) => Encoder<number>; | ||
@@ -4,0 +4,0 @@ export declare const getI8Decoder: (config?: SingleByteNumberCodecConfig) => Decoder<number>; |
@@ -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 |
@@ -1,2 +0,2 @@ | ||
import { BaseCodecConfig, Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { BaseCodecConfig, Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Defines the config for the shortU16 serializer. |
@@ -1,3 +0,3 @@ | ||
import { Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { NumberCodecConfig } from './common'; | ||
import { Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { NumberCodecConfig } from './common.js'; | ||
export declare const getU128Encoder: (config?: NumberCodecConfig) => Encoder<number | bigint>; | ||
@@ -4,0 +4,0 @@ export declare const getU128Decoder: (config?: NumberCodecConfig) => Decoder<bigint>; |
@@ -1,3 +0,3 @@ | ||
import { Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { NumberCodecConfig } from './common'; | ||
import { Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { NumberCodecConfig } from './common.js'; | ||
export declare const getU16Encoder: (config?: NumberCodecConfig) => Encoder<number>; | ||
@@ -4,0 +4,0 @@ export declare const getU16Decoder: (config?: NumberCodecConfig) => Decoder<number>; |
@@ -1,3 +0,3 @@ | ||
import { Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { NumberCodecConfig } from './common'; | ||
import { Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { NumberCodecConfig } from './common.js'; | ||
export declare const getU32Encoder: (config?: NumberCodecConfig) => Encoder<number>; | ||
@@ -4,0 +4,0 @@ export declare const getU32Decoder: (config?: NumberCodecConfig) => Decoder<number>; |
@@ -1,3 +0,3 @@ | ||
import { Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { NumberCodecConfig } from './common'; | ||
import { Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { NumberCodecConfig } from './common.js'; | ||
export declare const getU64Encoder: (config?: NumberCodecConfig) => Encoder<number | bigint>; | ||
@@ -4,0 +4,0 @@ export declare const getU64Decoder: (config?: NumberCodecConfig) => Decoder<bigint>; |
@@ -1,3 +0,3 @@ | ||
import { Codec, Decoder, Encoder } from '@solana/codecs-core'; | ||
import { SingleByteNumberCodecConfig } from './common'; | ||
import { Codec, Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { SingleByteNumberCodecConfig } from './common.js'; | ||
export declare const getU8Encoder: (config?: SingleByteNumberCodecConfig) => Encoder<number>; | ||
@@ -4,0 +4,0 @@ export declare const getU8Decoder: (config?: SingleByteNumberCodecConfig) => Decoder<number>; |
@@ -1,3 +0,3 @@ | ||
import { Decoder, Encoder } from '@solana/codecs-core'; | ||
import { NumberCodecConfig, SingleByteNumberCodecConfig } from './common'; | ||
import { Decoder, Encoder } from '@mcintyre94/codecs-core'; | ||
import { NumberCodecConfig, SingleByteNumberCodecConfig } from './common.js'; | ||
type NumberFactorySharedInput = { | ||
@@ -4,0 +4,0 @@ name: string; |
{ | ||
"name": "@mcintyre94/codecs-numbers", | ||
"version": "2.0.0-experimental.970a0aa", | ||
"version": "2.0.0-experimental.a537d8d", | ||
"description": "Codecs for numbers of different sizes and endianness", | ||
@@ -52,3 +52,3 @@ "exports": { | ||
"dependencies": { | ||
"@solana/codecs-core": "npm:@mcintyre94/codecs-core@2.0.0-experimental.970a0aa" | ||
"@mcintyre94/codecs-core": "2.0.0-experimental.a537d8d" | ||
}, | ||
@@ -73,4 +73,4 @@ "devDependencies": { | ||
"version-from-git": "^1.1.1", | ||
"build-scripts": "0.0.0", | ||
"test-config": "0.0.0", | ||
"build-scripts": "0.0.0", | ||
"tsconfig": "0.0.0" | ||
@@ -77,0 +77,0 @@ }, |
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
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
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
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
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
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
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
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
288173
2522
+ Added@mcintyre94/codecs-core@2.0.0-experimental.a537d8d(transitive)
- Removed@solana/codecs-core@npm:@mcintyre94/codecs-core@2.0.0-experimental.970a0aa
- Removed@mcintyre94/codecs-core@2.0.0-experimental.970a0aa(transitive)