@roxyapi/sdk 1.0.0 → 1.0.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 RoxyAPI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # @roxyapi/sdk
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@roxyapi/sdk)](https://www.npmjs.com/package/@roxyapi/sdk)
4
+ [![Docs](https://img.shields.io/badge/docs-roxyapi.com-blue)](https://roxyapi.com/docs/sdk)
5
+ [![API Reference](https://img.shields.io/badge/api%20reference-roxyapi.com-blue)](https://roxyapi.com/api-reference)
6
+ [![Pricing](https://img.shields.io/badge/pricing-roxyapi.com-blue)](https://roxyapi.com/pricing)
7
+
3
8
  TypeScript SDK for [RoxyAPI](https://roxyapi.com). 8 domains, 120+ endpoints, one API key.
4
9
 
5
10
  Build astrology apps, tarot platforms, birth chart generators, and compatibility tools without writing a single calculation.
package/dist/factory.cjs CHANGED
@@ -2673,6 +2673,9 @@ var Roxy = class _Roxy extends HeyApiClient {
2673
2673
  }
2674
2674
  };
2675
2675
 
2676
+ // package.json
2677
+ var version = "1.0.0";
2678
+
2676
2679
  // src/factory.ts
2677
2680
  function createRoxy(auth) {
2678
2681
  const client2 = createClient(
@@ -2680,7 +2683,7 @@ function createRoxy(auth) {
2680
2683
  baseUrl: "https://roxyapi.com/api/v2",
2681
2684
  auth,
2682
2685
  headers: {
2683
- "X-SDK-Client": "roxyapi-sdk-typescript/1.0.0"
2686
+ "X-SDK-Client": `roxyapi-sdk-typescript/${version}`
2684
2687
  }
2685
2688
  })
2686
2689
  );
@@ -1 +1 @@
1
- {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAGjC,KAAK,SAAS,GAAG,MAAM,GAAG,CAAC,MAAM,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC;AAE3D;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,CAWhD"}
1
+ {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,SAAS,CAAC;AAIxB,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,KAAK,SAAS,GAAG,MAAM,GAAG,CAAC,MAAM,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC;AAE3D;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,CAWhD"}
package/dist/factory.js CHANGED
@@ -1839,6 +1839,9 @@ var Roxy = class _Roxy extends HeyApiClient {
1839
1839
  }
1840
1840
  };
1841
1841
 
1842
+ // package.json
1843
+ var version = "1.0.0";
1844
+
1842
1845
  // src/factory.ts
1843
1846
  function createRoxy(auth) {
1844
1847
  const client2 = createClient(
@@ -1846,7 +1849,7 @@ function createRoxy(auth) {
1846
1849
  baseUrl: "https://roxyapi.com/api/v2",
1847
1850
  auth,
1848
1851
  headers: {
1849
- "X-SDK-Client": "roxyapi-sdk-typescript/1.0.0"
1852
+ "X-SDK-Client": `roxyapi-sdk-typescript/${version}`
1850
1853
  }
1851
1854
  })
1852
1855
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "TypeScript SDK for Roxy — the multi-domain spiritual intelligence API",
5
5
  "type": "module",
6
6
  "exports": {
@@ -47,7 +47,7 @@
47
47
  "license": "MIT",
48
48
  "repository": {
49
49
  "type": "git",
50
- "url": "https://github.com/roxyapi/sdk-typescript.git"
50
+ "url": "git+https://github.com/roxyapi/sdk-typescript.git"
51
51
  },
52
52
  "homepage": "https://roxyapi.com/docs/sdk",
53
53
  "bugs": {
package/src/factory.ts CHANGED
@@ -4,8 +4,9 @@
4
4
  */
5
5
  export * from './index';
6
6
 
7
- import { Roxy } from './sdk.gen';
7
+ import { version } from '../package.json';
8
8
  import { createClient, createConfig } from './client';
9
+ import { Roxy } from './sdk.gen';
9
10
 
10
11
  type AuthToken = string | (() => Promise<string> | string);
11
12
 
@@ -23,7 +24,7 @@ export function createRoxy(auth: AuthToken): Roxy {
23
24
  baseUrl: 'https://roxyapi.com/api/v2',
24
25
  auth,
25
26
  headers: {
26
- 'X-SDK-Client': 'roxyapi-sdk-typescript/1.0.0',
27
+ 'X-SDK-Client': `roxyapi-sdk-typescript/${version}`,
27
28
  },
28
29
  }),
29
30
  );