Skip to content

Commit 0021ebc

Browse files
authored
feat(es5): add polyfill for WeakMap (#26)
1 parent 5787670 commit 0021ebc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/src/polyfills.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ import 'core-js/es/object/get-own-property-descriptors';
66
import 'core-js/es/map';
77
import 'core-js/es/set';
88
import 'core-js/es/symbol';
9+
import 'core-js/es/weak-map';
10+
import 'core-js/es/weak-set';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@hcaptcha/loader",
33
"description": "This is a JavaScript library to easily configure the loading of the hCaptcha JS client SDK with built-in error handling.",
4-
"version": "1.2.3",
4+
"version": "1.2.4",
55
"author": "hCaptcha team and contributors",
66
"license": "MIT",
77
"keywords": [

0 commit comments

Comments
 (0)