Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to yivi-frontend instead of deprecated irma-frontend #17

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 18plus/index.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="../assets/bootstrap.min.css"/>

<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>
<script src="messages.en.js" defer></script>
<script src="18plusdemo.js" defer></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion 18plus/index.nl.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="../assets/bootstrap.min.css"/>

<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>
<script src="messages.nl.js" defer></script>
<script src="18plusdemo.js" defer></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion address/index.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="../assets/bootstrap.min.css"/>

<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>
<script src="messages.en.js" defer></script>
<script src="adresdemo.js" defer></script>

Expand Down
2 changes: 1 addition & 1 deletion address/index.nl.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="../assets/bootstrap.min.css"/>

<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>
<script src="messages.nl.js" defer></script>
<script src="adresdemo.js" defer></script>

Expand Down
2 changes: 1 addition & 1 deletion beingalive/index.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>IRMA Attestatio de Vita demo</title>
<link rel="stylesheet" href="../assets/bootstrap.min.css"/>
<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>
<script src="messages.en.js" defer></script>
<script src="beingalivedemo.js" defer></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion beingalive/index.nl.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>IRMA Attestatie de Vita demo</title>
<link rel="stylesheet" href="../assets/bootstrap.min.css"/>
<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>
<script src="messages.nl.js" defer></script>
<script src="beingalivedemo.js" defer></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion build_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mkdir -p "$DIR/assets"
cp "$DIR/node_modules/jquery/dist/jquery.min.js" "$DIR/assets/jquery.min.js"
cp "$DIR/node_modules/bootstrap/dist/css/bootstrap.min.css" "$DIR/assets/bootstrap.min.css"
cp "$DIR/node_modules/bootstrap/dist/js/bootstrap.min.js" "$DIR/assets/bootstrap.min.js"
cp "$DIR/node_modules/@privacybydesign/irma-frontend/dist/irma.js" "$DIR/assets/irma.js"
cp "$DIR/node_modules/@privacybydesign/yivi-frontend/dist/yivi.js" "$DIR/assets/yivi.js"

rm -rf "$DIR/build"

Expand Down
2 changes: 1 addition & 1 deletion irmaTubePremium/index.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link href="../assets/bootstrap.min.css" rel="stylesheet"/>

<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>

<script src="messages.en.js" defer></script>
<script src="premiumdemo.js" defer></script>
Expand Down
2 changes: 1 addition & 1 deletion irmaTubePremium/index.nl.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link href="../assets/bootstrap.min.css" rel="stylesheet" />

<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>

<script src="messages.nl.js" defer></script>
<script src="premiumdemo.js" defer></script>
Expand Down
2 changes: 1 addition & 1 deletion mail/index.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link href="../assets/bootstrap.min.css" rel="stylesheet"/>

<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>

<script src="messages.en.js" defer></script>
<script src="maildemo.js" defer></script>
Expand Down
2 changes: 1 addition & 1 deletion mail/index.nl.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link href="../assets/bootstrap.min.css" rel="stylesheet"/>

<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>

<script src="messages.nl.js" defer></script>
<script src="maildemo.js" defer></script>
Expand Down
51 changes: 51 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"main": "index.js",
"repository": "https://gitlab.science.ru.nl/irma/irma-demo-pages",
"contributors": [
"Ivar Derksen",
"Caesar Groep",
"Privacy by Design Foundation"
],
"license": "MIT",
"private": true,
"dependencies": {
"@privacybydesign/irma-frontend": "^0.4.1",
"@privacybydesign/yivi-frontend": "^0.1.3",
"bootstrap": "^4.3.1",
"jquery": "^3.5.0",
"popper.js": "^1.14.7"
Expand Down
2 changes: 1 addition & 1 deletion signature/index.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="sign.css"/>

<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>
<script type="text/javascript" src="messages.en.js" defer></script>
<script type="text/javascript" src="sign.js" defer></script>
<script src="../assets/bootstrap.min.js" defer></script>
Expand Down
2 changes: 1 addition & 1 deletion signature/index.nl.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="sign.css"/>

<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>
<script type="text/javascript" src="messages.nl.js" defer></script>
<script type="text/javascript" src="sign.js" defer></script>
<script src="../assets/bootstrap.min.js" defer></script>
Expand Down
2 changes: 1 addition & 1 deletion start_session.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function start_session(type, lang, success_fun, cancelled_fun, error_fun) {
console.log("Button clicked");
irma.newPopup({
yivi.newPopup({
language: lang,
session: {
url: '..',
Expand Down
2 changes: 1 addition & 1 deletion student/index.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="../assets/bootstrap.min.css"/>

<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>
<script src="messages.en.js" defer></script>
<script src="studentdemo.js" defer></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion student/index.nl.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="../assets/bootstrap.min.css"/>

<script src="../assets/jquery.min.js" defer></script>
<script src="../assets/irma.js" defer></script>
<script src="../assets/yivi.js" defer></script>
<script src="messages.nl.js" defer></script>
<script src="studentdemo.js" defer></script>
</head>
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
# yarn lockfile v1


"@privacybydesign/irma-frontend@^0.4.1":
version "0.4.1"
resolved "https://registry.yarnpkg.com/@privacybydesign/irma-frontend/-/irma-frontend-0.4.1.tgz#b1afafa2efe00da464edb444c9ffbb460c05cbdf"
integrity sha512-C0wJw6mr6L5ym7s3B+y+wfb1dqtym9rqHJq2ypQdOOdDRfCqKblyXnmzp1/LP8eIIpHKjJ4rE678CGHZFM3B1w==
"@privacybydesign/yivi-frontend@^0.1.3":
version "0.1.3"
resolved "https://registry.npmjs.org/@privacybydesign/yivi-frontend/-/yivi-frontend-0.1.3.tgz"
integrity sha512-cT6JRbli8HaTVB2z0Tmvrd0ln2ByHbcpTNHnOCbvl0SeLXfBGGIOUMpV+HwIg5xMuznMaonjA0572v7tL8Wc9w==

bootstrap@^4.3.1:
version "4.3.1"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.3.1.tgz#280ca8f610504d99d7b6b4bfc4b68cec601704ac"
resolved "https://registry.npmjs.org/bootstrap/-/bootstrap-4.3.1.tgz"
integrity sha512-rXqOmH1VilAt2DyPzluTi2blhk17bO7ef+zLLPlWvG494pDxcM234pJ8wTc/6R40UWizAIIMgxjvxZg5kmsbag==

jquery@^3.5.0:
jquery@^3.5.0, "[email protected] - 3":
version "3.5.0"
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.5.0.tgz#9980b97d9e4194611c36530e7dc46a58d7340fc9"
resolved "https://registry.npmjs.org/jquery/-/jquery-3.5.0.tgz"
integrity sha512-Xb7SVYMvygPxbFMpTFQiHh1J7HClEaThguL15N/Gg37Lri/qKyhRGZYzHRyLH8Stq3Aow0LsHO2O2ci86fCrNQ==

popper.js@^1.14.7:
version "1.15.0"
resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.15.0.tgz#5560b99bbad7647e9faa475c6b8056621f5a4ff2"
resolved "https://registry.npmjs.org/popper.js/-/popper.js-1.15.0.tgz"
integrity sha512-w010cY1oCUmI+9KwwlWki+r5jxKfTFDVoadl7MSrIujHU5MJ5OR6HTDj6Xo8aoR/QsA56x8jKjA59qGH4ELtrA==