@feathersjs/authentication-client 4.5.11 → 4.5.12
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 +11 -0
- package/lib/hooks/authentication.js +1 -1
- package/lib/hooks/authentication.js.map +1 -1
- package/lib/index.js +1 -1
- 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,17 @@
|
|
|
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.12](https://github.com/feathersjs/feathers/compare/v4.5.11...v4.5.12) (2022-01-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Update all dependencies for crow release ([#2520](https://github.com/feathersjs/feathers/issues/2520)) ([1c63e6b](https://github.com/feathersjs/feathers/commit/1c63e6be37ff85edbe8dd318415ca6919864c033))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [4.5.11](https://github.com/feathersjs/feathers/compare/v4.5.10...v4.5.11) (2020-12-05)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -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
|
@@ -34,7 +34,7 @@ const getDefaultStorage = () => {
|
|
|
34
34
|
return new storage_1.MemoryStorage();
|
|
35
35
|
};
|
|
36
36
|
exports.getDefaultStorage = getDefaultStorage;
|
|
37
|
-
exports.defaultStorage = exports.getDefaultStorage();
|
|
37
|
+
exports.defaultStorage = (0, exports.getDefaultStorage)();
|
|
38
38
|
exports.defaults = {
|
|
39
39
|
header: 'Authorization',
|
|
40
40
|
scheme: 'Bearer',
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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;AAsBE,8FAtBnD,uBAAa,OAsBmD;AAR3E,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACpC,IAAI;QACF,OAAO,IAAI,wBAAc,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;KAChD;IAAC,OAAO,
|
|
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;AAsBE,8FAtBnD,uBAAa,OAsBmD;AAR3E,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACpC,IAAI;QACF,OAAO,IAAI,wBAAc,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;KAChD;IAAC,OAAO,KAAU,EAAE,GAAE;IAEvB,OAAO,IAAI,uBAAa,EAAE,CAAC;AAC7B,CAAC,CAAC;AANW,QAAA,iBAAiB,qBAM5B;AAMW,QAAA,cAAc,GAAY,IAAA,yBAAiB,GAAE,CAAC;AAE9C,QAAA,QAAQ,GAAgC;IACnD,MAAM,EAAE,eAAe;IACvB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,cAAc;IAC1B,WAAW,EAAE,cAAc;IAC3B,gBAAgB,EAAE,OAAO;IACzB,WAAW,EAAE,KAAK;IAClB,IAAI,EAAE,iBAAiB;IACvB,cAAc,EAAE,2BAAoB;IACpC,OAAO,EAAE,sBAAc;CACxB,CAAC;AAEF,MAAM,IAAI,GAAG,CAAC,WAAiD,EAAE,EAAE,EAAE;IACnE,MAAM,OAAO,GAAgC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,gBAAQ,EAAE,QAAQ,CAAC,CAAC;IACnF,MAAM,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC;IAEnC,OAAO,CAAC,GAAgB,EAAE,EAAE;QAC1B,MAAM,cAAc,GAAG,IAAI,cAAc,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAExD,GAAG,CAAC,cAAc,GAAG,cAAc,CAAC;QACpC,GAAG,CAAC,YAAY,GAAG,cAAc,CAAC,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACpE,GAAG,CAAC,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACxE,GAAG,CAAC,MAAM,GAAG,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAExD,GAAG,CAAC,KAAK,CAAC;YACR,MAAM,EAAE;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.12",
|
|
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.12",
|
|
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.12",
|
|
63
|
+
"@feathersjs/express": "^4.5.12",
|
|
64
|
+
"@feathersjs/primus": "^4.5.12",
|
|
65
|
+
"@feathersjs/primus-client": "^4.5.12",
|
|
66
|
+
"@feathersjs/rest-client": "^4.5.12",
|
|
67
|
+
"@feathersjs/socketio": "^4.5.12",
|
|
68
|
+
"@feathersjs/socketio-client": "^4.5.12",
|
|
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": "8697ecc85808437e9aab63e5d2327679340c5401"
|
|
79
79
|
}
|
package/src/index.ts
CHANGED