@bejibun/redis 0.1.30 → 0.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +17 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  <div align="center">
2
2
 
3
+ <img src="https://github.com/crenata/bejibun/blob/master/public/images/bejibun.png?raw=true" width="150" alt="Bejibun" />
4
+
3
5
  ![GitHub top language](https://img.shields.io/github/languages/top/crenata/bejibun-redis)
4
6
  ![GitHub all releases](https://img.shields.io/github/downloads/crenata/bejibun-redis/total)
5
7
  ![GitHub issues](https://img.shields.io/github/issues/crenata/bejibun-redis)
@@ -25,7 +27,11 @@ bun ace install @bejibun/redis
25
27
  ```
26
28
 
27
29
  ### Configuration
28
- Add `redis.ts` inside config directory on your project
30
+ The configuration file automatically executed if you are using `ace`.
31
+
32
+ Or
33
+
34
+ Add `redis.ts` inside config directory on your project if doesn't exist.
29
35
 
30
36
  ```bash
31
37
  config/redis.ts
@@ -80,9 +86,10 @@ export default class TestController extends BaseController {
80
86
  Logger.setContext(channel).debug(message);
81
87
  });
82
88
  await Redis.publish("redis-subscribe", "Hai redis subscriber!");
83
- setTimeout(async () => {
84
- await subscriber.unsubscribe();
85
- }, 500);
89
+
90
+ await Bun.sleep(500);
91
+
92
+ await subscriber.unsubscribe();
86
93
 
87
94
  return super.response.setData({redis, connection, pipeline}).send();
88
95
  }
@@ -94,13 +101,11 @@ export default class TestController extends BaseController {
94
101
 
95
102
  ## ☕ Support / Donate
96
103
 
97
- If you find this project helpful and want to support it, you can donate via PayPal :
98
-
99
- [![Donate with PayPal](https://img.shields.io/badge/Donate-PayPal-blue.svg?logo=paypal)](https://paypal.me/hafiizhghulam)
104
+ If you find this project helpful and want to support it, you can donate via crypto :
100
105
 
101
- Or if you are prefer using crypto :
102
-
103
- | EVM | Solana |
104
- | --- | ------ |
106
+ | EVM | Solana |
107
+ | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
105
108
  | <img src="https://github.com/crenata/bejibun/blob/master/public/images/EVM.png?raw=true" width="150" /> | <img src="https://github.com/crenata/bejibun/blob/master/public/images/SOL.png?raw=true" width="150" /> |
106
- | 0xdABe8750061410D35cE52EB2a418c8cB004788B3 | GAnoyvy9p3QFyxikWDh9hA3fmSk2uiPLNWyQ579cckMn |
109
+ | 0xdABe8750061410D35cE52EB2a418c8cB004788B3 | GAnoyvy9p3QFyxikWDh9hA3fmSk2uiPLNWyQ579cckMn |
110
+
111
+ Or you can buy this `$BJBN (Bejibun)` tokens [here](https://pump.fun/coin/CQhbNnCGKfDaKXt8uE61i5DrBYJV7NPsCDD9vQgypump), beware of bots.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bejibun/redis",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "author": "Havea Crenata <havea.crenata@gmail.com>",
5
5
  "repository": {
6
6
  "type": "git",