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

@waves/ts-types

Package Overview
Dependencies
Maintainers
13
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 0.3.2 to 0.3.3

1

dist/index.d.ts

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

INVOKE_SCRIPT: 16;
UPDATE_ASSET_INFO: 17;
};

@@ -22,0 +23,0 @@ export declare const DATA_FIELD_TYPE: {

3

dist/index.js

@@ -19,3 +19,4 @@ "use strict";

SET_ASSET_SCRIPT: 15,
INVOKE_SCRIPT: 16
INVOKE_SCRIPT: 16,
UPDATE_ASSET_INFO: 17
};

@@ -22,0 +23,0 @@ exports.DATA_FIELD_TYPE = {

@@ -36,19 +36,19 @@ import { DATA_FIELD_TYPE, TProofs } from './index';

key: string;
type: typeof DATA_FIELD_TYPE.INTEGER;
value: LONG;
type?: typeof DATA_FIELD_TYPE.INTEGER | null;
value: LONG | null;
}
export interface IDataTransactionEntryBoolean {
key: string;
type: typeof DATA_FIELD_TYPE.BOOLEAN;
value: boolean;
type?: typeof DATA_FIELD_TYPE.BOOLEAN | null;
value: boolean | null;
}
export interface IDataTransactionEntryString {
key: string;
type: typeof DATA_FIELD_TYPE.STRING;
value: string;
type?: typeof DATA_FIELD_TYPE.STRING | null;
value: string | null;
}
export interface IDataTransactionEntryBinary {
key: string;
type: typeof DATA_FIELD_TYPE.BINARY;
value: Uint8Array;
type?: typeof DATA_FIELD_TYPE.BINARY | null;
value: Uint8Array | null;
}

@@ -55,0 +55,0 @@ export interface IExchangeTransactionOrder<LONG> {

{
"name": "@waves/ts-types",
"version": "0.3.2",
"version": "0.3.3",
"main": "dist/index.js",

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

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

SET_ASSET_SCRIPT: 15 as 15,
INVOKE_SCRIPT: 16 as 16
INVOKE_SCRIPT: 16 as 16,
UPDATE_ASSET_INFO: 17 as 17
};

@@ -23,0 +24,0 @@

@@ -52,4 +52,4 @@ import { DATA_FIELD_TYPE, TProofs } from './index';

key: string;
type: typeof DATA_FIELD_TYPE.INTEGER;
value: LONG;
type?: typeof DATA_FIELD_TYPE.INTEGER | null;
value: LONG | null;
}

@@ -59,4 +59,4 @@

key: string;
type: typeof DATA_FIELD_TYPE.BOOLEAN;
value: boolean;
type?: typeof DATA_FIELD_TYPE.BOOLEAN | null;
value: boolean | null;
}

@@ -66,4 +66,4 @@

key: string;
type: typeof DATA_FIELD_TYPE.STRING;
value: string;
type?: typeof DATA_FIELD_TYPE.STRING | null;
value: string | null;
}

@@ -73,4 +73,4 @@

key: string;
type: typeof DATA_FIELD_TYPE.BINARY;
value: Uint8Array;
type?: typeof DATA_FIELD_TYPE.BINARY | null;
value: Uint8Array | null;
}

@@ -77,0 +77,0 @@

@@ -47,3 +47,4 @@ import { TRANSACTION_TYPE, TTransactionType } from '../src';

ISetAssetScriptTransaction<LONG> |
IInvokeScriptTransaction<LONG>;
IInvokeScriptTransaction<LONG> |
IUpdateAssetInfoTransaction<LONG>;

@@ -64,3 +65,4 @@ export type TTransactionMap<LONG> = {

[TRANSACTION_TYPE.SET_ASSET_SCRIPT]: ISetAssetScriptTransaction<LONG>,
[TRANSACTION_TYPE.INVOKE_SCRIPT]: IInvokeScriptTransaction<LONG>
[TRANSACTION_TYPE.INVOKE_SCRIPT]: IInvokeScriptTransaction<LONG>,
[TRANSACTION_TYPE.UPDATE_ASSET_INFO]: IUpdateAssetInfoTransaction<LONG>
};

@@ -102,3 +104,4 @@

assetId: string;
quantity: LONG;
quantity?: LONG;
amount?: LONG;
chainId: number;

@@ -164,2 +167,8 @@ }

export interface IUpdateAssetInfoTransaction<LONG> extends ITransaction<LONG, typeof TRANSACTION_TYPE.UPDATE_ASSET_INFO> {
assetId: string;
name: string;
description: string;
}
export interface IIssueTransactionWithId<LONG> extends IIssueTransaction<LONG>, IWithId {

@@ -207,2 +216,5 @@ }

export interface IUpdateAssetInfoTransactionWithId<LONG> extends IUpdateAssetInfoTransaction<LONG>, IWithId {
}
export interface IIssueTransactionWithProofs<LONG> extends IIssueTransaction<LONG>, IWithProofs {

@@ -249,1 +261,4 @@ }

}
export interface IUpdateAssetInfoTransactionWithProofs<LONG> extends IUpdateAssetInfoTransaction<LONG>, IWithProofs {
}
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