layer2storage
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -203,2 +203,4 @@ /*! ***************************************************************************** | ||
throw new Error('ledger id was not stored previously'); | ||
if (stored.nonce > data.nonce) | ||
return [2 /*return*/, data]; | ||
pack(data); | ||
@@ -391,5 +393,7 @@ return [2 /*return*/, lc | ||
case 1: | ||
stored = !!(_a.sent()); | ||
stored = _a.sent(); | ||
if (!stored) | ||
throw new Error('vchan id was not stored previously'); | ||
if (stored.nonce > data.nonce) | ||
return [2 /*return*/, data]; | ||
pack(data); | ||
@@ -396,0 +400,0 @@ return [2 /*return*/, lc |
@@ -209,2 +209,4 @@ (function (global, factory) { | ||
throw new Error('ledger id was not stored previously'); | ||
if (stored.nonce > data.nonce) | ||
return [2 /*return*/, data]; | ||
pack(data); | ||
@@ -397,5 +399,7 @@ return [2 /*return*/, lc | ||
case 1: | ||
stored = !!(_a.sent()); | ||
stored = _a.sent(); | ||
if (!stored) | ||
throw new Error('vchan id was not stored previously'); | ||
if (stored.nonce > data.nonce) | ||
return [2 /*return*/, data]; | ||
pack(data); | ||
@@ -402,0 +406,0 @@ return [2 /*return*/, lc |
@@ -188,2 +188,4 @@ "use strict"; | ||
throw new Error('ledger id was not stored previously'); | ||
if (stored.nonce > data.nonce) | ||
return [2 /*return*/, data]; | ||
pack(data); | ||
@@ -376,5 +378,7 @@ return [2 /*return*/, lc | ||
case 1: | ||
stored = !!(_a.sent()); | ||
stored = _a.sent(); | ||
if (!stored) | ||
throw new Error('vchan id was not stored previously'); | ||
if (stored.nonce > data.nonce) | ||
return [2 /*return*/, data]; | ||
pack(data); | ||
@@ -381,0 +385,0 @@ return [2 /*return*/, lc |
{ | ||
"name": "layer2storage", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
121307
1633