@nextxai/sdk 0.0.0-stage → 0.1.0-beta.0

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 @@
1
+ export declare const VERSION = "0.1.0-beta.0";
@@ -0,0 +1 @@
1
+ export const VERSION = "0.1.0-beta.0";
package/package.json CHANGED
@@ -1,6 +1,69 @@
1
1
  {
2
2
  "name": "@nextxai/sdk",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0-beta.0",
4
+ "description": "NextX API cho Node.js và TypeScript — kiểu đầy đủ sinh từ OpenAPI công khai",
5
+ "keywords": [
6
+ "nextx",
7
+ "crm",
8
+ "sales",
9
+ "api",
10
+ "sdk",
11
+ "openapi",
12
+ "typescript"
13
+ ],
14
+ "homepage": "https://developers.nextx.vn/docs/sdk",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/nextx-organization/nextx-sdk-node.git"
18
+ },
19
+ "bugs": "https://github.com/nextx-organization/nextx-sdk-node/issues",
20
+ "license": "MIT",
21
+ "author": "NextX <support@nextx.vn>",
22
+ "sideEffects": false,
23
+ "type": "module",
24
+ "main": "./dist/cjs/index.js",
25
+ "module": "./dist/esm/index.js",
26
+ "types": "./dist/esm/index.d.ts",
27
+ "exports": {
28
+ ".": {
29
+ "import": {
30
+ "types": "./dist/esm/index.d.ts",
31
+ "default": "./dist/esm/index.js"
32
+ },
33
+ "require": {
34
+ "types": "./dist/cjs/index.d.ts",
35
+ "default": "./dist/cjs/index.js"
36
+ }
37
+ },
38
+ "./package.json": "./package.json"
39
+ },
40
+ "files": [
41
+ "dist",
42
+ "README.md",
43
+ "LICENSE",
44
+ "CHANGELOG.md"
45
+ ],
46
+ "engines": {
47
+ "node": ">=18"
48
+ },
49
+ "publishConfig": {
50
+ "access": "public",
51
+ "provenance": true
52
+ },
53
+ "scripts": {
54
+ "gen": "openapi-typescript openapi.json -o src/schema.d.ts",
55
+ "build": "rm -rf dist && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && cp src/schema.d.ts dist/esm/ && cp src/schema.d.ts dist/cjs/ && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
56
+ "test": "node --test test/*.test.mjs"
57
+ },
58
+ "dependencies": {
59
+ "openapi-fetch": "0.13.8"
60
+ },
61
+ "devDependencies": {
62
+ "@types/node": "22.10.2",
63
+ "openapi-typescript": "7.13.0",
64
+ "typescript": "5.6.3"
65
+ },
66
+ "nextx": {
67
+ "specSha256": "8367a4f29bfb55a30084563c2cc698431e06c54edf9e54608de0cbf1768238ed"
68
+ }
69
+ }