From 33e68d486688a9d98c3365c60de0229181053208 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 11 Feb 2023 15:58:48 +0200 Subject: [PATCH] readme update --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b36200d..5de2f30 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,17 @@ The package installation can be done in two ways: ## How to use the package -TO DO +```javascript! +const { TuitioClient, fetch, invalidate } = require("@flare/tuitio-client"); +const TuitioClient = require("@flare/tuitio-client"); +const type { TuitioToken, TuitioAuthenticationResult, TuitioState } = require("@flare/tuitio-client"); +``` + +```javascript! +import { TuitioClient, fetch, invalidate } from "@flare/tuitio-client"; +import TuitioClient from "@flare/tuitio-client"; +import type { TuitioToken, TuitioAuthenticationResult, TuitioState } from "@flare/tuitio-client"; +``` ## Unit testing @@ -23,5 +33,5 @@ All tests in the package can be executed by running: `npm test`. ## Changelog -1.0.0 - Package initialization \ +1.0.0 - Package initialization 1.0.1 - Export Tuitio types