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

@relaycorp/relaynet-core

Package Overview
Dependencies
Maintainers
2
Versions
293
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@relaycorp/relaynet-core - npm Package Compare versions

Comparing version 1.20.1 to 1.21.0

build/main/lib/messages/CargoCollectionAuthorization.d.ts

9

build/main/index.d.ts

@@ -10,11 +10,12 @@ export { default as RelaynetError } from './lib/RelaynetError';

export { SignatureOptions } from './lib/crypto_wrappers/cms/signedData';
export { default as Message } from './lib/messages/Message';
export { default as Payload } from './lib/messages/PayloadPlaintext';
export { default as ServiceMessage } from './lib/messages/ServiceMessage';
export { default as RAMFError } from './lib/ramf/RAMFError';
export { default as RAMFSyntaxError } from './lib/ramf/RAMFSyntaxError';
export { default as RAMFValidationError } from './lib/ramf/RAMFValidationError';
export { default as InvalidMessageError } from './lib/messages/InvalidMessageError';
export { default as Message } from './lib/messages/Message';
export { default as Parcel } from './lib/messages/Parcel';
export { default as ServiceMessage } from './lib/messages/ServiceMessage';
export { default as Cargo } from './lib/messages/Cargo';
export { CargoCollectionAuthorization } from './lib/messages/CargoCollectionAuthorization';
export { default as CargoMessageSet } from './lib/messages/CargoMessageSet';
export { default as InvalidMessageError } from './lib/messages/InvalidMessageError';
export { default as RAMFValidationError } from './lib/ramf/RAMFValidationError';

@@ -43,7 +43,2 @@ "use strict";

__export(require("./lib/crypto_wrappers/cms/envelopedData"));
// RAMF
var Message_1 = require("./lib/messages/Message");
exports.Message = Message_1.default;
var ServiceMessage_1 = require("./lib/messages/ServiceMessage");
exports.ServiceMessage = ServiceMessage_1.default;
var RAMFError_1 = require("./lib/ramf/RAMFError");

@@ -53,13 +48,19 @@ exports.RAMFError = RAMFError_1.default;

exports.RAMFSyntaxError = RAMFSyntaxError_1.default;
var RAMFValidationError_1 = require("./lib/ramf/RAMFValidationError");
exports.RAMFValidationError = RAMFValidationError_1.default;
var InvalidMessageError_1 = require("./lib/messages/InvalidMessageError");
exports.InvalidMessageError = InvalidMessageError_1.default;
var Message_1 = require("./lib/messages/Message");
exports.Message = Message_1.default;
var Parcel_1 = require("./lib/messages/Parcel");
exports.Parcel = Parcel_1.default;
var ServiceMessage_1 = require("./lib/messages/ServiceMessage");
exports.ServiceMessage = ServiceMessage_1.default;
var Cargo_1 = require("./lib/messages/Cargo");
exports.Cargo = Cargo_1.default;
var CargoCollectionAuthorization_1 = require("./lib/messages/CargoCollectionAuthorization");
exports.CargoCollectionAuthorization = CargoCollectionAuthorization_1.CargoCollectionAuthorization;
var CargoMessageSet_1 = require("./lib/messages/CargoMessageSet");
exports.CargoMessageSet = CargoMessageSet_1.default;
var InvalidMessageError_1 = require("./lib/messages/InvalidMessageError");
exports.InvalidMessageError = InvalidMessageError_1.default;
var RAMFValidationError_1 = require("./lib/ramf/RAMFValidationError");
exports.RAMFValidationError = RAMFValidationError_1.default;
//endregion
//# sourceMappingURL=index.js.map

@@ -5,5 +5,5 @@ import { SignatureOptions } from '../crypto_wrappers/cms/signedData';

export default class Cargo extends Message<CargoMessageSet> {
static deserialize(parcelSerialized: ArrayBuffer): Promise<Cargo>;
static deserialize(cargoSerialized: ArrayBuffer): Promise<Cargo>;
protected readonly deserializePayload: typeof CargoMessageSet.deserialize;
serialize(senderPrivateKey: CryptoKey, signatureOptions?: SignatureOptions): Promise<ArrayBuffer>;
}

