zigap-utils 0.0.28 → 0.0.29
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 +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,8 +20,9 @@ const App = () => {
|
|
|
20
20
|
<div>
|
|
21
21
|
<LoginQR
|
|
22
22
|
dapp='Mintus'
|
|
23
|
+
url='http://Xphere.mintus.io'
|
|
23
24
|
availableNetworks={['xphere']}
|
|
24
|
-
isShowLogo={
|
|
25
|
+
isShowLogo={false}
|
|
25
26
|
logoSize={25}
|
|
26
27
|
validTime={10}
|
|
27
28
|
sigMessage="hello world"
|
|
@@ -45,6 +46,7 @@ const App = () => {
|
|
|
45
46
|
| prop | required | type | default value | description |
|
|
46
47
|
| --- | :-: | --- | --- | --- |
|
|
47
48
|
| `dapp` | true | string | | Name of the dapp to use |
|
|
49
|
+
| `url` | true | string | | The url of dapp to connect |
|
|
48
50
|
| `availableNetworks` | true | string[] | | The main network you want to access |
|
|
49
51
|
| `sigMessage` | true | string | | Messages signed to verify the identity of the user |
|
|
50
52
|
| `validTime` | true | number | | QR code valid time(minutes) |
|
|
@@ -63,6 +65,7 @@ const App = () => {
|
|
|
63
65
|
| prop | required | type | default value | description |
|
|
64
66
|
| ------------------- | :------: | --------------- | ------------- | --------------------------------------- |
|
|
65
67
|
| `dapp` | true | string | | Name of the dapp to use |
|
|
68
|
+
| `url` | true | string | | The url of dapp to connect |
|
|
66
69
|
| `availableNetworks` | true | string[] | | The main network you want to access |
|
|
67
70
|
| `validTime` | true | number | | QR code valid time(minutes) |
|
|
68
71
|
| `onReceive` | true | (value) => void | | Function called after login request |
|