diff --git a/CHANGES.md b/CHANGES.md index 7622cfc..929ad91 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,12 @@ # CHANGE LOG -## Version 1.2.1 - 2022-10-25 +## Version 1.2.2 - 2022-10-25 +- Repackaging with JSON Canonicalizer dependencies +- Minor correction to unit tests + +** NOTE** *Upgrading to version 1.2.2 will result in build errors, refer to changes in previous versions and README.md* + +## Version 1.2.1 - 2022-10-24 - Conforms to DiME data format version 1.001 - Cryptographic suite changed to 'DSC' - Key encoded changes to Base64 (from Base58), massive performance gain diff --git a/src/dime/dime.csproj b/src/dime/dime.csproj index 24e353a..be58fc4 100644 --- a/src/dime/dime.csproj +++ b/src/dime/dime.csproj @@ -10,7 +10,7 @@ Shift Everywhere Niclas Kjellin DiME - 1.2.1 + 1.2.2 MIT https://docs.dimeformat.io https://github.com/shifteverywhere/dime-dotnet-ref @@ -29,6 +29,10 @@ true jsoncanonicalizer.dll + + true + es6numberserializer.dll + diff --git a/test/dime-test/TagTests.cs b/test/dime-test/TagTests.cs index 7050eb1..bdd5e77 100644 --- a/test/dime-test/TagTests.cs +++ b/test/dime-test/TagTests.cs @@ -144,7 +144,7 @@ public void TagTest5() var tag = new Tag(Commons.IssuerIdentity.GetClaim(Claim.Sub), Commons.Context, items); Assert.AreEqual(Commons.IssuerIdentity.GetClaim(Claim.Sub), tag.GetClaim(Claim.Iss)); Assert.AreEqual(Commons.Context, tag.GetClaim(Claim.Ctx)); - Assert.IsNotNull(tag.GetItemLinks); + Assert.IsNotNull(tag.GetItemLinks()); Assert.AreEqual(2, tag.GetItemLinks()!.Count); } @@ -165,7 +165,7 @@ public void AddItemLinkTest1() { var tag = new Tag(Commons.IssuerIdentity.GetClaim(Claim.Sub)); tag.AddItemLink(Key.Generate(new List() {KeyCapability.Sign}, null)); - Assert.IsNotNull(tag.GetItemLinks); + Assert.IsNotNull(tag.GetItemLinks()); Assert.AreEqual(1, tag.GetItemLinks()!.Count); Assert.AreEqual(Key.ItemHeader, tag.GetItemLinks()![0].ItemIdentifier); } @@ -175,7 +175,7 @@ public void AddItemLinkTest2() { var tag = new Tag(Commons.IssuerIdentity.GetClaim(Claim.Sub)); tag.AddItemLink(Commons.IssuerIdentity); - Assert.IsNotNull(tag.GetItemLinks); + Assert.IsNotNull(tag.GetItemLinks()); Assert.AreEqual(1, tag.GetItemLinks()!.Count); Assert.AreEqual(Identity.ItemHeader, tag.GetItemLinks()![0].ItemIdentifier); } @@ -188,7 +188,7 @@ public void AddItemLinkTest3() message.SetPayload(Encoding.UTF8.GetBytes(Commons.Payload)); message.Sign(Commons.IssuerKey); tag.AddItemLink(message); - Assert.IsNotNull(tag.GetItemLinks); + Assert.IsNotNull(tag.GetItemLinks()); Assert.AreEqual(1, tag.GetItemLinks()!.Count); Assert.AreEqual(Message.ItemHeader, tag.GetItemLinks()![0].ItemIdentifier); }