Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Mitigate little changes after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
MexicanSparker committed Sep 2, 2022
1 parent 42b05ec commit ee24bbe
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mean-dao/msp",
"version": "3.0.0-alpha.10",
"version": "3.0.0-alpha.11",
"description": "MSP Typescript SDK",
"private": false,
"main": "lib/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/msp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ export class MSP {
this.program = createProgram(this.connection, programId);
}

public async getStream(id: PublicKey, friendly = true): Promise<any> {
return getStream(this.program, id, friendly);
public async getStream(id: PublicKey): Promise<any> {
return getStream(this.program, id);
}

public async refreshStream(
Expand Down
10 changes: 5 additions & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ export type TransactionMessage = {
};

export interface ListStreamParams {
treasurer?: PublicKey | undefined;
treasury?: PublicKey | undefined;
beneficiary?: PublicKey | undefined;
treasurer?: PublicKey;
treasury?: PublicKey;
beneficiary?: PublicKey;
commitment?: Commitment;
category?: Category;
subCategory?: SubCategory;
}

/**
* Stream activity (Friendly version with PublicKeys converted to string)
* Stream activity
*/
export type StreamActivity = {
signature: string;
Expand All @@ -96,7 +96,7 @@ export type StreamActivityRaw = {
};

/**
* Vesting treasury activity (Friendly version with PublicKeys converted to string)
* Vesting treasury activity
*/
export type VestingTreasuryActivity = {
signature: string;
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
},
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Recommended",
"exclude": ["tests/*", "test_scripts/*"]
"exclude": ["tests/*", "test_scripts/*", "lib/*"]
}

0 comments on commit ee24bbe

Please sign in to comment.