From 2ad748465d1a566e3836fbaed3a1fca7a3b19302 Mon Sep 17 00:00:00 2001 From: Faris Mahmutovic Date: Tue, 9 Apr 2024 13:13:38 +0200 Subject: [PATCH] feat(es5): add polyfill for WeakMap --- lib/src/polyfills.ts | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/polyfills.ts b/lib/src/polyfills.ts index 4de6837..73b70a6 100644 --- a/lib/src/polyfills.ts +++ b/lib/src/polyfills.ts @@ -6,3 +6,4 @@ import 'core-js/es/object/get-own-property-descriptors'; import 'core-js/es/map'; import 'core-js/es/set'; import 'core-js/es/symbol'; +import 'core-js/es/weak-map'; diff --git a/package.json b/package.json index 7419860..7d3ea03 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@hcaptcha/loader", "description": "This is a JavaScript library to easily configure the loading of the hCaptcha JS client SDK with built-in error handling.", - "version": "1.2.3", + "version": "1.2.4", "author": "hCaptcha team and contributors", "license": "MIT", "keywords": [