Comparing version 1.2.3 to 1.3.0
@@ -6,2 +6,3 @@ import { Api } from './api'; | ||
import { Module } from './module'; | ||
import { Multitool } from './multitool'; | ||
import { ClientAuth, SystemInstance } from './system'; | ||
@@ -20,3 +21,4 @@ export { Api, Auth, LiveSync, Module, LiveEvent, ClientType, ClientAuth, ConnectionType, ClientConfig, NexusConfig, LiveSyncConfig, SystemInstance, }; | ||
module: Module; | ||
multitool: Multitool; | ||
} | ||
export default function bflib(settings: ConfigSettings): Promise<BfLib>; |
@@ -32,2 +32,5 @@ "use strict"; | ||
}, | ||
get multitool() { | ||
return system_1.default.getLibModule(system_1.LibModule.MULTITOOL); | ||
}, | ||
}); | ||
@@ -34,0 +37,0 @@ }); |
{ | ||
"name": "bf-lib", | ||
"version": "1.2.3", | ||
"version": "1.3.0", | ||
"private": false, | ||
@@ -69,3 +69,3 @@ "description": "the standard client library for block-5 services", | ||
"axios": "^0.19.0", | ||
"bf-types": "^2.5.66", | ||
"bf-types": "^2.5.141", | ||
"socket.io-client": "^2.3.0", | ||
@@ -79,15 +79,15 @@ "socket.io-msgpack-parser": "^2.2.0", | ||
"@types/axios": "^0.14.0", | ||
"@types/jest": "^24.0.18", | ||
"@types/node": "^12.7.9", | ||
"@types/jest": "^24.0.23", | ||
"@types/node": "^12.12.17", | ||
"@types/socket.io-client": "^1.4.32", | ||
"@types/voca": "^1.4.0", | ||
"commitizen": "^4.0.3", | ||
"husky": "^3.0.8", | ||
"husky": "^3.1.0", | ||
"jest": "^24.9.0", | ||
"prettier": "^1.18.2", | ||
"ts-jest": "^24.1.0", | ||
"tslint": "^5.20.0", | ||
"prettier": "^1.19.1", | ||
"ts-jest": "^24.2.0", | ||
"tslint": "^5.20.1", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^3.6.3" | ||
"typescript": "^3.7.3" | ||
} | ||
} |
@@ -76,2 +76,3 @@ "use strict"; | ||
libModuleMap.set(Types_2.LibModule.MODULE, require('../module/Module').default); | ||
libModuleMap.set(Types_2.LibModule.MULTITOOL, require('../multitool/Multitool').default); | ||
const instanceMethods = { | ||
@@ -78,0 +79,0 @@ getEventBus, |
@@ -31,2 +31,3 @@ import { EnumLiteralsOf, IUserEntity } from 'bf-types'; | ||
readonly MODULE: symbol; | ||
readonly MULTITOOL: symbol; | ||
}>; | ||
@@ -33,0 +34,0 @@ export interface ClientAuth { |
@@ -9,2 +9,3 @@ "use strict"; | ||
MODULE: Symbol('MODULE'), | ||
MULTITOOL: Symbol('MULTITOOL'), | ||
}); |
64123
61
1512
Updatedbf-types@^2.5.141