@@ -24,4 +24,4 @@ "use strict";

}
static async deserialize(parcelSerialized) {
return serialization.deserialize(parcelSerialized, concreteMessageTypeOctet, concreteMessageVersionOctet, Cargo);
static async deserialize(cargoSerialized) {
return serialization.deserialize(cargoSerialized, concreteMessageTypeOctet, concreteMessageVersionOctet, Cargo);
}

@@ -28,0 +28,0 @@ async serialize(senderPrivateKey, signatureOptions) {

@@ -10,11 +10,12 @@ export { default as RelaynetError } from './lib/RelaynetError';

export { SignatureOptions } from './lib/crypto_wrappers/cms/signedData';
export { default as Message } from './lib/messages/Message';
export { default as Payload } from './lib/messages/PayloadPlaintext';
export { default as ServiceMessage } from './lib/messages/ServiceMessage';
export { default as RAMFError } from './lib/ramf/RAMFError';
export { default as RAMFSyntaxError } from './lib/ramf/RAMFSyntaxError';
export { default as RAMFValidationError } from './lib/ramf/RAMFValidationError';
export { default as InvalidMessageError } from './lib/messages/InvalidMessageError';
export { default as Message } from './lib/messages/Message';
export { default as Parcel } from './lib/messages/Parcel';
export { default as ServiceMessage } from './lib/messages/ServiceMessage';
export { default as Cargo } from './lib/messages/Cargo';
export { CargoCollectionAuthorization } from './lib/messages/CargoCollectionAuthorization';
export { default as CargoMessageSet } from './lib/messages/CargoMessageSet';
export { default as InvalidMessageError } from './lib/messages/InvalidMessageError';
export { default as RAMFValidationError } from './lib/ramf/RAMFValidationError';

@@ -22,13 +22,13 @@ //region Configure PKI.js

export * from './lib/crypto_wrappers/cms/envelopedData';
// RAMF
export { default as Message } from './lib/messages/Message';
export { default as ServiceMessage } from './lib/messages/ServiceMessage';
export { default as RAMFError } from './lib/ramf/RAMFError';
export { default as RAMFSyntaxError } from './lib/ramf/RAMFSyntaxError';
export { default as RAMFValidationError } from './lib/ramf/RAMFValidationError';
export { default as InvalidMessageError } from './lib/messages/InvalidMessageError';
export { default as Message } from './lib/messages/Message';
export { default as Parcel } from './lib/messages/Parcel';
export { default as ServiceMessage } from './lib/messages/ServiceMessage';
export { default as Cargo } from './lib/messages/Cargo';
export { CargoCollectionAuthorization } from './lib/messages/CargoCollectionAuthorization';
export { default as CargoMessageSet } from './lib/messages/CargoMessageSet';
export { default as InvalidMessageError } from './lib/messages/InvalidMessageError';
export { default as RAMFValidationError } from './lib/ramf/RAMFValidationError';
//endregion
//# sourceMappingURL=index.js.map

@@ -5,5 +5,5 @@ import { SignatureOptions } from '../crypto_wrappers/cms/signedData';

export default class Cargo extends Message<CargoMessageSet> {
static deserialize(parcelSerialized: ArrayBuffer): Promise<Cargo>;
static deserialize(cargoSerialized: ArrayBuffer): Promise<Cargo>;
protected readonly deserializePayload: typeof CargoMessageSet.deserialize;
serialize(senderPrivateKey: CryptoKey, signatureOptions?: SignatureOptions): Promise<ArrayBuffer>;
}

@@ -12,4 +12,4 @@ // This module wouldn't duplicate Parcel.ts if TypeScript supported static+abstract members

}
static async deserialize(parcelSerialized) {
return serialization.deserialize(parcelSerialized, concreteMessageTypeOctet, concreteMessageVersionOctet, Cargo);
static async deserialize(cargoSerialized) {
return serialization.deserialize(cargoSerialized, concreteMessageTypeOctet, concreteMessageVersionOctet, Cargo);
}

@@ -16,0 +16,0 @@ async serialize(senderPrivateKey, signatureOptions) {

{
"name": "@relaycorp/relaynet-core",
"version": "1.20.1",
"version": "1.21.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

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