@cardcore/util
Advanced tools
Comparing version 0.0.1-a77a3a64 to 0.0.1-ab52c1f1
@@ -55,2 +55,15 @@ "use strict"; | ||
var _debug = require("./debug"); | ||
Object.keys(_debug).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function () { | ||
return _debug[key]; | ||
} | ||
}); | ||
}); | ||
var _nextActions = require("./next-actions"); | ||
@@ -57,0 +70,0 @@ |
@@ -91,7 +91,10 @@ "use strict"; | ||
if (!unitId) { | ||
console.warn(`Tried to target something I can't decrypt, ${JSON.stringify({ | ||
location, | ||
boxId, | ||
playerId | ||
})}`); | ||
// TODO FIXME this should be an error condition | ||
// console.warn( | ||
// `Tried to target something I can't decrypt, ${JSON.stringify({ | ||
// location, | ||
// boxId, | ||
// playerId | ||
// })}` | ||
// ); | ||
continue; | ||
@@ -98,0 +101,0 @@ } |
{ | ||
"name": "@cardcore/util", | ||
"version": "0.0.1-a77a3a64", | ||
"version": "0.0.1-ab52c1f1", | ||
"description": "various streamcards utilities", | ||
@@ -15,6 +15,7 @@ "main": "dist/index.js", | ||
"@streamplace/ssb-keys": "7.0.21", | ||
"debug": "^4.1.0", | ||
"isomorphic-fetch": "^2.2.1", | ||
"json-stable-stringify": "^1.0.1" | ||
}, | ||
"gitHead": "a77a3a647e3f557c168ea725660a9ce58bd04947" | ||
"gitHead": "ab52c1f155109a3acebe12ce45669bf4c12568b9" | ||
} |
@@ -8,2 +8,3 @@ import * as Keys from "./keys"; | ||
export * from "./constants"; | ||
export * from "./debug"; | ||
export * from "./next-actions"; | ||
@@ -10,0 +11,0 @@ export * from "./random-util"; |
@@ -75,9 +75,10 @@ import { | ||
if (!unitId) { | ||
console.warn( | ||
`Tried to target something I can't decrypt, ${JSON.stringify({ | ||
location, | ||
boxId, | ||
playerId | ||
})}` | ||
); | ||
// TODO FIXME this should be an error condition | ||
// console.warn( | ||
// `Tried to target something I can't decrypt, ${JSON.stringify({ | ||
// location, | ||
// boxId, | ||
// playerId | ||
// })}` | ||
// ); | ||
continue; | ||
@@ -84,0 +85,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
63115
34
1048
4
+ Addeddebug@^4.1.0
+ Addeddebug@4.4.0(transitive)
+ Addedms@2.1.3(transitive)