@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.
Files changed (2) hide show
  1. package/package.json +44 -24
  2. package/zsm-client-sdk.js +2 -4
package/package.json CHANGED
@@ -1,29 +1,49 @@
1
1
  {
2
- "name" : "@ideem/zsm-client-sdk",
3
- "version" : "2.2.3",
4
- "description" : "A monolithic library exporting UMFAClient and FIDO2Client.",
5
- "author" : "@JJ (Jason Jurusz) <jj@useideem.com>/<nerdy.deeds@done.cheap>",
6
- "keywords" : [ "ideem", "zsm", "zsm-client-sdk", "UMFAClient", "FIDO2Client", "library", "UMFA", "FIDO2", "client", "authentication", "javascript", "multi-factor", "webauthn", "authentication", "security" ],
7
- "scripts" : {
8
- "start" : "echo 'This is a library, not an application. No start script defined. To use, import the library.'",
9
- "postpack" : "rm -rf ./*.tgz 2>/dev/null && fn=\"$(ls -1 ../ | grep -e ^ideem-zsm)\" && mv \"../$fn\" \"../$(sed -e \"s/^ideem-//\" <<< \"$fn\")\""
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
- "Joel Teply <joel@useideem.com>",
13
- "Todd Decker <todd@useideem.com>",
14
- "Brian Koziel <brian@useideem.com>",
15
- "@JJ <jj@useideem.com>"
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" : "zsm-client-sdk.js",
18
- "module" : "zsm-client-sdk.js",
19
- "browser" : "zsm-client-sdk.js",
20
- "license" : "SEE LICENSE IN LICENSE",
21
- "repository" : {
22
- "type" : "git",
23
- "url" : "https://github.com/useideem/vHSM.git"
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" : "https://github.com/useideem/vHSM/issues",
26
- "homepage" : "http://useideem.com",
27
- "files" : ["zsm-client-sdk.js"],
28
- "engines" : { "node" : ">=20.0.0"}
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" : 1000,
1630
+ "request_timeout_ms" : 30000,
1633
1631
  "retry_count" : 0,
1634
1632
  "consumer_id" : "",
1635
1633
  };