@zkpassport/ui 0.19.0 → 0.19.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 +2 -2
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/react.cjs +1 -1
- package/dist/cjs/react.cjs.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/react.js +1 -1
- package/dist/esm/react.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -109,7 +109,7 @@ first, so the element exists and the global is defined when `render` runs:
|
|
|
109
109
|
```html
|
|
110
110
|
<div id="zkpassport"></div>
|
|
111
111
|
|
|
112
|
-
<script src="https://cdn.zkpassport.id/ui/
|
|
112
|
+
<script src="https://cdn.zkpassport.id/ui/v1/ui.js"></script>
|
|
113
113
|
<script>
|
|
114
114
|
VerifyWithZKPassport.render("#zkpassport", {
|
|
115
115
|
purpose: "Prove you are an adult from the EU",
|
|
@@ -126,7 +126,7 @@ first, so the element exists and the global is defined when `render` runs:
|
|
|
126
126
|
</script>
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
-
`
|
|
129
|
+
`v1` follows the latest release of the current API, 0.x included; a breaking change moves to `v2`. To pin a release instead, use
|
|
130
130
|
`https://cdn.zkpassport.id/ui/<version>/ui.js`. `render` returns a handle with `update(nextOptions)`
|
|
131
131
|
and `unmount()`.
|
|
132
132
|
|