anear-js-api 0.4.25 → 0.4.26

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.
@@ -7,6 +7,7 @@
7
7
  // for App XState Machine instantiation and execution as each new Event is created
8
8
  const { assign, createMachine, interpret } = require('xstate')
9
9
  const logger = require('../utils/Logger')
10
+ const { version: anearJsApiVersion } = require('../../package.json')
10
11
 
11
12
  const AnearApi = require('../api/AnearApi')
12
13
  const AnearEvent = require('../models/AnearEvent')
@@ -54,7 +55,7 @@ const AnearCoreServiceMachineConfig = appId => ({
54
55
  }
55
56
  },
56
57
  fetchAppDataWithRetry: {
57
- entry: (c, e) => logger.debug('AnearApi version: ', AnearApi.version),
58
+ entry: (c, e) => logger.info('anear-js-api version: ', anearJsApiVersion),
58
59
  initial: 'fetchAppData',
59
60
  states: {
60
61
  fetchAppData: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anear-js-api",
3
- "version": "0.4.25",
3
+ "version": "0.4.26",
4
4
  "description": "Javascript Developer API for Anear Apps",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {