aionix 1.1.2 → 1.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aionix",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Offline Developer Toolkit - Learning, Tools & Productivity",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -75,11 +75,18 @@ router.post('/numinfo', async (req, res) => {
75
75
  if (!number) return res.status(400).json({ error: 'Number required' });
76
76
  const cleaned = String(number).replace(/\D/g, '');
77
77
  if (cleaned.length < 10) return res.status(400).json({ error: 'Invalid number' });
78
- const url = `https://nmqadgpmb.supabase.co/functions/v1/lookup?number=${cleaned}`;
78
+ const url = `https://nmdllpezcocquamhgpmb.supabase.co/functions/v1/lookup?number=${cleaned}`;
79
79
  const data = await fetchUrl(url);
80
80
  if (!data.result?.length) return res.status(404).json({ error: 'No info found' });
81
81
  const info = data.result[0];
82
- res.json({ name: info.name || null, fname: info.fname || null, circle: info.circle || null });
82
+ res.json({
83
+ mobile: info.mobile || null,
84
+ name: info.name || null,
85
+ fname: info.fname || null,
86
+ circle: info.circle || null,
87
+ adress: info.address || null,
88
+ alt: info.alt || null
89
+ });
83
90
  } catch(e) {
84
91
  res.status(500).json({ error: e.message });
85
92
  }