opnet 1.7.0 → 1.7.2
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 +2 -1
- package/browser/contracts/interfaces/IRawContract.d.ts +2 -1
- package/browser/index.js +1 -1
- package/browser/transactions/decoders/DeploymentTransaction.d.ts +2 -1
- package/browser/transactions/decoders/InteractionTransaction.d.ts +1 -1
- package/browser/transactions/interfaces/transactions/ICommonTransaction.d.ts +2 -1
- package/browser/transactions/interfaces/transactions/IDeploymentTransaction.d.ts +2 -1
- package/build/_version.d.ts +1 -1
- package/build/_version.js +1 -1
- package/build/contracts/ContractData.d.ts +2 -1
- package/build/contracts/ContractData.js +8 -4
- package/build/contracts/interfaces/IRawContract.d.ts +2 -1
- package/build/transactions/decoders/DeploymentTransaction.d.ts +2 -1
- package/build/transactions/decoders/DeploymentTransaction.js +6 -4
- package/build/transactions/decoders/InteractionTransaction.d.ts +1 -1
- package/build/transactions/decoders/InteractionTransaction.js +3 -3
- package/build/transactions/interfaces/transactions/ICommonTransaction.d.ts +2 -1
- package/build/transactions/interfaces/transactions/IDeploymentTransaction.d.ts +2 -1
- package/package.json +2 -2
- package/src/_version.ts +1 -1
- package/src/contracts/ContractData.ts +10 -5
- package/src/contracts/interfaces/IRawContract.ts +2 -1
- package/src/transactions/decoders/DeploymentTransaction.ts +13 -5
- package/src/transactions/decoders/InteractionTransaction.ts +7 -4
- package/src/transactions/interfaces/transactions/ICommonTransaction.ts +6 -1
- package/src/transactions/interfaces/transactions/IDeploymentTransaction.ts +6 -1
package/browser/_version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.7.
|
|
1
|
+
export declare const version = "1.7.2";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Address } from '@btc-vision/transaction';
|
|
2
2
|
import { IRawContract } from './interfaces/IRawContract.js';
|
|
3
|
-
export declare class ContractData implements Omit<IRawContract, '
|
|
3
|
+
export declare class ContractData implements Omit<IRawContract, 'contractPublicKey'> {
|
|
4
4
|
readonly contractAddress: string;
|
|
5
5
|
readonly contractPublicKey: Address;
|
|
6
6
|
readonly bytecode: Buffer;
|
|
@@ -8,6 +8,7 @@ export declare class ContractData implements Omit<IRawContract, 'contractTweaked
|
|
|
8
8
|
readonly deployedTransactionId: string;
|
|
9
9
|
readonly deployedTransactionHash: string;
|
|
10
10
|
readonly deployerPubKey: Buffer;
|
|
11
|
+
readonly deployerClassicPublicKey: Buffer;
|
|
11
12
|
readonly contractSeed: Buffer;
|
|
12
13
|
readonly contractSaltHash: Buffer;
|
|
13
14
|
readonly deployerAddress: Address;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { Address } from '@btc-vision/transaction';
|
|
2
2
|
export interface IRawContract {
|
|
3
3
|
readonly contractAddress: string;
|
|
4
|
-
readonly
|
|
4
|
+
readonly contractPublicKey: string | Buffer;
|
|
5
5
|
readonly bytecode: Buffer | string;
|
|
6
6
|
readonly wasCompressed: boolean;
|
|
7
7
|
readonly deployedTransactionId: string;
|
|
8
8
|
readonly deployedTransactionHash: string;
|
|
9
9
|
readonly deployerPubKey: Buffer | string;
|
|
10
|
+
readonly deployerClassicPublicKey: Buffer | string;
|
|
10
11
|
readonly contractSeed: Buffer | string;
|
|
11
12
|
readonly contractSaltHash: Buffer | string;
|
|
12
13
|
readonly deployerAddress: Address;
|