avancement planning
This commit is contained in:
+6
-1
@@ -39,6 +39,9 @@ const utils_1 = require("./utils");
|
||||
* reasonable default values for new metadata.
|
||||
*/
|
||||
class Metadata {
|
||||
signed;
|
||||
signatures;
|
||||
unrecognizedFields;
|
||||
constructor(signed, signatures, unrecognizedFields) {
|
||||
this.signed = signed;
|
||||
this.signatures = signatures || {};
|
||||
@@ -103,7 +106,9 @@ class Metadata {
|
||||
if (!(other instanceof Metadata)) {
|
||||
return false;
|
||||
}
|
||||
return (this.signed.equals(other.signed) &&
|
||||
return (
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
||||
this.signed.equals(other.signed) &&
|
||||
util_1.default.isDeepStrictEqual(this.signatures, other.signatures) &&
|
||||
util_1.default.isDeepStrictEqual(this.unrecognizedFields, other.unrecognizedFields));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user