@workos-inc/authkit-react
Advanced tools
Comparing version 0.3.2 to 0.4.0
import { createClient, User } from '@workos-inc/authkit-js'; | ||
export { getClaims } from '@workos-inc/authkit-js'; | ||
import * as React from 'react'; | ||
@@ -3,0 +4,0 @@ |
@@ -71,2 +71,3 @@ "use strict"; | ||
AuthKitProvider: () => AuthKitProvider, | ||
getClaims: () => import_authkit_js2.getClaims, | ||
useAuth: () => useAuth | ||
@@ -171,13 +172,15 @@ }); | ||
getUser: () => null, | ||
getAccessToken: () => Promise.resolve(void 0), | ||
refreshSession: () => __async(void 0, null, function* () { | ||
}), | ||
getAccessToken: () => Promise.reject(new import_authkit_js.LoginRequiredError()), | ||
signOut: () => { | ||
} | ||
}; | ||
// src/index.ts | ||
var import_authkit_js2 = require("@workos-inc/authkit-js"); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
AuthKitProvider, | ||
getClaims, | ||
useAuth | ||
}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@workos-inc/authkit-react", | ||
"version": "0.3.2", | ||
"version": "0.4.0", | ||
"description": "AuthKit React SDK", | ||
@@ -37,4 +37,4 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@workos-inc/authkit-js": "0.2.2" | ||
"@workos-inc/authkit-js": "0.4.0" | ||
} | ||
} |
export { useAuth } from './hook'; | ||
export { AuthKitProvider } from './provider'; | ||
export { getClaims } from '@workos-inc/authkit-js'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32483
471
+ Added@workos-inc/authkit-js@0.4.0(transitive)
- Removed@workos-inc/authkit-js@0.2.2(transitive)
Updated@workos-inc/authkit-js@0.4.0