From 9fb570334cfff0971bb8959f7ffa17e80b1e88b8 Mon Sep 17 00:00:00 2001 From: Bernhard Date: Thu, 4 Jan 2024 19:31:32 +0100 Subject: [PATCH 1/2] deprecate functional call --- src/obfuscate.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/obfuscate.ts b/src/obfuscate.ts index fa5a546..c42f59e 100644 --- a/src/obfuscate.ts +++ b/src/obfuscate.ts @@ -6,6 +6,7 @@ import { value2glyphs } from "./value2glyphs"; import { obfuscateValue } from "./obfuscate/value"; /** + * @deprecated use object-orientated approach instead -> const noscrape = new Noscrape('path/to/font') * @param value object which will be translated * @param fontFilePath * @param options From df869e06260d07c92bf6a8a03bb64a141d1a0f91 Mon Sep 17 00:00:00 2001 From: Bernhard Date: Thu, 4 Jan 2024 19:31:46 +0100 Subject: [PATCH 2/2] new version 0.5.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index eff94f9..f6271d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@noscrape/noscrape", - "version": "0.5.1", + "version": "0.5.2", "description": "protect your content from scraping", "homepage": "https://noscrape-example.vercel.app", "keywords": [