@ideem/zsm-client-sdk 2.2.3 → 2.2.5
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/package.json +44 -24
- package/zsm-client-sdk.js +2 -4
package/package.json
CHANGED
|
@@ -1,29 +1,49 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name"
|
|
3
|
-
"version"
|
|
4
|
-
"description"
|
|
5
|
-
"author"
|
|
6
|
-
"keywords"
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
"
|
|
2
|
+
"name": "@ideem/zsm-client-sdk",
|
|
3
|
+
"version": "2.2.5",
|
|
4
|
+
"description": "A monolithic library exporting UMFAClient and FIDO2Client.",
|
|
5
|
+
"author": "@JJ (Jason Jurusz) <jj@useideem.com>/<nerdy.deeds@done.cheap>",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"ideem",
|
|
8
|
+
"zsm",
|
|
9
|
+
"zsm-client-sdk",
|
|
10
|
+
"UMFAClient",
|
|
11
|
+
"FIDO2Client",
|
|
12
|
+
"library",
|
|
13
|
+
"UMFA",
|
|
14
|
+
"FIDO2",
|
|
15
|
+
"client",
|
|
16
|
+
"authentication",
|
|
17
|
+
"javascript",
|
|
18
|
+
"multi-factor",
|
|
19
|
+
"webauthn",
|
|
20
|
+
"authentication",
|
|
21
|
+
"security"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"start": "echo 'This is a library, not an application. No start script defined. To use, import the library.'",
|
|
25
|
+
"inc": "npm version patch && cd ..; sleep 1; npm pack ./npm-package"
|
|
10
26
|
},
|
|
11
|
-
"collaborators"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
27
|
+
"collaborators": [
|
|
28
|
+
"Joel Teply <joel@useideem.com>",
|
|
29
|
+
"Todd Decker <todd@useideem.com>",
|
|
30
|
+
"Brian Koziel <brian@useideem.com>",
|
|
31
|
+
"@JJ <jj@useideem.com>"
|
|
16
32
|
],
|
|
17
|
-
"main"
|
|
18
|
-
"module"
|
|
19
|
-
"browser"
|
|
20
|
-
"license"
|
|
21
|
-
"repository"
|
|
22
|
-
"type"
|
|
23
|
-
"url"
|
|
33
|
+
"main": "zsm-client-sdk.js",
|
|
34
|
+
"module": "zsm-client-sdk.js",
|
|
35
|
+
"browser": "zsm-client-sdk.js",
|
|
36
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "https://github.com/useideem/vHSM.git"
|
|
24
40
|
},
|
|
25
|
-
"bugs"
|
|
26
|
-
"homepage"
|
|
27
|
-
"files"
|
|
28
|
-
|
|
41
|
+
"bugs": "https://github.com/useideem/vHSM/issues",
|
|
42
|
+
"homepage": "http://useideem.com",
|
|
43
|
+
"files": [
|
|
44
|
+
"zsm-client-sdk.js"
|
|
45
|
+
],
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=20.0.0"
|
|
48
|
+
}
|
|
29
49
|
}
|
package/zsm-client-sdk.js
CHANGED
|
@@ -1421,7 +1421,7 @@ let wasm_bindgen;
|
|
|
1421
1421
|
if (Object.getPrototypeOf(module) === Object.prototype) {
|
|
1422
1422
|
({module} = module)
|
|
1423
1423
|
} else {
|
|
1424
|
-
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
|
|
1424
|
+
// console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
|
|
1425
1425
|
}
|
|
1426
1426
|
}
|
|
1427
1427
|
|
|
@@ -1527,8 +1527,6 @@ function base64ToArrayBuffer(base64) {
|
|
|
1527
1527
|
|
|
1528
1528
|
#makePostRequest = (url, body={}, headers={}, method='POST') => {
|
|
1529
1529
|
url = `${this.host.endsWith('/') ? this.host.slice(0,-1) : this.host}/${url.startsWith('/') ? url.slice(1) : url}`;
|
|
1530
|
-
console.log('url :', url);
|
|
1531
|
-
|
|
1532
1530
|
body = ((typeof body === 'object') ? body : {});
|
|
1533
1531
|
body = Object.assign({customer_defined_identifier: this.customerDefinedIdentifier, application_id: this.applicationId}, body);
|
|
1534
1532
|
let fetchObj = {
|
|
@@ -1629,7 +1627,7 @@ function base64ToArrayBuffer(base64) {
|
|
|
1629
1627
|
"api_path" : "INLINE_WASM",
|
|
1630
1628
|
"installation_description" : (typeof window !== 'undefined' ? window?.navigator?.userAgent : ''),
|
|
1631
1629
|
"log_level" : 'Debug',
|
|
1632
|
-
"request_timeout_ms" :
|
|
1630
|
+
"request_timeout_ms" : 30000,
|
|
1633
1631
|
"retry_count" : 0,
|
|
1634
1632
|
"consumer_id" : "",
|
|
1635
1633
|
};
|