+
+
+
+
+
+
+
+
+ isValid
+
+
+
+
+
+
+ Uses Dock SDK to verify a credential
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+ Name |
+ Description |
+
+
+
+
+
+ credential.credential any
+ |
+ |
+
+
+
+
+
+ credential.wallet any
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ syncCredentialStatus
+
+
+
+
+
+
+ Fetch credential status from the chain and update the wallet
+Store a new document #status in the wallet
+Returns a list of CredentialStatusDocument
+
+ syncCredentialStatus(param0:
Object): any
+
+
+
+
+
+
+
+
+
+
+
+ Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+ Name |
+ Description |
+
+
+
+
+
+ param0.wallet any
+ |
+ |
+
+
+
+
+
+ param0.credentialIds any
+ |
+ |
+
+
+
+
+
+ param0.forceFetch any
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns
+ any
:
+ CredentialStatusDocument[]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ getAll
+
+
+
+
+
+
+ Get DIDs list
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+ Name |
+ Description |
+
+
+
+
+
+ param0.wallet any
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ resolveApiNetwork
+
+
+
+
+
+
+ Given an Api URL, resolve the network ID
+For now it will be applied for creds and certs
+It can be extended to resolve other external URLs
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+ Name |
+ Description |
+
+
+
+
+
+ $0.url any
+ |
+ |
+
+
+
+
+
+ $0.dataStore any
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ toV1WalletService
+
+
+
+
+
+
+ Wallet service methods
+
+ toV1WalletService(wallet: any)
+
+
+
+
+
+
+
+
+
+
+
+ Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ statusData
+
+
+
+
+
+
+ Extra data to give better context to the current state
+Can be used to show error messages, or more specific information about the state
+
+ statusData
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ getFilteredCredentials
+
+
+
+
+
+
+ Filtered credentials
+
+ getFilteredCredentials()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ evaluatePresentation
+
+
+
+
+
+
+ Use pex to evaluate presentation
+
+ evaluatePresentation(presentation: any)
+
+
+
+
+
+
+
+
+
+
+
+ Parameters
+
+
+
+
+ presentation (any)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ handleSubstrateNetworkChange
+
+
+
+
+
+
+ Update existing substrate network connection
+Compare connected substrate connection with the current walle network
+Disconnect and Establish a new connection if the network is different
+
+ handleSubstrateNetworkChange(wallet: any)
+
+
+
+
+
+
+
+
+
+
+
+ Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ createWallet
+
+
+
+
+
+
+ Create wallet
+
+ createWallet(createWalletProps: any):
Promise<IWallet>
+
+
+
+
+
+
+
+
+
+
+
+ Parameters
+
+
+
+
+ createWalletProps (any)
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns
+ Promise<IWallet>
:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+