opnet 1.4.3 → 1.4.5
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/ContractData.d.ts +3 -4
- package/browser/contracts/interfaces/IRawContract.d.ts +2 -3
- package/browser/index.js +1 -1
- package/build/_version.d.ts +1 -1
- package/build/_version.js +1 -1
- package/build/contracts/ContractData.d.ts +3 -4
- package/build/contracts/ContractData.js +7 -5
- package/build/contracts/interfaces/IRawContract.d.ts +2 -3
- package/package.json +1 -1
- package/src/_version.ts +1 -1
- package/src/contracts/ContractData.ts +8 -8
- package/src/contracts/interfaces/IRawContract.ts +3 -3
package/browser/_version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.4.
|
|
1
|
+
export declare const version = "1.4.5";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Address } from '@btc-vision/transaction';
|
|
2
2
|
import { IRawContract } from './interfaces/IRawContract.js';
|
|
3
|
-
export declare class ContractData implements IRawContract {
|
|
4
|
-
readonly contractAddress:
|
|
5
|
-
readonly
|
|
6
|
-
readonly p2trAddress: Address;
|
|
3
|
+
export declare class ContractData implements Omit<IRawContract, 'contractPublicKey'> {
|
|
4
|
+
readonly contractAddress: string;
|
|
5
|
+
readonly contractPublicKey: Address;
|
|
7
6
|
readonly bytecode: Buffer;
|
|
8
7
|
readonly wasCompressed: boolean;
|
|
9
8
|
readonly deployedTransactionId: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Address } from '@btc-vision/transaction';
|
|
2
2
|
export interface IRawContract {
|
|
3
|
-
readonly contractAddress:
|
|
4
|
-
readonly
|
|
5
|
-
readonly p2trAddress: Address;
|
|
3
|
+
readonly contractAddress: string;
|
|
4
|
+
readonly contractPublicKey: string;
|
|
6
5
|
readonly bytecode: Buffer | string;
|
|
7
6
|
readonly wasCompressed: boolean;
|
|
8
7
|
readonly deployedTransactionId: string;
|