Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-08-08 13:43:00 +02:00
parent 0913cd19fc
commit 57ce81a6d4
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0
9 changed files with 43 additions and 22 deletions

View File

@ -4,18 +4,18 @@
"lockfileVersion": 1,
"dependencies": {
"@anticrm/dev-account": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/@anticrm/dev-account/-/dev-account-0.6.3.tgz",
"integrity": "sha512-2o/uQQ7yiM0vbJHFacxrBN81pVz1gdr6R0xVzQBqoc4efCta/A2K93WUWgs3S+QDuG4uhvLpDkswP7Y2Cp1ajw==",
"version": "0.6.4",
"resolved": "https://registry.npmjs.org/@anticrm/dev-account/-/dev-account-0.6.4.tgz",
"integrity": "sha512-SQSswnjEzyyxQXdYIxcv/DTLrjjigcwWVBqh1O+7aMXpk0aWA5BNRJ9e3/l3QPI8mPHNVZBDmpc4NF6Zzmi3kw==",
"requires": {
"@anticrm/platform": "~0.6.4",
"@anticrm/platform": "~0.6.5",
"jwt-simple": "^0.5.6"
}
},
"@anticrm/platform": {
"version": "0.6.4",
"resolved": "https://registry.npmjs.org/@anticrm/platform/-/platform-0.6.4.tgz",
"integrity": "sha512-0GJ6/BsqjBBvgs7bxJgWAURWfMWmp7yycDfr1JsvDJEVvBi7VWb1+cpZHiR6MKVfLQJz0f31ET7NGSQueTCMLw==",
"version": "0.6.5",
"resolved": "https://registry.npmjs.org/@anticrm/platform/-/platform-0.6.5.tgz",
"integrity": "sha512-NwRA+s2mvqrt045NYrXXjCi/FB7uw9DFnmVqvVt4zozs8HsWtjQlQ7UPQjaqFV4rVZix6LTIGWmHAnvEGwOD5A==",
"requires": {
"intl-messageformat": "^9.7.1"
}

View File

@ -5,7 +5,7 @@
"@types/mime": "^2.0.3"
},
"dependencies": {
"@anticrm/dev-account": "^0.6.3",
"@anticrm/dev-account": "^0.6.4",
"@pulumi/aws": "^4.14.0",
"@pulumi/cloud": "^0.30.1",
"@pulumi/cloud-aws": "^0.30.1",

View File

@ -1,10 +0,0 @@
{
"changes": [
{
"packageName": "@anticrm/dev-account",
"comment": "",
"type": "none"
}
],
"packageName": "@anticrm/dev-account"
}

View File

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@anticrm/platform",
"comment": "",
"type": "none"
}
],
"packageName": "@anticrm/platform"
}

View File

@ -1,6 +1,18 @@
{
"name": "@anticrm/dev-account",
"entries": [
{
"version": "0.6.4",
"tag": "@anticrm/dev-account_v0.6.4",
"date": "Sun, 08 Aug 2021 11:38:34 GMT",
"comments": {
"patch": [
{
"comment": "Update"
}
]
}
},
{
"version": "0.6.3",
"tag": "@anticrm/dev-account_v0.6.3",

View File

@ -1,6 +1,13 @@
# Change Log - @anticrm/dev-account
This log was last generated on Sun, 08 Aug 2021 10:21:31 GMT and should not be manually modified.
This log was last generated on Sun, 08 Aug 2021 11:38:34 GMT and should not be manually modified.
## 0.6.4
Sun, 08 Aug 2021 11:38:34 GMT
### Patches
- Update
## 0.6.3
Sun, 08 Aug 2021 10:21:31 GMT

View File

@ -1,6 +1,6 @@
{
"name": "@anticrm/dev-account",
"version": "0.6.3",
"version": "0.6.4",
"main": "lib/index.js",
"author": "Anticrm Platform Contributors",
"license": "EPL-2.0",

View File

@ -23,7 +23,8 @@ export function handle (req: string | null, serverEndpoint: string): { statusCod
if (req === null) return { statusCode: 401, body: 'unauthorized' }
const resp = handleRequest(JSON.parse(req), serverEndpoint)
if (resp.error !== undefined) { return { statusCode: 401, body: '' } }
return {
statusCode: 200, body: JSON.stringify(resp.result)
return {
statusCode: 200,
body: JSON.stringify(resp.result)
}
}

View File

@ -2,6 +2,7 @@
"extends": "./node_modules/@anticrm/platform-rig/profiles/default/tsconfig.json",
"compilerOptions": {
"target": "ES6",
"rootDir": "./src",
"outDir": "./lib"
}