@joystream/hydra-common
Advanced tools
Comparing version 3.1.0-alpha.13 to 3.1.0-alpha.15
@@ -6,2 +6,18 @@ # Change Log | ||
## 3.1.0-alpha.15 (2021-12-23) | ||
**Note:** Version bump only for package @joystream/hydra-common | ||
## 3.1.0-alpha.14 (2021-11-22) | ||
**Note:** Version bump only for package @joystream/hydra-common | ||
## 3.1.0-alpha.13 (2021-10-30) | ||
@@ -8,0 +24,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./interfaces"), exports); | ||
tslib_1.__exportStar(require("./utils"), exports); | ||
(0, tslib_1.__exportStar)(require("./interfaces"), exports); | ||
(0, tslib_1.__exportStar)(require("./utils"), exports); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./json-types"), exports); | ||
tslib_1.__exportStar(require("./payloads"), exports); | ||
tslib_1.__exportStar(require("./contexts"), exports); | ||
tslib_1.__exportStar(require("./store"), exports); | ||
tslib_1.__exportStar(require("./typeorm"), exports); | ||
tslib_1.__exportStar(require("./substrate-interfaces"), exports); | ||
(0, tslib_1.__exportStar)(require("./json-types"), exports); | ||
(0, tslib_1.__exportStar)(require("./payloads"), exports); | ||
(0, tslib_1.__exportStar)(require("./contexts"), exports); | ||
(0, tslib_1.__exportStar)(require("./store"), exports); | ||
(0, tslib_1.__exportStar)(require("./typeorm"), exports); | ||
(0, tslib_1.__exportStar)(require("./substrate-interfaces"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
function toPayload(sb) { | ||
return Object.assign(Object.assign({}, lodash_1.pick(sb, [ | ||
return Object.assign(Object.assign({}, (0, lodash_1.pick)(sb, [ | ||
'events', | ||
@@ -9,0 +9,0 @@ 'extrinsics', |
@@ -10,3 +10,3 @@ "use strict"; | ||
cache.put(2, '2'); | ||
chai_1.expect(cache.firstKey()).to.equal(1); | ||
(0, chai_1.expect)(cache.firstKey()).to.equal(1); | ||
}); | ||
@@ -17,4 +17,4 @@ it('should lookup keys and values', () => { | ||
cache.put(2, '2'); | ||
chai_1.expect(cache.getKey('1')).to.equal(1); | ||
chai_1.expect(cache.get(2)).to.equal('2'); | ||
(0, chai_1.expect)(cache.getKey('1')).to.equal(1); | ||
(0, chai_1.expect)(cache.get(2)).to.equal('2'); | ||
}); | ||
@@ -26,9 +26,9 @@ it('should evict at max capacity', () => { | ||
cache.put(3, '3'); | ||
chai_1.expect(cache.firstKey()).to.equal(2); | ||
chai_1.expect(cache.size()).to.equal(2); | ||
chai_1.expect(cache.getKey('1')).to.be.undefined; | ||
chai_1.expect(cache.get(1)).to.be.undefined; | ||
chai_1.expect(cache.get(3)).to.equal('3'); | ||
(0, chai_1.expect)(cache.firstKey()).to.equal(2); | ||
(0, chai_1.expect)(cache.size()).to.equal(2); | ||
(0, chai_1.expect)(cache.getKey('1')).to.be.undefined; | ||
(0, chai_1.expect)(cache.get(1)).to.be.undefined; | ||
(0, chai_1.expect)(cache.get(3)).to.equal('3'); | ||
}); | ||
}); | ||
//# sourceMappingURL=FIFOCache.test.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./errors"), exports); | ||
tslib_1.__exportStar(require("./format"), exports); | ||
tslib_1.__exportStar(require("./FIFOCache"), exports); | ||
(0, tslib_1.__exportStar)(require("./errors"), exports); | ||
(0, tslib_1.__exportStar)(require("./format"), exports); | ||
(0, tslib_1.__exportStar)(require("./FIFOCache"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@joystream/hydra-common", | ||
"version": "3.1.0-alpha.13", | ||
"version": "3.1.0-alpha.15", | ||
"description": "Common Hydra tools", | ||
@@ -17,3 +17,3 @@ "main": "lib/index.js", | ||
"pub": "yarn build && yarn publish --access public", | ||
"build": "rm -rf lib && tsc --build tsconfig.json", | ||
"build": "rm -rf lib && yarn tsc --build tsconfig.json", | ||
"lint": "eslint . --cache --ext .ts", | ||
@@ -31,6 +31,6 @@ "prepack": "yarn build", | ||
"nyc": "^15.1.0", | ||
"ts-node": "^9.0.0", | ||
"typescript": "^3.8" | ||
"ts-node": "^10.2.1", | ||
"typescript": "4.4.2" | ||
}, | ||
"gitHead": "81f1243e8302405d555fe2770a8e17d596c42dfa" | ||
"gitHead": "f94957662f2f13a4a699e039b670db6ff941794f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
40517