cloreai 0.1.14 → 0.1.16

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.
@@ -1,4 +1,4 @@
1
- import type { Currency, Specs } from '../../common/types.js';
1
+ import type { Currency, Specs } from '../types.js';
2
2
  export interface MyOrdersResponseDataOrderCommon {
3
3
  auto_login: string;
4
4
  id: number;
@@ -1,4 +1,4 @@
1
- import type { Currency, Pricing, Visibility } from '../../common/types.js';
1
+ import type { Currency, Pricing, Visibility } from '../types.js';
2
2
  export interface SpotMarketplaceResponseDataOfferCommon {
3
3
  active: boolean;
4
4
  bid: number;
@@ -11,7 +11,7 @@ export interface CommonResponseData {
11
11
  }
12
12
  export type OrderType = 'on-demand' | 'spot';
13
13
  export type Visibility = 'public' | 'hidden';
14
- export type Currency = 'CLORE-Blockchain' | 'bitcoin' | 'usd';
14
+ export type Currency = 'CLORE-Blockchain' | 'bitcoin';
15
15
  export interface Pricing {
16
16
  'CLORE-Blockchain': number;
17
17
  'bitcoin': number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloreai",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "type": "module",
5
5
  "description": "CLORE.AI API client",
6
6
  "repository": {
@@ -10,13 +10,17 @@
10
10
  "author": "Vladislav Puzyrev",
11
11
  "license": "MIT",
12
12
  "exports": {
13
- ".": {
14
- "types": "./build/index.d.ts",
15
- "default": "./build/index.js"
16
- },
17
- "./webapi": {
18
- "types": "./build/webapi.d.ts",
19
- "default": "./build/webapi.js"
13
+ ".": "./build/index.js",
14
+ "./webapi": "./build/webapi.js"
15
+ },
16
+ "typesVersions": {
17
+ "*": {
18
+ ".": [
19
+ "build/index.d.ts"
20
+ ],
21
+ "webapi": [
22
+ "build/webapi.d.ts"
23
+ ]
20
24
  }
21
25
  },
22
26
  "keywords": [
@@ -41,15 +45,17 @@
41
45
  "p-queue": "^8.0.1"
42
46
  },
43
47
  "devDependencies": {
48
+ "@tsconfig/node-lts": "^22.0.1",
44
49
  "@tsconfig/strictest": "^2.0.5",
45
- "eslint": "^9.17.0",
46
- "eslint-config-vladpuz": "^0.22.0",
50
+ "@types/node": "^22.10.5",
51
+ "eslint": "^9.18.0",
52
+ "eslint-config-vladpuz": "^0.24.0",
47
53
  "husky": "^9.1.7",
48
54
  "jiti": "^2.4.2",
49
- "npm-check-updates": "^17.1.11",
55
+ "npm-check-updates": "^17.1.13",
50
56
  "prettier": "^3.4.2",
51
57
  "prettier-config-vladpuz": "^0.9.0",
52
58
  "rimraf": "^6.0.1",
53
- "typescript": "^5.7.2"
59
+ "typescript": "^5.7.3"
54
60
  }
55
61
  }