@tdxvolt/volt-client-grpc 0.16.0-beta.2 → 0.16.0-beta.3

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
@@ -1812,7 +1812,9 @@ async function authenticateInternal(createDID = true) {
1812
1812
  }
1813
1813
 
1814
1814
  const keyPair = this._credential.getKey();
1815
- const publicKeyPem = pki.publicKeyToPem(keyPair.publicKey);
1815
+ const publicKeyPem = removeCarriageReturn(
1816
+ pki.publicKeyToPem(keyPair.publicKey)
1817
+ );
1816
1818
 
1817
1819
  if (!this._credential.cache.bindIp) {
1818
1820
  // Default the IP address if none is specified. This is used to set the SAN in the
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.16.0-beta.2",
6
+ "version": "0.16.0-beta.3",
7
7
  "description": "tdx Volt library for nodejs clients",
8
8
  "type": "module",
9
9
  "exports": {
@@ -128,7 +128,9 @@ export async function authenticateInternal(createDID = true) {
128
128
  }
129
129
 
130
130
  const keyPair = this._credential.getKey();
131
- const publicKeyPem = pki.publicKeyToPem(keyPair.publicKey);
131
+ const publicKeyPem = voltUtils.removeCarriageReturn(
132
+ pki.publicKeyToPem(keyPair.publicKey)
133
+ );
132
134
 
133
135
  if (!this._credential.cache.bindIp) {
134
136
  // Default the IP address if none is specified. This is used to set the SAN in the