@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 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
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.14.60",
6
+ "version": "0.14.61",
7
7
  "description": "tdx Volt library for nodejs clients",
8
8
  "type": "module",
9
9
  "exports": {
@@ -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
  }