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

@bloks/api

Package Overview
Dependencies
Maintainers
1
Versions
270
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bloks/api - npm Package Compare versions

Comparing version 25.0.59 to 25.0.60

1

dist/index.d.ts

@@ -150,4 +150,5 @@ import { Api as ProtonApi, JsonRpc } from '@proton/js';

getAllOracleData: typeof PROTON.getAllOracleData;
getSpecificOracleData: typeof PROTON.getSpecificOracleData;
getProtonAvatar: typeof PROTON.getProtonAvatar;
getProtonAvatars: typeof PROTON.getProtonAvatars;
}

5

dist/proton/general.d.ts

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

import type { ApiClass } from '../index';
import type { ApiClass, OracleRow } from '../index';
import { RpcInterfaces } from '@proton/js';

@@ -37,4 +37,5 @@ export declare function getXprTotalStakedAndApr(this: ApiClass): Promise<0 | {

export declare function getAllOracleFeeds(this: ApiClass, lower_bound?: any): Promise<any[]>;
export declare function getAllOracleData(this: ApiClass, feed_index: number): Promise<any>;
export declare function getSpecificOracleData(this: ApiClass, feed_index: number): Promise<OracleRow | undefined>;
export declare function getAllOracleData(this: ApiClass): Promise<OracleRow[]>;
export declare function getProtonAvatars(this: ApiClass, account: string, limit?: number): Promise<RpcInterfaces.UserInfo[]>;
export declare function getProtonAvatar(this: ApiClass, account: string): Promise<RpcInterfaces.UserInfo | undefined>;

@@ -146,1 +146,19 @@ import { z } from 'zod';

export declare type IChainInfo = z.infer<typeof chainInfoParser>;
export interface OraclePoint {
d_string: string | null;
d_uint64_t: string | number | null;
d_double: string | null;
}
export interface OracleRow {
feed_index: number;
aggregate: {
d_string: string | null;
d_uint64_t: string | number | null;
d_double: string | null;
};
points: Array<{
provider: string;
time: string;
data: OraclePoint;
}>;
}
{
"name": "@bloks/api",
"version": "25.0.59",
"version": "25.0.60",
"author": "jafri",

@@ -43,3 +43,3 @@ "module": "dist/api.esm.js",

},
"gitHead": "1cfd5cdd0b59ec1f46ccbcb72eb0e8d0ce796965"
"gitHead": "aea0097dc52a8fef254ad4698afb1e8ab294af16"
}

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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