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

@ocap/types

Package Overview
Dependencies
Maintainers
0
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ocap/types - npm Package Compare versions

Comparing version 1.18.142 to 1.18.143

103

lib/trace-type_pb.d.ts

@@ -1438,2 +1438,98 @@ // package: ocap

export class IndexedTokenFlow extends jspb.Message {
getValue(): string;
setValue(value: string): void;
getHash(): string;
setHash(value: string): void;
getFrom(): string;
setFrom(value: string): void;
getTo(): string;
setTo(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TIndexedTokenFlow;
static toObject(includeInstance: boolean, msg: IndexedTokenFlow): TIndexedTokenFlow;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: IndexedTokenFlow, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): IndexedTokenFlow;
static deserializeBinaryFromReader(message: IndexedTokenFlow, reader: jspb.BinaryReader): IndexedTokenFlow;
}
export type TIndexedTokenFlow = {
value: string,
hash: string,
from: string,
to: string,
}
export class VerifyAccountRiskResult extends jspb.Message {
getIsRisky(): boolean;
setIsRisky(value: boolean): void;
getReason(): string;
setReason(value: string): void;
hasData(): boolean;
clearData(): void;
getData(): VerifyAccountRiskResult.TBalanceRisky | undefined;
setData(value?: VerifyAccountRiskResult.TBalanceRisky): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TVerifyAccountRiskResult;
static toObject(includeInstance: boolean, msg: VerifyAccountRiskResult): TVerifyAccountRiskResult;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: VerifyAccountRiskResult, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): VerifyAccountRiskResult;
static deserializeBinaryFromReader(message: VerifyAccountRiskResult, reader: jspb.BinaryReader): VerifyAccountRiskResult;
}
export type TVerifyAccountRiskResult = {
isRisky: boolean,
reason: string,
data?: VerifyAccountRiskResult.TBalanceRisky,
}
export class BalanceRisky extends jspb.Message {
getAddress(): string;
setAddress(value: string): void;
getBalance(): string;
setBalance(value: string): void;
getTransferIn(): string;
setTransferIn(value: string): void;
getTransferOut(): string;
setTransferOut(value: string): void;
getAccountCount(): number;
setAccountCount(value: number): void;
getTxCount(): number;
setTxCount(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TBalanceRisky;
static toObject(includeInstance: boolean, msg: BalanceRisky): TBalanceRisky;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: BalanceRisky, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): BalanceRisky;
static deserializeBinaryFromReader(message: BalanceRisky, reader: jspb.BinaryReader): BalanceRisky;
}
export type TBalanceRisky = {
address: string,
balance: string,
transferIn: string,
transferOut: string,
accountCount: number,
txCount: number,
}
export interface DirectionMap {

@@ -1455,1 +1551,8 @@ MUTUAL: 0;

export interface TokenFlowDirectionMap {
IN: 0;
OUT: 1;
}
export const TokenFlowDirection: TokenFlowDirectionMap;

4

package.json
{
"name": "@ocap/types",
"version": "1.18.142",
"version": "1.18.143",
"description": "Typescript definitions generated from protobuf",

@@ -42,3 +42,3 @@ "keywords": [

},
"gitHead": "fa18a9eddbb0cad69398c69c7930018593f4fb31"
"gitHead": "d60db9ab9a62de1d99cf1fba59866592860bed22"
}

Sorry, the diff of this file is too big to display

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