@peopl-health/nexus 1.5.7 → 1.5.8
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/lib/config/awsConfig.js +1 -1
- package/package.json +44 -34
package/lib/config/awsConfig.js
CHANGED
|
@@ -86,7 +86,7 @@ async function generatePresignedUrl(bucketName, key, expiration = 300) {
|
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
try {
|
|
89
|
-
const url = s3.getSignedUrlPromise('getObject', params);
|
|
89
|
+
const url = await s3.getSignedUrlPromise('getObject', params);
|
|
90
90
|
console.log(`Presigned URL generated: ${url}`);
|
|
91
91
|
return url;
|
|
92
92
|
} catch (error) {
|
package/package.json
CHANGED
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peopl-health/nexus",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.8",
|
|
4
4
|
"description": "Core messaging and assistant library for WhatsApp communication platforms",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
5
|
+
"keywords": [
|
|
6
|
+
"whatsapp",
|
|
7
|
+
"messaging",
|
|
8
|
+
"ai-assistant",
|
|
9
|
+
"twilio",
|
|
10
|
+
"baileys",
|
|
11
|
+
"communication"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/peopl-health/nexus#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/peopl-health/nexus/issues"
|
|
7
16
|
},
|
|
8
|
-
"
|
|
9
|
-
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/peopl-health/nexus.git"
|
|
20
|
+
},
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"author": "PEOPL Health Tech",
|
|
23
|
+
"type": "commonjs",
|
|
10
24
|
"exports": {
|
|
11
25
|
".": {
|
|
12
26
|
"import": "./lib/index.js",
|
|
@@ -30,6 +44,21 @@
|
|
|
30
44
|
"require": "./lib/routes/index.js"
|
|
31
45
|
}
|
|
32
46
|
},
|
|
47
|
+
"main": "lib/index.js",
|
|
48
|
+
"types": "lib/index.d.ts",
|
|
49
|
+
"directories": {
|
|
50
|
+
"example": "examples",
|
|
51
|
+
"lib": "lib",
|
|
52
|
+
"test": "test"
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"lib/",
|
|
56
|
+
"examples/",
|
|
57
|
+
"README.md",
|
|
58
|
+
"LICENSE",
|
|
59
|
+
"CHANGELOG.md",
|
|
60
|
+
"MIGRATION_GUIDE.md"
|
|
61
|
+
],
|
|
33
62
|
"scripts": {
|
|
34
63
|
"build": "tsc",
|
|
35
64
|
"dev": "tsc --watch",
|
|
@@ -40,16 +69,6 @@
|
|
|
40
69
|
"version": "npm run prepublishOnly && git add -A lib",
|
|
41
70
|
"postversion": "git push && git push --tags"
|
|
42
71
|
},
|
|
43
|
-
"keywords": [
|
|
44
|
-
"whatsapp",
|
|
45
|
-
"messaging",
|
|
46
|
-
"ai-assistant",
|
|
47
|
-
"twilio",
|
|
48
|
-
"baileys",
|
|
49
|
-
"communication"
|
|
50
|
-
],
|
|
51
|
-
"author": "PEOPL Health Tech",
|
|
52
|
-
"license": "MIT",
|
|
53
72
|
"dependencies": {
|
|
54
73
|
"airtable": "^0.12.2",
|
|
55
74
|
"aws-sdk": "2.1674.0",
|
|
@@ -63,13 +82,6 @@
|
|
|
63
82
|
"pino-pretty": "^10.2.0",
|
|
64
83
|
"uuid": "^9.0.0"
|
|
65
84
|
},
|
|
66
|
-
"peerDependencies": {
|
|
67
|
-
"baileys": "^6.4.0",
|
|
68
|
-
"express": "4.21.2",
|
|
69
|
-
"openai": "^4.0.0",
|
|
70
|
-
"twilio": "5.6.0",
|
|
71
|
-
"@anthropic-ai/sdk": "^0.32.0"
|
|
72
|
-
},
|
|
73
85
|
"devDependencies": {
|
|
74
86
|
"@types/node": "^20.5.0",
|
|
75
87
|
"eslint": "^8.47.0",
|
|
@@ -77,19 +89,17 @@
|
|
|
77
89
|
"sharp": "0.32.6",
|
|
78
90
|
"typescript": "^5.1.6"
|
|
79
91
|
},
|
|
92
|
+
"peerDependencies": {
|
|
93
|
+
"baileys": "^6.4.0",
|
|
94
|
+
"express": "4.21.2",
|
|
95
|
+
"openai": "^4.0.0",
|
|
96
|
+
"twilio": "5.6.0",
|
|
97
|
+
"@anthropic-ai/sdk": "^0.32.0"
|
|
98
|
+
},
|
|
80
99
|
"engines": {
|
|
81
100
|
"node": ">=20.0.0"
|
|
82
101
|
},
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
"files": [
|
|
88
|
-
"lib/",
|
|
89
|
-
"examples/",
|
|
90
|
-
"README.md",
|
|
91
|
-
"LICENSE",
|
|
92
|
-
"CHANGELOG.md",
|
|
93
|
-
"MIGRATION_GUIDE.md"
|
|
94
|
-
]
|
|
102
|
+
"publishConfig": {
|
|
103
|
+
"access": "public"
|
|
104
|
+
}
|
|
95
105
|
}
|