@solana/options
Advanced tools
Comparing version 2.0.0-experimental.0f3404a to 2.0.0-experimental.109615d
@@ -112,1 +112,3 @@ import { isFixedSize, assertIsFixedSize, createEncoder, getEncodedSize, createDecoder, combineCodec } from '@solana/codecs-core'; | ||
export { getOptionCodec, getOptionDecoder, getOptionEncoder, isNone, isOption, isSome, none, some, unwrapOption, unwrapOptionRecursively, wrapNullable }; | ||
//# sourceMappingURL=out.js.map | ||
//# sourceMappingURL=index.browser.js.map |
@@ -1,5 +0,5 @@ | ||
export * from './option'; | ||
export * from './option-codec'; | ||
export * from './unwrap-option'; | ||
export * from './unwrap-option-recursively'; | ||
export * from './option.js'; | ||
export * from './option-codec.js'; | ||
export * from './unwrap-option.js'; | ||
export * from './unwrap-option-recursively.js'; | ||
//# sourceMappingURL=index.d.ts.map |
import { Codec, Decoder, Encoder, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, VariableSizeCodec, VariableSizeDecoder, VariableSizeEncoder } from '@solana/codecs-core'; | ||
import { FixedSizeNumberCodec, FixedSizeNumberDecoder, FixedSizeNumberEncoder, NumberCodec, NumberDecoder, NumberEncoder } from '@solana/codecs-numbers'; | ||
import { Option, OptionOrNullable } from './option'; | ||
import { Option, OptionOrNullable } from './option.js'; | ||
/** Defines the config for option codecs. */ | ||
@@ -5,0 +5,0 @@ export type OptionCodecConfig<TPrefix extends NumberCodec | NumberEncoder | NumberDecoder> = { |
@@ -1,2 +0,2 @@ | ||
import { None, Some } from './option'; | ||
import { None, Some } from './option.js'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Lists all types that should not be recursively unwrapped. |
@@ -1,2 +0,2 @@ | ||
import { Option } from './option'; | ||
import { Option } from './option.js'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Unwraps the value of an {@link Option} of type `T` |
{ | ||
"name": "@solana/options", | ||
"version": "2.0.0-experimental.0f3404a", | ||
"version": "2.0.0-experimental.109615d", | ||
"description": "Managing and serializing Rust-like Option types in JavaScript", | ||
@@ -52,4 +52,4 @@ "exports": { | ||
"dependencies": { | ||
"@solana/codecs-core": "2.0.0-experimental.0f3404a", | ||
"@solana/codecs-numbers": "2.0.0-experimental.0f3404a" | ||
"@solana/codecs-core": "2.0.0-experimental.109615d", | ||
"@solana/codecs-numbers": "2.0.0-experimental.109615d" | ||
}, | ||
@@ -59,4 +59,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", | ||
@@ -88,4 +88,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", | ||
@@ -92,0 +92,0 @@ "publish-packages": "pnpm publish --tag experimental --access public --no-git-checks", |
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
129270
24
837
+ Added@solana/codecs-core@2.0.0-experimental.109615d(transitive)
+ Added@solana/codecs-numbers@2.0.0-experimental.109615d(transitive)
- Removed@solana/codecs-core@2.0.0-experimental.0f3404a(transitive)
- Removed@solana/codecs-numbers@2.0.0-experimental.0f3404a(transitive)