@astroway/sdk 0.1.0-alpha.1

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.
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=types.generated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.generated.js","sourceRoot":"","sources":["../src/types.generated.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -0,0 +1,3 @@
1
+ /** Auto-injected from package.json at build time. Update via npm version <bump>. */
2
+ export declare const SDK_VERSION = "0.1.0-alpha.1";
3
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,eAAO,MAAM,WAAW,kBAAkB,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Auto-injected from package.json at build time. Update via npm version <bump>. */
2
+ export const SDK_VERSION = '0.1.0-alpha.1';
3
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC"}
package/package.json ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "@astroway/sdk",
3
+ "version": "0.1.0-alpha.1",
4
+ "description": "Official TypeScript SDK for the AstroWay API — natal, synastry, transits, Vedic, Human Design, Tarot, Numerology, AI horoscopes. Type-safe, retry-aware, OpenAPI 3.1 generated.",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ },
14
+ "./errors": {
15
+ "types": "./dist/errors.d.ts",
16
+ "import": "./dist/errors.js"
17
+ }
18
+ },
19
+ "files": [
20
+ "dist",
21
+ "README.md",
22
+ "CHANGELOG.md",
23
+ "LICENSE"
24
+ ],
25
+ "scripts": {
26
+ "sync-spec": "tsx scripts/sync-spec.ts",
27
+ "generate": "openapi-typescript openapi.json -o src/types.generated.ts",
28
+ "build": "npm run generate && tsc",
29
+ "prepublishOnly": "npm run build && npm test",
30
+ "test": "vitest run",
31
+ "test:watch": "vitest",
32
+ "lint": "tsc --noEmit"
33
+ },
34
+ "keywords": [
35
+ "astrology",
36
+ "api",
37
+ "sdk",
38
+ "natal-chart",
39
+ "synastry",
40
+ "transits",
41
+ "vedic",
42
+ "human-design",
43
+ "tarot",
44
+ "numerology",
45
+ "swiss-ephemeris",
46
+ "openapi",
47
+ "type-safe"
48
+ ],
49
+ "license": "MIT",
50
+ "author": "AstroWay <astroway.info@gmail.com>",
51
+ "repository": {
52
+ "type": "git",
53
+ "url": "https://github.com/astroway/astroway-typescript.git"
54
+ },
55
+ "bugs": {
56
+ "url": "https://github.com/astroway/astroway-typescript/issues"
57
+ },
58
+ "homepage": "https://api.astroway.info/docs/",
59
+ "engines": {
60
+ "node": ">=20"
61
+ },
62
+ "publishConfig": {
63
+ "access": "public"
64
+ },
65
+ "dependencies": {
66
+ "openapi-fetch": "^0.13.0"
67
+ },
68
+ "devDependencies": {
69
+ "@types/node": "^22.15.0",
70
+ "openapi-typescript": "^7.6.0",
71
+ "tsx": "^4.19.0",
72
+ "typescript": "^5.7.0",
73
+ "vitest": "^2.1.0"
74
+ }
75
+ }