@feathersjs/authentication-client 4.5.11 → 4.5.14
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/CHANGELOG.md +27 -0
- package/lib/hooks/authentication.js +1 -1
- package/lib/hooks/authentication.js.map +1 -1
- package/lib/index.js +6 -2
- package/lib/index.js.map +1 -1
- package/package.json +21 -21
- package/src/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.5.14](https://github.com/feathersjs/feathers/compare/v4.5.13...v4.5.14) (2022-04-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @feathersjs/authentication-client
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [4.5.13](https://github.com/feathersjs/feathers/compare/v4.5.12...v4.5.13) (2022-01-10)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @feathersjs/authentication-client
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [4.5.12](https://github.com/feathersjs/feathers/compare/v4.5.11...v4.5.12) (2022-01-06)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* Update all dependencies for crow release ([#2520](https://github.com/feathersjs/feathers/issues/2520)) ([1c63e6b](https://github.com/feathersjs/feathers/commit/1c63e6be37ff85edbe8dd318415ca6919864c033))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
## [4.5.11](https://github.com/feathersjs/feathers/compare/v4.5.10...v4.5.11) (2020-12-05)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -5,7 +5,7 @@ const commons_1 = require("@feathersjs/commons");
|
|
|
5
5
|
const authentication = () => {
|
|
6
6
|
return (context) => {
|
|
7
7
|
const { app, params, path, method, app: { authentication: service } } = context;
|
|
8
|
-
if (commons_1.stripSlashes(service.options.path) === path && method === 'create') {
|
|
8
|
+
if ((0, commons_1.stripSlashes)(service.options.path) === path && method === 'create') {
|
|
9
9
|
return context;
|
|
10
10
|
}
|
|
11
11
|
return Promise.resolve(app.get('authentication')).then(authResult => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication.js","sourceRoot":"","sources":["../../src/hooks/authentication.ts"],"names":[],"mappings":";;;AACA,iDAAmD;AAE5C,MAAM,cAAc,GAAG,GAAG,EAAE;IACjC,OAAO,CAAC,OAAoB,EAAE,EAAE;QAC9B,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,CAAC;QAEhF,IAAI,sBAAY,
|
|
1
|
+
{"version":3,"file":"authentication.js","sourceRoot":"","sources":["../../src/hooks/authentication.ts"],"names":[],"mappings":";;;AACA,iDAAmD;AAE5C,MAAM,cAAc,GAAG,GAAG,EAAE;IACjC,OAAO,CAAC,OAAoB,EAAE,EAAE;QAC9B,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,CAAC;QAEhF,IAAI,IAAA,sBAAY,EAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,MAAM,KAAK,QAAQ,EAAE;YACtE,OAAO,OAAO,CAAC;SAChB;QAED,OAAO,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;YAClE,IAAI,UAAU,EAAE;gBACd,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;aACxD;YAED,OAAO,OAAO,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC,CAAC;AAhBW,QAAA,cAAc,kBAgBzB"}
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -34,7 +38,7 @@ const getDefaultStorage = () => {
|
|
|
34
38
|
return new storage_1.MemoryStorage();
|
|
35
39
|
};
|
|
36
40
|
exports.getDefaultStorage = getDefaultStorage;
|
|
37
|
-
exports.defaultStorage = exports.getDefaultStorage();
|
|
41
|
+
exports.defaultStorage = (0, exports.getDefaultStorage)();
|
|
38
42
|
exports.defaults = {
|
|
39
43
|
header: 'Authorization',
|
|
40
44
|
scheme: 'Bearer',
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iCAA2E;AAyBlE,qGAzBA,2BAAoB,OAyBA;AAxB7B,+CAAiC;AAwBmD,sBAAK;AAtBzF,uCAAmE;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AAE;gBACN,GAAG,EAAE;oBACH,KAAK,CAAC,cAAc,EAAE;oBACtB,KAAK,CAAC,cAAc,EAAE;iBACvB;aACF;SACF,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,IAAI,CAAC;AAEpB,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;IACjC,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;CACtD"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feathersjs/authentication-client",
|
|
3
3
|
"description": "The authentication plugin for feathers-client",
|
|
4
|
-
"version": "4.5.
|
|
4
|
+
"version": "4.5.14",
|
|
5
5
|
"homepage": "https://feathersjs.com",
|
|
6
6
|
"main": "lib/",
|
|
7
7
|
"types": "lib/",
|
|
@@ -52,28 +52,28 @@
|
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@feathersjs/authentication": "^4.5.
|
|
56
|
-
"@feathersjs/commons": "^4.5.
|
|
57
|
-
"@feathersjs/errors": "^4.5.
|
|
58
|
-
"@feathersjs/feathers": "^4.5.
|
|
59
|
-
"debug": "^4.3.
|
|
55
|
+
"@feathersjs/authentication": "^4.5.14",
|
|
56
|
+
"@feathersjs/commons": "^4.5.12",
|
|
57
|
+
"@feathersjs/errors": "^4.5.12",
|
|
58
|
+
"@feathersjs/feathers": "^4.5.12",
|
|
59
|
+
"debug": "^4.3.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@feathersjs/authentication-local": "^4.5.
|
|
63
|
-
"@feathersjs/express": "^4.5.
|
|
64
|
-
"@feathersjs/primus": "^4.5.
|
|
65
|
-
"@feathersjs/primus-client": "^4.5.
|
|
66
|
-
"@feathersjs/rest-client": "^4.5.
|
|
67
|
-
"@feathersjs/socketio": "^4.5.
|
|
68
|
-
"@feathersjs/socketio-client": "^4.5.
|
|
69
|
-
"@types/debug": "^4.1.
|
|
70
|
-
"@types/mocha": "^
|
|
71
|
-
"@types/node": "^
|
|
72
|
-
"axios": "^0.
|
|
73
|
-
"mocha": "^
|
|
62
|
+
"@feathersjs/authentication-local": "^4.5.14",
|
|
63
|
+
"@feathersjs/express": "^4.5.14",
|
|
64
|
+
"@feathersjs/primus": "^4.5.14",
|
|
65
|
+
"@feathersjs/primus-client": "^4.5.14",
|
|
66
|
+
"@feathersjs/rest-client": "^4.5.14",
|
|
67
|
+
"@feathersjs/socketio": "^4.5.14",
|
|
68
|
+
"@feathersjs/socketio-client": "^4.5.14",
|
|
69
|
+
"@types/debug": "^4.1.7",
|
|
70
|
+
"@types/mocha": "^9.0.0",
|
|
71
|
+
"@types/node": "^17.0.8",
|
|
72
|
+
"axios": "^0.24.0",
|
|
73
|
+
"mocha": "^9.1.3",
|
|
74
74
|
"shx": "^0.3.3",
|
|
75
|
-
"ts-node": "^
|
|
76
|
-
"typescript": "^4.
|
|
75
|
+
"ts-node": "^10.4.0",
|
|
76
|
+
"typescript": "^4.5.4"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "25b6fb546768e4396333368d57a26b24f5489010"
|
|
79
79
|
}
|
package/src/index.ts
CHANGED