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

@zondax/beryx

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zondax/beryx - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

2

dist/filecoin/api/index.js

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

}
exports.Filecoin = Filecoin;
Filecoin.getAxiosConfig = (config) => {

@@ -85,2 +84,3 @@ const { baseURL = constants_1.baseSrvUrl, jwt } = config;

};
exports.Filecoin = Filecoin;
class FilecoinTools {

@@ -87,0 +87,0 @@ constructor(client, servicePath) {

@@ -1,18 +0,18 @@

export declare type Token = {
export type Token = {
token: string;
};
export declare type Currency = {
export type Currency = {
decimals: number;
symbol: string;
};
export declare type Balance = {
export type Balance = {
currency: Currency;
value: string;
};
export declare type BlockIdentifier = {
export type BlockIdentifier = {
hash: string;
index: number;
};
export declare type Metadata = {
export type Metadata = {
[key: string]: any;
};

@@ -44,4 +44,4 @@ import AccountBalance from './accountBalance';

};
export declare type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export declare const isAccountBalance: ValidateFunction<AccountBalance>;
export default function validate(value: unknown): AccountBalance;

@@ -22,4 +22,4 @@ import AccountInfo from './accountInfo';

};
export declare type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export declare const isAccountInfo: ValidateFunction<AccountInfo>;
export default function validate(value: unknown): AccountInfo;

@@ -28,4 +28,4 @@ import AccountVesting from './accountVesting';

};
export declare type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export declare const isAccountVesting: ValidateFunction<AccountVesting>;
export default function validate(value: unknown): AccountVesting;

@@ -22,4 +22,4 @@ import ApiError from './apiError';

};
export declare type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export declare const isApiError: ValidateFunction<ApiError>;
export default function validate(value: unknown): ApiError;

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

export declare type Deal = {
export type Deal = {
client: string;

@@ -3,0 +3,0 @@ client_collateral: number;

@@ -65,4 +65,4 @@ import Deals from './deals';

};
export declare type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export declare const isDeals: ValidateFunction<Deals>;
export default function validate(value: unknown): Deals;

@@ -19,4 +19,4 @@ import Tipset from './tipset';

};
export declare type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export declare const isTipset: ValidateFunction<Tipset>;
export default function validate(value: unknown): Tipset;
import { Metadata } from '../common';
export declare type Transaction = {
export type Transaction = {
amount: number;

@@ -4,0 +4,0 @@ canonical: boolean;

@@ -70,4 +70,4 @@ import Transactions from './transactions';

};
export declare type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export type ValidateFunction<T> = ((data: unknown) => data is T) & Pick<Ajv.ValidateFunction, 'errors'>;
export declare const isTransactions: ValidateFunction<Transactions>;
export default function validate(value: unknown): Transactions;
import { AxiosRequestConfig } from 'axios';
export declare type Network = 'wallaby' | 'mainnet' | 'hyperspace';
export type Network = 'mainnet' | 'hyperspace' | 'calibration';
export declare enum VersionAPI {

@@ -8,3 +8,3 @@ V1 = "v1"

export declare const ToolsPrefixPath: Readonly<string>;
export declare type ClientConfig = Pick<AxiosRequestConfig, 'timeout' | 'baseURL'> & {
export type ClientConfig = Pick<AxiosRequestConfig, 'timeout' | 'baseURL'> & {
jwt: string;

@@ -11,0 +11,0 @@ network?: Network;

{
"name": "@zondax/beryx",
"version": "0.9.0",
"version": "0.10.0",
"description": "Beryx indexes and exposes via a public API Filecoin historical and real-time data. We provide historical transactions of every account, interactions with multisig accounts, fees details and many more.",

@@ -61,3 +61,3 @@ "main": "dist/index.js",

"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@types/jest": "^29.5.0",
"@types/jest": "^29.5.1",
"@typescript-eslint/eslint-plugin": "^5.38.0",

@@ -71,3 +71,3 @@ "@typescript-eslint/parser": "^5.38.0",

"ts-node": "^10.9.1",
"typescript": "^4.8.3",
"typescript": "^5.0.4",
"typescript-json-validator": "^2.4.2",

@@ -77,3 +77,3 @@ "yalc": "^1.0.0-pre.53"

"dependencies": {
"axios": "^0.27.2"
"axios": "^1.3.6"
},

@@ -80,0 +80,0 @@ "files": [

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