From 9e312f07c98782999dcae5f99be5468316e44293 Mon Sep 17 00:00:00 2001 From: Marcin Olszowy Date: Sun, 2 Oct 2022 03:11:55 +0300 Subject: [PATCH] * version bump --- lib/index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 07dc592..2652290 100644 --- a/lib/index.js +++ b/lib/index.js @@ -12,7 +12,7 @@ const axios = require('axios').default; function Client(transferServer) { // @string The current version of this SDK, used in the HTTP user agent (leave it as is) - this.clientVersion = '0.0.1'; // good way to pull this from package.json instead? + this.clientVersion = require('../package.json').version; // @string Used in the HTTP user agent (leave it as is) this.clientName = 'sep6-client'; diff --git a/package.json b/package.json index cfcfd5c..9376ff1 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "COINQVEST LLC", "name": "sep6-client", "description": "Node JS based Stellar SEP-6 Client by COINQVEST", - "version": "0.0.2", + "version": "0.0.3", "main": "./lib/index.js", "keywords": [ "stellar",