@blockcerts/blockcerts-verifier 1.55.0 → 1.56.1
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/README.md +0 -10
- package/__mocks__/@polymer/{lit-element.js → lit-element.ts} +2 -1
- package/dist/main.js +219 -226
- package/karma.conf.js +3 -2
- package/package.json +30 -48
- package/rollup-sanitizer.config.mjs +21 -0
- package/rollup.config.mjs +31 -0
- package/rollup.dev.config.mjs +43 -0
- package/demo/bundle-ie11.html +0 -38
- package/dist/ie11.js +0 -874
package/README.md
CHANGED
|
@@ -14,8 +14,6 @@ To use the component in your project, install it via:
|
|
|
14
14
|
npm i @blockcerts/blockcerts-verifier
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
If your project **does not require support for IE11**, you can use the following build:
|
|
18
|
-
|
|
19
17
|
```html
|
|
20
18
|
<script src="node_modules/@blockcerts/blockcerts-verifier/dist/main.js"></script>
|
|
21
19
|
|
|
@@ -27,14 +25,6 @@ Chrome will support natively the code, but for Firefox, Safari, MS Edge (Opera a
|
|
|
27
25
|
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
|
|
28
26
|
```
|
|
29
27
|
|
|
30
|
-
If your project **requires support for IE11**, you will need to use the ie11 build:
|
|
31
|
-
```html
|
|
32
|
-
<script src="node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js"></script>
|
|
33
|
-
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
|
|
34
|
-
<script src="node_modules/@blockcerts/blockcerts-verifier/dist/ie11.js"></script>
|
|
35
|
-
```
|
|
36
|
-
Please note that because this is transpiled to ES5, the custom-elements-es5-adapter code is required for it to work properly in more modern browsers.
|
|
37
|
-
|
|
38
28
|
Have a look at the [Demo Pages](/demo) to see examples of the usage
|
|
39
29
|
|
|
40
30
|
## API Usage
|