@snapfail/protocol 0.0.1 → 0.0.4

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.
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # @snapfail/protocol
2
+
3
+ Shared types, schemas and utilities for [snapfail](https://snapfail.com).
4
+
5
+ This is an internal package used by the snapfail SDK. You don't need to install it directly.
6
+
7
+ ## Documentation
8
+
9
+ Full docs at [snapfail.com](https://snapfail.com)
package/dist/index.js CHANGED
@@ -4003,6 +4003,7 @@ var DeviceSchema = exports_external.object({
4003
4003
  var StackFrameSchema = exports_external.object({
4004
4004
  file: exports_external.string(),
4005
4005
  line: exports_external.number().optional(),
4006
+ col: exports_external.number().optional(),
4006
4007
  fn: exports_external.string().optional()
4007
4008
  });
4008
4009
  var NetworkEntrySchema = exports_external.object({
@@ -7,14 +7,17 @@ export declare const CollectPayloadSchema: z.ZodObject<{
7
7
  stack: z.ZodArray<z.ZodObject<{
8
8
  file: z.ZodString;
9
9
  line: z.ZodOptional<z.ZodNumber>;
10
+ col: z.ZodOptional<z.ZodNumber>;
10
11
  fn: z.ZodOptional<z.ZodString>;
11
12
  }, "strip", z.ZodTypeAny, {
12
13
  file: string;
13
14
  line?: number | undefined;
15
+ col?: number | undefined;
14
16
  fn?: string | undefined;
15
17
  }, {
16
18
  file: string;
17
19
  line?: number | undefined;
20
+ col?: number | undefined;
18
21
  fn?: string | undefined;
19
22
  }>, "many">;
20
23
  }, "strip", z.ZodTypeAny, {
@@ -23,6 +26,7 @@ export declare const CollectPayloadSchema: z.ZodObject<{
23
26
  stack: {
24
27
  file: string;
25
28
  line?: number | undefined;
29
+ col?: number | undefined;
26
30
  fn?: string | undefined;
27
31
  }[];
28
32
  }, {
@@ -31,6 +35,7 @@ export declare const CollectPayloadSchema: z.ZodObject<{
31
35
  stack: {
32
36
  file: string;
33
37
  line?: number | undefined;
38
+ col?: number | undefined;
34
39
  fn?: string | undefined;
35
40
  }[];
36
41
  }>;
@@ -194,6 +199,7 @@ export declare const CollectPayloadSchema: z.ZodObject<{
194
199
  stack: {
195
200
  file: string;
196
201
  line?: number | undefined;
202
+ col?: number | undefined;
197
203
  fn?: string | undefined;
198
204
  }[];
199
205
  };
@@ -254,6 +260,7 @@ export declare const CollectPayloadSchema: z.ZodObject<{
254
260
  stack: {
255
261
  file: string;
256
262
  line?: number | undefined;
263
+ col?: number | undefined;
257
264
  fn?: string | undefined;
258
265
  }[];
259
266
  };
@@ -57,14 +57,17 @@ export declare const IncidentSampleSchema: z.ZodObject<{
57
57
  stackFrames: z.ZodArray<z.ZodObject<{
58
58
  file: z.ZodString;
59
59
  line: z.ZodOptional<z.ZodNumber>;
60
+ col: z.ZodOptional<z.ZodNumber>;
60
61
  fn: z.ZodOptional<z.ZodString>;
61
62
  }, "strip", z.ZodTypeAny, {
62
63
  file: string;
63
64
  line?: number | undefined;
65
+ col?: number | undefined;
64
66
  fn?: string | undefined;
65
67
  }, {
66
68
  file: string;
67
69
  line?: number | undefined;
70
+ col?: number | undefined;
68
71
  fn?: string | undefined;
69
72
  }>, "many">;
70
73
  consoleEntries: z.ZodArray<z.ZodObject<{
@@ -214,6 +217,7 @@ export declare const IncidentSampleSchema: z.ZodObject<{
214
217
  stackFrames: {
215
218
  file: string;
216
219
  line?: number | undefined;
220
+ col?: number | undefined;
217
221
  fn?: string | undefined;
218
222
  }[];
219
223
  consoleEntries: {
@@ -272,6 +276,7 @@ export declare const IncidentSampleSchema: z.ZodObject<{
272
276
  stackFrames: {
273
277
  file: string;
274
278
  line?: number | undefined;
279
+ col?: number | undefined;
275
280
  fn?: string | undefined;
276
281
  }[];
277
282
  consoleEntries: {
@@ -52,14 +52,17 @@ export declare const DeviceSchema: z.ZodObject<{
52
52
  export declare const StackFrameSchema: z.ZodObject<{
53
53
  file: z.ZodString;
54
54
  line: z.ZodOptional<z.ZodNumber>;
55
+ col: z.ZodOptional<z.ZodNumber>;
55
56
  fn: z.ZodOptional<z.ZodString>;
56
57
  }, "strip", z.ZodTypeAny, {
57
58
  file: string;
58
59
  line?: number | undefined;
60
+ col?: number | undefined;
59
61
  fn?: string | undefined;
60
62
  }, {
61
63
  file: string;
62
64
  line?: number | undefined;
65
+ col?: number | undefined;
63
66
  fn?: string | undefined;
64
67
  }>;
65
68
  export declare const NetworkEntrySchema: z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snapfail/protocol",
3
- "version": "0.0.1",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "description": "Shared types, schemas and utilities for snapfail",
6
6
  "license": "MIT",