legend-transactional 2.6.0 → 2.6.1
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 +1 -16
- package/dist/index.d.ts +1 -16
- package/dist/index.js +1 -10
- package/dist/index.mjs +1 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -870,12 +870,7 @@ type SocialCommands = (typeof socialCommands)[keyof typeof socialCommands];
|
|
|
870
870
|
/**
|
|
871
871
|
* Different commands related to the "legend-showcase" microservice.
|
|
872
872
|
*/
|
|
873
|
-
declare const showcaseCommands: {
|
|
874
|
-
/**
|
|
875
|
-
* Command to update the product virtual and randomize the pv-image related.
|
|
876
|
-
*/
|
|
877
|
-
readonly randomize_island_pv_image: "randomize_island_pv_image";
|
|
878
|
-
};
|
|
873
|
+
declare const showcaseCommands: {};
|
|
879
874
|
/**
|
|
880
875
|
* Available commands for the "legend-showcase" microservice.
|
|
881
876
|
*/
|
|
@@ -1217,10 +1212,6 @@ declare const createHeaderConsumers: (queueName: string, events: MicroserviceEve
|
|
|
1217
1212
|
declare const createAuditLoggingResources: () => Promise<void>;
|
|
1218
1213
|
|
|
1219
1214
|
declare const sagaTitle: {
|
|
1220
|
-
/**
|
|
1221
|
-
* Saga used in the flow to purchase resources and deduct coins from the user.
|
|
1222
|
-
*/
|
|
1223
|
-
readonly PurchaseResourceFlow: "purchase_resource_flow";
|
|
1224
1215
|
/**
|
|
1225
1216
|
* Saga used to initiate a crypto transfer for a mission winner.
|
|
1226
1217
|
*/
|
|
@@ -1235,12 +1226,6 @@ declare const sagaTitle: {
|
|
|
1235
1226
|
*/
|
|
1236
1227
|
type SagaTitle = (typeof sagaTitle)[keyof typeof sagaTitle];
|
|
1237
1228
|
interface SagaCommencePayload {
|
|
1238
|
-
['purchase_resource_flow']: {
|
|
1239
|
-
userId: string;
|
|
1240
|
-
resourceId: string;
|
|
1241
|
-
price: number;
|
|
1242
|
-
quantity: number;
|
|
1243
|
-
};
|
|
1244
1229
|
['transfer_crypto_reward_to_mission_winner']: {
|
|
1245
1230
|
walletAddress: string;
|
|
1246
1231
|
userId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -870,12 +870,7 @@ type SocialCommands = (typeof socialCommands)[keyof typeof socialCommands];
|
|
|
870
870
|
/**
|
|
871
871
|
* Different commands related to the "legend-showcase" microservice.
|
|
872
872
|
*/
|
|
873
|
-
declare const showcaseCommands: {
|
|
874
|
-
/**
|
|
875
|
-
* Command to update the product virtual and randomize the pv-image related.
|
|
876
|
-
*/
|
|
877
|
-
readonly randomize_island_pv_image: "randomize_island_pv_image";
|
|
878
|
-
};
|
|
873
|
+
declare const showcaseCommands: {};
|
|
879
874
|
/**
|
|
880
875
|
* Available commands for the "legend-showcase" microservice.
|
|
881
876
|
*/
|
|
@@ -1217,10 +1212,6 @@ declare const createHeaderConsumers: (queueName: string, events: MicroserviceEve
|
|
|
1217
1212
|
declare const createAuditLoggingResources: () => Promise<void>;
|
|
1218
1213
|
|
|
1219
1214
|
declare const sagaTitle: {
|
|
1220
|
-
/**
|
|
1221
|
-
* Saga used in the flow to purchase resources and deduct coins from the user.
|
|
1222
|
-
*/
|
|
1223
|
-
readonly PurchaseResourceFlow: "purchase_resource_flow";
|
|
1224
1215
|
/**
|
|
1225
1216
|
* Saga used to initiate a crypto transfer for a mission winner.
|
|
1226
1217
|
*/
|
|
@@ -1235,12 +1226,6 @@ declare const sagaTitle: {
|
|
|
1235
1226
|
*/
|
|
1236
1227
|
type SagaTitle = (typeof sagaTitle)[keyof typeof sagaTitle];
|
|
1237
1228
|
interface SagaCommencePayload {
|
|
1238
|
-
['purchase_resource_flow']: {
|
|
1239
|
-
userId: string;
|
|
1240
|
-
resourceId: string;
|
|
1241
|
-
price: number;
|
|
1242
|
-
quantity: number;
|
|
1243
|
-
};
|
|
1244
1229
|
['transfer_crypto_reward_to_mission_winner']: {
|
|
1245
1230
|
walletAddress: string;
|
|
1246
1231
|
userId: string;
|
package/dist/index.js
CHANGED
|
@@ -209,12 +209,7 @@ var rankingsCommands = {};
|
|
|
209
209
|
var sendEmailCommands = {};
|
|
210
210
|
|
|
211
211
|
// src/@types/saga/commands/showcase.ts
|
|
212
|
-
var showcaseCommands = {
|
|
213
|
-
/**
|
|
214
|
-
* Command to update the product virtual and randomize the pv-image related.
|
|
215
|
-
*/
|
|
216
|
-
randomize_island_pv_image: "randomize_island_pv_image"
|
|
217
|
-
};
|
|
212
|
+
var showcaseCommands = {};
|
|
218
213
|
|
|
219
214
|
// src/@types/saga/commands/social.ts
|
|
220
215
|
var socialCommands = {
|
|
@@ -241,10 +236,6 @@ var transactionalCommands = {};
|
|
|
241
236
|
|
|
242
237
|
// src/@types/saga/commence.ts
|
|
243
238
|
var sagaTitle = {
|
|
244
|
-
/**
|
|
245
|
-
* Saga used in the flow to purchase resources and deduct coins from the user.
|
|
246
|
-
*/
|
|
247
|
-
PurchaseResourceFlow: "purchase_resource_flow",
|
|
248
239
|
/**
|
|
249
240
|
* Saga used to initiate a crypto transfer for a mission winner.
|
|
250
241
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -202,12 +202,7 @@ var rankingsCommands = {};
|
|
|
202
202
|
var sendEmailCommands = {};
|
|
203
203
|
|
|
204
204
|
// src/@types/saga/commands/showcase.ts
|
|
205
|
-
var showcaseCommands = {
|
|
206
|
-
/**
|
|
207
|
-
* Command to update the product virtual and randomize the pv-image related.
|
|
208
|
-
*/
|
|
209
|
-
randomize_island_pv_image: "randomize_island_pv_image"
|
|
210
|
-
};
|
|
205
|
+
var showcaseCommands = {};
|
|
211
206
|
|
|
212
207
|
// src/@types/saga/commands/social.ts
|
|
213
208
|
var socialCommands = {
|
|
@@ -234,10 +229,6 @@ var transactionalCommands = {};
|
|
|
234
229
|
|
|
235
230
|
// src/@types/saga/commence.ts
|
|
236
231
|
var sagaTitle = {
|
|
237
|
-
/**
|
|
238
|
-
* Saga used in the flow to purchase resources and deduct coins from the user.
|
|
239
|
-
*/
|
|
240
|
-
PurchaseResourceFlow: "purchase_resource_flow",
|
|
241
232
|
/**
|
|
242
233
|
* Saga used to initiate a crypto transfer for a mission winner.
|
|
243
234
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "legend-transactional",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
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",
|