🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@google/events

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google/events - npm Package Compare versions

Comparing version
5.3.0
to
5.4.0
+7
-0
CHANGELOG.md
# Changelog
## [5.4.0](https://www.github.com/googleapis/google-cloudevents-nodejs/compare/v5.3.0...v5.4.0) (2022-02-17)
### Features
* run generator (02-17-2022) ([#125](https://www.github.com/googleapis/google-cloudevents-nodejs/issues/125)) ([b94cbcf](https://www.github.com/googleapis/google-cloudevents-nodejs/commit/b94cbcf5ffa867745ad87129f3bf6a5153890dfa))
## [5.3.0](https://www.github.com/googleapis/google-cloudevents-nodejs/compare/v5.2.0...v5.3.0) (2021-12-14)

@@ -4,0 +11,0 @@

+31
-1
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -70,2 +70,7 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Information indicating this LogEntry is part of a sequence of multiple logs
* split from a single LogEntry.
*/
split?: Split;
/**
* The time the event described by the log entry occurred.

@@ -859,2 +864,27 @@ */

/**
* Information indicating this LogEntry is part of a sequence of multiple logs
* split from a single LogEntry.
*
* Additional information used to correlate multiple LogEntries. Used when a
* single LogEntry would exceed the Google Cloud Logging size limit and is split
* across multiple entries.
*/
export interface Split {
/**
* The index of this LogEntry in the sequence of split logs. LogEntries are
* given |index| values 0, 1, ..., n-1 for a sequence of n entries.
*/
index?: number;
/**
* The total number of logs that the original LogEntry was split into.
*/
totalSplits?: number;
/**
* A globally unique identifier for all LogEntries in a sequence of split
* logs. All LogEntries with the same |LogSplit.uid| are assumed to be part of
* the same sequence of split logs.
*/
uid?: string;
}
/**
* Cast a raw JSON object to a typed event (useful for IDE autocompletion).

@@ -861,0 +891,0 @@ * @param {object} json The JSON object

+1
-1
"use strict";
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -69,2 +69,7 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Information indicating this LogEntry is part of a sequence of multiple logs
* split from a single LogEntry.
*/
split?: Split;
/**
* The time the event described by the log entry occurred.

@@ -850,2 +855,28 @@ */

/**
* Information indicating this LogEntry is part of a sequence of multiple logs
* split from a single LogEntry.
*
* Additional information used to correlate multiple LogEntries. Used when a
* single LogEntry would exceed the Google Cloud Logging size limit and is split
* across multiple entries.
*/
export interface Split {
/**
* The index of this LogEntry in the sequence of split logs. LogEntries are
* given |index| values 0, 1, ..., n-1 for a sequence of n entries.
*/
index?: number;
/**
* The total number of logs that the original LogEntry was split into.
*/
totalSplits?: number;
/**
* A globally unique identifier for all LogEntries in a sequence of split
* logs. All LogEntries with the same |LogSplit.uid| are assumed to be part of
* the same sequence of split logs.
*/
uid?: string;
}
/**
* Cast a raw JSON object to a typed event (useful for IDE autocompletion).

@@ -852,0 +883,0 @@ * @param {object} json The JSON object

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

/**
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*

@@ -4,0 +4,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

{
"name": "@google/events",
"version": "5.3.0",
"version": "5.4.0",
"description": "Client library for CloudEvents issued by Google.",

@@ -38,3 +38,3 @@ "main": "index.js",

"@types/mocha": "^8.2.0",
"@types/node": "^14.11.2",
"@types/node": "^16.0.0",
"chai": "^4.2.0",

@@ -41,0 +41,0 @@ "gts": "^3.0.2",