@spritz-finance/service-client 0.2.80 → 0.2.81

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.
@@ -64,7 +64,7 @@ export declare class TransactionsServiceClient {
64
64
  createPaymentInvoice(network: string, amount: number, paymentReference: string, tokenAddress?: string): Promise<UtxoInvoice>;
65
65
  reserveAddress(network: string, accountId: string): Promise<ReservePaymentAddressResponse>;
66
66
  getWalletMembership(address: string): Promise<AddressMembershipResponse>;
67
- getOutstandingUserTransactions(userId: string): Promise<SpritzWalletTransaction[]>;
67
+ getOutstandingUserTransactions(userId: string, accountId: string): Promise<SpritzWalletTransaction[]>;
68
68
  updateUserTransactionStatus(input: UpdateUserTransactionStatusEvent): Promise<boolean>;
69
69
  }
70
70
  export {};
@@ -46,9 +46,9 @@ class TransactionsServiceClient {
46
46
  .get(`/addresses/${address}/membership`)
47
47
  .then((res) => res.data);
48
48
  }
49
- async getOutstandingUserTransactions(userId) {
49
+ async getOutstandingUserTransactions(userId, accountId) {
50
50
  return this.client
51
- .get(`/wallet-transactions/outstanding/${userId}`)
51
+ .get(`/wallet-transactions/outstanding/${userId}/account/${accountId}`)
52
52
  .then((res) => res.data);
53
53
  }
54
54
  async updateUserTransactionStatus(input) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spritz-finance/service-client",
3
- "version": "0.2.80",
3
+ "version": "0.2.81",
4
4
  "description": "Service client",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",