@keyringnetwork/keyring-connect-sdk 0.0.8 → 1.0.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 +1 -1
- package/readme.md +1 -15
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -34,20 +34,6 @@ const extensionConfig = {
|
|
|
34
34
|
client_policy_id: 123,
|
|
35
35
|
client_entity_id: '123',
|
|
36
36
|
},
|
|
37
|
-
// Optional proof configuration
|
|
38
|
-
proof_config: {
|
|
39
|
-
datasource: {
|
|
40
|
-
id: 'github',
|
|
41
|
-
name: 'GitHub',
|
|
42
|
-
label: 'GitHub Account',
|
|
43
|
-
link: 'https://github.com',
|
|
44
|
-
login_url: 'https://github.com/login',
|
|
45
|
-
target_url: null,
|
|
46
|
-
image: 'https://github.com/logo.png',
|
|
47
|
-
proof_sources: [/ ... /],
|
|
48
|
-
},
|
|
49
|
-
entity_type: 'individual',
|
|
50
|
-
},
|
|
51
37
|
};
|
|
52
38
|
try {
|
|
53
39
|
await KeyringConnect.launchExtension(extensionConfig);
|
|
@@ -73,7 +59,7 @@ const status = await KeyringConnect.getExtensionState();
|
|
|
73
59
|
|
|
74
60
|
### Key Types
|
|
75
61
|
|
|
76
|
-
> Full type definitions can be found in our [types.ts](src/types.ts)
|
|
62
|
+
> Full type definitions can be found in our [types.ts](https://github.com/Keyring-Network/keyring-connect/blob/master/keyring-connect-sdk/src/types.ts)
|
|
77
63
|
|
|
78
64
|
|
|
79
65
|
#### ExtensionConfig
|