@waves/marshall
Advanced tools
Comparing version 0.4.6 to 0.4.7
@@ -159,3 +159,3 @@ "use strict"; | ||
['assetId', { | ||
toBytes: (assetId) => Uint8Array.from([assetId ? 43 : 9]), | ||
toBytes: (assetId) => Uint8Array.from([assetId ? serializePrimitives_1.BASE58_STRING(assetId).length + 11 : 9]), | ||
fromBytes: () => ({ value: undefined, shift: 1 }), | ||
@@ -162,0 +162,0 @@ }], |
{ | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"name": "@waves/marshall", | ||
@@ -4,0 +4,0 @@ "main": "dist/index.js", |
@@ -211,4 +211,2 @@ import { | ||
export const payment: TObject = { | ||
@@ -219,3 +217,3 @@ type: 'object', | ||
['assetId', { | ||
toBytes: (assetId: any) => Uint8Array.from([assetId ? 43 : 9]), | ||
toBytes: (assetId: any) => Uint8Array.from([assetId ? BASE58_STRING(assetId).length + 11 : 9]), | ||
fromBytes: () => ({ value: undefined, shift: 1 }), | ||
@@ -222,0 +220,0 @@ }], |
Sorry, the diff of this file is not supported yet
155407