@waves/ts-types
Advanced tools
Comparing version 0.2.0-beta-1 to 0.2.0-beta-3
@@ -1,2 +0,2 @@ | ||
export * from '../transactions/general'; | ||
export * from '../transactions'; | ||
export declare const TRANSACTION_TYPE: { | ||
@@ -19,7 +19,9 @@ GENESIS: 1; | ||
}; | ||
export declare enum DATA_FIELD_TYPE { | ||
INTEGER = "integer", | ||
BOOLEAN = "boolean", | ||
STRING = "string", | ||
BINARY = "binary" | ||
} | ||
export declare const DATA_FIELD_TYPE: { | ||
INTEGER: "integer"; | ||
BOOLEAN: "boolean"; | ||
STRING: "string"; | ||
BINARY: "binary"; | ||
}; | ||
export declare type TTransactionType = typeof TRANSACTION_TYPE[keyof typeof TRANSACTION_TYPE]; | ||
export declare type TDataEntyType = typeof DATA_FIELD_TYPE[keyof typeof DATA_FIELD_TYPE]; |
@@ -20,8 +20,7 @@ "use strict"; | ||
}; | ||
var DATA_FIELD_TYPE; | ||
(function (DATA_FIELD_TYPE) { | ||
DATA_FIELD_TYPE["INTEGER"] = "integer"; | ||
DATA_FIELD_TYPE["BOOLEAN"] = "boolean"; | ||
DATA_FIELD_TYPE["STRING"] = "string"; | ||
DATA_FIELD_TYPE["BINARY"] = "binary"; | ||
})(DATA_FIELD_TYPE = exports.DATA_FIELD_TYPE || (exports.DATA_FIELD_TYPE = {})); | ||
exports.DATA_FIELD_TYPE = { | ||
INTEGER: 'integer', | ||
BOOLEAN: 'boolean', | ||
STRING: 'string', | ||
BINARY: 'binary' | ||
}; |
{ | ||
"name": "@waves/ts-types", | ||
"version": "0.2.0-beta-1", | ||
"version": "0.2.0-beta-3", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -1,4 +0,3 @@ | ||
export * from '../transactions/general'; | ||
export * from '../transactions'; | ||
export const TRANSACTION_TYPE = { | ||
@@ -22,7 +21,10 @@ GENESIS: 1 as 1, | ||
export enum DATA_FIELD_TYPE { | ||
INTEGER = 'integer', | ||
BOOLEAN = 'boolean', | ||
STRING = 'string', | ||
BINARY = 'binary' | ||
} | ||
export const DATA_FIELD_TYPE = { | ||
INTEGER: 'integer' as 'integer', | ||
BOOLEAN: 'boolean' as 'boolean', | ||
STRING: 'string' as 'string', | ||
BINARY: 'binary' as 'binary' | ||
}; | ||
export type TTransactionType = typeof TRANSACTION_TYPE[keyof typeof TRANSACTION_TYPE]; | ||
export type TDataEntyType = typeof DATA_FIELD_TYPE[keyof typeof DATA_FIELD_TYPE]; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13677
6
359
1