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

@aztec/types

Package Overview
Dependencies
Maintainers
6
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aztec/types - npm Package Compare versions

Comparing version 0.1.0-alpha44 to 0.1.0-alpha45

9

dest/interfaces/aztec_rpc.d.ts

@@ -71,3 +71,2 @@ /// <reference types="node" resolution-mode="require"/>

* public key.
* @throws If the recipient is already registered.
*/

@@ -179,6 +178,6 @@ registerRecipient(recipient: CompleteAddress): Promise<void>;

/**
* Get latest L2 block number.
* @returns The latest block number.
* Fetches the current block number.
* @returns The block number.
*/
getBlockNum(): Promise<number>;
getBlockNumber(): Promise<number>;
/**

@@ -193,3 +192,3 @@ * Returns the information about the server's node

* @remarks This indicates that blocks and transactions are synched even if notes are not.
* @remarks Compares local block height with the block height from aztec node.
* @remarks Compares local block number with the block number from aztec node.
*/

@@ -196,0 +195,0 @@ isGlobalStateSynchronised(): Promise<boolean>;

@@ -30,6 +30,6 @@ /// <reference types="node" resolution-mode="require"/>

/**
* Method to fetch the current block height.
* @returns The block height as a number.
* Fetches the current block number.
* @returns The block number.
*/
getBlockHeight(): Promise<number>;
getBlockNumber(): Promise<number>;
/**

@@ -36,0 +36,0 @@ * Method to fetch the version of the rollup the node is connected to.

@@ -16,3 +16,3 @@ import { EthAddress } from '@aztec/circuits.js';

*/
getBlockHeight(): Promise<number>;
getBlockNumber(): Promise<number>;
/**

@@ -19,0 +19,0 @@ * Gets an l2 block. If a negative number is passed, the block returned is the most recent.

{
"name": "@aztec/types",
"version": "0.1.0-alpha44",
"version": "0.1.0-alpha45",
"exports": "./dest/index.js",
"type": "module",
"dependencies": {
"@aztec/circuits.js": "0.1.0-alpha44",
"@aztec/foundation": "0.1.0-alpha44",
"@aztec/circuits.js": "0.1.0-alpha45",
"@aztec/foundation": "0.1.0-alpha45",
"browserify-cipher": "^1.0.1",

@@ -10,0 +10,0 @@ "lodash.clonedeep": "^4.5.0",

@@ -84,3 +84,2 @@ import { AztecAddress, EthAddress, Fr, PartialAddress, PrivateKey } from '@aztec/circuits.js';

* public key.
* @throws If the recipient is already registered.
*/

@@ -207,6 +206,6 @@ registerRecipient(recipient: CompleteAddress): Promise<void>;

/**
* Get latest L2 block number.
* @returns The latest block number.
* Fetches the current block number.
* @returns The block number.
*/
getBlockNum(): Promise<number>;
getBlockNumber(): Promise<number>;

@@ -223,3 +222,3 @@ /**

* @remarks This indicates that blocks and transactions are synched even if notes are not.
* @remarks Compares local block height with the block height from aztec node.
* @remarks Compares local block number with the block number from aztec node.
*/

@@ -226,0 +225,0 @@ isGlobalStateSynchronised(): Promise<boolean>;

@@ -46,6 +46,6 @@ import { EthAddress, HistoricBlockData } from '@aztec/circuits.js';

/**
* Method to fetch the current block height.
* @returns The block height as a number.
* Fetches the current block number.
* @returns The block number.
*/
getBlockHeight(): Promise<number>;
getBlockNumber(): Promise<number>;

@@ -52,0 +52,0 @@ /**

@@ -19,3 +19,3 @@ import { EthAddress } from '@aztec/circuits.js';

*/
getBlockHeight(): Promise<number>;
getBlockNumber(): Promise<number>;

@@ -22,0 +22,0 @@ /**

Sorry, the diff of this file is not supported yet

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