From 8965d9d4589dc8e3898efe3c4bc66f19a309cc53 Mon Sep 17 00:00:00 2001 From: Obinna Ikeh Date: Tue, 12 Nov 2024 11:29:57 +0100 Subject: [PATCH] update openpaygo version + remove custom typedef --- website/package-lock.json | 8 ++++---- website/package.json | 2 +- website/src/app/Components/openpaygo.d.ts | 13 ------------- 3 files changed, 5 insertions(+), 18 deletions(-) delete mode 100644 website/src/app/Components/openpaygo.d.ts diff --git a/website/package-lock.json b/website/package-lock.json index baef521..6545cb7 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "dependencies": { "next": "14.2.15", - "openpaygo": "^0.0.5", + "openpaygo": "^0.0.6", "react": "^18", "react-dom": "^18" }, @@ -3799,9 +3799,9 @@ } }, "node_modules/openpaygo": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/openpaygo/-/openpaygo-0.0.5.tgz", - "integrity": "sha512-xluHaYJYyfcpcc1KQHLDpcHhG/S89CheRvVlMgYD/sd6ItEb9L+ky9b71xJxRL4HC/gKseLHMJZuq676J6kZjA==", + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/openpaygo/-/openpaygo-0.0.6.tgz", + "integrity": "sha512-RcFp0+qu7MWv7fbjNIm5XgO8LIqa1ARVpF9GsiOJDJY6snUoLE/QJM+l7yLch+vA29Vu//xJj0t8XZPOOeIFvQ==", "license": "MIT", "dependencies": { "bigint-conversion": "^2.4.3", diff --git a/website/package.json b/website/package.json index 6e70e66..b30a608 100644 --- a/website/package.json +++ b/website/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "next": "14.2.15", - "openpaygo": "^0.0.5", + "openpaygo": "^0.0.6", "react": "^18", "react-dom": "^18" }, diff --git a/website/src/app/Components/openpaygo.d.ts b/website/src/app/Components/openpaygo.d.ts deleted file mode 100644 index df5f40f..0000000 --- a/website/src/app/Components/openpaygo.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare module "openpaygo" { - export class Encoder { - generateToken(options: { - tokenType: number - secretKeyHex: string - count: number - startingCode: number - restrictDigitSet: boolean - value: number | undefined - extendToken: boolean - }): { finalToken: string; newCount: number } - } -}