Socket
Socket
Sign inDemoInstall

lnurl-pay

Package Overview
Dependencies
92
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

1

dist/cjs/request-invoice.js

@@ -55,2 +55,3 @@ "use strict";

params: params,
rawData: data,
invoice: invoice,

@@ -57,0 +58,0 @@ successAction: successAction,

@@ -52,2 +52,3 @@ import { __awaiter, __generator } from "tslib";

params: params,
rawData: data,
invoice: invoice,

@@ -54,0 +55,0 @@ successAction: successAction,

@@ -61,2 +61,3 @@ declare const satoshisSymbol: unique symbol;

params: LnUrlPayServiceResponse;
rawData: Json;
invoice: string;

@@ -63,0 +64,0 @@ hasValidAmount: boolean;

15

dist/umd/lnurl-pay.js.LICENSE.txt

@@ -8,17 +8,2 @@ /*!

/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/*! MIT License. Copyright 2015-2018 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */

@@ -25,0 +10,0 @@

{
"name": "lnurl-pay",
"version": "3.0.0",
"version": "3.0.1",
"description": "Client library for lnurl-pay and lightning address",

@@ -53,6 +53,6 @@ "main": "dist/cjs/index.js",

"dependencies": {
"@aws-crypto/sha256-js": "^5.0.0",
"@aws-crypto/sha256-js": "^5.2.0",
"aes-js": "^3.1.2",
"assert": "^2.0.0",
"axios": "^1.5.0",
"assert": "^2.1.0",
"axios": "^1.5.1",
"base64-js": "^1.5.1",

@@ -70,14 +70,14 @@ "bech32": "^2.0.0",

"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@types/aes-js": "^3.1.1",
"@types/is-url": "^1.2.30",
"@types/jest": "^29.5.4",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"eslint": "^8.48.0",
"@commitlint/cli": "^17.8.0",
"@commitlint/config-conventional": "^17.8.0",
"@types/aes-js": "^3.1.3",
"@types/is-url": "^1.2.31",
"@types/jest": "^29.5.6",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.2",
"jest": "^29.6.4",
"jest": "^29.7.0",
"pinst": "^3.0.0",

@@ -87,7 +87,7 @@ "prettier": "^3.0.3",

"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2",
"webpack": "^5.88.2",
"webpack": "^5.89.0",
"webpack-cli": "^4.9.2"
}
}

@@ -25,2 +25,3 @@ # Lnurl-pay

params,
rawData,
successAction,

@@ -45,2 +46,3 @@ hasValidAmount,

params,
rawData,
successAction,

@@ -64,2 +66,3 @@ hasValidAmount,

params,
rawData,
successAction,

@@ -114,2 +117,3 @@ hasValidAmount,

}
rawData: <Raw data response Object>
hasValidAmount: <True if the returned invoice amount is equal to tokens param Bool>

@@ -116,0 +120,0 @@ hasValidDescriptionHash: <True if the returned invoice description hash is equal to metadata hash Bool>

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc