From 6547dcb7aa2e5c21fc58d6f368f2409081207b3d Mon Sep 17 00:00:00 2001 From: Tomi Jaga Date: Sun, 16 Jul 2023 00:35:09 -0700 Subject: [PATCH] [chore]: Update mops package to version 1.0.1 and publish --- mops.toml | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mops.toml b/mops.toml index 29528ca..c8d1ff8 100644 --- a/mops.toml +++ b/mops.toml @@ -1,6 +1,6 @@ [package] name = "serde" -version = "0.2.0" +version = "1.0.1" description = "A serialisation and deserialisation library for Motoko." repository = "https://github.com/NatLabs/serde" keywords = [ "json", "candid", "parser", "urlencoded", "serialization" ] diff --git a/readme.md b/readme.md index 6492a68..3296ad4 100644 --- a/readme.md +++ b/readme.md @@ -73,7 +73,7 @@ import { JSON; Candid; UrlEncoded } "mo:serde"; For more usage examples see [usage.md](https://github.com/NatLabs/serde/blob/main/usage.md): - [Candid Text](https://github.com/NatLabs/serde/blob/main/usage.md#candid-text) - [URL-Encoded Pairs](https://github.com/NatLabs/serde/blob/main/usage.md#url-encoded-pairs) - + ## Limitations - Requires that the user provides a list of record keys and variant names when converting from Motoko. This is because the candid format used for serializing Motoko stores record keys as their hash, making it impossible to retrieve the original key names. - Does not have specific syntax to support the conversion between `Blob`, `Principal`, and Bounded `Nat`/`Int` types.