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

@getalby/lightning-wallet-connect

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getalby/lightning-wallet-connect - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

dist/types/ConnectorType.d.ts

2

dist/components/connectors/lwc-connector.d.ts
import { TemplateResult } from 'lit';
import { LwcElement } from '../lwc-element';
import { ConnectorType } from '../../connectors';
import { ConnectorType } from '../../types/ConnectorType';
declare const LwcConnector_base: (new (...args: any[]) => {

@@ -5,0 +5,0 @@ readonly tw: import("@twind/core").Twind<any, CSSStyleSheet>;

@@ -324,2 +324,4 @@ import { LwcElement } from './lwc-element';

constructor();
connectedCallback(): void;
disconnectedCallback(): void;
render(): import("lit-html").TemplateResult<1>;

@@ -326,0 +328,0 @@ private _handleDisconnect;

@@ -8,3 +8,2 @@ import { ExtensionConnector } from './ExtensionConnector';

};
export declare type ConnectorType = keyof typeof connectors;
//# sourceMappingURL=index.d.ts.map

@@ -1,2 +0,2 @@

import { ConnectorType } from '../connectors';
import { ConnectorType } from './ConnectorType';
export declare type ConnectorConfig = {

@@ -3,0 +3,0 @@ connectorType: ConnectorType;

@@ -1,2 +0,2 @@

export declare function dispatchLwcEvent(type: 'lwc:connected' | 'lwc:modalclosed'): void;
export declare function dispatchLwcEvent(type: 'lwc:connected' | 'lwc:connecting' | 'lwc:disconnected' | 'lwc:modalopened' | 'lwc:modalclosed'): void;
//# sourceMappingURL=dispatchLwcEvent.d.ts.map
{
"name": "@getalby/lightning-wallet-connect",
"version": "1.0.4",
"version": "1.0.5",
"description": "Web components to connect to a lightning wallet and power a website with WebLN",

@@ -5,0 +5,0 @@ "type": "module",

@@ -20,3 +20,3 @@ # Lightning Wallet Connect

```
<script src="https://cdn.jsdelivr.net/npm/@getalby/lightning-wallet-connect@1.0.0/dist/index.browser.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@getalby/lightning-wallet-connect@1.0.5/dist/index.browser.js"></script>
```

@@ -43,2 +43,5 @@

- `lwc:connected` window event which fires when a wallet is connected and window.webln is ready to use
- `lwc:connecting` window event which fires when LWC is connecting to a wallet
- `lwc:disconnected` window event which fires when user has disconnected from their wallet
- `lwc:modalopened` window event which fires when Lightning Wallet Connect modal is opened
- `lwc:modalclosed` window event which fires when Lightning Wallet Connect modal is closed

@@ -50,2 +53,3 @@

- [Alby NWC](https://nwc.getalby.com)
- [Generic NWC URL](https://github.com/nostr-protocol/nips/blob/master/47.md)

@@ -60,3 +64,3 @@ ### Pure HTML

<lwc-button></lwc-button>
<script src="https://cdn.jsdelivr.net/npm/@getalby/lightning-wallet-connect@1.0.0/dist/index.browser.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@getalby/lightning-wallet-connect@1.0.5/dist/index.browser.js"></script>
<script>

@@ -63,0 +67,0 @@ window.addEventListener('lwc:connected', async () => {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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