@blockcerts/blockcerts-verifier 1.46.0 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockcerts/blockcerts-verifier",
3
- "version": "1.46.0",
3
+ "version": "1.49.0",
4
4
  "description": "A standalone universal viewer and verifier for blockcerts credentials",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,15 +9,18 @@
9
9
  "main": "dist/main.js",
10
10
  "dependencies": {
11
11
  "@babel/runtime": "^7.6.0",
12
- "@blockcerts/cert-verifier-js": "^5.12.2",
12
+ "@blockcerts/cert-verifier-js": "^6.0.0",
13
13
  "@blockcerts/cert-verifier-js-v1-legacy": "^3.0.0",
14
14
  "@polymer/lit-element": "0.5.1",
15
15
  "@polymer/polymer": "3.4.1",
16
16
  "@webcomponents/webcomponentsjs": "2.6.0",
17
17
  "autolinker": "^3.14.1",
18
18
  "cssfilter": "0.0.10",
19
+ "html-canvas": "^0.0.4",
20
+ "jspdf": "^2.5.1",
19
21
  "lit-html": "0.10.2",
20
22
  "proxy-polyfill": "^0.3.0",
23
+ "qrcode-svg": "^1.1.0",
21
24
  "redux": "^4.0.0",
22
25
  "redux-thunk": "^2.3.0",
23
26
  "whatwg-fetch": "^3.0.0",
@@ -33,7 +36,10 @@
33
36
  "@open-wc/testing": "^2.5.16",
34
37
  "@open-wc/testing-karma": "^4.0.3",
35
38
  "@polymer/iron-demo-helpers": "^3.0.0-pre.19",
39
+ "@rollup/plugin-commonjs": "^22.0.0",
40
+ "@rollup/plugin-node-resolve": "^13.3.0",
36
41
  "@types/jest": "^27.0.0",
42
+ "@types/qrcode-svg": "^1.1.1",
37
43
  "@types/sinon": "^10.0.0",
38
44
  "@typescript-eslint/eslint-plugin": "^4.16.1",
39
45
  "@typescript-eslint/parser": "^4.16.1",
@@ -73,7 +79,7 @@
73
79
  "ts-jest": "^26.5.2",
74
80
  "typescript": "^4.2.2",
75
81
  "watch": "^1.0.2",
76
- "wc-sass-render": "1.0.0",
82
+ "wc-sass-render": "blockchain-certificates/wc-sass-render",
77
83
  "wct-browser-legacy": "^1.0.2",
78
84
  "web-component-tester": "^6.9.0"
79
85
  },
@@ -103,6 +109,11 @@
103
109
  "semantic-release": "semantic-release",
104
110
  "prepare": "husky install"
105
111
  },
112
+ "browserslist": [
113
+ "defaults",
114
+ "not IE 11",
115
+ "maintained node versions"
116
+ ],
106
117
  "publishConfig": {
107
118
  "access": "public"
108
119
  },
@@ -2,38 +2,21 @@
2
2
 
3
3
  # automate PR process to Blockcerts.org: update blockcerts-verifier dependency
4
4
  GITHUB_COM=github.com
5
- BLOCKCERTS_GITHUB_REPO=blockchain-certificates/blockchain-certificates.github.io
5
+ BLOCKCERTS_GITHUB_REPO=blockchain-certificates-web/blockchain-certificates-web.github.io
6
6
  GIT_REPO=$GITHUB_COM/$BLOCKCERTS_GITHUB_REPO.git
7
- WORK_BRANCH=chore/update-bv
7
+ WORK_BRANCH=feat/update-bv
8
8
  GITHUB_USER=botcerts
9
9
 
10
10
  # clone CTS repo
11
11
  git clone https://$GIT_REPO
12
- cd blockchain-certificates.github.io
12
+ cd blockchain-certificates-web.github.io
13
13
 
14
14
  # rename remote to add authentication
15
15
  git remote rm origin
16
16
  git remote add origin https://$GITHUB_USER:$BOTCERTS_PR_GITHUB_TOKEN@$GIT_REPO
17
17
 
18
- # checkout new branch
19
- git checkout -b $WORK_BRANCH
20
-
21
- # update blockcerts-verifier
22
- npm install
23
- npm i @blockcerts/blockcerts-verifier
24
-
25
- # clean unwanted files. Note: we could also handle that with .gitignore
26
- echo 'Clean unwanted files'
27
- pwd
28
- git clean -df
29
-
30
- # commit
31
- git status
32
- git add .
33
- git commit -m "chore(BUV): update to latest version"
34
-
35
- # push
36
- git push origin $WORK_BRANCH
18
+ # run script from client repo
19
+ . scripts/update_blockcerts_verifier.sh
37
20
 
38
21
  # open PR
39
22
  #{