@crossauth/frontend 0.0.41 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -80,7 +80,7 @@ class g extends Error {
80
80
  * OAuth defines certain error types. To convert the error in an OAuth
81
81
  * response into a CrossauthError object, call this function.
82
82
  *
83
- * @param error as returned by an OAuth call (converted to an {@link ErrorCode}).
83
+ * @param error as returned by an OAuth call (converted to an {@link @crossauth/common!ErrorCode}).
84
84
  * @param error_description as returned by an OAuth call (put in the `message`)
85
85
  * @returns a `CrossauthError` instance.
86
86
  */
@@ -164,7 +164,7 @@ class g extends Error {
164
164
  * it.
165
165
  * If not and it is an object with `errorCode` in it, creates a
166
166
  * CrossauthError from that and `errorMessage`, if present.
167
- * Otherwise creates a `CrossauthError` object with {@link ErrorCode}
167
+ * Otherwise creates a `CrossauthError` object with {@link @crossauth/common!ErrorCode}
168
168
  * of `Unknown` from it, setting the `message` if possible.
169
169
  *
170
170
  * @param e the error to convert.
@@ -1054,7 +1054,7 @@ class cr {
1054
1054
  * Otherwise, performs a fetch by appending
1055
1055
  * `/.well-known/openid-configuration` to the
1056
1056
  * `authServerBaseUrl`.
1057
- * @throws {@link CrossauthError} with the following {@link ErrorCode}s
1057
+ * @throws {@link @crossauth/common!CrossauthError} with the following {@link @crossauth/common!ErrorCode}s
1058
1058
  * - `Connection` if data from the URL could not be fetched or parsed.
1059
1059
  */
1060
1060
  async loadConfig(e) {
@@ -1848,7 +1848,7 @@ class dr {
1848
1848
  * to `authServerBaseUrl` )
1849
1849
  * @param oidcConfig the configuration, or undefined to load it from
1850
1850
  * the authorization server
1851
- * @throws a {@link CrossauthError} object with {@link ErrorCode} of
1851
+ * @throws a {@link @crossauth/common!CrossauthError} object with {@link @crossauth/common!ErrorCode} of
1852
1852
  * - `Connection` if the fetch to the authorization server failed.
1853
1853
  */
1854
1854
  async loadConfig(e) {
@@ -1881,7 +1881,7 @@ class dr {
1881
1881
  * authorization server (using the URL in the OIDC configuration).
1882
1882
  * @param jwks the keys to load, or undefined to fetch them from
1883
1883
  * the authorization server.
1884
- * @throws a {@link CrossauthError} object with {@link ErrorCode} of
1884
+ * @throws a {@link @crossauth/common!CrossauthError} object with {@link @crossauth/common!ErrorCode} of
1885
1885
  * - `Connection` if the fetch to the authorization server failed,
1886
1886
  * the OIDC configuration wasn't set or the keys could not be parsed.
1887
1887
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@crossauth/frontend",
3
3
  "private": false,
4
- "version": "0.0.41",
4
+ "version": "1.0.1",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@esbuild-plugins/node-modules-polyfill": "^0.2.2",
25
- "@crossauth/common": "^0.0.41"
25
+ "@crossauth/common": "^1.0.1"
26
26
  },
27
27
  "scripts": {
28
28
  "dev": "vite",