@hawk.so/types 0.1.28 → 0.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { JavaScriptAddons, WindowData, VueIntegrationAddons, BeautifiedUserAgent } from './javascript';
1
+ import { JavaScriptAddons, WindowData, VueIntegrationAddons, BeautifiedUserAgent, ConsoleLogEvent } from './javascript';
2
2
  import { PhpAddons } from './php';
3
3
  import { NodeJSAddons } from './nodejs';
4
4
  import { GoAddons } from './go';
@@ -8,4 +8,4 @@ import { DefaultAddons } from './default';
8
8
  * Union Type describing all catcher-specific additional data
9
9
  */
10
10
  declare type EventAddons = DefaultAddons | JavaScriptAddons | PhpAddons | NodeJSAddons | GoAddons | PythonAddons | DefaultAddons;
11
- export { WindowData, VueIntegrationAddons, BeautifiedUserAgent, EventAddons, DefaultAddons, JavaScriptAddons, PhpAddons, NodeJSAddons, GoAddons, PythonAddons, };
11
+ export { WindowData, VueIntegrationAddons, BeautifiedUserAgent, ConsoleLogEvent, EventAddons, DefaultAddons, JavaScriptAddons, PhpAddons, NodeJSAddons, GoAddons, PythonAddons, };
@@ -48,6 +48,10 @@ export interface ConsoleLogEvent {
48
48
  * File and line number where the log occurred
49
49
  */
50
50
  fileLine?: string;
51
+ /**
52
+ * CSS styles for %c formatting
53
+ */
54
+ styles?: string[];
51
55
  }
52
56
  /**
53
57
  * Additional data that can be sent by the JavaScript Catcher
@@ -39,6 +39,11 @@ export interface WorkspaceDBScheme {
39
39
  * Date when workspace was charged last time
40
40
  */
41
41
  lastChargeDate: Date;
42
+ /**
43
+ * Date when subscription will be expired
44
+ * Used for pre-paid plans for several months
45
+ */
46
+ paidUntil?: Date;
42
47
  /**
43
48
  * Total number of errors since the last charge date
44
49
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawk.so/types",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "TypeScript definitions for Hawk",
5
5
  "types": "build/index.d.ts",
6
6
  "main": "build/index.js",
@@ -1,4 +1,4 @@
1
- import { JavaScriptAddons, WindowData, VueIntegrationAddons, BeautifiedUserAgent } from './javascript';
1
+ import { JavaScriptAddons, WindowData, VueIntegrationAddons, BeautifiedUserAgent, ConsoleLogEvent } from './javascript';
2
2
  import { PhpAddons } from './php';
3
3
  import { NodeJSAddons } from './nodejs';
4
4
  import { GoAddons } from './go';
@@ -22,6 +22,7 @@ export {
22
22
  WindowData,
23
23
  VueIntegrationAddons,
24
24
  BeautifiedUserAgent,
25
+ ConsoleLogEvent,
25
26
  EventAddons,
26
27
  DefaultAddons,
27
28
  JavaScriptAddons,
@@ -58,6 +58,11 @@ export interface ConsoleLogEvent {
58
58
  * File and line number where the log occurred
59
59
  */
60
60
  fileLine?: string;
61
+
62
+ /**
63
+ * CSS styles for %c formatting
64
+ */
65
+ styles?: string[];
61
66
  }
62
67
 
63
68
  /**
@@ -49,6 +49,12 @@ export interface WorkspaceDBScheme {
49
49
  */
50
50
  lastChargeDate: Date;
51
51
 
52
+ /**
53
+ * Date when subscription will be expired
54
+ * Used for pre-paid plans for several months
55
+ */
56
+ paidUntil?: Date;
57
+
52
58
  /**
53
59
  * Total number of errors since the last charge date
54
60
  */