diff --git a/lib/firefly.ts b/lib/firefly.ts index 1a2136e..48b4dad 100644 --- a/lib/firefly.ts +++ b/lib/firefly.ts @@ -78,7 +78,11 @@ import HttpBase, { mapConfig } from './http'; export default class FireFly extends HttpBase { private queue = Promise.resolve(); - async getStatus(options?: FireFlyGetOptions): Promise { + async getStatus(options?: FireFlyGetOptions): Promise { + return this.getOne(`/status`, options); + } + + async getDefaultNamespaceStatus(options?: FireFlyGetOptions): Promise { const response = await this.http.get('/status', mapConfig(options)); return response.data; } diff --git a/package.json b/package.json index 27a8ecd..e36a11c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hyperledger/firefly-sdk", - "version": "1.2.2", + "version": "1.2.4", "description": "Client SDK for Hyperledger FireFly", "main": "dist/index.js", "types": "dist/index.d.ts",