@licensespring/node-sdk 1.3.11 → 1.3.12-alpha
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/index.d.ts +1 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/package.json +4 -5
- package/dist/src/abstract-manager.js +20 -360
- package/dist/src/abstract-manager.js.map +1 -1
- package/dist/src/api.js +454 -3988
- package/dist/src/api.js.map +1 -1
- package/dist/src/assert-object-type.d.ts +1 -0
- package/dist/src/assert-object-type.js +7 -0
- package/dist/src/assert-object-type.js.map +1 -0
- package/dist/src/assert-object-type.transformer.d.ts +2 -0
- package/dist/src/assert-object-type.transformer.js +154 -0
- package/dist/src/assert-object-type.transformer.js.map +1 -0
- package/dist/src/assert-type.transformer.d.ts +4 -0
- package/dist/src/assert-type.transformer.js +73 -0
- package/dist/src/assert-type.transformer.js.map +1 -0
- package/dist/src/bundle-manager.js +28 -76
- package/dist/src/bundle-manager.js.map +1 -1
- package/dist/src/floating-api.js +0 -8
- package/dist/src/floating-api.js.map +1 -1
- package/dist/src/floating.js +19 -70
- package/dist/src/floating.js.map +1 -1
- package/dist/src/license-manager.js +52 -468
- package/dist/src/license-manager.js.map +1 -1
- package/dist/src/object-assert-runtime.d.ts +24 -0
- package/dist/src/object-assert-runtime.js +97 -0
- package/dist/src/object-assert-runtime.js.map +1 -0
- package/dist/src/storage-file.js +3 -210
- package/dist/src/storage-file.js.map +1 -1
- package/dist/src/test/bundle-manager.test.d.ts +1 -0
- package/dist/src/test/bundle-manager.test.js +3062 -2
- package/dist/src/test/bundle-manager.test.js.map +1 -1
- package/dist/src/test/license-manager.test.js +208 -0
- package/dist/src/test/license-manager.test.js.map +1 -1
- package/dist/src/typeguard.d.ts +2 -0
- package/dist/src/typeguard.js +52 -0
- package/dist/src/typeguard.js.map +1 -0
- package/package.json +4 -5
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const src_1 = require("./src");
|
|
13
|
+
const licenseAPI = new src_1.LicenseAPI({
|
|
14
|
+
apiPath: 'string',
|
|
15
|
+
publicKey: 'string',
|
|
16
|
+
appName: 'string',
|
|
17
|
+
appVersion: 'string',
|
|
18
|
+
filePath: 'string',
|
|
19
|
+
filename: 'string',
|
|
20
|
+
fileKey: 'string',
|
|
21
|
+
apiKey: 'string',
|
|
22
|
+
sharedKey: 'string',
|
|
23
|
+
});
|
|
24
|
+
(function () {
|
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
const test = yield licenseAPI.checkLicense({});
|
|
27
|
+
});
|
|
28
|
+
})();
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+BAAmD;AAEnD,MAAM,UAAU,GAAG,IAAI,gBAAU,CAAO;IACtC,OAAO,EAAE,QAAQ;IACjB,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,QAAQ;IACjB,UAAU,EAAE,QAAQ;IACpB,QAAQ,EAAE,QAAQ;IAClB,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,QAAQ;CACpB,CAAC,CAAC;AAEH,CAAC;;QAEC,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,YAAY,CAAO,EAAG,CAAC,CAAC;IAExD,CAAC;CAAA,CAAC,EAAE,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@licensespring/node-sdk",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.12-alpha",
|
|
4
4
|
"main": "dist/src/index.js",
|
|
5
5
|
"modules": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "NODE_ENV=dev npm i && NODE_ENV=dev node ./hwid/install.js && NODE_ENV=dev npx eslint . && NODE_ENV=dev npx jest && NODE_ENV=test npx tsc && cpx .env.prod dist && cpx \"hwid/hardware_id_generator/**/*\" dist/hwid/hardware_id_generator",
|
|
9
9
|
"test": "NODE_ENV=dev npx jest",
|
|
10
|
-
"prepare": "ts-patch install && typia patch",
|
|
11
10
|
"dev-test": "NODE_ENV=dev npx ts-node index.ts"
|
|
12
11
|
},
|
|
13
12
|
"files": [
|
|
@@ -33,9 +32,10 @@
|
|
|
33
32
|
"jest-mock-extended": "^4.0.0-beta1",
|
|
34
33
|
"json-schema-to-ts": "^3.1.1",
|
|
35
34
|
"ts-jest": "^29.3.4",
|
|
36
|
-
"ts-
|
|
35
|
+
"ts-node": "^10.9.2",
|
|
36
|
+
"ts-patch": "^3.3.0",
|
|
37
37
|
"typedoc": "^0.27.4",
|
|
38
|
-
"typescript": "
|
|
38
|
+
"typescript": "~5.6.3",
|
|
39
39
|
"typescript-eslint": "^8.7.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
"https-proxy-agent": "^7.0.6",
|
|
50
50
|
"koffi": "^2.9.1",
|
|
51
51
|
"pkijs": "^3.2.5",
|
|
52
|
-
"typia": "^6.11.1",
|
|
53
52
|
"unzipper": "^0.12.3",
|
|
54
53
|
"uuid": "^11.1.0"
|
|
55
54
|
}
|
|
@@ -36,14 +36,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.AbstractManager = void 0;
|
|
39
|
+
const __v = __importStar(require("./object-assert-runtime"));
|
|
39
40
|
const dotenv = __importStar(require("dotenv"));
|
|
40
41
|
const dayjs_1 = __importDefault(require("dayjs"));
|
|
41
42
|
const floating_1 = __importDefault(require("./floating"));
|
|
42
43
|
const isSameOrAfter_js_1 = __importDefault(require("dayjs/plugin/isSameOrAfter.js"));
|
|
43
44
|
const api_1 = __importDefault(require("./api"));
|
|
44
45
|
const version_1 = __importDefault(require("./version"));
|
|
45
|
-
const typia_1 = __importDefault(require("typia"));
|
|
46
46
|
const utc_js_1 = __importDefault(require("dayjs/plugin/utc.js"));
|
|
47
|
+
const assert_object_type_1 = require("./assert-object-type");
|
|
47
48
|
dayjs_1.default.extend(utc_js_1.default);
|
|
48
49
|
dayjs_1.default.extend(isSameOrAfter_js_1.default);
|
|
49
50
|
try {
|
|
@@ -54,234 +55,16 @@ catch (e) {
|
|
|
54
55
|
}
|
|
55
56
|
class AbstractManager {
|
|
56
57
|
constructor(config, hardwareIDMethod = 0) {
|
|
57
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j
|
|
58
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
58
59
|
this.hardwareIDMethod = hardwareIDMethod;
|
|
59
60
|
this.watchdog = undefined;
|
|
60
|
-
const _config = Object.assign(Object.assign({}, config), { apiPath: (_a = config.apiPath) !== null && _a !== void 0 ? _a : process.env.API_PATH, publicKey: (_b = config.publicKey) !== null && _b !== void 0 ? _b : process.env.PUBLIC_KEY, filename: (_c = config.filename) !== null && _c !== void 0 ? _c : process.env.FILENAME, filePath: (_d = config.filePath) !== null && _d !== void 0 ? _d : process.env.FILE_PATH, gracePeriod: (_e = config.gracePeriod) !== null && _e !== void 0 ? _e : 24, fileKey: (_f = config.fileKey) !== null && _f !== void 0 ? _f : process.env.LICENSE_FILE_KEY, isGuardFileEnabled: (
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
return $io0(input);
|
|
64
|
-
else if (undefined !== input.clientID)
|
|
65
|
-
return $io3(input);
|
|
66
|
-
else
|
|
67
|
-
return false;
|
|
68
|
-
})(); const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.apiKey || $guard(_exceptionable, {
|
|
69
|
-
path: _path + ".apiKey",
|
|
70
|
-
expected: "string",
|
|
71
|
-
value: input.apiKey
|
|
72
|
-
}, _errorFactory)) && ("string" === typeof input.sharedKey || $guard(_exceptionable, {
|
|
73
|
-
path: _path + ".sharedKey",
|
|
74
|
-
expected: "string",
|
|
75
|
-
value: input.sharedKey
|
|
76
|
-
}, _errorFactory)) && ("string" === typeof input.apiPath || $guard(_exceptionable, {
|
|
77
|
-
path: _path + ".apiPath",
|
|
78
|
-
expected: "string",
|
|
79
|
-
value: input.apiPath
|
|
80
|
-
}, _errorFactory)) && ("string" === typeof input.publicKey || $guard(_exceptionable, {
|
|
81
|
-
path: _path + ".publicKey",
|
|
82
|
-
expected: "string",
|
|
83
|
-
value: input.publicKey
|
|
84
|
-
}, _errorFactory)) && ("string" === typeof input.productCode || $guard(_exceptionable, {
|
|
85
|
-
path: _path + ".productCode",
|
|
86
|
-
expected: "string",
|
|
87
|
-
value: input.productCode
|
|
88
|
-
}, _errorFactory)) && ("string" === typeof input.appName || $guard(_exceptionable, {
|
|
89
|
-
path: _path + ".appName",
|
|
90
|
-
expected: "string",
|
|
91
|
-
value: input.appName
|
|
92
|
-
}, _errorFactory)) && ("string" === typeof input.appVersion || $guard(_exceptionable, {
|
|
93
|
-
path: _path + ".appVersion",
|
|
94
|
-
expected: "string",
|
|
95
|
-
value: input.appVersion
|
|
96
|
-
}, _errorFactory)) && ("string" === typeof input.filePath || $guard(_exceptionable, {
|
|
97
|
-
path: _path + ".filePath",
|
|
98
|
-
expected: "string",
|
|
99
|
-
value: input.filePath
|
|
100
|
-
}, _errorFactory)) && ("string" === typeof input.filename || $guard(_exceptionable, {
|
|
101
|
-
path: _path + ".filename",
|
|
102
|
-
expected: "string",
|
|
103
|
-
value: input.filename
|
|
104
|
-
}, _errorFactory)) && ("number" === typeof input.gracePeriod || $guard(_exceptionable, {
|
|
105
|
-
path: _path + ".gracePeriod",
|
|
106
|
-
expected: "number",
|
|
107
|
-
value: input.gracePeriod
|
|
108
|
-
}, _errorFactory)) && ("string" === typeof input.fileKey || $guard(_exceptionable, {
|
|
109
|
-
path: _path + ".fileKey",
|
|
110
|
-
expected: "string",
|
|
111
|
-
value: input.fileKey
|
|
112
|
-
}, _errorFactory)) && (undefined === input.airGapKey || "string" === typeof input.airGapKey || $guard(_exceptionable, {
|
|
113
|
-
path: _path + ".airGapKey",
|
|
114
|
-
expected: "(string | undefined)",
|
|
115
|
-
value: input.airGapKey
|
|
116
|
-
}, _errorFactory)) && ("boolean" === typeof input.isGuardFileEnabled || $guard(_exceptionable, {
|
|
117
|
-
path: _path + ".isGuardFileEnabled",
|
|
118
|
-
expected: "boolean",
|
|
119
|
-
value: input.isGuardFileEnabled
|
|
120
|
-
}, _errorFactory)) && ("number" === typeof input.hardwareIDMethod || $guard(_exceptionable, {
|
|
121
|
-
path: _path + ".hardwareIDMethod",
|
|
122
|
-
expected: "number",
|
|
123
|
-
value: input.hardwareIDMethod
|
|
124
|
-
}, _errorFactory)) && ("string" === typeof input.sdkVersion || $guard(_exceptionable, {
|
|
125
|
-
path: _path + ".sdkVersion",
|
|
126
|
-
expected: "string",
|
|
127
|
-
value: input.sdkVersion
|
|
128
|
-
}, _errorFactory)) && (undefined === input.proxy || ("object" === typeof input.proxy && null !== input.proxy || $guard(_exceptionable, {
|
|
129
|
-
path: _path + ".proxy",
|
|
130
|
-
expected: "(AxiosProxyConfig | undefined)",
|
|
131
|
-
value: input.proxy
|
|
132
|
-
}, _errorFactory)) && $ao1(input.proxy, _path + ".proxy", true && _exceptionable) || $guard(_exceptionable, {
|
|
133
|
-
path: _path + ".proxy",
|
|
134
|
-
expected: "(AxiosProxyConfig | undefined)",
|
|
135
|
-
value: input.proxy
|
|
136
|
-
}, _errorFactory)) && (undefined === input.logLevel || "debug" === input.logLevel || "info" === input.logLevel || "warn" === input.logLevel || "error" === input.logLevel || "off" === input.logLevel || $guard(_exceptionable, {
|
|
137
|
-
path: _path + ".logLevel",
|
|
138
|
-
expected: "(\"debug\" | \"error\" | \"info\" | \"off\" | \"warn\" | undefined)",
|
|
139
|
-
value: input.logLevel
|
|
140
|
-
}, _errorFactory)); const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.host || $guard(_exceptionable, {
|
|
141
|
-
path: _path + ".host",
|
|
142
|
-
expected: "string",
|
|
143
|
-
value: input.host
|
|
144
|
-
}, _errorFactory)) && ("number" === typeof input.port || $guard(_exceptionable, {
|
|
145
|
-
path: _path + ".port",
|
|
146
|
-
expected: "number",
|
|
147
|
-
value: input.port
|
|
148
|
-
}, _errorFactory)) && (undefined === input.auth || ("object" === typeof input.auth && null !== input.auth || $guard(_exceptionable, {
|
|
149
|
-
path: _path + ".auth",
|
|
150
|
-
expected: "(AxiosBasicCredentials | undefined)",
|
|
151
|
-
value: input.auth
|
|
152
|
-
}, _errorFactory)) && $ao2(input.auth, _path + ".auth", true && _exceptionable) || $guard(_exceptionable, {
|
|
153
|
-
path: _path + ".auth",
|
|
154
|
-
expected: "(AxiosBasicCredentials | undefined)",
|
|
155
|
-
value: input.auth
|
|
156
|
-
}, _errorFactory)) && (undefined === input.protocol || "string" === typeof input.protocol || $guard(_exceptionable, {
|
|
157
|
-
path: _path + ".protocol",
|
|
158
|
-
expected: "(string | undefined)",
|
|
159
|
-
value: input.protocol
|
|
160
|
-
}, _errorFactory)); const $ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.username || $guard(_exceptionable, {
|
|
161
|
-
path: _path + ".username",
|
|
162
|
-
expected: "string",
|
|
163
|
-
value: input.username
|
|
164
|
-
}, _errorFactory)) && ("string" === typeof input.password || $guard(_exceptionable, {
|
|
165
|
-
path: _path + ".password",
|
|
166
|
-
expected: "string",
|
|
167
|
-
value: input.password
|
|
168
|
-
}, _errorFactory)); const $ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.clientID || $guard(_exceptionable, {
|
|
169
|
-
path: _path + ".clientID",
|
|
170
|
-
expected: "string",
|
|
171
|
-
value: input.clientID
|
|
172
|
-
}, _errorFactory)) && ("string" === typeof input.clientSecret || $guard(_exceptionable, {
|
|
173
|
-
path: _path + ".clientSecret",
|
|
174
|
-
expected: "string",
|
|
175
|
-
value: input.clientSecret
|
|
176
|
-
}, _errorFactory)) && ("string" === typeof input.tokenUrl || $guard(_exceptionable, {
|
|
177
|
-
path: _path + ".tokenUrl",
|
|
178
|
-
expected: "string",
|
|
179
|
-
value: input.tokenUrl
|
|
180
|
-
}, _errorFactory)) && ("string" === typeof input.apiPath || $guard(_exceptionable, {
|
|
181
|
-
path: _path + ".apiPath",
|
|
182
|
-
expected: "string",
|
|
183
|
-
value: input.apiPath
|
|
184
|
-
}, _errorFactory)) && ("string" === typeof input.publicKey || $guard(_exceptionable, {
|
|
185
|
-
path: _path + ".publicKey",
|
|
186
|
-
expected: "string",
|
|
187
|
-
value: input.publicKey
|
|
188
|
-
}, _errorFactory)) && ("string" === typeof input.productCode || $guard(_exceptionable, {
|
|
189
|
-
path: _path + ".productCode",
|
|
190
|
-
expected: "string",
|
|
191
|
-
value: input.productCode
|
|
192
|
-
}, _errorFactory)) && ("string" === typeof input.appName || $guard(_exceptionable, {
|
|
193
|
-
path: _path + ".appName",
|
|
194
|
-
expected: "string",
|
|
195
|
-
value: input.appName
|
|
196
|
-
}, _errorFactory)) && ("string" === typeof input.appVersion || $guard(_exceptionable, {
|
|
197
|
-
path: _path + ".appVersion",
|
|
198
|
-
expected: "string",
|
|
199
|
-
value: input.appVersion
|
|
200
|
-
}, _errorFactory)) && ("string" === typeof input.filePath || $guard(_exceptionable, {
|
|
201
|
-
path: _path + ".filePath",
|
|
202
|
-
expected: "string",
|
|
203
|
-
value: input.filePath
|
|
204
|
-
}, _errorFactory)) && ("string" === typeof input.filename || $guard(_exceptionable, {
|
|
205
|
-
path: _path + ".filename",
|
|
206
|
-
expected: "string",
|
|
207
|
-
value: input.filename
|
|
208
|
-
}, _errorFactory)) && ("number" === typeof input.gracePeriod || $guard(_exceptionable, {
|
|
209
|
-
path: _path + ".gracePeriod",
|
|
210
|
-
expected: "number",
|
|
211
|
-
value: input.gracePeriod
|
|
212
|
-
}, _errorFactory)) && ("string" === typeof input.fileKey || $guard(_exceptionable, {
|
|
213
|
-
path: _path + ".fileKey",
|
|
214
|
-
expected: "string",
|
|
215
|
-
value: input.fileKey
|
|
216
|
-
}, _errorFactory)) && (undefined === input.airGapKey || "string" === typeof input.airGapKey || $guard(_exceptionable, {
|
|
217
|
-
path: _path + ".airGapKey",
|
|
218
|
-
expected: "(string | undefined)",
|
|
219
|
-
value: input.airGapKey
|
|
220
|
-
}, _errorFactory)) && ("boolean" === typeof input.isGuardFileEnabled || $guard(_exceptionable, {
|
|
221
|
-
path: _path + ".isGuardFileEnabled",
|
|
222
|
-
expected: "boolean",
|
|
223
|
-
value: input.isGuardFileEnabled
|
|
224
|
-
}, _errorFactory)) && ("number" === typeof input.hardwareIDMethod || $guard(_exceptionable, {
|
|
225
|
-
path: _path + ".hardwareIDMethod",
|
|
226
|
-
expected: "number",
|
|
227
|
-
value: input.hardwareIDMethod
|
|
228
|
-
}, _errorFactory)) && ("string" === typeof input.sdkVersion || $guard(_exceptionable, {
|
|
229
|
-
path: _path + ".sdkVersion",
|
|
230
|
-
expected: "string",
|
|
231
|
-
value: input.sdkVersion
|
|
232
|
-
}, _errorFactory)) && (undefined === input.proxy || ("object" === typeof input.proxy && null !== input.proxy || $guard(_exceptionable, {
|
|
233
|
-
path: _path + ".proxy",
|
|
234
|
-
expected: "(AxiosProxyConfig | undefined)",
|
|
235
|
-
value: input.proxy
|
|
236
|
-
}, _errorFactory)) && $ao1(input.proxy, _path + ".proxy", true && _exceptionable) || $guard(_exceptionable, {
|
|
237
|
-
path: _path + ".proxy",
|
|
238
|
-
expected: "(AxiosProxyConfig | undefined)",
|
|
239
|
-
value: input.proxy
|
|
240
|
-
}, _errorFactory)) && (undefined === input.logLevel || "debug" === input.logLevel || "info" === input.logLevel || "warn" === input.logLevel || "error" === input.logLevel || "off" === input.logLevel || $guard(_exceptionable, {
|
|
241
|
-
path: _path + ".logLevel",
|
|
242
|
-
expected: "(\"debug\" | \"error\" | \"info\" | \"off\" | \"warn\" | undefined)",
|
|
243
|
-
value: input.logLevel
|
|
244
|
-
}, _errorFactory)); const $au0 = (input, _path, _exceptionable = true) => (() => {
|
|
245
|
-
if (undefined !== input.apiKey)
|
|
246
|
-
return $ao0(input, _path, true && _exceptionable);
|
|
247
|
-
else if (undefined !== input.clientID)
|
|
248
|
-
return $ao3(input, _path, true && _exceptionable);
|
|
249
|
-
else
|
|
250
|
-
return $guard(_exceptionable, {
|
|
251
|
-
path: _path,
|
|
252
|
-
expected: "({ apiKey: string; sharedKey: string; } & { apiPath: string; publicKey: string; productCode: string; appName: string; appVersion: string; filePath: string; filename: string; gracePeriod: number; ... 6 more ...; logLevel?: LogLevel | undefined; } | { clientID: string; clientSecret: string; tokenUrl: string; } & { apiPath: string; publicKey: string; productCode: string; appName: string; appVersion: string; filePath: string; filename: string; ... 7 more ...; logLevel?: LogLevel | undefined; })",
|
|
253
|
-
value: input
|
|
254
|
-
}, _errorFactory);
|
|
255
|
-
})(); const __is = input => "object" === typeof input && null !== input && $iu0(input); let _errorFactory; return (input, errorFactory) => {
|
|
256
|
-
if (false === __is(input)) {
|
|
257
|
-
_errorFactory = errorFactory;
|
|
258
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
|
|
259
|
-
path: _path + "",
|
|
260
|
-
expected: "({ apiKey: string; sharedKey: string; } & { apiPath: string; publicKey: string; productCode: string; appName: string; appVersion: string; filePath: string; filename: string; gracePeriod: number; ... 6 more ...; logLevel?: LogLevel | undefined; } | { clientID: string; clientSecret: string; tokenUrl: string; } & { apiPath: string; publicKey: string; productCode: string; appName: string; appVersion: string; filePath: string; filename: string; ... 7 more ...; logLevel?: LogLevel | undefined; })",
|
|
261
|
-
value: input
|
|
262
|
-
}, _errorFactory)) && $au0(input, _path + "", true) || $guard(true, {
|
|
263
|
-
path: _path + "",
|
|
264
|
-
expected: "({ apiKey: string; sharedKey: string; } & { apiPath: string; publicKey: string; productCode: string; appName: string; appVersion: string; filePath: string; filename: string; gracePeriod: number; ... 6 more ...; logLevel?: LogLevel | undefined; } | { clientID: string; clientSecret: string; tokenUrl: string; } & { apiPath: string; publicKey: string; productCode: string; appName: string; appVersion: string; filePath: string; filename: string; ... 7 more ...; logLevel?: LogLevel | undefined; })",
|
|
265
|
-
value: input
|
|
266
|
-
}, _errorFactory))(input, "$input", true);
|
|
267
|
-
}
|
|
268
|
-
return input;
|
|
269
|
-
}; })()(_config);
|
|
270
|
-
(() => { const $guard = typia_1.default.assert.guard; const __is = input => "number" === typeof input; let _errorFactory; return (input, errorFactory) => {
|
|
271
|
-
if (false === __is(input)) {
|
|
272
|
-
_errorFactory = errorFactory;
|
|
273
|
-
((input, _path, _exceptionable = true) => "number" === typeof input || $guard(true, {
|
|
274
|
-
path: _path + "",
|
|
275
|
-
expected: "number",
|
|
276
|
-
value: input
|
|
277
|
-
}, _errorFactory))(input, "$input", true);
|
|
278
|
-
}
|
|
279
|
-
return input;
|
|
280
|
-
}; })()(hardwareIDMethod);
|
|
61
|
+
const _config = Object.assign(Object.assign({}, config), { apiPath: (_a = config.apiPath) !== null && _a !== void 0 ? _a : process.env.API_PATH, publicKey: (_b = config.publicKey) !== null && _b !== void 0 ? _b : process.env.PUBLIC_KEY, filename: (_c = config.filename) !== null && _c !== void 0 ? _c : process.env.FILENAME, filePath: (_d = config.filePath) !== null && _d !== void 0 ? _d : process.env.FILE_PATH, gracePeriod: (_e = config.gracePeriod) !== null && _e !== void 0 ? _e : 24, fileKey: (_f = config.fileKey) !== null && _f !== void 0 ? _f : process.env.LICENSE_FILE_KEY, isGuardFileEnabled: (_g = config.isGuardFileEnabled) !== null && _g !== void 0 ? _g : !!process.env.GUARD_FILE_ENABLED, hardwareIDMethod: (_h = hardwareIDMethod !== null && hardwareIDMethod !== void 0 ? hardwareIDMethod : config.hardwareIDMethod) !== null && _h !== void 0 ? _h : 0, sdkVersion: version_1.default, proxy: config.proxy });
|
|
62
|
+
__v.assert(_config, { "t": "union", "anyOf": [{ "t": "unknown" }, { "t": "unknown" }] });
|
|
63
|
+
__v.assert(hardwareIDMethod, { "t": "number" });
|
|
281
64
|
this.config = _config;
|
|
282
65
|
this.licenseAPI = new api_1.default(_config);
|
|
283
66
|
this.floatingAPI = new floating_1.default(_config, this.config.productCode);
|
|
284
|
-
this.setLogLevel((
|
|
67
|
+
this.setLogLevel((_j = config.logLevel) !== null && _j !== void 0 ? _j : 'off');
|
|
285
68
|
}
|
|
286
69
|
setLogLevel(level) {
|
|
287
70
|
this.licenseAPI.setLogLevel(level);
|
|
@@ -354,160 +137,37 @@ class AbstractManager {
|
|
|
354
137
|
}
|
|
355
138
|
changePassword(payload) {
|
|
356
139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
357
|
-
(
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
return true;
|
|
363
|
-
return true;
|
|
364
|
-
}); const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.username || $guard(_exceptionable, {
|
|
365
|
-
path: _path + ".username",
|
|
366
|
-
expected: "string",
|
|
367
|
-
value: input.username
|
|
368
|
-
}, _errorFactory)) && ("string" === typeof input.password || $guard(_exceptionable, {
|
|
369
|
-
path: _path + ".password",
|
|
370
|
-
expected: "string",
|
|
371
|
-
value: input.password
|
|
372
|
-
}, _errorFactory)) && ("string" === typeof input.new_password || $guard(_exceptionable, {
|
|
373
|
-
path: _path + ".new_password",
|
|
374
|
-
expected: "string",
|
|
375
|
-
value: input.new_password
|
|
376
|
-
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
377
|
-
if (["username", "password", "new_password"].some(prop => key === prop))
|
|
378
|
-
return true;
|
|
379
|
-
const value = input[key];
|
|
380
|
-
if (undefined === value)
|
|
381
|
-
return true;
|
|
382
|
-
return true;
|
|
383
|
-
})); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
384
|
-
if (false === __is(input)) {
|
|
385
|
-
_errorFactory = errorFactory;
|
|
386
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
|
|
387
|
-
path: _path + "",
|
|
388
|
-
expected: "__type",
|
|
389
|
-
value: input
|
|
390
|
-
}, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
391
|
-
path: _path + "",
|
|
392
|
-
expected: "__type",
|
|
393
|
-
value: input
|
|
394
|
-
}, _errorFactory))(input, "$input", true);
|
|
395
|
-
}
|
|
396
|
-
return input;
|
|
397
|
-
}; })()(payload);
|
|
140
|
+
__v.assert(payload, { "t": "object", "props": {
|
|
141
|
+
"username": { "s": { "t": "string" }, "opt": false },
|
|
142
|
+
"password": { "s": { "t": "string" }, "opt": false },
|
|
143
|
+
"new_password": { "s": { "t": "string" }, "opt": false }
|
|
144
|
+
}, "index": { "key": "string", "s": { "t": "unknown" } } });
|
|
398
145
|
return yield this.licenseAPI.changePassword(payload);
|
|
399
146
|
});
|
|
400
147
|
}
|
|
401
148
|
;
|
|
402
149
|
getVersions(payload) {
|
|
403
150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
404
|
-
(
|
|
405
|
-
const value = input[key];
|
|
406
|
-
if (undefined === value)
|
|
407
|
-
return true;
|
|
408
|
-
return true;
|
|
409
|
-
}); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
410
|
-
const value = input[key];
|
|
411
|
-
if (undefined === value)
|
|
412
|
-
return true;
|
|
413
|
-
return true;
|
|
414
|
-
}); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
415
|
-
if (false === __is(input)) {
|
|
416
|
-
_errorFactory = errorFactory;
|
|
417
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
418
|
-
path: _path + "",
|
|
419
|
-
expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; env?: string | undefined; sdk_ver?: string | undefined; channel?: string | undefined; license_key: string; hardware_id: string; product: string; } | { ...; }>",
|
|
420
|
-
value: input
|
|
421
|
-
}, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
422
|
-
path: _path + "",
|
|
423
|
-
expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; env?: string | undefined; sdk_ver?: string | undefined; channel?: string | undefined; license_key: string; hardware_id: string; product: string; } | { ...; }>",
|
|
424
|
-
value: input
|
|
425
|
-
}, _errorFactory))(input, "$input", true);
|
|
426
|
-
}
|
|
427
|
-
return input;
|
|
428
|
-
}; })()(payload);
|
|
151
|
+
__v.assert(payload, { "t": "object", "props": {}, "index": { "key": "string", "s": { "t": "unknown" } } });
|
|
429
152
|
return yield this.licenseAPI.getVersions(Object.assign(Object.assign({}, payload), { product: this.config.productCode, hardware_id: this.getHardwareID() }));
|
|
430
153
|
});
|
|
431
154
|
}
|
|
432
155
|
;
|
|
433
156
|
getInstallationFile(payload) {
|
|
434
157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
435
|
-
(
|
|
436
|
-
const value = input[key];
|
|
437
|
-
if (undefined === value)
|
|
438
|
-
return true;
|
|
439
|
-
return true;
|
|
440
|
-
}); const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
441
|
-
const value = input[key];
|
|
442
|
-
if (undefined === value)
|
|
443
|
-
return true;
|
|
444
|
-
return true;
|
|
445
|
-
}); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
446
|
-
if (false === __is(input)) {
|
|
447
|
-
_errorFactory = errorFactory;
|
|
448
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
449
|
-
path: _path + "",
|
|
450
|
-
expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; env?: string | undefined; sdk_ver?: string | undefined; channel?: string | undefined; version?: string | undefined; license_key: string; hardware_id: string; product: string; } | { ...; }>",
|
|
451
|
-
value: input
|
|
452
|
-
}, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
453
|
-
path: _path + "",
|
|
454
|
-
expected: "Managed<{ [x: string]: unknown; username?: string | undefined; bundle_code?: string | undefined; env?: string | undefined; sdk_ver?: string | undefined; channel?: string | undefined; version?: string | undefined; license_key: string; hardware_id: string; product: string; } | { ...; }>",
|
|
455
|
-
value: input
|
|
456
|
-
}, _errorFactory))(input, "$input", true);
|
|
457
|
-
}
|
|
458
|
-
return input;
|
|
459
|
-
}; })()(payload);
|
|
158
|
+
__v.assert(payload, { "t": "object", "props": {}, "index": { "key": "string", "s": { "t": "unknown" } } });
|
|
460
159
|
return yield this.licenseAPI.getInstallationFile(Object.assign(Object.assign({}, payload), { product: this.config.productCode, hardware_id: this.getHardwareID() }));
|
|
461
160
|
});
|
|
462
161
|
}
|
|
463
162
|
;
|
|
464
163
|
getSSOUrl(payload) {
|
|
465
164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
return true;
|
|
473
|
-
}); const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.bundle_code || "string" === typeof input.bundle_code || $guard(_exceptionable, {
|
|
474
|
-
path: _path + ".bundle_code",
|
|
475
|
-
expected: "(string | undefined)",
|
|
476
|
-
value: input.bundle_code
|
|
477
|
-
}, _errorFactory)) && (undefined === input.response_type || "string" === typeof input.response_type || $guard(_exceptionable, {
|
|
478
|
-
path: _path + ".response_type",
|
|
479
|
-
expected: "(string | undefined)",
|
|
480
|
-
value: input.response_type
|
|
481
|
-
}, _errorFactory)) && ("string" === typeof input.product || $guard(_exceptionable, {
|
|
482
|
-
path: _path + ".product",
|
|
483
|
-
expected: "string",
|
|
484
|
-
value: input.product
|
|
485
|
-
}, _errorFactory)) && ("string" === typeof input.customer_account_code || $guard(_exceptionable, {
|
|
486
|
-
path: _path + ".customer_account_code",
|
|
487
|
-
expected: "string",
|
|
488
|
-
value: input.customer_account_code
|
|
489
|
-
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
490
|
-
if (["bundle_code", "response_type", "product", "customer_account_code"].some(prop => key === prop))
|
|
491
|
-
return true;
|
|
492
|
-
const value = input[key];
|
|
493
|
-
if (undefined === value)
|
|
494
|
-
return true;
|
|
495
|
-
return true;
|
|
496
|
-
})); const __is = input => "object" === typeof input && null !== input && $io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
497
|
-
if (false === __is(input)) {
|
|
498
|
-
_errorFactory = errorFactory;
|
|
499
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $guard(true, {
|
|
500
|
-
path: _path + "",
|
|
501
|
-
expected: "__type",
|
|
502
|
-
value: input
|
|
503
|
-
}, _errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
504
|
-
path: _path + "",
|
|
505
|
-
expected: "__type",
|
|
506
|
-
value: input
|
|
507
|
-
}, _errorFactory))(input, "$input", true);
|
|
508
|
-
}
|
|
509
|
-
return input;
|
|
510
|
-
}; })()(payload);
|
|
165
|
+
__v.assert(payload, { "t": "object", "props": {
|
|
166
|
+
"bundle_code": { "s": { "t": "string" }, "opt": true },
|
|
167
|
+
"response_type": { "s": { "t": "string" }, "opt": true },
|
|
168
|
+
"product": { "s": { "t": "string" }, "opt": false },
|
|
169
|
+
"customer_account_code": { "s": { "t": "string" }, "opt": false }
|
|
170
|
+
}, "index": { "key": "string", "s": { "t": "unknown" } } });
|
|
511
171
|
return yield this.licenseAPI.getSSOUrl(payload);
|
|
512
172
|
});
|
|
513
173
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstract-manager.js","sourceRoot":"","sources":["../../src/abstract-manager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"abstract-manager.js","sourceRoot":"","sources":["../../src/abstract-manager.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,+CAAiC;AACjC,kDAA0B;AAC1B,0DAAqC;AACrC,qFAA0D;AAC1D,gDAA+B;AAC/B,wDAAoC;AAEpC,iEAAsC;AACtC,6DAAwD;AAExD,eAAK,CAAC,MAAM,CAAC,gBAAG,CAAC,CAAC;AAClB,eAAK,CAAC,MAAM,CAAC,0BAAa,CAAC,CAAC;AAE5B,IAAI,CAAC;IACH,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAEhG,CAAC;AAAC,OAAO,CAAC,EAAE,CAAC;IACX,OAAO,CAAC,IAAI,CAAC,sDAAsD,CAAC,CAAC;AACvE,CAAC;AAED,MAAsB,eAAe;IAQnC,YAAmB,MAA8B,EAAY,mBAA2B,CAAC;;QAA5B,qBAAgB,G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