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

@logto/browser

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logto/browser - npm Package Compare versions

Comparing version 0.1.11 to 0.1.14

5

lib/index.js

@@ -218,5 +218,6 @@ "use strict";

const accessTokenKey = (0, utils_1.buildAccessTokenKey)(resource);
const { appId: clientId } = this.logtoConfig;
const { appId: clientId, scopes: customScopes } = this.logtoConfig;
const { tokenEndpoint } = await this.getOidcConfig();
const { accessToken, refreshToken, idToken, scope, expiresIn } = await (0, js_1.fetchTokenByRefreshToken)({ clientId, tokenEndpoint, refreshToken: this.refreshToken, resource }, this.requester);
const scopes = (0, js_1.withReservedScopes)(customScopes).split(' ');
const { accessToken, refreshToken, idToken, scope, expiresIn } = await (0, js_1.fetchTokenByRefreshToken)({ clientId, tokenEndpoint, refreshToken: this.refreshToken, resource, scopes }, this.requester);
this.accessTokenMap.set(accessTokenKey, {

@@ -223,0 +224,0 @@ token: accessToken,

8

package.json
{
"name": "@logto/browser",
"version": "0.1.11",
"version": "0.1.14",
"main": "./lib/index.js",

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

"dependencies": {
"@logto/js": "^0.1.11",
"@logto/js": "^0.1.14",
"@silverhand/essentials": "^1.1.6",

@@ -46,3 +46,3 @@ "jose": "^4.5.0",

"jest-matcher-specific-error": "^1.0.0",
"lint-staged": "^12.3.3",
"lint-staged": "^13.0.0",
"prettier": "^2.3.2",

@@ -60,3 +60,3 @@ "text-encoder": "^0.0.4",

},
"gitHead": "fb6df238f56049607af2c3b88bee07ba2aa45dae"
"gitHead": "5d05c6bd23dc35d7217031edccc01db2bae33b7b"
}
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