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

Commit

Permalink
integration tests working
Browse files Browse the repository at this point in the history
  • Loading branch information
ayazzz committed Sep 13, 2022
1 parent bfe1733 commit 6034e86
Show file tree
Hide file tree
Showing 4 changed files with 218 additions and 109 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.15",
"version": "3.0.0-alpha.16",
"description": "MSP Typescript SDK",
"private": false,
"main": "lib/index.js",
Expand Down
6 changes: 3 additions & 3 deletions src/msp.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Solana
*/
import {
import {
AccountInfo,
Commitment,
Connection,
Expand Down Expand Up @@ -2037,7 +2037,7 @@ export class MSP {
public async withdraw(
payer: PublicKey,
stream: PublicKey,
amount: number,
amount: number | string,
autoWSol = false,
): Promise<Transaction> {
if (!amount) {
Expand Down Expand Up @@ -2753,7 +2753,7 @@ export class MSP {
payer: PublicKey,
destination: PublicKey,
treasury: PublicKey,
amount: number,
amount: number | string,
autoWSol = false,
): Promise<Transaction> {
const treasuryInfo = await getTreasury(this.program, treasury);
Expand Down
Loading

0 comments on commit 6034e86

Please sign in to comment.