@inrupt/solid-client-authn-browser 1.12.3 → 1.12.4
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inrupt/solid-client-authn-browser",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"types": "dist/index",
|
|
6
6
|
"browser": "dist/index.js",
|
|
@@ -17,10 +17,6 @@
|
|
|
17
17
|
"build": "npm run build-module && npm run build-browser",
|
|
18
18
|
"build-module": "npm run clean-module && tsc -p tsconfig.json",
|
|
19
19
|
"build-browser": "npm run clean-browser && webpack --config webpack.browser.js",
|
|
20
|
-
"lint:fix": "npm run lint:eslint -- --fix && npm run lint:prettier -- --write",
|
|
21
|
-
"lint:check": "npm run lint:eslint && npm run lint:prettier -- --check",
|
|
22
|
-
"lint:eslint": "eslint --config .eslintrc.js \"src/\"",
|
|
23
|
-
"lint:prettier": "prettier \"src/*.{ts,tsx,js,jsx,css}\" \"**/*.{md,mdx,yml}\"",
|
|
24
20
|
"licenses:check": "license-checker --production --out license.csv --failOn \"AGPL-1.0-only; AGPL-1.0-or-later; AGPL-3.0-only; AGPL-3.0-or-later; Beerware; CC-BY-NC-1.0; CC-BY-NC-2.0; CC-BY-NC-2.5; CC-BY-NC-3.0; CC-BY-NC-4.0; CC-BY-NC-ND-1.0; CC-BY-NC-ND-2.0; CC-BY-NC-ND-2.5; CC-BY-NC-ND-3.0; CC-BY-NC-ND-4.0; CC-BY-NC-SA-1.0; CC-BY-NC-SA-2.0; CC-BY-NC-SA-2.5; CC-BY-NC-SA-3.0; CC-BY-NC-SA-4.0; CPAL-1.0; EUPL-1.0; EUPL-1.1; EUPL-1.1; GPL-1.0-only; GPL-1.0-or-later; GPL-2.0-only; GPL-2.0-or-later; GPL-3.0; GPL-3.0-only; GPL-3.0-or-later; SISSL; SISSL-1.2; WTFPL\"",
|
|
25
21
|
"build-api-docs": "npx typedoc --out docs/api/source/api --readme none",
|
|
26
22
|
"build-docs-preview-site": "npm run build-api-docs; cd docs/api; make html"
|
|
@@ -29,8 +25,8 @@
|
|
|
29
25
|
"cross-fetch": "^3.1.5"
|
|
30
26
|
},
|
|
31
27
|
"dependencies": {
|
|
32
|
-
"@inrupt/oidc-client-ext": "^1.12.
|
|
33
|
-
"@inrupt/solid-client-authn-core": "^1.12.
|
|
28
|
+
"@inrupt/oidc-client-ext": "^1.12.4",
|
|
29
|
+
"@inrupt/solid-client-authn-core": "^1.12.4",
|
|
34
30
|
"@types/lodash.clonedeep": "^4.5.6",
|
|
35
31
|
"@types/node": "^18.0.3",
|
|
36
32
|
"@types/uuid": "^8.3.0",
|
|
@@ -45,5 +41,5 @@
|
|
|
45
41
|
"engines": {
|
|
46
42
|
"node": "^14.0.0 || ^16.0.0"
|
|
47
43
|
},
|
|
48
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "8f9189d74cf2c36376dd424ac1225505f6ee6899"
|
|
49
45
|
}
|
package/src/defaultSession.ts
CHANGED
|
@@ -48,6 +48,7 @@ export function getDefaultSession(): Session {
|
|
|
48
48
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch}
|
|
49
49
|
* @since 1.3.0
|
|
50
50
|
*/
|
|
51
|
+
/* eslint-disable-next-line no-shadow */
|
|
51
52
|
export const fetch: Session["fetch"] = (...args) => {
|
|
52
53
|
const session = getDefaultSession();
|
|
53
54
|
return session.fetch(...args);
|