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

@sd-jwt/decode

Package Overview
Dependencies
Maintainers
2
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sd-jwt/decode - npm Package Compare versions

Comparing version 0.6.1-next.5 to 0.6.1-next.6

4

dist/index.js

@@ -82,4 +82,4 @@ "use strict";

return {
header: JSON.parse((0, import_utils.Base64urlDecode)(header)),
payload: JSON.parse((0, import_utils.Base64urlDecode)(payload)),
header: JSON.parse((0, import_utils.base64urlDecode)(header)),
payload: JSON.parse((0, import_utils.base64urlDecode)(payload)),
signature

@@ -86,0 +86,0 @@ };

{
"name": "@sd-jwt/decode",
"version": "0.6.1-next.5+fec88f0",
"version": "0.6.1-next.6+f8db275",
"description": "sd-jwt draft 7 implementation in typescript",

@@ -40,7 +40,7 @@ "main": "dist/index.js",

"devDependencies": {
"@sd-jwt/crypto-nodejs": "0.6.1-next.5+fec88f0"
"@sd-jwt/crypto-nodejs": "0.6.1-next.6+f8db275"
},
"dependencies": {
"@sd-jwt/types": "0.6.1-next.5+fec88f0",
"@sd-jwt/utils": "0.6.1-next.5+fec88f0"
"@sd-jwt/types": "0.6.1-next.6+f8db275",
"@sd-jwt/utils": "0.6.1-next.6+f8db275"
},

@@ -63,3 +63,3 @@ "publishConfig": {

},
"gitHead": "fec88f0c084ee09b3a0c80920782c3efadfc51b1"
"gitHead": "f8db275690dab88000a039838680a3478b3b61ec"
}

@@ -1,2 +0,2 @@

import { Base64urlDecode, SDJWTException, Disclosure } from '@sd-jwt/utils';
import { base64urlDecode, SDJWTException, Disclosure } from '@sd-jwt/utils';
import {

@@ -23,4 +23,4 @@ type Hasher,

return {
header: JSON.parse(Base64urlDecode(header)),
payload: JSON.parse(Base64urlDecode(payload)),
header: JSON.parse(base64urlDecode(header)),
payload: JSON.parse(base64urlDecode(payload)),
signature: signature,

@@ -27,0 +27,0 @@ };

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