Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chromia/bridge-client

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chromia/bridge-client - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"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')

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc