opnet 1.4.7 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/_version.d.ts +1 -1
- package/browser/contracts/enums/TransactionFlags.d.ts +8 -0
- package/browser/contracts/interfaces/SimulatedTransaction.d.ts +10 -2
- package/browser/index.js +1 -1
- package/browser/opnet.d.ts +1 -0
- package/browser/providers/interfaces/PublicKeyInfo.d.ts +2 -0
- package/browser/transactions/Transaction.d.ts +1 -0
- package/browser/transactions/interfaces/ITransaction.d.ts +1 -0
- package/browser/transactions/interfaces/ITransactionReceipt.d.ts +2 -0
- package/browser/transactions/metadata/TransactionReceipt.d.ts +2 -0
- package/build/_version.d.ts +1 -1
- package/build/_version.js +1 -1
- package/build/contracts/enums/TransactionFlags.d.ts +8 -0
- package/build/contracts/enums/TransactionFlags.js +10 -0
- package/build/contracts/interfaces/SimulatedTransaction.d.ts +10 -2
- package/build/opnet.d.ts +1 -0
- package/build/opnet.js +1 -0
- package/build/providers/AbstractRpcProvider.js +5 -0
- package/build/providers/interfaces/PublicKeyInfo.d.ts +2 -0
- package/build/transactions/Transaction.d.ts +1 -0
- package/build/transactions/Transaction.js +4 -0
- package/build/transactions/interfaces/ITransaction.d.ts +1 -0
- package/build/transactions/interfaces/ITransactionReceipt.d.ts +2 -0
- package/build/transactions/metadata/TransactionReceipt.d.ts +2 -0
- package/build/transactions/metadata/TransactionReceipt.js +4 -0
- package/package.json +1 -1
- package/src/_version.ts +1 -1
- package/src/contracts/enums/TransactionFlags.ts +29 -0
- package/src/contracts/interfaces/SimulatedTransaction.ts +12 -2
- package/src/opnet.ts +2 -0
- package/src/providers/AbstractRpcProvider.ts +8 -1
- package/src/providers/interfaces/PublicKeyInfo.ts +2 -0
- package/src/transactions/Transaction.ts +8 -0
- package/src/transactions/interfaces/ITransaction.ts +5 -0
- package/src/transactions/interfaces/ITransactionReceipt.ts +10 -0
- package/src/transactions/metadata/TransactionReceipt.ts +6 -0
package/browser/_version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.
|
|
1
|
+
export declare const version = "1.5.0";
|
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
export interface StrippedTransactionOutput {
|
|
2
2
|
readonly value: bigint;
|
|
3
3
|
readonly index: number;
|
|
4
|
-
readonly
|
|
4
|
+
readonly flags: number;
|
|
5
|
+
readonly scriptPubKey: Buffer | undefined;
|
|
6
|
+
readonly to: string | undefined;
|
|
5
7
|
}
|
|
6
8
|
export interface StrippedTransactionOutputAPI {
|
|
7
9
|
readonly value: string;
|
|
8
10
|
readonly index: number;
|
|
9
|
-
readonly to: string;
|
|
11
|
+
readonly to: string | undefined;
|
|
12
|
+
readonly flags: number;
|
|
13
|
+
readonly scriptPubKey: string | undefined;
|
|
10
14
|
}
|
|
11
15
|
export interface StrippedTransactionInput {
|
|
12
16
|
readonly txId: Buffer;
|
|
13
17
|
readonly outputIndex: number;
|
|
14
18
|
readonly scriptSig: Buffer;
|
|
19
|
+
readonly flags: number;
|
|
20
|
+
readonly coinbase: Buffer | undefined;
|
|
15
21
|
}
|
|
16
22
|
export interface StrippedTransactionInputAPI {
|
|
17
23
|
readonly txId: string;
|
|
18
24
|
readonly outputIndex: number;
|
|
19
25
|
readonly scriptSig: string;
|
|
26
|
+
readonly coinbase: string | undefined;
|
|
27
|
+
readonly flags: number;
|
|
20
28
|
}
|
|
21
29
|
export interface SimulatedTransaction {
|
|
22
30
|
readonly inputs: StrippedTransactionInputAPI[];
|