@reyaxyz/api-sdk 0.147.13 → 0.148.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.
|
@@ -10,6 +10,10 @@ exports.LOTTERY_CONFIGS = {
|
|
|
10
10
|
address: '0x1Fe50318e5E3165742eDC9c4a15d997bDB935Eb9',
|
|
11
11
|
marginAccountId: 20092,
|
|
12
12
|
},
|
|
13
|
+
jp: {
|
|
14
|
+
address: '0x1Fe50318e5E3165742eDC9c4a15d997bDB935Eb9',
|
|
15
|
+
marginAccountId: 20092,
|
|
16
|
+
},
|
|
13
17
|
test: {
|
|
14
18
|
address: '0xaE173a960084903b1d278Ff9E3A81DeD82275556',
|
|
15
19
|
marginAccountId: 6888,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"/","sources":["clients/modules/lottery/constants.ts"],"names":[],"mappings":";;;AAOa,QAAA,eAAe,GAA8C;IACxE,KAAK,EAAE;QACL,OAAO,EAAE,4CAA4C;QACrD,eAAe,EAAE,IAAI;KACtB;IACD,UAAU,EAAE;QACV,OAAO,EAAE,4CAA4C;QACrD,eAAe,EAAE,KAAK;KACvB;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,4CAA4C;QACrD,eAAe,EAAE,IAAI;KACtB;CACF,CAAC","sourcesContent":["import { MarginAccountEntity, ServiceEnvironment } from '@reyaxyz/common';\n\ntype LotteryConfig = {\n address: string;\n marginAccountId: MarginAccountEntity['id'];\n};\n\nexport const LOTTERY_CONFIGS: Record<ServiceEnvironment, LotteryConfig> = {\n local: {\n address: '0xaE173a960084903b1d278Ff9E3A81DeD82275556',\n marginAccountId: 6888,\n },\n production: {\n address: '0x1Fe50318e5E3165742eDC9c4a15d997bDB935Eb9',\n marginAccountId: 20092,\n },\n test: {\n address: '0xaE173a960084903b1d278Ff9E3A81DeD82275556',\n marginAccountId: 6888,\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"/","sources":["clients/modules/lottery/constants.ts"],"names":[],"mappings":";;;AAOa,QAAA,eAAe,GAA8C;IACxE,KAAK,EAAE;QACL,OAAO,EAAE,4CAA4C;QACrD,eAAe,EAAE,IAAI;KACtB;IACD,UAAU,EAAE;QACV,OAAO,EAAE,4CAA4C;QACrD,eAAe,EAAE,KAAK;KACvB;IACD,EAAE,EAAE;QACF,OAAO,EAAE,4CAA4C;QACrD,eAAe,EAAE,KAAK;KACvB;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,4CAA4C;QACrD,eAAe,EAAE,IAAI;KACtB;CACF,CAAC","sourcesContent":["import { MarginAccountEntity, ServiceEnvironment } from '@reyaxyz/common';\n\ntype LotteryConfig = {\n address: string;\n marginAccountId: MarginAccountEntity['id'];\n};\n\nexport const LOTTERY_CONFIGS: Record<ServiceEnvironment, LotteryConfig> = {\n local: {\n address: '0xaE173a960084903b1d278Ff9E3A81DeD82275556',\n marginAccountId: 6888,\n },\n production: {\n address: '0x1Fe50318e5E3165742eDC9c4a15d997bDB935Eb9',\n marginAccountId: 20092,\n },\n jp: {\n address: '0x1Fe50318e5E3165742eDC9c4a15d997bDB935Eb9',\n marginAccountId: 20092,\n },\n test: {\n address: '0xaE173a960084903b1d278Ff9E3A81DeD82275556',\n marginAccountId: 6888,\n },\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"/","sources":["clients/modules/lottery/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1E,KAAK,aAAa,GAAG;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,kBAAkB,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"/","sources":["clients/modules/lottery/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1E,KAAK,aAAa,GAAG;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,kBAAkB,EAAE,aAAa,CAiBrE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reyaxyz/api-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.148.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"generate:coverage-badges": "npx istanbul-badges-readme --silent"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@reyaxyz/common": "0.
|
|
36
|
+
"@reyaxyz/common": "0.246.0",
|
|
37
37
|
"@simplewebauthn/types": "^10.0.0",
|
|
38
38
|
"axios": "^1.6.2",
|
|
39
39
|
"bignumber.js": "^9.1.2",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"ws": "^8.16.0"
|
|
43
43
|
},
|
|
44
44
|
"packageManager": "pnpm@8.3.1",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "4e70c252c068943d6292056e5c492eae3561c42b",
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@reyaxyz/database": "0.115.
|
|
47
|
+
"@reyaxyz/database": "0.115.5"
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -14,6 +14,10 @@ export const LOTTERY_CONFIGS: Record<ServiceEnvironment, LotteryConfig> = {
|
|
|
14
14
|
address: '0x1Fe50318e5E3165742eDC9c4a15d997bDB935Eb9',
|
|
15
15
|
marginAccountId: 20092,
|
|
16
16
|
},
|
|
17
|
+
jp: {
|
|
18
|
+
address: '0x1Fe50318e5E3165742eDC9c4a15d997bDB935Eb9',
|
|
19
|
+
marginAccountId: 20092,
|
|
20
|
+
},
|
|
17
21
|
test: {
|
|
18
22
|
address: '0xaE173a960084903b1d278Ff9E3A81DeD82275556',
|
|
19
23
|
marginAccountId: 6888,
|