From d35074db19b9862e4053d7c9471b549f0b77175e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Gonz=C3=A1lez=20V=C3=A1zquez?= Date: Mon, 20 Nov 2023 17:13:10 +0100 Subject: [PATCH] fix(README): Update modifier api in README.md --- README.md | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0f62041..9ba67f6 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,9 @@ or your own modifiers... import { rubiks } from "rubiks"; function customModifier(self) { - return `my content: ${self.format}, and the current level is ${self.level}` + self.format = `my content: ${self.format}, and the current level is ${self.level}` + + return null } rubiks() diff --git a/package.json b/package.json index 2184555..8ae2ba8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "rubiks", - "version": "0.8.0", + "version": "0.8.1", "type": "module", "description": "Rubiks is a 0 dependency extendable logging library for modern applications.", "main": "./lib/index.js",