@based/server 3.3.7 → 3.4.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.
- package/.turbo/turbo-build.log +5 -5
- package/dist/BasedServerClient.d.ts +0 -0
- package/dist/BasedServerClient.js +0 -0
- package/dist/BasedServerClient.js.map +0 -0
- package/dist/Client.d.ts +0 -0
- package/dist/Client.js +0 -0
- package/dist/Client.js.map +0 -0
- package/dist/Params.d.ts +0 -0
- package/dist/Params.js +0 -0
- package/dist/Params.js.map +0 -0
- package/dist/closeListener.d.ts +0 -0
- package/dist/closeListener.js +0 -0
- package/dist/closeListener.js.map +0 -0
- package/dist/findPrefix.d.ts +0 -0
- package/dist/findPrefix.js +0 -0
- package/dist/findPrefix.js.map +0 -0
- package/dist/getFromConfig.d.ts +0 -0
- package/dist/getFromConfig.js +0 -0
- package/dist/getFromConfig.js.map +0 -0
- package/dist/handlers/authorize.d.ts +0 -0
- package/dist/handlers/authorize.js +0 -0
- package/dist/handlers/authorize.js.map +0 -0
- package/dist/handlers/bulkUpdate/index.d.ts +0 -0
- package/dist/handlers/bulkUpdate/index.js +0 -0
- package/dist/handlers/bulkUpdate/index.js.map +0 -0
- package/dist/handlers/configuration/index.d.ts +0 -0
- package/dist/handlers/configuration/index.js +0 -0
- package/dist/handlers/configuration/index.js.map +0 -0
- package/dist/handlers/configuration/observable/index.d.ts +0 -0
- package/dist/handlers/configuration/observable/index.js +0 -0
- package/dist/handlers/configuration/observable/index.js.map +0 -0
- package/dist/handlers/configure/index.d.ts +0 -0
- package/dist/handlers/configure/index.js +0 -0
- package/dist/handlers/configure/index.js.map +0 -0
- package/dist/handlers/copy/index.d.ts +0 -0
- package/dist/handlers/copy/index.js +0 -0
- package/dist/handlers/copy/index.js.map +0 -0
- package/dist/handlers/delete/index.d.ts +0 -0
- package/dist/handlers/delete/index.js +0 -0
- package/dist/handlers/delete/index.js.map +0 -0
- package/dist/handlers/digest/index.d.ts +0 -0
- package/dist/handlers/digest/index.js +0 -0
- package/dist/handlers/digest/index.js.map +0 -0
- package/dist/handlers/functions/call.d.ts +0 -0
- package/dist/handlers/functions/call.js +0 -0
- package/dist/handlers/functions/call.js.map +0 -0
- package/dist/handlers/functions/observable/Observable.d.ts +0 -0
- package/dist/handlers/functions/observable/Observable.js +0 -0
- package/dist/handlers/functions/observable/Observable.js.map +0 -0
- package/dist/handlers/functions/observable/SharedObservable.d.ts +0 -0
- package/dist/handlers/functions/observable/SharedObservable.js +0 -0
- package/dist/handlers/functions/observable/SharedObservable.js.map +0 -0
- package/dist/handlers/functions/observable/index.d.ts +0 -0
- package/dist/handlers/functions/observable/index.js +0 -0
- package/dist/handlers/functions/observable/index.js.map +0 -0
- package/dist/handlers/get/index.d.ts +0 -0
- package/dist/handlers/get/index.js +0 -0
- package/dist/handlers/get/index.js.map +0 -0
- package/dist/handlers/getConfig/index.d.ts +0 -0
- package/dist/handlers/getConfig/index.js +0 -0
- package/dist/handlers/getConfig/index.js.map +0 -0
- package/dist/handlers/handleRequests.d.ts +0 -0
- package/dist/handlers/handleRequests.js +0 -0
- package/dist/handlers/handleRequests.js.map +0 -0
- package/dist/handlers/index.d.ts +0 -0
- package/dist/handlers/index.js +0 -0
- package/dist/handlers/index.js.map +0 -0
- package/dist/handlers/messageParser.d.ts +0 -0
- package/dist/handlers/messageParser.js +0 -0
- package/dist/handlers/messageParser.js.map +0 -0
- package/dist/handlers/removeField/index.d.ts +0 -0
- package/dist/handlers/removeField/index.js +1 -0
- package/dist/handlers/removeField/index.js.map +1 -1
- package/dist/handlers/removeType/index.d.ts +0 -0
- package/dist/handlers/removeType/index.js +0 -0
- package/dist/handlers/removeType/index.js.map +0 -0
- package/dist/handlers/rest/file/DataStream.d.ts +0 -0
- package/dist/handlers/rest/file/DataStream.js +0 -0
- package/dist/handlers/rest/file/DataStream.js.map +0 -0
- package/dist/handlers/rest/file/formStream.d.ts +0 -0
- package/dist/handlers/rest/file/formStream.js +0 -0
- package/dist/handlers/rest/file/formStream.js.map +0 -0
- package/dist/handlers/rest/file/getExtenstion.d.ts +0 -0
- package/dist/handlers/rest/file/getExtenstion.js +0 -0
- package/dist/handlers/rest/file/getExtenstion.js.map +0 -0
- package/dist/handlers/rest/file/index.d.ts +0 -0
- package/dist/handlers/rest/file/index.js +0 -0
- package/dist/handlers/rest/file/index.js.map +0 -0
- package/dist/handlers/rest/file/storeFile.d.ts +0 -0
- package/dist/handlers/rest/file/storeFile.js +0 -0
- package/dist/handlers/rest/file/storeFile.js.map +0 -0
- package/dist/handlers/rest/file/stream.d.ts +0 -0
- package/dist/handlers/rest/file/stream.js +0 -0
- package/dist/handlers/rest/file/stream.js.map +0 -0
- package/dist/handlers/rest/file/types.d.ts +0 -0
- package/dist/handlers/rest/file/types.js +0 -0
- package/dist/handlers/rest/file/types.js.map +0 -0
- package/dist/handlers/rest/getReqMessage.d.ts +0 -0
- package/dist/handlers/rest/getReqMessage.js +0 -0
- package/dist/handlers/rest/getReqMessage.js.map +0 -0
- package/dist/handlers/rest/index.d.ts +0 -0
- package/dist/handlers/rest/index.js +0 -0
- package/dist/handlers/rest/index.js.map +0 -0
- package/dist/handlers/rest/invalidReq.d.ts +0 -0
- package/dist/handlers/rest/invalidReq.js +0 -0
- package/dist/handlers/rest/invalidReq.js.map +0 -0
- package/dist/handlers/rest/parseResponse.d.ts +0 -0
- package/dist/handlers/rest/parseResponse.js +0 -0
- package/dist/handlers/rest/parseResponse.js.map +0 -0
- package/dist/handlers/rest/playground/index.d.ts +0 -0
- package/dist/handlers/rest/playground/index.js +0 -0
- package/dist/handlers/rest/playground/index.js.map +0 -0
- package/dist/handlers/rest/readBody.d.ts +0 -0
- package/dist/handlers/rest/readBody.js +0 -0
- package/dist/handlers/rest/readBody.js.map +0 -0
- package/dist/handlers/set/index.d.ts +0 -0
- package/dist/handlers/set/index.js +0 -0
- package/dist/handlers/set/index.js.map +0 -0
- package/dist/handlers/subscription/index.d.ts +0 -0
- package/dist/handlers/subscription/index.js +0 -0
- package/dist/handlers/subscription/index.js.map +0 -0
- package/dist/handlers/token.d.ts +0 -0
- package/dist/handlers/token.js +0 -0
- package/dist/handlers/token.js.map +0 -0
- package/dist/handlers/track/index.d.ts +0 -0
- package/dist/handlers/track/index.js +0 -0
- package/dist/handlers/track/index.js.map +0 -0
- package/dist/handlers/userAuth/index.d.ts +0 -0
- package/dist/handlers/userAuth/index.js +0 -0
- package/dist/handlers/userAuth/index.js.map +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/index.js.map +0 -0
- package/dist/openListener.d.ts +0 -0
- package/dist/openListener.js +0 -0
- package/dist/openListener.js.map +0 -0
- package/dist/secrets.d.ts +0 -0
- package/dist/secrets.js +6 -3
- package/dist/secrets.js.map +1 -1
- package/dist/types.d.ts +0 -0
- package/dist/types.js +0 -0
- package/dist/types.js.map +0 -0
- package/dist/upgradeListener.d.ts +0 -0
- package/dist/upgradeListener.js +0 -0
- package/dist/upgradeListener.js.map +0 -0
- package/dist/workers/index.d.ts +0 -0
- package/dist/workers/index.js +0 -0
- package/dist/workers/index.js.map +0 -0
- package/dist/workers/workerCode.d.ts +0 -0
- package/dist/workers/workerCode.js +0 -0
- package/dist/workers/workerCode.js.map +0 -0
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
1
|
+
[36m@based/server:build[0m: cache hit, replaying output [2m5064adac77765a76[0m
|
|
2
|
+
[36m@based/server:build: [0m
|
|
3
|
+
[36m@based/server:build: [0m> @based/server@3.4.0 build
|
|
4
|
+
[36m@based/server:build: [0m> npx tsc
|
|
5
|
+
[36m@based/server:build: [0m
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/Client.d.ts
CHANGED
|
File without changes
|
package/dist/Client.js
CHANGED
|
File without changes
|
package/dist/Client.js.map
CHANGED
|
File without changes
|
package/dist/Params.d.ts
CHANGED
|
File without changes
|
package/dist/Params.js
CHANGED
|
File without changes
|
package/dist/Params.js.map
CHANGED
|
File without changes
|
package/dist/closeListener.d.ts
CHANGED
|
File without changes
|
package/dist/closeListener.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/findPrefix.d.ts
CHANGED
|
File without changes
|
package/dist/findPrefix.js
CHANGED
|
File without changes
|
package/dist/findPrefix.js.map
CHANGED
|
File without changes
|
package/dist/getFromConfig.d.ts
CHANGED
|
File without changes
|
package/dist/getFromConfig.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/handlers/index.d.ts
CHANGED
|
File without changes
|
package/dist/handlers/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/handlers/removeField/index.ts"],"names":[],"mappings":";;AAEA,0CAA4D;AAE5D,kBAAe,KAAK,EAClB,MAAmB,EACnB,MAAc,EACd,CAAC,EAAE,KAAK,EAAE,OAAO,CAAiB,EAClC,EAAE;IACF,IAAI;QACF,MAAM,EAAE,IAAI,EAAE,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YACxB,KAAK;YACL,CAAC;YACD;gBACE,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,aAAa;gBACnB,OAAO,EAAE,GAAG,CAAC,OAAO;gBACpB,OAAO;aACR;SACF,CAAC,CAAA;KACH;AACH,CAAC,CAAA"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/handlers/token.d.ts
CHANGED
|
File without changes
|
package/dist/handlers/token.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
package/dist/index.js.map
CHANGED
|
File without changes
|
package/dist/openListener.d.ts
CHANGED
|
File without changes
|
package/dist/openListener.js
CHANGED
|
File without changes
|
package/dist/openListener.js.map
CHANGED
|
File without changes
|
package/dist/secrets.d.ts
CHANGED
|
File without changes
|
package/dist/secrets.js
CHANGED
|
@@ -8,9 +8,12 @@ const jsonwebtoken_1 = __importDefault(require("jsonwebtoken"));
|
|
|
8
8
|
const types_1 = require("@based/types");
|
|
9
9
|
const jwtDecode = (resolve, reject, value, publicKey) => {
|
|
10
10
|
try {
|
|
11
|
-
jsonwebtoken_1.default.verify(value, publicKey,
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
jsonwebtoken_1.default.verify(value, publicKey,
|
|
12
|
+
// FIX: Reverted to re-enable airhub
|
|
13
|
+
// {
|
|
14
|
+
// algorithms: ['RS256'],
|
|
15
|
+
// },
|
|
16
|
+
(err, decoded) => {
|
|
14
17
|
if (err) {
|
|
15
18
|
if (err instanceof jsonwebtoken_1.default.TokenExpiredError) {
|
|
16
19
|
const basedError = new types_1.BasedError('Token expired');
|
package/dist/secrets.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../src/secrets.ts"],"names":[],"mappings":";;;;;;AACA,gEAA+C;AAC/C,wCAA0D;AAE1D,MAAM,SAAS,GAAG,CAChB,OAA6B,EAC7B,MAA6B,EAC7B,KAAa,EACb,SAAiB,EACjB,EAAE;IACF,IAAI;QACF,sBAAG,CAAC,MAAM,CACR,KAAK,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../src/secrets.ts"],"names":[],"mappings":";;;;;;AACA,gEAA+C;AAC/C,wCAA0D;AAE1D,MAAM,SAAS,GAAG,CAChB,OAA6B,EAC7B,MAA6B,EAC7B,KAAa,EACb,SAAiB,EACjB,EAAE;IACF,IAAI;QACF,sBAAG,CAAC,MAAM,CACR,KAAK,EACL,SAAS;QACT,oCAAoC;QACpC,IAAI;QACJ,2BAA2B;QAC3B,KAAK;QACL,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE;YACf,IAAI,GAAG,EAAE;gBACP,IAAI,GAAG,YAAY,sBAAG,CAAC,iBAAiB,EAAE;oBACxC,MAAM,UAAU,GAAG,IAAI,kBAAU,CAAC,eAAe,CAAC,CAAA;oBAClD,UAAU,CAAC,IAAI,GAAG,uBAAe,CAAC,YAAY,CAAA;oBAC9C,UAAU,CAAC,KAAK,GAAG,GAAG,CAAC,KAA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AAE;oBAClB,IAAI;wBACF,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,mBAAmB,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,CAAA;qBAClE;oBAAC,OAAO,GAAG,EAAE;wBACZ,MAAM,CAAC,GAAG,CAAC,CAAA;qBACZ;iBACF;qBAAM;oBACL,OAAO,CAAC,KAAK,CAAC,UAAU,IAAI,sBAAsB,CAAC,CAAA;iBACpD;aACF;iBAAM;gBACL,MAAM,CAAC,IAAI,KAAK,CAAC,yBAAyB,eAAe,EAAE,CAAC,CAAC,CAAA;aAC9D;QACH,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;YACb,MAAM,CAAC,GAAG,CAAC,CAAA;QACb,CAAC,CAAC,CAAA;IACN,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA;AA5BY,QAAA,mBAAmB,uBA4B/B"}
|
package/dist/types.d.ts
CHANGED
|
File without changes
|
package/dist/types.js
CHANGED
|
File without changes
|
package/dist/types.js.map
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/upgradeListener.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/workers/index.d.ts
CHANGED
|
File without changes
|
package/dist/workers/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@based/server",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "src/index.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@saulx/selva": "10||11||12||13||14||15||16||17||18||19||20"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@based/client": "^3.
|
|
16
|
+
"@based/client": "^3.3.0",
|
|
17
17
|
"@based/graphql": "^2.4.4",
|
|
18
18
|
"@based/uws": "2.4.0",
|
|
19
19
|
"@saulx/diff": "^1.1.3",
|