@chromia/bridge-client
Advanced tools
Comparing version 1.1.2 to 1.1.3
{ | ||
"name": "@chromia/bridge-client", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -53,8 +53,5 @@ # Chromia Bridge Client 🌉 | ||
// 3: Log in your user | ||
const evmKeyStore = await createWeb3ProviderEvmKeyStore(window.ethereum); | ||
const evmKeyStoreInteractor = createKeyStoreInteractor(pcl, evmKeyStore); | ||
const accounts = await evmKeyStoreInteractor.getAccounts(); | ||
const { session } = await evmKeyStoreInteractor.login({ | ||
accountId: accounts[0].id, | ||
}); | ||
const session = await evmKeyStoreInteractor.getSession(accounts[0].id); | ||
``` | ||
@@ -106,3 +103,3 @@ | ||
// Network ID does not need to be provided as it will be fetched from the provider | ||
const test = await bcl.bridgeFromChromia( | ||
const transactionResponse = await bcl.bridgeFromChromia( | ||
BigInt(10), | ||
@@ -109,0 +106,0 @@ Buffer.from('YOUR_ASSET_ID', 'hex') |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
529057
136