@wharfkit/antelope
Advanced tools
Comparing version 0.7.1 to 0.7.2
{ | ||
"name": "@wharfkit/antelope", | ||
"description": "Library for working with Antelope powered blockchains.", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"homepage": "https://github.com/wharfkit/antelope", | ||
@@ -6,0 +6,0 @@ "license": "BSD-3-Clause-No-Military-License", |
@@ -142,2 +142,14 @@ import {APIClient} from '../client' | ||
async send_read_only_transaction(tx: SignedTransactionType | PackedTransaction) { | ||
if (!isInstanceOf(tx, PackedTransaction)) { | ||
tx = PackedTransaction.fromSigned(SignedTransaction.from(tx)) | ||
} | ||
return this.client.call<SendTransactionResponse>({ | ||
path: '/v1/chain/send_read_only_transaction', | ||
params: { | ||
transaction: tx, | ||
}, | ||
}) | ||
} | ||
async push_transaction(tx: SignedTransactionType | PackedTransaction) { | ||
@@ -144,0 +156,0 @@ if (!isInstanceOf(tx, PackedTransaction)) { |
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
1094010
19917