Skip to content

Commit

Permalink
Merge branch 'darc-protocol-dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
lidangzzz committed May 8, 2023
2 parents f75ceb6 + 473ae21 commit 65cef29
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion darc-js/dist/DARC/DARC.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ export declare class DARC {
* @returns the DARC member list.
*/
getMemberList(): Promise<string[]>;
getMemberInfo(): Promise<any>;
getMemberInfo(memberAddress: string): Promise<any>;
}
//# sourceMappingURL=DARC.d.ts.map
2 changes: 1 addition & 1 deletion darc-js/dist/DARC/DARC.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions darc-js/dist/DARC/DARC.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion darc-js/dist/DARC/DARC.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion darc-js/dist/darcjs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ import { deployDARC } from './runtime/runtime';
import { transpiler } from './transpiler';
import { DARC, InitParam, TokenInfo, MemberInfo } from './DARC/DARC';
import { darcBinary, DARCBinaryStruct, DARC_VERSION } from './darcBinary/darcBinary';
export { deployDARC, transpiler, DARC, InitParam, TokenInfo, MemberInfo, darcBinary, DARCBinaryStruct, DARC_VERSION };
import { ethers } from 'ethers';
export { deployDARC, transpiler, DARC, InitParam, TokenInfo, MemberInfo, darcBinary, DARCBinaryStruct, DARC_VERSION, ethers };
//# sourceMappingURL=darcjs.d.ts.map
2 changes: 1 addition & 1 deletion darc-js/dist/darcjs.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion darc-js/dist/darcjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion darc-js/dist/darcjs.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion darc-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"name": "darcjs",
"description": "The official JavaScript client and SDK for Project DARC (Decentralized Autonomous Regulated Company), and the compiler and runtime for By-Law Script.",
"version": "0.0.6",
"version": "0.0.7",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions darc-js/src/DARC/DARC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ export class DARC {
return await this.darcContract.getMemberList();
}

async getMemberInfo(): Promise<any> {
return await this.darcContract.getMemberInfo();
async getMemberInfo(memberAddress:string): Promise<any> {
return await this.darcContract.getMemberInfo(memberAddress);
}

}

0 comments on commit 65cef29

Please sign in to comment.