-
Notifications
You must be signed in to change notification settings - Fork 116
Comparing changes
Open a pull request
base repository: lnp2pBot/bot
base: v0.12.0
head repository: lnp2pBot/bot
compare: main
- 12 commits
- 59 files changed
- 3 contributors
Commits on Jan 6, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 695a91b - Browse repository at this point
Copy the full SHA 695a91bView commit details
Commits on Jan 23, 2025
-
bot/modules/events: convert to TS (#625)
Convert bot/modules/eventsmodule to TypeScript.
Configuration menu - View commit details
-
Copy full SHA for 4a5d20b - Browse repository at this point
Copy the full SHA 4a5d20bView commit details -
bot/modules/language: convert to TS (#626)
Convert bot/modules/language to TypeScript.
Configuration menu - View commit details
-
Copy full SHA for 67cf255 - Browse repository at this point
Copy the full SHA 67cf255View commit details -
bot/modules/community: convert to TS (#623)
Convert bot/modules/community module to TypeScript.
Configuration menu - View commit details
-
Copy full SHA for 27d31b5 - Browse repository at this point
Copy the full SHA 27d31b5View commit details
Commits on Jan 29, 2025
-
bot,util: fix "checkorder" command (#628)
Don't raise an exception when seller or buyer is null in "checkorder" command code as this is a valid case (an order is in status pending).
Configuration menu - View commit details
-
Copy full SHA for 819f8a1 - Browse repository at this point
Copy the full SHA 819f8a1View commit details
Commits on Feb 18, 2025
-
Bump serialize-javascript and mocha (#636)
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) to 6.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `serialize-javascript` from 6.0.0 to 6.0.2 - [Release notes](https://github.com/yahoo/serialize-javascript/releases) - [Commits](yahoo/serialize-javascript@v6.0.0...v6.0.2) Updates `mocha` from 9.2.2 to 11.1.0 - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](mochajs/mocha@v9.2.2...v11.1.0) --- updated-dependencies: - dependency-name: serialize-javascript dependency-type: indirect - dependency-name: mocha dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ed45f64 - Browse repository at this point
Copy the full SHA ed45f64View commit details -
Bump mongoose from 6.12.0 to 6.13.6 (#637)
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.12.0 to 6.13.6. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md) - [Commits](Automattic/mongoose@6.12.0...6.13.6) --- updated-dependencies: - dependency-name: mongoose dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 034276b - Browse repository at this point
Copy the full SHA 034276bView commit details -
bot/modules/dispute: convert to TS (#624)
* bot/modules/dispute: convert to TS Convert bot/modules/disputemodule to TypeScript. * bot/modules/dispute: fix bug in commands.ts Accidentally introduced when converting to TS (`order.previous_dispute_status` not set in `dispute` function).
Configuration menu - View commit details
-
Copy full SHA for a7f00f6 - Browse repository at this point
Copy the full SHA a7f00f6View commit details -
bot/modules/nostr: convert to TS (#627)
* bot/modules/nostr: convert to TS Convert bot/modules/nostr to TypeScript. Specified "lib" property in tsconfig.json because otherwise TypeScript compiler complains about usage of `Promise.any` in bot/modules/nostr/index.ts: ``` Property 'any' does not exist on type 'PromiseConstructor'. Do you need to change your target library? Try changing the lib compiler option to 'es2021' or later. ``` * bot/modules/nostr: decode nostr sk from env. var Decode nostr secret key from environment variable using hex encoding. Also replace requires with imports. * bot/modules/nostr: move CommunityEvents import to top * bot/modules/nostr: fix imports Using `Nostr` from `nostr-tools` as before resulted in error: ``` Cannot read properties of undefined (reading 'nip19') TypeError: Cannot read properties of undefined (reading 'nip19') ```
Configuration menu - View commit details
-
Copy full SHA for 3e4ac23 - Browse repository at this point
Copy the full SHA 3e4ac23View commit details -
bot/modules/user: convert to TS (#631)
Convert bot/modules/user to TypeScript.
Configuration menu - View commit details
-
Copy full SHA for e8c973c - Browse repository at this point
Copy the full SHA e8c973cView commit details
Commits on Feb 21, 2025
-
bot/middleware: convert to TS (#632)
Convert bot/middleware to TypeScript.
Configuration menu - View commit details
-
Copy full SHA for 29a6f37 - Browse repository at this point
Copy the full SHA 29a6f37View commit details -
bot,models: convert bot to TS (#633)
* bot,models: convert bot to TS Convert bot module (except bot/modules/orders) to TypeScript. Had to make several changes to IOrder model to allow some fields to have null or undefined value, as there is code that assigns these values. Also changed signature of several functions in bot/messages.ts so that `bot` argument now has `MainContext` type instead of `Telegraf<MainContext>`, because that's what gets passed by code that is calling those functions. * bot: introduced HasTelegram type Introduced HasTelegram type for use in functions that have `bot` argument, which can be either `Context` or `Telegraf<Context>`, but only `telegram` property is used. * bot/modules/orders: convert to TS Convert bot/modules/orders module to TypeScript.
Configuration menu - View commit details
-
Copy full SHA for 22a0ec9 - Browse repository at this point
Copy the full SHA 22a0ec9View commit details
There are no files selected for viewing