q-koa 13.8.1 → 13.8.2

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.
@@ -9,7 +9,7 @@ const yly = require('yly-nodejs-sdk')
9
9
  module.exports = class Singleton {
10
10
  static _instanceMap = new Map()
11
11
  constructor(config) {
12
- const key = config.cid
12
+ const key = `${config.cid}_${config.machine_code}`
13
13
  if (Singleton._instanceMap.has(key)) {
14
14
  return Singleton._instanceMap.get(key)
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "13.8.1",
3
+ "version": "13.8.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {