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

@solana/options

Package Overview
Dependencies
Maintainers
14
Versions
1130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/options - npm Package Compare versions

Comparing version 2.0.0-experimental.0f3404a to 2.0.0-experimental.109615d

2

dist/index.browser.js

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

8

dist/types/index.d.ts

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

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