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

@logto/js

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logto/js - npm Package Compare versions

Comparing version 0.1.17 to 0.1.18

20

lib/utils/id-token.d.ts

@@ -12,7 +12,7 @@ import { JWTVerifyGetKey } from 'jose';

iat: number;
at_hash?: string | undefined;
name?: string | undefined;
username?: string | undefined;
avatar?: string | undefined;
role_names?: string[] | undefined;
at_hash?: string | null | undefined;
name?: string | null | undefined;
username?: string | null | undefined;
avatar?: string | null | undefined;
role_names?: string[] | null | undefined;
}, {

@@ -24,7 +24,7 @@ iss: s.Struct<string, null>;

iat: s.Struct<number, null>;
at_hash: s.Struct<string | undefined, null>;
name: s.Struct<string | undefined, null>;
username: s.Struct<string | undefined, null>;
avatar: s.Struct<string | undefined, null>;
role_names: s.Struct<string[] | undefined, s.Struct<string, null>>;
at_hash: s.Struct<string | null | undefined, null>;
name: s.Struct<string | null | undefined, null>;
username: s.Struct<string | null | undefined, null>;
avatar: s.Struct<string | null | undefined, null>;
role_names: s.Struct<string[] | null | undefined, s.Struct<string, null>>;
}>;

@@ -31,0 +31,0 @@ export declare type IdTokenClaims = s.Infer<typeof IdTokenClaimsSchema>;

@@ -37,7 +37,7 @@ "use strict";

iat: s.number(),
at_hash: s.optional(s.string()),
name: s.optional(s.string()),
username: s.optional(s.string()),
avatar: s.optional(s.string()),
role_names: s.optional(s.array(s.string())),
at_hash: s.nullable(s.optional(s.string())),
name: s.nullable(s.optional(s.string())),
username: s.nullable(s.optional(s.string())),
avatar: s.nullable(s.optional(s.string())),
role_names: s.nullable(s.optional(s.array(s.string()))),
});

@@ -44,0 +44,0 @@ const verifyIdToken = async (idToken, clientId, issuer, jwks) => {

{
"name": "@logto/js",
"version": "0.1.17",
"version": "0.1.18",
"main": "./lib/index.js",

@@ -60,3 +60,3 @@ "exports": "./lib/index.js",

},
"gitHead": "57e93385829eceb3c1b2ffb92b90901aa174a59a"
"gitHead": "adf02e1985235ed71efc60f53281e9ab32c0f26a"
}
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