@proton/js
Advanced tools
Comparing version 25.0.13 to 25.0.21
@@ -1,4 +0,4 @@ | ||
import { AbiProvider, ActionSerializerType, AuthorityProvider, BinaryAbi, CachedAbi, ContextFreeGroupCallback, Query, QueryConfig, SignatureProvider, TransactConfig, TransactResult } from './types'; | ||
import { AbiProvider, ActionSerializerType, AuthorityProvider, BinaryAbi, CachedAbi, ContextFreeGroupCallback, Query, QueryConfig, SignatureProvider, TransactConfig, Transaction, TransactResult } from './types'; | ||
import { JsonRpc } from '../rpc'; | ||
import { Abi, PushTransactionArgs } from '../rpc/types'; | ||
import { Abi, GetInfoResult, PushTransactionArgs } from '../rpc/types'; | ||
import * as ser from './serialize'; | ||
@@ -92,3 +92,14 @@ export declare class Api { | ||
pushCompressedSignedTransaction({ signatures, serializedTransaction, serializedContextFreeData }: PushTransactionArgs): Promise<TransactResult>; | ||
private generateTapos; | ||
generateTapos(info: GetInfoResult | undefined, transaction: Transaction, blocksBehind: number | undefined, useLastIrreversible: boolean | undefined, expireSeconds: number): Promise<{ | ||
expiration: string; | ||
ref_block_num: number; | ||
ref_block_prefix: number; | ||
max_net_usage_words?: number | undefined; | ||
max_cpu_usage_ms?: number | undefined; | ||
delay_sec?: number | undefined; | ||
context_free_actions?: ser.Action[] | undefined; | ||
context_free_data?: Uint8Array[] | undefined; | ||
actions: ser.Action[]; | ||
transaction_extensions?: import("./types").Extension[] | undefined; | ||
}>; | ||
private hasRequiredTaposFields; | ||
@@ -95,0 +106,0 @@ private tryGetBlockHeaderState; |
{ | ||
"name": "@proton/js", | ||
"version": "25.0.13", | ||
"version": "25.0.21", | ||
"description": "Javascript Interface to the Proton Blockchain", | ||
@@ -93,3 +93,3 @@ "module": "dist/index.js", | ||
}, | ||
"gitHead": "7ed6f79340833323d02388ebe409257f75274642" | ||
"gitHead": "6941494027dec64543a245583386058e7e898c89" | ||
} |
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
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
1456188
13578