@licensechain/nodejs-sdk 1.0.1 → 1.0.3
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/README.md +7 -7
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# LicenseChain Node.js SDK
|
|
2
2
|
|
|
3
3
|
[](LICENSE)
|
|
4
|
-
[](https://nodejs.org/)
|
|
5
5
|
[](https://www.typescriptlang.org/)
|
|
6
|
-
[](https://www.npmjs.com/package/@licensechain/nodejs-sdk)
|
|
7
7
|
|
|
8
8
|
Official Node.js SDK for LicenseChain - Secure license management for Node.js applications.
|
|
9
9
|
|
|
@@ -29,17 +29,17 @@ Official Node.js SDK for LicenseChain - Secure license management for Node.js ap
|
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
31
|
# Install via npm
|
|
32
|
-
npm install licensechain-sdk
|
|
32
|
+
npm install @licensechain/nodejs-sdk
|
|
33
33
|
|
|
34
34
|
# Or via yarn
|
|
35
|
-
yarn add licensechain-sdk
|
|
35
|
+
yarn add @licensechain/nodejs-sdk
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
### Method 2: pnpm
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
41
|
# Install via pnpm
|
|
42
|
-
pnpm add licensechain-sdk
|
|
42
|
+
pnpm add @licensechain/nodejs-sdk
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
### Method 3: Manual Installation
|
|
@@ -53,7 +53,7 @@ pnpm add licensechain-sdk
|
|
|
53
53
|
### Basic Setup
|
|
54
54
|
|
|
55
55
|
```typescript
|
|
56
|
-
import LicenseChain from 'licensechain-sdk';
|
|
56
|
+
import LicenseChain from '@licensechain/nodejs-sdk';
|
|
57
57
|
|
|
58
58
|
// Initialize the client
|
|
59
59
|
const client = new LicenseChain({
|
|
@@ -470,7 +470,7 @@ This project is licensed under the Elastic License 2.0 (ELv2) — see the [LICEN
|
|
|
470
470
|
|
|
471
471
|
## 🆘 Support
|
|
472
472
|
|
|
473
|
-
- **Documentation**: [https://docs.licensechain.app/
|
|
473
|
+
- **Documentation**: [https://docs.licensechain.app/en/sdk](https://docs.licensechain.app/en/sdk)
|
|
474
474
|
- **Issues**: [GitHub Issues](https://github.com/LicenseChain/LicenseChain-NodeJS-SDK/issues)
|
|
475
475
|
- **Discord**: [LicenseChain Discord](https://discord.gg/licensechain)
|
|
476
476
|
- **Email**: support@licensechain.app
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@licensechain/nodejs-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Official LicenseChain Node.js SDK for license management and validation",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"dev": "tsc --watch",
|
|
15
15
|
"lint": "eslint src/**/*.ts",
|
|
16
16
|
"lint:fix": "eslint src/**/*.ts --fix",
|
|
17
|
-
"format": "prettier --write src/**/*.ts"
|
|
17
|
+
"format": "prettier --write src/**/*.ts",
|
|
18
|
+
"test": "node -e \"require('./dist/index.js'); console.log('ok')\""
|
|
18
19
|
},
|
|
19
20
|
"keywords": [
|
|
20
21
|
"license",
|
|
@@ -37,9 +38,10 @@
|
|
|
37
38
|
"bugs": {
|
|
38
39
|
"url": "https://github.com/LicenseChain/LicenseChain-NodeJS-SDK/issues"
|
|
39
40
|
},
|
|
40
|
-
"homepage": "https://docs.licensechain.app/
|
|
41
|
+
"homepage": "https://docs.licensechain.app/en/sdk",
|
|
42
|
+
|
|
41
43
|
"engines": {
|
|
42
|
-
"node": ">=
|
|
44
|
+
"node": ">=20.0.0"
|
|
43
45
|
},
|
|
44
46
|
"dependencies": {
|
|
45
47
|
"axios": "^1.6.0",
|