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

@web3modal/ui

Package Overview
Dependencies
Maintainers
11
Versions
374
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web3modal/ui - npm Package Compare versions

Comparing version 4.1.2-rer314x.0 to 4.1.2

20

dist/esm/src/composites/wui-account-button/index.js

@@ -29,2 +29,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

this.address = '';
this.profileName = '';
this.charsStart = 4;

@@ -47,8 +48,10 @@ this.charsEnd = 6;

<wui-text variant="paragraph-600" color="inherit">
${UiHelperUtil.getTruncateString({
string: this.address,
charsStart: this.isProfileName ? 18 : this.charsStart,
charsEnd: this.isProfileName ? 0 : this.charsEnd,
truncate: this.isProfileName ? 'end' : 'middle'
})}
${this.address
? UiHelperUtil.getTruncateString({
string: this.isProfileName ? this.profileName : this.address,
charsStart: this.isProfileName ? 18 : this.charsStart,
charsEnd: this.isProfileName ? 0 : this.charsEnd,
truncate: this.isProfileName ? 'end' : 'middle'
})
: null}
</wui-text>

@@ -82,3 +85,3 @@ </wui-flex>

${networkElement}
<wui-text variant="paragraph-600" color="inherit"> ${this.balance} </wui-text>
<wui-text variant="paragraph-600" color="inherit"> ${this.balance}</wui-text>
`;

@@ -113,2 +116,5 @@ }

property()
], WuiAccountButton.prototype, "profileName", void 0);
__decorate([
property()
], WuiAccountButton.prototype, "charsStart", void 0);

@@ -115,0 +121,0 @@ __decorate([

@@ -16,2 +16,3 @@ import { LitElement } from 'lit';

address: string;
profileName: string;
charsStart: number;

@@ -18,0 +19,0 @@ charsEnd: number;

{
"name": "@web3modal/ui",
"version": "4.1.2-rer314x.0",
"version": "4.1.2",
"type": "module",

@@ -24,3 +24,3 @@ "main": "./dist/esm/index.js",

"@types/qrcode": "1.5.5",
"@web3modal/common": "4.1.2-rer314x.0",
"@web3modal/common": "4.1.2",
"eslint-plugin-lit": "1.11.0",

@@ -27,0 +27,0 @@ "eslint-plugin-wc": "2.0.4"

Sorry, the diff of this file is not supported yet

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