@nlabs/reaktor 0.2.3 → 0.4.0

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.
Files changed (52) hide show
  1. package/lib/config.js +12 -4
  2. package/lib/data/conversations.d.ts +3 -1
  3. package/lib/data/conversations.js +150 -65
  4. package/lib/data/dynamodb.d.ts +8 -8
  5. package/lib/data/dynamodb.js +65 -33
  6. package/lib/data/email.d.ts +2 -2
  7. package/lib/data/email.js +52 -24
  8. package/lib/data/files.js +71 -11
  9. package/lib/data/groups.js +37 -3
  10. package/lib/data/images.d.ts +3 -2
  11. package/lib/data/images.js +425 -273
  12. package/lib/data/index.d.ts +1 -0
  13. package/lib/data/index.js +33 -1
  14. package/lib/data/ios.d.ts +5 -5
  15. package/lib/data/ios.js +47 -21
  16. package/lib/data/locations.js +28 -4
  17. package/lib/data/messages.js +89 -73
  18. package/lib/data/notifications.d.ts +2 -2
  19. package/lib/data/notifications.js +6 -6
  20. package/lib/data/payments.d.ts +3 -4
  21. package/lib/data/payments.js +228 -257
  22. package/lib/data/posts.d.ts +1 -1
  23. package/lib/data/posts.js +88 -12
  24. package/lib/data/reactions.d.ts +1 -1
  25. package/lib/data/reactions.js +56 -14
  26. package/lib/data/s3.d.ts +6 -6
  27. package/lib/data/s3.js +10 -2
  28. package/lib/data/search.js +46 -4
  29. package/lib/data/sms.js +5 -1
  30. package/lib/data/subscription.d.ts +1 -1
  31. package/lib/data/subscription.js +46 -20
  32. package/lib/data/tags.js +60 -8
  33. package/lib/data/users.d.ts +7 -4
  34. package/lib/data/users.js +83 -32
  35. package/lib/data/websockets.d.ts +6 -0
  36. package/lib/data/websockets.js +250 -0
  37. package/lib/index.js +4 -1
  38. package/lib/types/conversations.d.ts +2 -0
  39. package/lib/types/index.js +18 -1
  40. package/lib/types/payments.d.ts +1 -0
  41. package/lib/types/posts.d.ts +2 -0
  42. package/lib/types/reactions.d.ts +2 -0
  43. package/lib/types/users.d.ts +1 -0
  44. package/lib/utils/analytics.js +28 -6
  45. package/lib/utils/arangodb.d.ts +2 -1
  46. package/lib/utils/arangodb.js +31 -10
  47. package/lib/utils/auth.js +21 -3
  48. package/lib/utils/graphql.js +3 -1
  49. package/lib/utils/index.js +7 -1
  50. package/lib/utils/objects.js +9 -1
  51. package/lib/utils/redis.js +6 -2
  52. package/package.json +33 -31
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nlabs/reaktor",
3
- "version": "0.2.3",
3
+ "version": "0.4.0",
4
4
  "description": "Reaktor",
5
5
  "main": "./index.js",
6
6
  "types": "./lib/index.d.js",
@@ -35,47 +35,49 @@
35
35
  "publish:patch": "npm version patch && npm run publish:tags && npm publish",
36
36
  "publish:tags": "git push --tags && git push origin HEAD",
37
37
  "test": "stage=test jest",
38
- "update": "lex update -i"
38
+ "update": "lex update -i",
39
+ "watch": "lex compile -r -w"
39
40
  },
40
41
  "dependencies": {
41
- "@nlabs/arkhamjs": "^3.14.3",
42
+ "@nlabs/arkhamjs": "^3.20.4",
42
43
  "@nlabs/rip-hunter": "^2.0.3",
43
- "@nlabs/utils": "^1.2.2",
44
- "apn": "^2.2.0",
45
- "arangojs": "^6.11.1",
46
- "aws-sdk": "^2.526.0",
47
- "file-type": "^12.3.0",
44
+ "@nlabs/utils": "^1.3.0",
45
+ "apn": "^1.6.2",
46
+ "arangojs": "^7.1.0",
47
+ "aws-sdk": "^2.792.0",
48
+ "core-js": "^3.7.0",
49
+ "file-type": "^16.0.1",
48
50
  "gm": "^1.23.1",
49
- "google-libphonenumber": "^3.2.4",
50
- "googleapis": "^43.0.0",
51
- "graphql": "^14.5.4",
51
+ "google-libphonenumber": "^3.2.15",
52
+ "googleapis": "^64.0.0",
53
+ "graphql": "^15.4.0",
52
54
  "graphql-errors": "^2.1.0",
53
55
  "graphql-fields": "^2.0.3",
54
- "hiredis": "^0.5.0",
55
- "lodash": "^4.17.15",
56
- "luxon": "^1.17.2",
57
- "node-yelp": "0.0.3",
56
+ "lodash": "^4.17.20",
57
+ "luxon": "^1.25.0",
58
+ "node-yelp": "^0.0.2",
58
59
  "numeral": "^2.0.6",
59
- "redis": "^2.8.0",
60
- "request-promise": "^4.2.4",
61
- "stripe": "^7.9.0",
60
+ "redis": "^3.0.2",
61
+ "request-promise": "^4.2.6",
62
+ "stripe": "^8.121.0",
62
63
  "to": "^0.2.9",
63
- "twilio": "^3.34.0",
64
+ "twilio": "^3.51.0",
64
65
  "typed-promisify": "^0.4.0",
65
- "universal-analytics": "^0.4.20",
66
- "update": "^0.7.4"
66
+ "universal-analytics": "^0.4.23",
67
+ "update": "^0.4.2"
67
68
  },
68
69
  "devDependencies": {
69
70
  "@types/graphql": "^14.5.0",
70
- "@types/history": "^4.6.2",
71
- "@types/jest": "^24.0.18",
72
- "@types/luxon": "^1.15.2",
73
- "@types/node": "^12.7.4",
74
- "@types/twilio": "^0.0.10",
75
- "eslint": "^6.3.0",
76
- "eslint-config-styleguidejs": "^1.0.14",
77
- "graphql-tools": "^4.0.5",
78
- "source-map-loader": "^0.2.4",
79
- "typescript": "^3.6.3"
71
+ "@types/history": "^4.7.8",
72
+ "@types/jest": "^26.0.15",
73
+ "@types/luxon": "^1.25.0",
74
+ "@types/node": "^14.14.7",
75
+ "@types/stripe": "^7.13.25",
76
+ "@types/twilio": "^2.11.0",
77
+ "eslint": "^7.13.0",
78
+ "eslint-config-styleguidejs": "^1.5.1",
79
+ "graphql-tools": "^5.0.0",
80
+ "source-map-loader": "^1.1.2",
81
+ "typescript": "^4.0.5"
80
82
  }
81
83
  }