@reyaxyz/api-sdk 0.125.5 → 0.126.0

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.
@@ -8,7 +8,7 @@ exports.LOTTERY_CONFIGS = {
8
8
  },
9
9
  production: {
10
10
  address: '0x1Fe50318e5E3165742eDC9c4a15d997bDB935Eb9',
11
- marginAccountId: 1, // todo: p1 update once configs are propagated on-chain
11
+ marginAccountId: 20092,
12
12
  },
13
13
  test: {
14
14
  address: '0xaE173a960084903b1d278Ff9E3A81DeD82275556',
@@ -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,CAAC,EAAE,uDAAuD;KAC5E;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: 1, // todo: p1 update once configs are propagated on-chain\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,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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reyaxyz/api-sdk",
3
- "version": "0.125.5",
3
+ "version": "0.126.0",
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.192.2",
36
+ "@reyaxyz/common": "0.193.0",
37
37
  "@simplewebauthn/browser": "^10.0.0",
38
38
  "@simplewebauthn/types": "^10.0.0",
39
39
  "axios": "^1.6.2",
@@ -43,7 +43,7 @@
43
43
  "ws": "^8.16.0"
44
44
  },
45
45
  "packageManager": "pnpm@8.3.1",
46
- "gitHead": "706632164c099a21a43175d7a322858063f87f34",
46
+ "gitHead": "b40733eca88edb83b8938cf86e9c8dff98a1d31e",
47
47
  "devDependencies": {
48
48
  "@types/ws": "8.5.10"
49
49
  }
@@ -12,7 +12,7 @@ export const LOTTERY_CONFIGS: Record<ServiceEnvironment, LotteryConfig> = {
12
12
  },
13
13
  production: {
14
14
  address: '0x1Fe50318e5E3165742eDC9c4a15d997bDB935Eb9',
15
- marginAccountId: 1, // todo: p1 update once configs are propagated on-chain
15
+ marginAccountId: 20092,
16
16
  },
17
17
  test: {
18
18
  address: '0xaE173a960084903b1d278Ff9E3A81DeD82275556',