From db177848a7b9715ff8f078b812615f3707def213 Mon Sep 17 00:00:00 2001 From: h584974 Date: Fri, 26 May 2023 12:11:28 +0200 Subject: [PATCH] updated README for v0.1.2 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5458565..c590032 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Optional and nullable properties are allowed. If you wish to use Zod, you can create your Zod object schema and use its type as your model. ```ts -import type { Model } from "https://deno.land/x/kvdex@v0.1.1/mod.ts" +import type { Model } from "https://deno.land/x/kvdex@v0.1.2/mod.ts" interface User extends Model { username: string @@ -35,7 +35,7 @@ The "createDb" function is used for creating a new database instance. It takes a Deno KV instance and a schema builder function as arguments. ```ts -import { createDb } from "https://deno.land/x/kvdex@v0.1.1/mod.ts" +import { createDb } from "https://deno.land/x/kvdex@v0.1.2/mod.ts" const kv = await Deno.openKv() @@ -381,7 +381,7 @@ result will be an object containing: id, versionstamp and all the entries in the document value. ```ts -import { flatten } from "https://deno.land/x/kvdex@v0.1.1/mod.ts" +import { flatten } from "https://deno.land/x/kvdex@v0.1.2/mod.ts" // We assume the document exists in the KV store const doc = await db.users.find(123n)