@tdxvolt/volt-client-grpc 0.14.60 → 0.14.61
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/lib/index.cjs +8 -0
- package/package.json +1 -1
- package/src/volt-credential.js +8 -0
package/lib/index.cjs
CHANGED
|
@@ -523,6 +523,14 @@ class VoltCredential {
|
|
|
523
523
|
return this._cryptoCache;
|
|
524
524
|
}
|
|
525
525
|
|
|
526
|
+
get clientId() {
|
|
527
|
+
return this._cryptoCache.client_id;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
get publicKey() {
|
|
531
|
+
return pki$1.publicKeyToPem(this.getKey().publicKey);
|
|
532
|
+
}
|
|
533
|
+
|
|
526
534
|
get voltFingerprint() {
|
|
527
535
|
return this._voltFingerprint;
|
|
528
536
|
}
|
package/package.json
CHANGED
package/src/volt-credential.js
CHANGED
|
@@ -69,6 +69,14 @@ export class VoltCredential {
|
|
|
69
69
|
return this._cryptoCache;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
get clientId() {
|
|
73
|
+
return this._cryptoCache.client_id;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
get publicKey() {
|
|
77
|
+
return pki.publicKeyToPem(this.getKey().publicKey);
|
|
78
|
+
}
|
|
79
|
+
|
|
72
80
|
get voltFingerprint() {
|
|
73
81
|
return this._voltFingerprint;
|
|
74
82
|
}
|