@reyaxyz/community-sdk 0.30.6 → 0.30.8
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"/","sources":["modules/vote/types.ts"],"names":[],"mappings":"","sourcesContent":["import { JsonRpcSigner, Signer } from 'ethers';\nimport { VoteDetailsEntity, VoteStatusEntity } from '@reyaxyz/common';\n\nexport type VoteResult = {\n transactionHash: string | null;\n};\n\nexport type GetVoteDetailsParams = {\n id: VoteDetailsEntity['id'];\n};\nexport type GetVoteDetailsResult = VoteDetailsEntity;\n\nexport type VoteParams = {\n id: VoteDetailsEntity['id'];\n voted: 'yes' | 'no';\n signer: Signer | JsonRpcSigner;\n};\n\nexport type GetVoteStatusParams = {\n address: string;\n id: VoteDetailsEntity['id'];\n};\nexport type GetVoteStatusResult = VoteStatusEntity;\n"]}
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"/","sources":["modules/vote/types.ts"],"names":[],"mappings":"","sourcesContent":["import { JsonRpcSigner, Signer } from 'ethers';\nimport { VoteDetailsEntity, VoteStatusEntity } from '@reyaxyz/common';\n\nexport type VoteResult = {\n transactionHash: string | null;\n};\n\nexport type GetVoteDetailsParams = {\n id: VoteDetailsEntity['id'];\n // TODO: Ioana make this required and remove id\n slug?: VoteDetailsEntity['slug'];\n};\nexport type GetVoteDetailsResult = VoteDetailsEntity;\n\nexport type VoteParams = {\n id: VoteDetailsEntity['id'];\n // TODO: Ioana make this required and remove id\n slug?: VoteDetailsEntity['slug'];\n voted: 'yes' | 'no';\n signer: Signer | JsonRpcSigner;\n};\n\nexport type GetVoteStatusParams = {\n address: string;\n id: VoteDetailsEntity['id'];\n // TODO: Ioana make this required and remove id\n slug?: VoteDetailsEntity['slug'];\n};\nexport type GetVoteStatusResult = VoteStatusEntity;\n"]}
|
|
@@ -5,16 +5,19 @@ export type VoteResult = {
|
|
|
5
5
|
};
|
|
6
6
|
export type GetVoteDetailsParams = {
|
|
7
7
|
id: VoteDetailsEntity['id'];
|
|
8
|
+
slug?: VoteDetailsEntity['slug'];
|
|
8
9
|
};
|
|
9
10
|
export type GetVoteDetailsResult = VoteDetailsEntity;
|
|
10
11
|
export type VoteParams = {
|
|
11
12
|
id: VoteDetailsEntity['id'];
|
|
13
|
+
slug?: VoteDetailsEntity['slug'];
|
|
12
14
|
voted: 'yes' | 'no';
|
|
13
15
|
signer: Signer | JsonRpcSigner;
|
|
14
16
|
};
|
|
15
17
|
export type GetVoteStatusParams = {
|
|
16
18
|
address: string;
|
|
17
19
|
id: VoteDetailsEntity['id'];
|
|
20
|
+
slug?: VoteDetailsEntity['slug'];
|
|
18
21
|
};
|
|
19
22
|
export type GetVoteStatusResult = VoteStatusEntity;
|
|
20
23
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"/","sources":["modules/vote/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG;IACvB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"/","sources":["modules/vote/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG;IACvB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAE5B,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;AAErD,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAE5B,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACjC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,aAAa,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAE5B,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reyaxyz/community-sdk",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"url": "https://github.com/Reya-Labs/reya-off-chain-monorepo.git"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@reyaxyz/common": "0.
|
|
14
|
-
"@reyaxyz/sdk": "0.75.
|
|
13
|
+
"@reyaxyz/common": "0.86.1",
|
|
14
|
+
"@reyaxyz/sdk": "0.75.4",
|
|
15
15
|
"ethers": "6.9.0"
|
|
16
16
|
},
|
|
17
17
|
"main": "dist/index.js",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"generate:coverage-badges": "npx istanbul-badges-readme --silent"
|
|
39
39
|
},
|
|
40
40
|
"packageManager": "pnpm@8.3.1",
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "3ee3589647d0f07c75ccdaf78dbb6e3149bf14bf"
|
|
42
42
|
}
|
|
@@ -7,11 +7,15 @@ export type VoteResult = {
|
|
|
7
7
|
|
|
8
8
|
export type GetVoteDetailsParams = {
|
|
9
9
|
id: VoteDetailsEntity['id'];
|
|
10
|
+
// TODO: Ioana make this required and remove id
|
|
11
|
+
slug?: VoteDetailsEntity['slug'];
|
|
10
12
|
};
|
|
11
13
|
export type GetVoteDetailsResult = VoteDetailsEntity;
|
|
12
14
|
|
|
13
15
|
export type VoteParams = {
|
|
14
16
|
id: VoteDetailsEntity['id'];
|
|
17
|
+
// TODO: Ioana make this required and remove id
|
|
18
|
+
slug?: VoteDetailsEntity['slug'];
|
|
15
19
|
voted: 'yes' | 'no';
|
|
16
20
|
signer: Signer | JsonRpcSigner;
|
|
17
21
|
};
|
|
@@ -19,5 +23,7 @@ export type VoteParams = {
|
|
|
19
23
|
export type GetVoteStatusParams = {
|
|
20
24
|
address: string;
|
|
21
25
|
id: VoteDetailsEntity['id'];
|
|
26
|
+
// TODO: Ioana make this required and remove id
|
|
27
|
+
slug?: VoteDetailsEntity['slug'];
|
|
22
28
|
};
|
|
23
29
|
export type GetVoteStatusResult = VoteStatusEntity;
|