@roxyapi/sdk 1.2.16 → 1.2.18
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/AGENTS.md +8 -5
- package/README.md +37 -15
- package/dist/factory.cjs +1 -1
- package/dist/factory.js +1 -1
- package/dist/types.gen.d.ts +94 -91
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/docs/llms-full.txt +10 -5
- package/package.json +17 -7
- package/src/types.gen.ts +94 -91
- package/src/version.ts +1 -1
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.2.
|
|
1
|
+
export declare const VERSION = "1.2.18";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/docs/llms-full.txt
CHANGED
|
@@ -22,7 +22,7 @@ const { data } = await roxy.astrology.getDailyHoroscope({
|
|
|
22
22
|
|
|
23
23
|
## Astrology (Western) — `roxy.astrology`
|
|
24
24
|
|
|
25
|
-
Tropical zodiac, Placidus houses, NASA JPL
|
|
25
|
+
Tropical zodiac, Placidus houses, positions verified against NASA JPL Horizons.
|
|
26
26
|
|
|
27
27
|
### Horoscopes
|
|
28
28
|
|
|
@@ -671,13 +671,18 @@ Geocoding helper for birth chart coordinates.
|
|
|
671
671
|
```typescript
|
|
672
672
|
// Search cities (autocomplete)
|
|
673
673
|
const { data } = await roxy.location.searchCities({ query: { q: 'Mumbai' } });
|
|
674
|
-
// Returns
|
|
674
|
+
// Returns envelope: { total, limit, offset, cities: [{ name, country, latitude, longitude, timezone, utcOffset, ... }, ...] }
|
|
675
|
+
// `timezone` is the IANA string ("Asia/Kolkata"), `utcOffset` is the decimal fallback (5.5).
|
|
676
|
+
// Pass `timezone` directly to any chart endpoint; the server resolves DST for the chart's `date`.
|
|
675
677
|
|
|
676
|
-
|
|
677
|
-
const {
|
|
678
|
+
const city = data.cities[0];
|
|
679
|
+
const { latitude, longitude, timezone } = city;
|
|
680
|
+
|
|
681
|
+
// All countries
|
|
682
|
+
const { data: countries } = await roxy.location.listCountries();
|
|
678
683
|
|
|
679
684
|
// Cities in a country
|
|
680
|
-
const { data } = await roxy.location.getCitiesByCountry({ path: { iso2: 'IN' } });
|
|
685
|
+
const { data: indianCities } = await roxy.location.getCitiesByCountry({ path: { iso2: 'IN' } });
|
|
681
686
|
```
|
|
682
687
|
|
|
683
688
|
---
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roxyapi/sdk",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.18",
|
|
4
4
|
"description": "TypeScript SDK for Roxy — the multi-domain spiritual intelligence API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -35,17 +35,27 @@
|
|
|
35
35
|
},
|
|
36
36
|
"keywords": [
|
|
37
37
|
"astrology",
|
|
38
|
+
"vedic",
|
|
38
39
|
"tarot",
|
|
39
40
|
"numerology",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"vedic",
|
|
41
|
+
"horoscope",
|
|
42
|
+
"kundli",
|
|
43
|
+
"birth-chart",
|
|
44
|
+
"natal-chart",
|
|
45
45
|
"iching",
|
|
46
46
|
"crystals",
|
|
47
47
|
"angel-numbers",
|
|
48
|
-
"dreams"
|
|
48
|
+
"dreams",
|
|
49
|
+
"biorhythm",
|
|
50
|
+
"spiritual",
|
|
51
|
+
"API",
|
|
52
|
+
"SDK",
|
|
53
|
+
"typescript-sdk",
|
|
54
|
+
"nodejs",
|
|
55
|
+
"ai-agent",
|
|
56
|
+
"mcp",
|
|
57
|
+
"llm",
|
|
58
|
+
"roxy"
|
|
49
59
|
],
|
|
50
60
|
"license": "MIT",
|
|
51
61
|
"repository": {
|