@levrbet/shared 0.1.153 → 0.1.154
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/core/contracts/constants.js +2 -2
- package/dist/core/contracts/constants.js.map +1 -1
- package/dist/core/prisma/generated/client.js +1 -0
- package/dist/core/prisma/generated/default.js +1 -0
- package/dist/core/prisma/generated/edge.js +11 -10
- package/dist/core/prisma/generated/index-browser.js +6 -5
- package/dist/core/prisma/generated/index.d.ts +84 -84
- package/dist/core/prisma/generated/index.js +11 -10
- package/dist/core/prisma/generated/libquery_engine-linux-musl-openssl-3.0.x.so.node +0 -0
- package/dist/core/prisma/generated/package.json +2 -2
- package/dist/core/prisma/generated/runtime/edge-esm.js +4 -3
- package/dist/core/prisma/generated/runtime/edge.js +4 -3
- package/dist/core/prisma/generated/runtime/index-browser.js +1 -0
- package/dist/core/prisma/generated/runtime/library.js +3 -2
- package/dist/core/prisma/generated/runtime/react-native.js +3 -2
- package/dist/core/prisma/generated/runtime/wasm-compiler-edge.js +4 -3
- package/dist/core/prisma/generated/runtime/wasm-engine-edge.js +3 -2
- package/dist/core/prisma/generated/schema.prisma +3 -3
- package/dist/core/prisma/generated/wasm-edge-light-loader.mjs +1 -0
- package/dist/core/prisma/generated/wasm-worker-loader.mjs +1 -0
- package/dist/core/prisma/generated/wasm.js +11 -10
- package/dist/core/types/oracle/fixture.types.d.ts +5 -5
- package/dist/core/types/oracle/fixture.types.js.map +1 -1
- package/dist/core/types/oracle/game/game.types.d.ts +2 -2
- package/dist/core/types/oracle/game/game.types.js +2 -2
- package/dist/core/types/oracle/game/game.types.js.map +1 -1
- package/dist/core/types/oracle/game/zod.game.types.js +1 -1
- package/dist/core/types/oracle/game/zod.game.types.js.map +1 -1
- package/dist/core/types/oracle/market/markets.types.d.ts +3 -3
- package/dist/core/types/oracle/requests/game.request.types.js +1 -1
- package/dist/core/types/oracle/requests/game.request.types.js.map +1 -1
- package/dist/core/types/oracle/requests/market.request.types.js +1 -1
- package/dist/core/types/oracle/requests/market.request.types.js.map +1 -1
- package/dist/core/types/oracle/requests/odds.response.types.d.ts +2 -2
- package/dist/server/oracle/redis-cache-manager/cache.keys.utils.d.ts +4 -4
- package/dist/server/oracle/redis-cache-manager/cache.keys.utils.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/game.cache.service.js +2 -2
- package/dist/server/oracle/redis-cache-manager/game.cache.service.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/market.cache.service.d.ts +13 -13
- package/dist/server/oracle/redis-cache-manager/market.cache.service.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Redis } from "ioredis";
|
|
2
|
-
import { type Market,
|
|
2
|
+
import { type Market, MarketType, MarketWithRelations, type Odds } from "../../../core";
|
|
3
3
|
/**
|
|
4
4
|
* A collection of functions to manage market and odds data in Redis cache
|
|
5
5
|
* These functions handle operations like setting, getting, and invalidating market data and odds
|
|
@@ -27,7 +27,7 @@ export declare const setMarketDataCache: (redis: Redis, market: Market) => Promi
|
|
|
27
27
|
* @param marketType - Type of market (e.g., Fulltime)
|
|
28
28
|
* @audit @dev might look into the field, seems this operations could be simpler
|
|
29
29
|
*/
|
|
30
|
-
export declare const setCompletedMarketsKeysAndFields: (redis: Redis, gameUniqueIdentifier: string, marketType:
|
|
30
|
+
export declare const setCompletedMarketsKeysAndFields: (redis: Redis, gameUniqueIdentifier: string, marketType: MarketType) => Promise<void>;
|
|
31
31
|
/**
|
|
32
32
|
* Retrieves all completed markets for a specific market type
|
|
33
33
|
* @param redis - Redis client instance
|
|
@@ -35,7 +35,7 @@ export declare const setCompletedMarketsKeysAndFields: (redis: Redis, gameUnique
|
|
|
35
35
|
* @returns Array of game unique identifiers for completed markets
|
|
36
36
|
* @dev This function fetches all completed markets keys for a given market type
|
|
37
37
|
*/
|
|
38
|
-
export declare const getCompletedMarketsKeys: (redis: Redis, marketType:
|
|
38
|
+
export declare const getCompletedMarketsKeys: (redis: Redis, marketType: MarketType) => Promise<string[]>;
|
|
39
39
|
/**
|
|
40
40
|
* Retrieves completed markets data for multiple games
|
|
41
41
|
* @param redis - Redis client instance
|
|
@@ -43,14 +43,14 @@ export declare const getCompletedMarketsKeys: (redis: Redis, marketType: MarketT
|
|
|
43
43
|
* @param marketType - Type of market to retrieve
|
|
44
44
|
* @returns Array of Market objects or null if none found
|
|
45
45
|
*/
|
|
46
|
-
export declare const getCompletedMarkets: (redis: Redis, marketType:
|
|
46
|
+
export declare const getCompletedMarkets: (redis: Redis, marketType: MarketType) => Promise<Market[] | null>;
|
|
47
47
|
/**
|
|
48
48
|
* Removes completed markets keys and fields from Redis cache
|
|
49
49
|
* @param redis - Redis client instance
|
|
50
50
|
* @param gameUniqueIdentifier - Unique identifier for the game
|
|
51
51
|
* @param marketType - Type of market to remove
|
|
52
52
|
*/
|
|
53
|
-
export declare const removeCompletedMarketsKeysAndFields: (redis: Redis, gameUniqueIdentifier: string, marketType:
|
|
53
|
+
export declare const removeCompletedMarketsKeysAndFields: (redis: Redis, gameUniqueIdentifier: string, marketType: MarketType) => Promise<void>;
|
|
54
54
|
/**
|
|
55
55
|
* Retrieves market data from cache for a specific game and market type
|
|
56
56
|
* @param redis - Redis client instance
|
|
@@ -58,7 +58,7 @@ export declare const removeCompletedMarketsKeysAndFields: (redis: Redis, gameUni
|
|
|
58
58
|
* @param marketType - Type of market to retrieve
|
|
59
59
|
* @returns Market object or null if not found
|
|
60
60
|
*/
|
|
61
|
-
export declare const getMarketDataCache: (redis: Redis, gameUniqueIdentifier: string, marketType:
|
|
61
|
+
export declare const getMarketDataCache: (redis: Redis, gameUniqueIdentifier: string, marketType: MarketType) => Promise<Market | null>;
|
|
62
62
|
/**
|
|
63
63
|
* Retrieves market data with associated odds for multiple games and market types
|
|
64
64
|
* @param redis - Redis client instance
|
|
@@ -66,14 +66,14 @@ export declare const getMarketDataCache: (redis: Redis, gameUniqueIdentifier: st
|
|
|
66
66
|
* @param marketTypes - Array of market types to retrieve
|
|
67
67
|
* @returns Map of game IDs to their markets with odds
|
|
68
68
|
*/
|
|
69
|
-
export declare const getMarketDataCacheWithOdds: (redis: Redis, gameUniqueIdentifiers: string[], marketTypes:
|
|
69
|
+
export declare const getMarketDataCacheWithOdds: (redis: Redis, gameUniqueIdentifiers: string[], marketTypes: MarketType[]) => Promise<Map<string, MarketWithRelations[]> | null>;
|
|
70
70
|
/**
|
|
71
71
|
* Invalidates market data in cache for a specific game and market type
|
|
72
72
|
* @param redis - Redis client instance
|
|
73
73
|
* @param gameUniqueIdentifier - Unique identifier for the game
|
|
74
74
|
* @param marketType - Type of market to invalidate
|
|
75
75
|
*/
|
|
76
|
-
export declare const invalidateMarketDataCache: (redis: Redis, gameUniqueIdentifier: string, marketType:
|
|
76
|
+
export declare const invalidateMarketDataCache: (redis: Redis, gameUniqueIdentifier: string, marketType: MarketType) => Promise<void>;
|
|
77
77
|
/**
|
|
78
78
|
* Retrieves all odds from cache for a specific game and market type
|
|
79
79
|
* @param redis - Redis client instance
|
|
@@ -81,7 +81,7 @@ export declare const invalidateMarketDataCache: (redis: Redis, gameUniqueIdentif
|
|
|
81
81
|
* @param marketType - Type of market
|
|
82
82
|
* @returns Array of Odds objects
|
|
83
83
|
*/
|
|
84
|
-
export declare const getOddsCache: (redis: Redis, gameUniqueIdentifier: string, marketType:
|
|
84
|
+
export declare const getOddsCache: (redis: Redis, gameUniqueIdentifier: string, marketType: MarketType) => Promise<Odds[]>;
|
|
85
85
|
/**
|
|
86
86
|
* Retrieves the latest odds from cache for a specific game and market type
|
|
87
87
|
* @param redis - Redis client instance
|
|
@@ -89,7 +89,7 @@ export declare const getOddsCache: (redis: Redis, gameUniqueIdentifier: string,
|
|
|
89
89
|
* @param marketType - Type of market
|
|
90
90
|
* @returns Latest Odds object or null if not found
|
|
91
91
|
*/
|
|
92
|
-
export declare const getLatestOddsCache: (redis: Redis, gameUniqueIdentifier: string, marketType:
|
|
92
|
+
export declare const getLatestOddsCache: (redis: Redis, gameUniqueIdentifier: string, marketType: MarketType) => Promise<Odds | null>;
|
|
93
93
|
/**
|
|
94
94
|
* Synchronizes the market odds cache with the database
|
|
95
95
|
* @param redis - Redis client instance
|
|
@@ -97,14 +97,14 @@ export declare const getLatestOddsCache: (redis: Redis, gameUniqueIdentifier: st
|
|
|
97
97
|
* @param marketType - Type of market
|
|
98
98
|
* @returns Boolean indicating success of synchronization
|
|
99
99
|
*/
|
|
100
|
-
export declare const syncMarketOddsCache: (redis: Redis, gameUniqueIdentifier: string, marketType:
|
|
100
|
+
export declare const syncMarketOddsCache: (redis: Redis, gameUniqueIdentifier: string, marketType: MarketType) => Promise<boolean>;
|
|
101
101
|
/**
|
|
102
102
|
* Invalidates the market odds cache for a specific game and market
|
|
103
103
|
* @param redis - Redis client instance
|
|
104
104
|
* @param gameUniqueIdentifier - Unique identifier for the game
|
|
105
105
|
* @param marketType - Type of market
|
|
106
106
|
*/
|
|
107
|
-
export declare const invalidateMarketOddsCache: (redis: Redis, gameUniqueIdentifier: string, marketType:
|
|
107
|
+
export declare const invalidateMarketOddsCache: (redis: Redis, gameUniqueIdentifier: string, marketType: MarketType) => Promise<void>;
|
|
108
108
|
/**
|
|
109
109
|
* Adds new odds to the cache for a specific game and market type
|
|
110
110
|
* @param redis - Redis client instance
|
|
@@ -112,4 +112,4 @@ export declare const invalidateMarketOddsCache: (redis: Redis, gameUniqueIdentif
|
|
|
112
112
|
* @param marketType - Type of market
|
|
113
113
|
* @param odds - Array of new odds to add
|
|
114
114
|
*/
|
|
115
|
-
export declare const addOddsCache: (redis: Redis, gameUniqueIdentifier: string, marketType:
|
|
115
|
+
export declare const addOddsCache: (redis: Redis, gameUniqueIdentifier: string, marketType: MarketType, odds: Odds[]) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market.cache.service.js","sourceRoot":"","sources":["../../../../src/server/oracle/redis-cache-manager/market.cache.service.ts"],"names":[],"mappings":";;;;;;AACA,
|
|
1
|
+
{"version":3,"file":"market.cache.service.js","sourceRoot":"","sources":["../../../../src/server/oracle/redis-cache-manager/market.cache.service.ts"],"names":[],"mappings":";;;;;;AACA,wCAAmG;AACnG,mEAAyC;AACzC,yDAQ2B;AAE3B;;;GAGG;AAEH;;;;;;;;;GASG;AACI,MAAM,kBAAkB,GAAG,KAAK,EAAE,KAAY,EAAE,MAAc,EAAiB,EAAE;IACpF,MAAM,GAAG,GAAG,IAAA,8DAA2C,EAAC,MAAM,CAAC,gBAAgB,CAAC,CAAA;IAChF,MAAM,KAAK,GAAG,MAAM,CAAC,UAAU,CAAA;IAC/B,MAAM,OAAO,GAAG,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAmB,CAAA;IACxF,IAAI,OAAO,IAAI,iCAAc,CAAC,OAAO,EAAE,CAAC;QACpC,iBAAM,CAAC,KAAK,CAAC,4CAA4C,MAAM,CAAC,QAAQ,oBAAoB,KAAK,EAAE,CAAC,CAAA;IACxG,CAAC;AACL,CAAC,CAAA;AAPY,QAAA,kBAAkB,sBAO9B;AAED;;;;;;;;;;;GAWG;AACI,MAAM,gCAAgC,GAAG,KAAK,EACjD,KAAY,EACZ,oBAA4B,EAC5B,UAAsB,EACT,EAAE;IACf,MAAM,GAAG,GAAG,IAAA,yCAAsB,EAAC,UAAU,CAAC,CAAA;IAC9C,MAAM,KAAK,GAAG,IAAA,2CAAwB,EAAC,oBAAoB,EAAE,UAAU,CAAC,CAAA;IACxE,MAAM,OAAO,GAAG,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,oBAAoB,CAAC,CAAmB,CAAA;IACtF,IAAI,OAAO,GAAG,iCAAc,CAAC,OAAO,EAAE,CAAC;QACnC,iBAAM,CAAC,KAAK,CAAC,gDAAgD,oBAAoB,oBAAoB,UAAU,EAAE,CAAC,CAAA;IACtH,CAAC;AACL,CAA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AyB,CAAA;QACrC,MAAM,KAAK,GAAG,IAAA,qCAAkB,EAAC,oBAAoB,EAAE,UAAU,CAAC,CAAA;QAElE,MAAM,aAAa,GAAG,MAAM,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;QAClD,MAAM;QAEN,MAAM,UAAU,GAAW,aAAa,CAAC,CAAC,CAAE,IAAI,CAAC,KAAK,CAAC,aAAa,CAAY,CAAC,CAAC,CAAC,EAAE,CAAA;QAErF,KAAK,MAAM,IAAI,IAAI,IAAI,EAAE,CAAC;YACtB,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACzB,CAAC;QAED,MAAM,OAAO,GAAG,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAmB,CAAA;QAC5F,IAAI,OAAO,IAAI,iCAAc,CAAC,OAAO,EAAE,CAAC;YACpC,iBAAM,CAAC,KAAK,CAAC,wCAAwC,oBAAoB,oBAAoB,UAAU,EAAE,CAAC,CAAA;QAC9G,CAAC;IACL,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACX,iBAAM,CAAC,KAAK,CAAC,4BAA4B,EAAE,GAAG,CAAC,CAAA;IACnD,CAAC;AACL,CAAC,CAAA;AA1BY,QAAA,YAAY,gBA0BxB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@levrbet/shared",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.154",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@types/object-hash": "^3.0.6",
|
|
68
68
|
"@types/react": ">=18.0.0",
|
|
69
69
|
"cross-fetch": "^4.1.0",
|
|
70
|
-
"prisma": "^6.
|
|
70
|
+
"prisma": "^6.19.0",
|
|
71
71
|
"react": ">=18.0.0",
|
|
72
72
|
"tsx": "^4.20.6",
|
|
73
73
|
"typescript": "^5.9.3"
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@opentelemetry/sdk-metrics": "^2.1.0",
|
|
86
86
|
"@opentelemetry/sdk-node": "^0.206.0",
|
|
87
87
|
"@openzeppelin/relayer-sdk": "^1.6.0",
|
|
88
|
-
"@prisma/client": "^6.
|
|
88
|
+
"@prisma/client": "^6.19.0",
|
|
89
89
|
"@privy-io/node": "^0.3.0",
|
|
90
90
|
"@types/amqplib": "^0.10.7",
|
|
91
91
|
"amqplib": "^0.10.9",
|