🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

embeddable-nfts

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

embeddable-nfts - npm Package Compare versions

Comparing version

to
0.4.3

2

package.json
{
"name": "embeddable-nfts",
"version": "0.4.2",
"version": "0.4.3",
"description": "Resuable, embeddable webcomponent for OpenSea assets.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -27,3 +27,3 @@ # Embeddable NFTs

```
<script src="https://unpkg.com/embeddable-nfts@0.4.1/dist/nft-card.min.js"></script>
<script src="https://unpkg.com/embeddable-nfts/dist/nft-card.min.js"></script>
```

@@ -30,0 +30,0 @@

@@ -265,6 +265,2 @@ import { css, customElement, html, LitElement, property } from 'lit-element'

public async connectedCallback() {
super.connectedCallback()
}
public getContainerHeight() {

@@ -271,0 +267,0 @@ let containerHeight

@@ -50,3 +50,2 @@ import { css, customElement, html, LitElement, property } from 'lit-element'

border-right: 1px solid #e2e6ef;
padding: 26px;
background-size: cover;

@@ -61,2 +60,3 @@ box-sizing: border-box;

height: 100%;
box-sizing: border-box;
}

@@ -198,7 +198,10 @@

<div class="card-front ${classMap({ 'is-vertical': !this.horizontal })}">
<info-button
style="position: absolute; top: 5px; left: 5px"
@flip-event="${(e: any) => this.eventHandler(e, 'flip')}"
></info-button>
${this.asset.traits.length > 0
? html`
<info-button
style="position: absolute; top: 5px; right: 5px"
@flip-event="${(e: any) => this.eventHandler(e, 'flip')}"
></info-button>
`
: ''}
${this.getAssetImageTemplate()}

@@ -205,0 +208,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet