dce-reactkit 3.6.21 → 3.6.23
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/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/helpers/logClientEvent.d.ts +3 -1
- package/dist/cjs/types/types/LogAction.d.ts +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/helpers/logClientEvent.d.ts +3 -1
- package/dist/esm/types/types/LogAction.d.ts +1 -0
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
- package/src/helpers/logClientEvent.tsx +1 -1
- package/src/types/LogAction.ts +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -933,6 +933,7 @@ declare enum LogAction {
|
|
|
933
933
|
Peek = "Peek",
|
|
934
934
|
Halt = "Halt",
|
|
935
935
|
Resume = "Resume",
|
|
936
|
+
Jump = "Jump",
|
|
936
937
|
Unknown = "Unknown"
|
|
937
938
|
}
|
|
938
939
|
|
|
@@ -1188,7 +1189,9 @@ declare const onlyKeepLetters: (str: string) => string;
|
|
|
1188
1189
|
*/
|
|
1189
1190
|
declare const parallelLimit: (taskFunctions: (() => Promise<any>)[], limit?: number) => Promise<any[]>;
|
|
1190
1191
|
|
|
1191
|
-
type MetadataPopulator = () =>
|
|
1192
|
+
type MetadataPopulator = () => {
|
|
1193
|
+
[k: string]: any;
|
|
1194
|
+
} | Promise<{
|
|
1192
1195
|
[k: string]: any;
|
|
1193
1196
|
}>;
|
|
1194
1197
|
/**
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ import visitServerEndpoint from './visitServerEndpoint';
|
|
|
10
10
|
/* ------- Metadata Populator ------- */
|
|
11
11
|
|
|
12
12
|
// Type of a metadata populator function
|
|
13
|
-
type MetadataPopulator = () => Promise<{ [k: string]: any }>;
|
|
13
|
+
type MetadataPopulator = () => { [k: string]: any } | Promise<{ [k: string]: any }>;
|
|
14
14
|
|
|
15
15
|
// Current metadata populator function
|
|
16
16
|
let metadataPopulator: MetadataPopulator;
|
package/src/types/LogAction.ts
CHANGED