@hestia-earth/api 0.21.7 → 0.21.9

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.
@@ -29,6 +29,7 @@ export declare class User extends BaseModel {
29
29
  autoSubmitPrivateSubmissions: boolean;
30
30
  confirmToken?: string;
31
31
  confirmedAt?: Date;
32
+ lastActiveAt?: Date;
32
33
  scopusID?: string;
33
34
  googleID?: string;
34
35
  linkedInID?: string;
@@ -0,0 +1,3 @@
1
+ export ENVIRONMENT='staging'
2
+ export STAGE='staging'
3
+ export MONGODB_URL='$MONGODB_URL_STAGING'
@@ -0,0 +1,3 @@
1
+ export ENVIRONMENT='production'
2
+ export STAGE='prod'
3
+ export MONGODB_URL='$MONGODB_URL_PROD'
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@hestia-earth/api",
3
- "version": "0.21.7",
3
+ "version": "0.21.9",
4
4
  "description": "Hestia API definitions",
5
5
  "main": "dist/models.js",
6
6
  "typings": "dist/models.d.ts",
7
7
  "scripts": {
8
8
  "build": "rm -rf build && tsc -p tsconfig.build.json",
9
9
  "build:module": "rm -rf dist && tsc -p tsconfig.dist.json",
10
+ "build:lambdas": "rm -rf build && tsc -p tsconfig.lambdas.json",
10
11
  "validate:jsonld": "hestia-validate-jsonld '' test/fixtures/nodes",
11
12
  "start": "node index.js",
12
13
  "dev": "ts-node-dev --respawn --rs dev.ts --files --ignore-watch node_modules",
@@ -42,8 +43,9 @@
42
43
  "@hestia-earth/schema-convert": "^21.0.0",
43
44
  "@hestia-earth/schema-validation": "^21.0.0",
44
45
  "@mendeley/api": "^10.0.2",
45
- "@sentry/node": "^7.33.0",
46
- "@sentry/tracing": "^7.33.0",
46
+ "@sentry/node": "^7.61.1",
47
+ "@sentry/serverless": "^7.61.1",
48
+ "@sentry/tracing": "^7.61.1",
47
49
  "@slack/web-api": "^6.7.0",
48
50
  "@sokratis/passport-linkedin-oauth2": "^2.1.0",
49
51
  "@types/chai": "^4.3.0",
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@hestia-earth/api-serverless",
3
+ "dependencies": {
4
+ "@sentry/serverless": "*",
5
+ "mongoose": "*",
6
+ "mongoose-bcrypt": "*"
7
+ },
8
+ "devDependencies": {
9
+ "serverless": "^3.32.2",
10
+ "serverless-deployment-bucket": "^1.6.0",
11
+ "serverless-offline": "^12.0.4"
12
+ }
13
+ }