Socket
Socket
Sign inDemoInstall

@railgun-community/shared-models

Package Overview
Dependencies
Maintainers
4
Versions
227
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@railgun-community/shared-models - npm Package Compare versions

Comparing version 6.0.3 to 6.0.6

4

dist/models/relayer.d.ts
/// <reference types="../types/global" />
import { TXIDVersion } from './engine';
import { ChainType, CommitmentCiphertext, PreTransactionPOIsPerTxidLeafPerList } from './response-types';
import { ChainType, CommitmentCiphertextV2, CommitmentCiphertextV3, PreTransactionPOIsPerTxidLeafPerList } from './response-types';
export type RelayerFeeMessageData = {

@@ -43,3 +43,3 @@ fees: MapType<string>;

gasLimit: string;
commitmentCiphertext: CommitmentCiphertext;
commitmentCiphertext: CommitmentCiphertextV2 | CommitmentCiphertextV3;
commitmentHash: string;

@@ -46,0 +46,0 @@ };

@@ -224,3 +224,7 @@ /// <reference types="../types/global" />

};
export type CommitmentCiphertext = {
type CiphertextIVData = {
iv: string;
data: string[];
};
export type CommitmentCiphertextV2 = {
ciphertext: Ciphertext;

@@ -232,6 +236,11 @@ blindedSenderViewingKey: string;

};
export type CommitmentCiphertextV3 = {
ciphertext: CiphertextIVData;
blindedSenderViewingKey: string;
blindedReceiverViewingKey: string;
};
export type CommitmentSummary = {
commitmentCiphertext: CommitmentCiphertext;
commitmentCiphertext: CommitmentCiphertextV2 | CommitmentCiphertextV3;
commitmentHash: string;
};
export {};
{
"name": "@railgun-community/shared-models",
"version": "6.0.3",
"version": "6.0.6",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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