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
0
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.1 to 0.9.2-next.2

5

dist/index.d.ts

@@ -9,6 +9,7 @@ declare const SD_SEPARATOR = "~";

type DisclosureData<T> = [string, string, T] | [string, T];
type HashAlgorithm = 'sha-256' | 'sha-256-128' | 'sha-256-120' | 'sha-256-96' | 'sha-256-64' | 'sha-256-32' | 'sha-384' | 'sha-512' | 'sha3-224' | 'sha3-256' | 'sha3-384' | 'sha3-512' | 'blake2s-256' | 'blake2b-256' | 'blake2b-512' | 'k12-256' | 'k12-512';
type SDJWTConfig = {
omitTyp?: boolean;
hasher?: Hasher;
hashAlg?: string;
hashAlg?: HashAlgorithm;
saltGenerator?: SaltGenerator;

@@ -186,2 +187,2 @@ signer?: Signer;

export { type Base64urlString, type DECOY, type DisclosureData, type DisclosureFrame, type Extensible, type Hasher, type HasherAndAlg, type HasherAndAlgSync, type HasherSync, type JwtPayload, type KBOptions, KB_JWT_TYP, type KbVerifier, type OrPromise, type PresentationFrame, type SD, type SDJWTCompact, type SDJWTConfig, SD_DECOY, SD_DIGEST, SD_LIST_KEY, SD_SEPARATOR, type SaltGenerator, type SaltGeneratorSync, type Signer, type SignerSync, type Verifier, type VerifierSync, type kbHeader, type kbPayload };
export { type Base64urlString, type DECOY, type DisclosureData, type DisclosureFrame, type Extensible, type HashAlgorithm, type Hasher, type HasherAndAlg, type HasherAndAlgSync, type HasherSync, type JwtPayload, type KBOptions, KB_JWT_TYP, type KbVerifier, type OrPromise, type PresentationFrame, type SD, type SDJWTCompact, type SDJWTConfig, SD_DECOY, SD_DIGEST, SD_LIST_KEY, SD_SEPARATOR, type SaltGenerator, type SaltGeneratorSync, type Signer, type SignerSync, type Verifier, type VerifierSync, type kbHeader, type kbPayload };

4

package.json
{
"name": "@sd-jwt/types",
"version": "0.9.2-next.1+d6f70c3",
"version": "0.9.2-next.2+3c85e8e",
"description": "sd-jwt draft 7 implementation in typescript",

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

},
"gitHead": "d6f70c37efaafe5123b7ffd1115069ba6e0e4e6e"
"gitHead": "3c85e8e283fa53e871a14c321b3a04fc4380b875"
}

@@ -12,6 +12,26 @@ export const SD_SEPARATOR = '~';

// based on https://www.iana.org/assignments/named-information/named-information.xhtml
export type HashAlgorithm =
| 'sha-256'
| 'sha-256-128'
| 'sha-256-120'
| 'sha-256-96'
| 'sha-256-64'
| 'sha-256-32'
| 'sha-384'
| 'sha-512'
| 'sha3-224'
| 'sha3-256'
| 'sha3-384'
| 'sha3-512'
| 'blake2s-256'
| 'blake2b-256'
| 'blake2b-512'
| 'k12-256'
| 'k12-512';
export type SDJWTConfig = {
omitTyp?: boolean;
hasher?: Hasher;
hashAlg?: string;
hashAlg?: HashAlgorithm;
saltGenerator?: SaltGenerator;

@@ -18,0 +38,0 @@ signer?: Signer;

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