@roxyapi/sdk 1.0.1 → 1.0.4

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/dist/factory.cjs CHANGED
@@ -2673,8 +2673,8 @@ var Roxy = class _Roxy extends HeyApiClient {
2673
2673
  }
2674
2674
  };
2675
2675
 
2676
- // package.json
2677
- var version = "1.0.0";
2676
+ // src/version.ts
2677
+ var VERSION = "1.0.4";
2678
2678
 
2679
2679
  // src/factory.ts
2680
2680
  function createRoxy(auth) {
@@ -2683,7 +2683,7 @@ function createRoxy(auth) {
2683
2683
  baseUrl: "https://roxyapi.com/api/v2",
2684
2684
  auth,
2685
2685
  headers: {
2686
- "X-SDK-Client": `roxyapi-sdk-typescript/${version}`
2686
+ "X-SDK-Client": `roxy-sdk-typescript/${VERSION}`
2687
2687
  }
2688
2688
  })
2689
2689
  );
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,SAAS,CAAC;AAGxB,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"}
package/dist/factory.js CHANGED
@@ -1839,8 +1839,8 @@ var Roxy = class _Roxy extends HeyApiClient {
1839
1839
  }
1840
1840
  };
1841
1841
 
1842
- // package.json
1843
- var version = "1.0.0";
1842
+ // src/version.ts
1843
+ var VERSION = "1.0.4";
1844
1844
 
1845
1845
  // src/factory.ts
1846
1846
  function createRoxy(auth) {
@@ -1849,7 +1849,7 @@ function createRoxy(auth) {
1849
1849
  baseUrl: "https://roxyapi.com/api/v2",
1850
1850
  auth,
1851
1851
  headers: {
1852
- "X-SDK-Client": `roxyapi-sdk-typescript/${version}`
1852
+ "X-SDK-Client": `roxy-sdk-typescript/${VERSION}`
1853
1853
  }
1854
1854
  })
1855
1855
  );
@@ -0,0 +1,2 @@
1
+ export declare const VERSION = "1.0.4";
2
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roxyapi/sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "TypeScript SDK for Roxy — the multi-domain spiritual intelligence API",
5
5
  "type": "module",
6
6
  "exports": {
@@ -47,11 +47,11 @@
47
47
  "license": "MIT",
48
48
  "repository": {
49
49
  "type": "git",
50
- "url": "git+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": {
54
- "url": "https://github.com/roxyapi/sdk-typescript/issues"
54
+ "url": "https://github.com/RoxyAPI/sdk-typescript/issues"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@biomejs/biome": "^2.4.9",
package/src/factory.ts CHANGED
@@ -4,9 +4,9 @@
4
4
  */
5
5
  export * from './index';
6
6
 
7
- import { version } from '../package.json';
8
7
  import { createClient, createConfig } from './client';
9
8
  import { Roxy } from './sdk.gen';
9
+ import { VERSION } from './version';
10
10
 
11
11
  type AuthToken = string | (() => Promise<string> | string);
12
12
 
@@ -24,7 +24,7 @@ export function createRoxy(auth: AuthToken): Roxy {
24
24
  baseUrl: 'https://roxyapi.com/api/v2',
25
25
  auth,
26
26
  headers: {
27
- 'X-SDK-Client': `roxyapi-sdk-typescript/${version}`,
27
+ 'X-SDK-Client': `roxy-sdk-typescript/${VERSION}`,
28
28
  },
29
29
  }),
30
30
  );
package/src/version.ts ADDED
@@ -0,0 +1 @@
1
+ export const VERSION = '1.0.4';