@relaycorp/relaynet-core
Advanced tools
Comparing version 1.19.1 to 1.20.0
@@ -25,2 +25,3 @@ /// <reference types="node" /> | ||
constructor(recipientAddress: string, senderCertificate: Certificate, payloadSerialized: Buffer, options?: Partial<MessageOptions>); | ||
get expiryDate(): Date; | ||
/** | ||
@@ -27,0 +28,0 @@ * Return RAMF serialization of message. |
@@ -25,2 +25,6 @@ "use strict"; | ||
} | ||
get expiryDate() { | ||
const creationDateTimestamp = this.date.getTime(); | ||
return new Date(creationDateTimestamp + this.ttl * 1000); | ||
} | ||
/** | ||
@@ -27,0 +31,0 @@ * Return certification path between sender's certificate and one certificate in |
@@ -25,2 +25,3 @@ /// <reference types="node" /> | ||
constructor(recipientAddress: string, senderCertificate: Certificate, payloadSerialized: Buffer, options?: Partial<MessageOptions>); | ||
get expiryDate(): Date; | ||
/** | ||
@@ -27,0 +28,0 @@ * Return RAMF serialization of message. |
@@ -19,2 +19,6 @@ import bufferToArray from 'buffer-to-arraybuffer'; | ||
} | ||
get expiryDate() { | ||
const creationDateTimestamp = this.date.getTime(); | ||
return new Date(creationDateTimestamp + this.ttl * 1000); | ||
} | ||
/** | ||
@@ -21,0 +25,0 @@ * Return certification path between sender's certificate and one certificate in |
{ | ||
"name": "@relaycorp/relaynet-core", | ||
"version": "1.19.1", | ||
"version": "1.20.0", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "email": "no-reply@relaycorp.tech", |
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
264746
4120