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

@sd-jwt/types

Package Overview
Dependencies
Maintainers
2
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sd-jwt/types - npm Package Compare versions

Comparing version 0.9.2-next.7 to 0.9.2-next.8

4

dist/index.d.ts

@@ -132,3 +132,3 @@ declare const SD_SEPARATOR = "~";

type Frame<Payload> = Payload extends Array<infer U> ? U extends object ? Record<number, Frame<U>> & SD<Payload> & DECOY : SD<Payload> & DECOY : Payload extends Record<string, unknown> ? NonNever<{
[K in keyof Payload]?: Payload[K] extends object ? Frame<Payload[K]> : never;
[K in keyof Payload]?: NonNullable<Payload[K]> extends object ? Frame<Payload[K]> : never;
} & SD<Payload> & DECOY> : SD<Payload> & DECOY;

@@ -184,3 +184,3 @@ /**

type PFrame<Payload> = Payload extends Array<infer U> ? U extends object ? Record<number, PFrame<U> | boolean> | boolean : Record<number, boolean> | boolean : {
[K in keyof Payload]?: Payload[K] extends object ? PFrame<Payload[K]> | boolean : boolean;
[K in keyof Payload]?: NonNullable<Payload[K]> extends object ? PFrame<Payload[K]> | boolean : boolean;
};

@@ -187,0 +187,0 @@ type PresentationFrame<T extends Extensible> = PFrame<T>;

{
"name": "@sd-jwt/types",
"version": "0.9.2-next.7+76d1b7b",
"version": "0.9.2-next.8+ed907e3",
"description": "sd-jwt draft 7 implementation in typescript",

@@ -56,3 +56,3 @@ "main": "dist/index.js",

},
"gitHead": "76d1b7bba7e6d779264efe8f1d4f2be891c42a00"
"gitHead": "ed907e33c79f140268a03098af1e8c5cc1003ce9"
}

@@ -175,3 +175,3 @@ export const SD_SEPARATOR = '~';

{
[K in keyof Payload]?: Payload[K] extends object
[K in keyof Payload]?: NonNullable<Payload[K]> extends object
? Frame<Payload[K]>

@@ -239,3 +239,3 @@ : never;

: {
[K in keyof Payload]?: Payload[K] extends object
[K in keyof Payload]?: NonNullable<Payload[K]> extends object
? PFrame<Payload[K]> | boolean

@@ -242,0 +242,0 @@ : boolean;

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