@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 +3 -3
- package/dist/factory.d.ts.map +1 -1
- package/dist/factory.js +3 -3
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/factory.ts +2 -2
- package/src/version.ts +1 -0
- package/dist/index.cjs +0 -1054
- package/dist/index.js +0 -1020
package/dist/factory.cjs
CHANGED
|
@@ -2673,8 +2673,8 @@ var Roxy = class _Roxy extends HeyApiClient {
|
|
|
2673
2673
|
}
|
|
2674
2674
|
};
|
|
2675
2675
|
|
|
2676
|
-
//
|
|
2677
|
-
var
|
|
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": `
|
|
2686
|
+
"X-SDK-Client": `roxy-sdk-typescript/${VERSION}`
|
|
2687
2687
|
}
|
|
2688
2688
|
})
|
|
2689
2689
|
);
|
package/dist/factory.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,SAAS,CAAC;
|
|
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
|
-
//
|
|
1843
|
-
var
|
|
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": `
|
|
1852
|
+
"X-SDK-Client": `roxy-sdk-typescript/${VERSION}`
|
|
1853
1853
|
}
|
|
1854
1854
|
})
|
|
1855
1855
|
);
|
|
@@ -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.
|
|
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/
|
|
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/
|
|
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': `
|
|
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';
|