@segment/actions-shared 1.153.2-async → 1.154.0
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/dist/engage/utils/track.d.ts +14 -14
- package/package.json +5 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ContextFromDecorator } from './operationTracking';
|
|
2
|
-
export declare const track: ((decoratorArgs?: (
|
|
3
|
-
wrapIntegrationError?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => import("@segment/actions-core/*").IntegrationError | ConstructorParameters<typeof import("@segment/actions-core/*").IntegrationError>) | undefined;
|
|
4
|
-
} & {
|
|
2
|
+
export declare const track: ((decoratorArgs?: ({
|
|
5
3
|
onError?: ((ctx: import("./operationTracking").OperationErrorHandlerContext<import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>>) => void) | undefined;
|
|
6
4
|
} & {
|
|
7
5
|
onTry?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
8
6
|
onFinally?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
7
|
+
} & import("./operationTracking").OperationLoggerDecoratorArgs & {
|
|
8
|
+
wrapIntegrationError?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => import("@segment/actions-core/*").IntegrationError | ConstructorParameters<typeof import("@segment/actions-core/*").IntegrationError>) | undefined;
|
|
9
9
|
} & {
|
|
10
10
|
shouldStats?: (args: import("./operationTracking").OperationStatsEventArgs) => boolean | void;
|
|
11
11
|
}) | undefined) => import("./operationTracking").GenericMethodDecorator<(this: any, ...args: any[]) => any>) & {
|
|
@@ -15,14 +15,8 @@ export declare const track: ((decoratorArgs?: (import("./operationTracking").Ope
|
|
|
15
15
|
}) | undefined;
|
|
16
16
|
} & {
|
|
17
17
|
_contextType: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
decoratorArgs?: import("./operationTracking").OperationLoggerDecoratorArgs;
|
|
21
|
-
sharedContext: import("./operationTracking").OperationLoggerSharedContext;
|
|
22
|
-
} & {
|
|
23
|
-
decoratorArgs?: {
|
|
24
|
-
wrapIntegrationError?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => import("@segment/actions-core/*").IntegrationError | ConstructorParameters<typeof import("@segment/actions-core/*").IntegrationError>) | undefined;
|
|
25
|
-
} | undefined;
|
|
18
|
+
start?: number;
|
|
19
|
+
duration?: number;
|
|
26
20
|
} & {
|
|
27
21
|
decoratorArgs?: {
|
|
28
22
|
onError?: ((ctx: import("./operationTracking").OperationErrorHandlerContext<import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>>) => void) | undefined;
|
|
@@ -30,15 +24,21 @@ export declare const track: ((decoratorArgs?: (import("./operationTracking").Ope
|
|
|
30
24
|
} & {
|
|
31
25
|
parent?: (import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & any) | undefined;
|
|
32
26
|
sharedContext: {};
|
|
33
|
-
} & {
|
|
34
|
-
start?: number;
|
|
35
|
-
duration?: number;
|
|
36
27
|
} & {
|
|
37
28
|
onFinally: (() => void)[];
|
|
38
29
|
decoratorArgs?: {
|
|
39
30
|
onTry?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
40
31
|
onFinally?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
41
32
|
} | undefined;
|
|
33
|
+
} & {
|
|
34
|
+
logs: string[];
|
|
35
|
+
logMetadata?: Record<string, unknown>;
|
|
36
|
+
decoratorArgs?: import("./operationTracking").OperationLoggerDecoratorArgs;
|
|
37
|
+
sharedContext: import("./operationTracking").OperationLoggerSharedContext;
|
|
38
|
+
} & {
|
|
39
|
+
decoratorArgs?: {
|
|
40
|
+
wrapIntegrationError?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => import("@segment/actions-core/*").IntegrationError | ConstructorParameters<typeof import("@segment/actions-core/*").IntegrationError>) | undefined;
|
|
41
|
+
} | undefined;
|
|
42
42
|
} & {
|
|
43
43
|
tags: string[];
|
|
44
44
|
sharedContext: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@segment/actions-shared",
|
|
3
3
|
"description": "Shared destination action methods and definitions.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.154.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/segmentio/action-destinations",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@amplitude/ua-parser-js": "^0.7.25",
|
|
40
|
-
"@segment/actions-core": "^3.168.
|
|
40
|
+
"@segment/actions-core": "^3.168.0",
|
|
41
41
|
"cheerio": "^1.0.0-rc.10",
|
|
42
42
|
"dayjs": "^1.10.7",
|
|
43
43
|
"escape-goat": "^3",
|
|
@@ -63,5 +63,6 @@
|
|
|
63
63
|
"setupFilesAfterEnv": [
|
|
64
64
|
"<rootDir>/test/setup-after-env.ts"
|
|
65
65
|
]
|
|
66
|
-
}
|
|
67
|
-
|
|
66
|
+
},
|
|
67
|
+
"gitHead": "139ddfe657b4ace12cde9078309c4fb0821a1bb4"
|
|
68
|
+
}
|