@wharfkit/antelope
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@wharfkit/antelope", | ||
"description": "Library for working with Antelope powered blockchains.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "https://github.com/wharfkit/antelope", | ||
@@ -6,0 +6,0 @@ "license": "BSD-3-Clause-No-Military-License", |
@@ -238,3 +238,3 @@ import pako from 'pako' | ||
case 'zlib': { | ||
const inflated = pako.inflate(Buffer.from(this.extra.packed_trx, 'hex')) | ||
const inflated = pako.inflate(Bytes.from(this.extra.packed_trx, 'hex').array) | ||
return Serializer.decode({data: inflated, type: Transaction}) | ||
@@ -241,0 +241,0 @@ } |
@@ -244,4 +244,4 @@ import pako from 'pako' | ||
// compress data | ||
packed_trx = pako.deflate(Buffer.from(packed_trx.array)) | ||
packed_context_free_data = pako.deflate(Buffer.from(packed_context_free_data.array)) | ||
packed_trx = pako.deflate(packed_trx.array) | ||
packed_context_free_data = pako.deflate(packed_context_free_data.array) | ||
break | ||
@@ -269,3 +269,3 @@ } | ||
case CompressionType.zlib: { | ||
const inflated = pako.inflate(Buffer.from(this.packed_trx.array)) | ||
const inflated = pako.inflate(this.packed_trx.array) | ||
return abiDecode({data: inflated, type: Transaction}) | ||
@@ -272,0 +272,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1136443