Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@waves/ts-types

Package Overview
Dependencies
Maintainers
14
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waves/ts-types - npm Package Compare versions

Comparing version 1.0.6-beta.6 to 1.0.6-beta.7

index.ts

2

dist/src/index.d.ts

@@ -20,2 +20,3 @@ export * from '../transactions';

export declare const UPDATE_ASSET_INFO_TYPE: 17;
export declare const INVOKE_EXPRESSION_TYPE: 18;
export declare const ETHEREUM: 19;

@@ -44,2 +45,3 @@ export declare const INTEGER_DATA_TYPE: "integer";

UPDATE_ASSET_INFO: 17;
INVOKE_EXPRESSION: 18;
ETHEREUM: 19;

@@ -46,0 +48,0 @@ };

@@ -20,2 +20,3 @@ "use strict";

exports.UPDATE_ASSET_INFO_TYPE = 17;
exports.INVOKE_EXPRESSION_TYPE = 18;
exports.ETHEREUM = 19;

@@ -44,2 +45,3 @@ exports.INTEGER_DATA_TYPE = 'integer';

UPDATE_ASSET_INFO: exports.UPDATE_ASSET_INFO_TYPE,
INVOKE_EXPRESSION: exports.INVOKE_EXPRESSION_TYPE,
ETHEREUM: exports.ETHEREUM,

@@ -46,0 +48,0 @@ };

@@ -9,3 +9,3 @@ import { AssetDecimals, Base58Bytes, Base64Script, DataTransactionEntry, ExchangeTransactionOrder, InvokeScriptCall, InvokeScriptPayment, Long, MassTransferItem, SignedIExchangeTransactionOrder, TRANSACTION_TYPE, TransactionType, TStateChanges, WithVersion } from '../src';

};
export declare type Transaction<LONG = Long> = GenesisTransaction<LONG> | PaymentTransaction<LONG> | IssueTransaction<LONG> | TransferTransaction<LONG> | ReissueTransaction<LONG> | BurnTransaction<LONG> | LeaseTransaction<LONG> | CancelLeaseTransaction<LONG> | AliasTransaction<LONG> | MassTransferTransaction<LONG> | DataTransaction<LONG> | SetScriptTransaction<LONG> | SponsorshipTransaction<LONG> | ExchangeTransaction<LONG> | SetAssetScriptTransaction<LONG> | InvokeScriptTransaction<LONG> | UpdateAssetInfoTransaction<LONG> | EthereumTransaction<LONG>;
export declare type Transaction<LONG = Long> = GenesisTransaction<LONG> | PaymentTransaction<LONG> | IssueTransaction<LONG> | TransferTransaction<LONG> | ReissueTransaction<LONG> | BurnTransaction<LONG> | LeaseTransaction<LONG> | CancelLeaseTransaction<LONG> | AliasTransaction<LONG> | MassTransferTransaction<LONG> | DataTransaction<LONG> | SetScriptTransaction<LONG> | SponsorshipTransaction<LONG> | ExchangeTransaction<LONG> | SetAssetScriptTransaction<LONG> | InvokeScriptTransaction<LONG> | UpdateAssetInfoTransaction<LONG> | EthereumTransaction<LONG> | InvokeExpressionTransaction<LONG>;
export declare type TransactionMap<LONG = Long> = {

@@ -29,2 +29,3 @@ [TRANSACTION_TYPE.GENESIS]: GenesisTransaction<LONG>;

[TRANSACTION_TYPE.UPDATE_ASSET_INFO]: UpdateAssetInfoTransaction<LONG>;
[TRANSACTION_TYPE.INVOKE_EXPRESSION]: InvokeExpressionTransaction<LONG>;
[TRANSACTION_TYPE.ETHEREUM]: EthereumTransaction<LONG>;

@@ -50,2 +51,3 @@ };

[TRANSACTION_TYPE.UPDATE_ASSET_INFO]: UpdateAssetInfoTransactionMap<LONG>;
[TRANSACTION_TYPE.INVOKE_EXPRESSION]: InvokeExpressionTransaction<LONG>;
[TRANSACTION_TYPE.ETHEREUM]: EthereumTransactionMap<LONG>;

