@graphcore/react-kernel 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ /** Whether the issuer has a registration page, so a sign-in screen offers "Create account" only where it leads somewhere. */
2
+ export declare function useOffersRegistration(): boolean;
@@ -5,8 +5,9 @@ export { TopBar } from '../components/TopBar/TopBar';
5
5
  export type { TopBarPlace, TopBarProps } from '../components/TopBar/TopBar';
6
6
  export { ViewGallery } from '../components/ViewEntity/ViewGallery/ViewGallery';
7
7
  export { useAuth } from '../hooks/useAuth';
8
+ export { useOffersRegistration } from '../hooks/useOffersRegistration';
8
9
  export { AccessPanel, GroupView, useAccess } from '../components/Access';
9
- export { INVITE_ROUTE, InviteRoute, inviteUrl } from '../components/Invite';
10
+ export { INVITE_ROUTE, InviteRoute, inviteUrl, usePendingInvite } from '../components/Invite';
10
11
  export type { InviteRouteProps, RedeemedInvite } from '../components/Invite';
11
12
  export { ADMIN_ROUTE, AdminPanel, useIsDeploymentAdmin } from '../components/Admin';
12
13
  export type { AdminPanelProps, DeploymentRole } from '../components/Admin';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcore/react-kernel",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "GraphCore React frontend \u2014 EntityView, WebSocket plumbing, and view registry for building GraphCore-powered applications.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {