@unumid/types
Advanced tools
Comparing version 3.19.0 to 3.19.1
@@ -628,2 +628,3 @@ /// <reference types="node" /> | ||
url?: string; | ||
encryptionPublicKey: PublicKeyInfo; | ||
signingPublicKey: PublicKeyInfo; | ||
@@ -630,0 +631,0 @@ } |
@@ -7,2 +7,3 @@ import _m0 from "protobufjs/minimal"; | ||
version: string; | ||
/** TODO map of any string to any string for any headers; */ | ||
url: string; | ||
@@ -32,2 +33,3 @@ } | ||
name: string; | ||
encryptionPublicKey: PublicKeyInfo | undefined; | ||
signingPublicKey: PublicKeyInfo | undefined; | ||
@@ -34,0 +36,0 @@ } |
@@ -423,4 +423,7 @@ "use strict"; | ||
} | ||
if (message.encryptionPublicKey !== undefined) { | ||
crypto_1.PublicKeyInfo.encode(message.encryptionPublicKey, writer.uint32(26).fork()).ldelim(); | ||
} | ||
if (message.signingPublicKey !== undefined) { | ||
crypto_1.PublicKeyInfo.encode(message.signingPublicKey, writer.uint32(26).fork()).ldelim(); | ||
crypto_1.PublicKeyInfo.encode(message.signingPublicKey, writer.uint32(34).fork()).ldelim(); | ||
} | ||
@@ -443,2 +446,5 @@ return writer; | ||
case 3: | ||
message.encryptionPublicKey = crypto_1.PublicKeyInfo.decode(reader, reader.uint32()); | ||
break; | ||
case 4: | ||
message.signingPublicKey = crypto_1.PublicKeyInfo.decode(reader, reader.uint32()); | ||
@@ -467,2 +473,9 @@ break; | ||
} | ||
if (object.encryptionPublicKey !== undefined && | ||
object.encryptionPublicKey !== null) { | ||
message.encryptionPublicKey = crypto_1.PublicKeyInfo.fromJSON(object.encryptionPublicKey); | ||
} | ||
else { | ||
message.encryptionPublicKey = undefined; | ||
} | ||
if (object.signingPublicKey !== undefined && | ||
@@ -481,2 +494,6 @@ object.signingPublicKey !== null) { | ||
message.name !== undefined && (obj.name = message.name); | ||
message.encryptionPublicKey !== undefined && | ||
(obj.encryptionPublicKey = message.encryptionPublicKey | ||
? crypto_1.PublicKeyInfo.toJSON(message.encryptionPublicKey) | ||
: undefined); | ||
message.signingPublicKey !== undefined && | ||
@@ -502,2 +519,9 @@ (obj.signingPublicKey = message.signingPublicKey | ||
} | ||
if (object.encryptionPublicKey !== undefined && | ||
object.encryptionPublicKey !== null) { | ||
message.encryptionPublicKey = crypto_1.PublicKeyInfo.fromPartial(object.encryptionPublicKey); | ||
} | ||
else { | ||
message.encryptionPublicKey = undefined; | ||
} | ||
if (object.signingPublicKey !== undefined && | ||
@@ -504,0 +528,0 @@ object.signingPublicKey !== null) { |
{ | ||
"name": "@unumid/types", | ||
"version": "3.19.0", | ||
"version": "3.19.1", | ||
"description": "shared Unum ID TypeScript types", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -761,2 +761,3 @@ import { Literal, Static, Union } from "runtypes"; | ||
url?: string; | ||
encryptionPublicKey: PublicKeyInfo; | ||
signingPublicKey: PublicKeyInfo; | ||
@@ -763,0 +764,0 @@ } |
@@ -12,2 +12,3 @@ /* eslint-disable */ | ||
version: string; | ||
/** TODO map of any string to any string for any headers; */ | ||
url: string; | ||
@@ -40,2 +41,3 @@ } | ||
name: string; | ||
encryptionPublicKey: PublicKeyInfo | undefined; | ||
signingPublicKey: PublicKeyInfo | undefined; | ||
@@ -450,6 +452,12 @@ } | ||
} | ||
if (message.encryptionPublicKey !== undefined) { | ||
PublicKeyInfo.encode( | ||
message.encryptionPublicKey, | ||
writer.uint32(26).fork() | ||
).ldelim(); | ||
} | ||
if (message.signingPublicKey !== undefined) { | ||
PublicKeyInfo.encode( | ||
message.signingPublicKey, | ||
writer.uint32(26).fork() | ||
writer.uint32(34).fork() | ||
).ldelim(); | ||
@@ -474,2 +482,8 @@ } | ||
case 3: | ||
message.encryptionPublicKey = PublicKeyInfo.decode( | ||
reader, | ||
reader.uint32() | ||
); | ||
break; | ||
case 4: | ||
message.signingPublicKey = PublicKeyInfo.decode( | ||
@@ -501,2 +515,12 @@ reader, | ||
if ( | ||
object.encryptionPublicKey !== undefined && | ||
object.encryptionPublicKey !== null | ||
) { | ||
message.encryptionPublicKey = PublicKeyInfo.fromJSON( | ||
object.encryptionPublicKey | ||
); | ||
} else { | ||
message.encryptionPublicKey = undefined; | ||
} | ||
if ( | ||
object.signingPublicKey !== undefined && | ||
@@ -518,2 +542,6 @@ object.signingPublicKey !== null | ||
message.name !== undefined && (obj.name = message.name); | ||
message.encryptionPublicKey !== undefined && | ||
(obj.encryptionPublicKey = message.encryptionPublicKey | ||
? PublicKeyInfo.toJSON(message.encryptionPublicKey) | ||
: undefined); | ||
message.signingPublicKey !== undefined && | ||
@@ -539,2 +567,12 @@ (obj.signingPublicKey = message.signingPublicKey | ||
if ( | ||
object.encryptionPublicKey !== undefined && | ||
object.encryptionPublicKey !== null | ||
) { | ||
message.encryptionPublicKey = PublicKeyInfo.fromPartial( | ||
object.encryptionPublicKey | ||
); | ||
} else { | ||
message.encryptionPublicKey = undefined; | ||
} | ||
if ( | ||
object.signingPublicKey !== undefined && | ||
@@ -541,0 +579,0 @@ object.signingPublicKey !== null |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2402629
18943