diff --git a/package.json b/package.json
index 4905309d..5a358007 100644
--- a/package.json
+++ b/package.json
@@ -38,6 +38,6 @@
"dependencies": {
"@mcaptcha/pow-wasm": "^0.1.0-alpha-1",
"@mcaptcha/pow_sha256-polyfill": "^0.1.0-alpha-1",
- "mcaptcha-glue": "^0.1.0-alpha-1"
+ "@mcaptcha/vanilla-glue": "^0.1.0-alpha-1"
}
}
diff --git a/templates/auth/captcha/index.ts b/templates/auth/captcha/index.ts
index 0285bba6..9dd86971 100644
--- a/templates/auth/captcha/index.ts
+++ b/templates/auth/captcha/index.ts
@@ -14,6 +14,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-import * as lib from "mcaptcha-glue";
+//import * as lib from "@mcaptcha/vanilla-glue";
-export const register = (): void => lib.init();
+//export const register = (): void => init();
diff --git a/templates/auth/login/ts/index.ts b/templates/auth/login/ts/index.ts
index 88722609..73efe23c 100644
--- a/templates/auth/login/ts/index.ts
+++ b/templates/auth/login/ts/index.ts
@@ -14,7 +14,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-import {init} from "mcaptcha-glue";
+//import {init} from "mcaptcha-glue";
import VIEWS from "../../../views/v1/routes";
@@ -69,5 +69,5 @@ export const index = (): void => {
const form = document.getElementById("form");
form.addEventListener("submit", login, true);
registerShowPassword();
- init();
+// init();
};
diff --git a/yarn.lock b/yarn.lock
index d36e5b8c..ca7083ba 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -533,6 +533,11 @@
"@types/yargs" "^16.0.0"
chalk "^4.0.0"
+"@mcaptcha/core-glue@^0.1.0-alpha-3":
+ version "0.1.0-alpha-3"
+ resolved "https://registry.yarnpkg.com/@mcaptcha/core-glue/-/core-glue-0.1.0-alpha-3.tgz#16c11cb3751b6421999353dc10c032afd08ffa8b"
+ integrity sha512-avphBVgf3PPDWuUoDsB2qiXAss2pc00lUILswJaMQofr8FQyflzkhha8H2Z+qGFiX0Iib/yyP2TOtBDbHqE9Tg==
+
"@mcaptcha/pow-wasm@^0.1.0-alpha-1":
version "0.1.0-alpha-1"
resolved "https://registry.yarnpkg.com/@mcaptcha/pow-wasm/-/pow-wasm-0.1.0-alpha-1.tgz#ec3fac9d34b7b6436dec6597629501e524a8b702"
@@ -543,6 +548,13 @@
resolved "https://registry.yarnpkg.com/@mcaptcha/pow_sha256-polyfill/-/pow_sha256-polyfill-0.1.0-alpha-1.tgz#d34ee78de39223416358c540af46ea863e4373c2"
integrity sha512-lnQNBCOnVI9BunHP8FGCsGs310GguQWdxSspXlvWcrLwgl86aq0hlBzZfOV+szG/jeTRAMry0He3MrD/kbqB/Q==
+"@mcaptcha/vanilla-glue@^0.1.0-alpha-1":
+ version "0.1.0-alpha-1"
+ resolved "https://registry.yarnpkg.com/@mcaptcha/vanilla-glue/-/vanilla-glue-0.1.0-alpha-1.tgz#6ddef419280853c55611d30fd44f4a31e7aab65f"
+ integrity sha512-GHPjUpqdgk9DquGnGYGDQertcwMENKUc4yr/Q3M7WzL6rPBs6JMCVdDHV22RGTxk3xBM19fGuDQ8GOyNauQ3hg==
+ dependencies:
+ "@mcaptcha/core-glue" "^0.1.0-alpha-3"
+
"@nodelib/fs.scandir@2.1.5":
version "2.1.5"
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
@@ -3668,11 +3680,6 @@ makeerror@1.0.x:
dependencies:
tmpl "1.0.x"
-mcaptcha-glue@^0.1.0-alpha-1:
- version "0.1.0-alpha-3"
- resolved "https://registry.yarnpkg.com/mcaptcha-glue/-/mcaptcha-glue-0.1.0-alpha-3.tgz#0c1c5cfc6991de6571fb2c0f0950acac289e1141"
- integrity sha512-C/Nfw4RGsmbozbyvxx/p0C7bUBn+YmP7tTl/8ORNdQiuy2VQUmD874LvbocnmSar8Isk/8rIaCqmVRBlRw/Yaw==
-
mdn-data@2.0.14:
version "2.0.14"
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50"