@blockcerts/blockcerts-verifier 1.45.0 → 1.48.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.45.0",
3
+ "version": "1.48.0",
4
4
  "description": "A standalone universal viewer and verifier for blockcerts credentials",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  "main": "dist/main.js",
10
10
  "dependencies": {
11
11
  "@babel/runtime": "^7.6.0",
12
- "@blockcerts/cert-verifier-js": "^5.11.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",
@@ -103,6 +103,11 @@
103
103
  "semantic-release": "semantic-release",
104
104
  "prepare": "husky install"
105
105
  },
106
+ "browserslist": [
107
+ "defaults",
108
+ "not IE 11",
109
+ "maintained node versions"
110
+ ],
106
111
  "publishConfig": {
107
112
  "access": "public"
108
113
  },
@@ -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
  #{