legend-transactional 2.5.0 → 2.5.2

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.
package/dist/index.d.mts CHANGED
@@ -155,6 +155,11 @@ interface CompletedRanking {
155
155
  nftBlockchainNetwork?: string;
156
156
  nftContractAddress?: string;
157
157
  walletCryptoAsset?: string;
158
+ /** Optional notification config forwarded from rankings (dynamic template data) */
159
+ notificationConfig?: Record<string, unknown> & {
160
+ button_link?: string;
161
+ button_text?: string;
162
+ };
158
163
  }
159
164
  /**
160
165
  * Represents the possible genders a social user can have
@@ -385,6 +390,7 @@ interface EventPayload {
385
390
  description: string;
386
391
  authorEmail: string;
387
392
  rewardType: string;
393
+ startAt: string;
388
394
  endsAt: string;
389
395
  nftBlockchainNetwork?: string;
390
396
  nftContractAddress?: string;
package/dist/index.d.ts CHANGED
@@ -155,6 +155,11 @@ interface CompletedRanking {
155
155
  nftBlockchainNetwork?: string;
156
156
  nftContractAddress?: string;
157
157
  walletCryptoAsset?: string;
158
+ /** Optional notification config forwarded from rankings (dynamic template data) */
159
+ notificationConfig?: Record<string, unknown> & {
160
+ button_link?: string;
161
+ button_text?: string;
162
+ };
158
163
  }
159
164
  /**
160
165
  * Represents the possible genders a social user can have
@@ -385,6 +390,7 @@ interface EventPayload {
385
390
  description: string;
386
391
  authorEmail: string;
387
392
  rewardType: string;
393
+ startAt: string;
388
394
  endsAt: string;
389
395
  nftBlockchainNetwork?: string;
390
396
  nftContractAddress?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "legend-transactional",
3
- "version": "2.5.0",
3
+ "version": "2.5.2",
4
4
  "description": "A simple transactional, event-driven communication framework for microservices using RabbitMQ",
5
5
  "author": "Jorge Clavijo <jym272@gmail.com> (https://github.com/jym272)",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "dist"
32
32
  ],
33
33
  "dependencies": {
34
- "@types/amqplib": "^0.10.7",
34
+ "@types/amqplib": "^0.10.8",
35
35
  "amqplib": "^0.10.9",
36
36
  "mitt": "latest",
37
37
  "uuid": "^13.0.0"