zigap-utils 0.0.28 → 0.0.30

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.
Files changed (2) hide show
  1. package/README.md +6 -3
  2. 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={true}
25
+ isShowLogo={false}
25
26
  logoSize={25}
26
27
  validTime={10}
27
28
  sigMessage="hello world"
@@ -45,7 +46,8 @@ const App = () => {
45
46
  | prop | required | type | default value | description |
46
47
  | --- | :-: | --- | --- | --- |
47
48
  | `dapp` | true | string | | Name of the dapp to use |
48
- | `availableNetworks` | true | string[] | | The main network you want to access |
49
+ | `url` | true | string | | The url of dapp to connect |
50
+ | `availableNetworks` | true | string[] | | List of connectable networks in dapp |
49
51
  | `sigMessage` | true | string | | Messages signed to verify the identity of the user |
50
52
  | `validTime` | true | number | | QR code valid time(minutes) |
51
53
  | `onReceive` | true | (value) => void | | Function called after login request |
@@ -63,7 +65,8 @@ const App = () => {
63
65
  | prop | required | type | default value | description |
64
66
  | ------------------- | :------: | --------------- | ------------- | --------------------------------------- |
65
67
  | `dapp` | true | string | | Name of the dapp to use |
66
- | `availableNetworks` | true | string[] | | The main network you want to access |
68
+ | `url` | true | string | | The url of dapp to connect |
69
+ | `availableNetworks` | true | string[] | | List of connectable networks in dapp |
67
70
  | `validTime` | true | number | | QR code valid time(minutes) |
68
71
  | `onReceive` | true | (value) => void | | Function called after login request |
69
72
  | `size` | false | number | 128 | canvas width |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigap-utils",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",