1.4.12 • Published 1 year ago
license-bb v1.4.12
license-bb
SDK to create license for any project.
Install using below command.
$ npm i license-bb@latestImport Package in JavaScript/NodeJs.
const {License} = require('license-bb');Import Package in TypeScript.
import { License } from "license-bb";At the time of initialization 'License Key' is required, This product code is auto generated code from BBLicense when you add any new product. BBLicense
- When it load it will take your system info for security purpose and for License purpose.
- Below functions to access the functionality
#List of Functions
| Function Name | Parameters | Example |
|---|---|---|
License.init() | base_Url: String license_Key: String clientData: Object | base_Url:'',license_Key: 'XXXX-XXXXX-XXXX-XXX', clientData: { email:required, phone:required, userName:required, orgId:required, orgName:required, assignType: "default" serverNameAlias:required} |
License.getFeatures() | org_Id: String featureName: String | String[] | org_Id:'UniqueId',featureName: 'users' OR featureName: 'users','teams' OR featureName: 'all' |
License.updateLicense() | license_Key: String org_Id: String assignType:String | license_Key: 'XXXX-XXXXX-XXXX-XXX',org_Id: 'UniqueId'assignType:'update' |
License.sync() | license_Key: String org_Id: String | license_Key: 'XXXX-XXXXX-XXXX-XXX',org_Id: 'UniqueId' |
License.getLicenseDetails() | org_Id: String | org_Id: 'UniqueId' |
| Key | value | description/purpose |
|---|---|---|
code | 1 | Success response from SDK |
| -1 | Fail/Invalid/Error response from SDK | |
| -2 | Request fail with licensing server (SDK communicating with license server.) | |
data | Object | On success you will get data object but incase of features you will get value instead of object. |
result | String | Message based on different response code. |
Authors
1.4.12
1 year ago
1.4.6
2 years ago
1.4.5
2 years ago
1.4.4
2 years ago
1.4.3
2 years ago
1.4.2
2 years ago
1.4.1
2 years ago
1.4.0
2 years ago
1.4.9
2 years ago
1.4.11
2 years ago
1.4.8
2 years ago
1.4.10
2 years ago
1.4.7
2 years ago
1.3.9
2 years ago
1.3.8
2 years ago
1.3.7
2 years ago
1.3.6
2 years ago
1.3.5
2 years ago
1.3.4
2 years ago
1.3.3
2 years ago
1.3.2
2 years ago
1.3.1
2 years ago
1.3.0
2 years ago
1.2.8
2 years ago
1.2.7
2 years ago
1.2.6
2 years ago
1.2.9
2 years ago
1.2.5
2 years ago
1.2.4
2 years ago
1.2.3
2 years ago
1.2.2
2 years ago
1.2.0
2 years ago
1.2.1
2 years ago
1.1.4
2 years ago
1.1.1
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.0.1
2 years ago