@@ -138,2 +140,6 @@ };

};
export declare type InvokeExpressionTransactionFields<LONG = Long> = {
expression: Base64Script | null;
feeAssetId: string | null;
};
export interface IUpdateAssetInfoTransaction<LONG = Long> extends BaseTransaction<LONG, typeof TRANSACTION_TYPE.UPDATE_ASSET_INFO>, UpdateAssetInfoTransactionFields<LONG> {

@@ -268,2 +274,3 @@ }

};
export declare type InvokeExpressionTransactionV1<LONG> = WithVersion<InvokeExpressionTransactionFields<LONG> & BaseTransaction<LONG, 18>, 1>;
export declare type GenesisTransaction<LONG = Long> = GenesisTransactionV1<LONG>;

@@ -287,2 +294,3 @@ export declare type PaymentTransaction<LONG = Long> = PaymentTransactionV1<LONG>;

export declare type EthereumTransaction<LONG = Long> = EthereumTransactionV1<LONG>;
export declare type InvokeExpressionTransaction<LONG = Long> = InvokeExpressionTransactionV1<LONG>;
declare type TWithSignatureMap = {

@@ -289,0 +297,0 @@ [TRANSACTION_TYPE.GENESIS]: 1;

2

package.json
{
"name": "@waves/ts-types",
"version": "1.0.6-beta.6",
"version": "1.0.6-beta.7",
"main": "dist/src/index.js",

@@ -5,0 +5,0 @@ "types": "dist/src/index.d.ts",

@@ -21,2 +21,3 @@ export * from '../transactions';

export const UPDATE_ASSET_INFO_TYPE = 17 as 17;
export const INVOKE_EXPRESSION_TYPE = 18 as 18;
export const ETHEREUM = 19 as 19;

@@ -47,2 +48,3 @@

UPDATE_ASSET_INFO: UPDATE_ASSET_INFO_TYPE,
INVOKE_EXPRESSION: INVOKE_EXPRESSION_TYPE,
ETHEREUM: ETHEREUM,

@@ -49,0 +51,0 @@ };

@@ -47,3 +47,4 @@ import {

| UpdateAssetInfoTransaction<LONG>
| EthereumTransaction<LONG>;
| EthereumTransaction<LONG>
| InvokeExpressionTransaction<LONG>;

@@ -68,2 +69,3 @@ export type TransactionMap<LONG = Long> = {

[TRANSACTION_TYPE.UPDATE_ASSET_INFO]: UpdateAssetInfoTransaction<LONG>;
[TRANSACTION_TYPE.INVOKE_EXPRESSION]: InvokeExpressionTransaction<LONG>;
[TRANSACTION_TYPE.ETHEREUM]: EthereumTransaction<LONG>;

@@ -90,2 +92,3 @@ };

[TRANSACTION_TYPE.UPDATE_ASSET_INFO]: UpdateAssetInfoTransactionMap<LONG>;
[TRANSACTION_TYPE.INVOKE_EXPRESSION]: InvokeExpressionTransaction<LONG>;
[TRANSACTION_TYPE.ETHEREUM]: EthereumTransactionMap<LONG>;

@@ -197,2 +200,7 @@ };

export type InvokeExpressionTransactionFields<LONG = Long> = {
expression: Base64Script | null;
feeAssetId: string | null;
};
export interface IUpdateAssetInfoTransaction<LONG = Long>

@@ -509,2 +517,8 @@ extends BaseTransaction<LONG, typeof TRANSACTION_TYPE.UPDATE_ASSET_INFO>,

//InvokeExpressionTransaction
export type InvokeExpressionTransactionV1<LONG> = WithVersion<
InvokeExpressionTransactionFields<LONG> & BaseTransaction<LONG, 18>,
1
>;
//------------------------------------------------------------------------------------------

@@ -586,2 +600,6 @@ //Transaction types

export type InvokeExpressionTransaction<
LONG = Long
> = InvokeExpressionTransactionV1<LONG>;
//

@@ -588,0 +606,0 @@ type TWithSignatureMap = {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc