@railgun-community/shared-models
Advanced tools
Comparing version 6.0.3 to 6.0.6
/// <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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
184910
2153