New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@metaplex-foundation/umi-options

Package Overview
Dependencies
Maintainers
10
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metaplex-foundation/umi-options - npm Package Compare versions

Comparing version 0.8.2-rc.0 to 0.8.2-rc.1

8

dist/types/common.d.ts

@@ -16,2 +16,10 @@ /**

/**
* Defines a looser type that can be used when serializing an {@link Option}.
* This allows us to pass null or the Option value directly whilst still
* supporting the Option type for use-cases that need more type safety.
*
* @category Utils — Options
*/
export type OptionOrNullable<T> = Option<T> | Nullable<T>;
/**
* Represents an option of type `T` that has a value.

@@ -18,0 +26,0 @@ *

2

package.json
{
"name": "@metaplex-foundation/umi-options",
"version": "0.8.2-rc.0",
"version": "0.8.2-rc.1",
"description": "A TypeScript implementation of Rust Options",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -18,2 +18,11 @@ /**

/**
* Defines a looser type that can be used when serializing an {@link Option}.
* This allows us to pass null or the Option value directly whilst still
* supporting the Option type for use-cases that need more type safety.
*
* @category Utils — Options
*/
export type OptionOrNullable<T> = Option<T> | Nullable<T>;
/**
* Represents an option of type `T` that has a value.

@@ -20,0 +29,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

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