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

@stytch/react

Package Overview
Dependencies
Maintainers
16
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stytch/react - npm Package Compare versions

Comparing version 15.0.0 to 16.0.0

7

CHANGELOG.md
# @stytch/react
## 16.0.0
### Patch Changes
- Updated dependencies [f604dcb]
- @stytch/vanilla-js@4.7.0
## 15.0.0

@@ -4,0 +11,0 @@

5

dist/b2b/index.esm.js

@@ -119,3 +119,3 @@ import React, { useRef, useState, useEffect, useCallback, createContext, useContext, useMemo, useLayoutEffect } from 'react';

}));
}, [client, session === null || session === void 0 ? void 0 : session.roles, resourceId, action]);
}, [client, session === null || session === void 0 ? void 0 : session.roles, resourceId, action, setIsAuthorized]);
return isAuthorized;

@@ -203,3 +203,3 @@ };

.then((permissions) => setPermissions({ loaded: true, value: permissions }));
}, [client, session === null || session === void 0 ? void 0 : session.roles]);
}, [client, session === null || session === void 0 ? void 0 : session.roles, setPermissions]);
if (!permissions.loaded) {

@@ -327,2 +327,3 @@ return null;

});
// eslint-disable-next-line react-hooks/exhaustive-deps -- SDK-1354
}, [stytchClient, styles, callbacks]);

@@ -329,0 +330,0 @@ return React.createElement("div", { ref: containerEl });

@@ -127,3 +127,3 @@ 'use strict';

}));
}, [client, session === null || session === void 0 ? void 0 : session.roles, resourceId, action]);
}, [client, session === null || session === void 0 ? void 0 : session.roles, resourceId, action, setIsAuthorized]);
return isAuthorized;

@@ -211,3 +211,3 @@ };

.then((permissions) => setPermissions({ loaded: true, value: permissions }));
}, [client, session === null || session === void 0 ? void 0 : session.roles]);
}, [client, session === null || session === void 0 ? void 0 : session.roles, setPermissions]);
if (!permissions.loaded) {

@@ -335,2 +335,3 @@ return null;

});
// eslint-disable-next-line react-hooks/exhaustive-deps -- SDK-1354
}, [stytchClient, styles, callbacks]);

@@ -337,0 +338,0 @@ return React__default['default'].createElement("div", { ref: containerEl });

{
"name": "@stytch/react",
"version": "15.0.0",
"version": "16.0.0",
"description": "Stytch's official React Library",

@@ -36,11 +36,13 @@ "main": "./dist/index.js",

"@babel/runtime": "7.18.6",
"@stytch/vanilla-js": "4.2.0",
"@stytch/vanilla-js": "4.7.0",
"@testing-library/react": "14.0.0",
"eslint-config-custom": "0.0.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.0.0",
"rollup": "2.56.3",
"typescript": "4.7.4"
"typescript": "5.3.3"
},
"peerDependencies": {
"@stytch/vanilla-js": "^4.2.0",
"@stytch/vanilla-js": "^4.7.0",
"react": ">= 17.0.2",

@@ -47,0 +49,0 @@ "react-dom": ">= 17.0.2"

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