Skip to content

Commit

Permalink
Merge pull request #275 from getAlby/task-nostr-tools
Browse files Browse the repository at this point in the history
chore(deps): update nostr-tools package
  • Loading branch information
rolznz authored Dec 6, 2024
2 parents bb3911f + 13db202 commit 6058e0c
Show file tree
Hide file tree
Showing 29 changed files with 291 additions and 338 deletions.
4 changes: 0 additions & 4 deletions examples/crypto-polyfill.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/nwc/client/get-balance.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/client/get-budget.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/client/get-info.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/client/get-wallet-service-info.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/client/list-transactions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/client/lookup-invoice.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/client/make-invoice.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/client/multi-pay-invoice.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import { LightningAddress } from "@getalby/lightning-tools";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/client/multi-pay-keysend.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/client/pay-invoice.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/client/pay-keysend.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/client/sign-message.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/client/subscribe.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/get-balance.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/get-info.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/keysend.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/list-transactions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/lookup-invoice.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/make-invoice.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/multi-keysend.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/send-multi-payment.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import { LightningAddress } from "@getalby/lightning-tools";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/send-payment.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
1 change: 0 additions & 1 deletion examples/nwc/sign-message.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "../crypto-polyfill.js";
import "websocket-polyfill"; // required in node.js

import * as readline from "node:readline/promises";
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@getalby/sdk",
"version": "3.8.0",
"version": "3.8.1",
"description": "The SDK to integrate with Nostr Wallet Connect and the Alby API",
"repository": "https://github.com/getAlby/js-sdk.git",
"bugs": "https://github.com/getAlby/js-sdk/issues",
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"dependencies": {
"emittery": "^1.0.3",
"nostr-tools": "^1.17.0"
"nostr-tools": "2.9.4"
},
"devDependencies": {
"@commitlint/cli": "^19.4.1",
Expand Down
Loading

0 comments on commit 6058e0c

Please sign in to comment.