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

@waves/ts-types

Package Overview
Dependencies
Maintainers
15
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.9 to 1.0.10-beta.1

13

dist/src/index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DATA_FIELD_TYPE = exports.TRANSACTION_TYPE = exports.BINARY_DATA_TYPE = exports.STRING_DATA_TYPE = exports.BOOLEAN_DATA_TYPE = exports.INTEGER_DATA_TYPE = exports.ETHEREUM = exports.UPDATE_ASSET_INFO_TYPE = exports.INVOKE_SCRIPT_TYPE = exports.SET_ASSET_SCRIPT_TYPE = exports.SPONSORSHIP_TYPE = exports.SET_SCRIPT_TYPE = exports.DATA_TYPE = exports.MASS_TRANSFER_TYPE = exports.ALIAS_TYPE = exports.CANCEL_LEASE_TYPE = exports.LEASE_TYPE = exports.EXCHANGE_TYPE = exports.BURN_TYPE = exports.REISSUE_TYPE = exports.TRANSFER_TYPE = exports.ISSUE_TYPE = exports.PAYMENT_TYPE = exports.GENESIS_TYPE = void 0;
__exportStar(require("../transactions"), exports);
__exportStar(require("./parts"), exports);
exports.GENESIS_TYPE = 1;

@@ -4,0 +17,0 @@ exports.PAYMENT_TYPE = 2;

25

dist/transactions/index.d.ts

@@ -1,2 +0,2 @@

import { AssetDecimals, Base58Bytes, Base64Script, DataTransactionEntry, ExchangeTransactionOrder, InvokeScriptCall, InvokeScriptPayment, Long, MassTransferItem, SignedIExchangeTransactionOrder, TRANSACTION_TYPE, TransactionType, TStateChanges, WithVersion } from '../src';
import { AssetDecimals, Base58Bytes, Base64Script, DataTransactionEntry, ExchangeTransactionOrder, InvokeScriptCall, InvokeScriptPayment, Long, MassTransferItem, SignedIExchangeTransactionOrder, TRANSACTION_TYPE, TransactionType, TStateChanges, WithId, WithVersion } from '../src';
export declare type BaseTransaction<LONG = Long, TYPE extends TransactionType = TransactionType> = {

@@ -134,4 +134,2 @@ type: TYPE;

};
export interface IUpdateAssetInfoTransaction<LONG = Long> extends BaseTransaction<LONG, typeof TRANSACTION_TYPE.UPDATE_ASSET_INFO>, UpdateAssetInfoTransactionFields<LONG> {
}
export declare type EthereumTransactionFields<LONG = Long> = {

@@ -156,5 +154,3 @@ payload: ({

export declare type IssueTransactionV2<LONG = Long> = WithVersion<IssueTransactionFields<LONG> & BaseTransaction<LONG, 3>, 2>;
export declare type IssueTransactionV3<LONG = Long> = WithVersion<IssueTransactionFields<LONG> & BaseTransaction<LONG, 3> & {
feeAssetId: string | null;
}, 3>;
export declare type IssueTransactionV3<LONG = Long> = WithVersion<IssueTransactionFields<LONG> & BaseTransaction<LONG, 3>, 3>;
export declare type IssueTransactionMap<LONG = Long> = {

@@ -302,2 +298,19 @@ 1: IssueTransactionV1<LONG>;

export declare type SignedTransaction<TX extends Transaction<any>> = TX & (TX['type'] extends keyof TWithSignatureMap ? TX['version'] extends TWithSignatureMap[TX['type']] ? WithSignature : WithProofs : WithProofs);
export declare type TransactionFromNode = WithId & {
height: number;
spentComplexity: number;
} & ((SignedTransaction<Exclude<Transaction, [GenesisTransaction, InvokeScriptTransaction, TransferTransaction]>> & {
sender: string;
applicationStatus: 'succeeded' | 'script_execution_failed';
feeAssetId: null;
}) | SignedTransaction<GenesisTransaction> | (SignedTransaction<InvokeScriptTransaction> & {
sender: string;
stateChanges: TStateChanges;
feeAssetId: string | null;
applicationStatus: 'succeeded' | 'script_execution_failed';
}) | (SignedTransaction<TransferTransaction> & {
sender: string;
feeAssetId: string | null;
applicationStatus: 'succeeded' | 'script_execution_failed';
}));
export {};
{
"name": "@waves/ts-types",
"version": "1.0.9",
"version": "1.0.10-beta.1",
"main": "dist/src/index.js",

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

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jest": "^23.6.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^2.3.0",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.4.6",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"husky": "^4.2.1",
"lint-staged": "^10.0.5",
"prettier": "^1.19.1",
"prettier": "^2.6.2",
"typescript": "^3.4.5"

@@ -28,0 +28,0 @@ },

@@ -15,2 +15,3 @@ import {

TStateChanges,
WithId,
WithVersion,

@@ -194,6 +195,2 @@ } from '../src';

export interface IUpdateAssetInfoTransaction<LONG = Long>
extends BaseTransaction<LONG, typeof TRANSACTION_TYPE.UPDATE_ASSET_INFO>,
UpdateAssetInfoTransactionFields<LONG> {}
export type EthereumTransactionFields<LONG = Long> = {

@@ -243,6 +240,3 @@ payload:

export type IssueTransactionV3<LONG = Long> = WithVersion<
IssueTransactionFields<LONG> &
BaseTransaction<LONG, 3> & {
feeAssetId: string | null;
},
IssueTransactionFields<LONG> & BaseTransaction<LONG, 3>,
3

@@ -611,1 +605,29 @@ >;

: WithProofs);
export type TransactionFromNode = WithId & {
height: number;
spentComplexity: number;
} & (
| (SignedTransaction<
Exclude<
Transaction,
[GenesisTransaction, InvokeScriptTransaction, TransferTransaction]
>
> & {
sender: string;
applicationStatus: 'succeeded' | 'script_execution_failed';
feeAssetId: null;
})
| SignedTransaction<GenesisTransaction>
| (SignedTransaction<InvokeScriptTransaction> & {
sender: string;
stateChanges: TStateChanges;
feeAssetId: string | null;
applicationStatus: 'succeeded' | 'script_execution_failed';
})
| (SignedTransaction<TransferTransaction> & {
sender: string;
feeAssetId: string | null;
applicationStatus: 'succeeded' | 'script_execution_failed';
})
);
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