@hiver/connector-agent 4.0.1 → 4.0.2-feedback-beta.1

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.
Files changed (33) hide show
  1. package/app/connector-cards.d.ts.map +1 -1
  2. package/constants/card.d.ts +1 -0
  3. package/constants/card.d.ts.map +1 -1
  4. package/constants/feedback.d.ts +7 -0
  5. package/constants/feedback.d.ts.map +1 -0
  6. package/constants/global-constants.d.ts +0 -2
  7. package/constants/global-constants.d.ts.map +1 -1
  8. package/constants/tracking-events.d.ts +4 -0
  9. package/constants/tracking-events.d.ts.map +1 -1
  10. package/features/connector-cards/components/card-list/style.d.ts +0 -1
  11. package/features/connector-cards/components/card-list/style.d.ts.map +1 -1
  12. package/features/connector-cards/components/connector-header/help-dropdown.d.ts +15 -0
  13. package/features/connector-cards/components/connector-header/help-dropdown.d.ts.map +1 -0
  14. package/features/connector-cards/components/connector-header/index.d.ts +1 -0
  15. package/features/connector-cards/components/connector-header/index.d.ts.map +1 -1
  16. package/features/feedback/components/star-rating.d.ts +8 -0
  17. package/features/feedback/components/star-rating.d.ts.map +1 -0
  18. package/features/feedback/index.d.ts +7 -0
  19. package/features/feedback/index.d.ts.map +1 -0
  20. package/features/feedback/styles.d.ts +8 -0
  21. package/features/feedback/styles.d.ts.map +1 -0
  22. package/features/write-form/components/write-form/index.d.ts +2 -1
  23. package/features/write-form/components/write-form/index.d.ts.map +1 -1
  24. package/hooks/useAutoScroll.d.ts +10 -0
  25. package/hooks/useAutoScroll.d.ts.map +1 -0
  26. package/index.d.ts +1 -0
  27. package/index.d.ts.map +1 -1
  28. package/index.es.js +7040 -6480
  29. package/index.umd.js +317 -244
  30. package/package.json +1 -1
  31. package/testing/setup-test.d.ts.map +1 -1
  32. package/utils/index.d.ts +8 -3
  33. package/utils/index.d.ts.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiver/connector-agent",
3
- "version": "4.0.1",
3
+ "version": "4.0.2-feedback-beta.1",
4
4
  "main": "index.es.js",
5
5
  "module": "index.es.js",
6
6
  "types": "index.d.ts",
@@ -1 +1 @@
1
- {"version":3,"file":"setup-test.d.ts","sourceRoot":"","sources":["../../src/testing/setup-test.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
1
+ {"version":3,"file":"setup-test.d.ts","sourceRoot":"","sources":["../../src/testing/setup-test.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,2BAA2B,CAAC"}
package/utils/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { IAvailableFtr } from '../context';
2
2
  import { IEventData, ICardData, ISpecificCard, ISpecificCardSlice } from '../types/cards';
3
3
  export declare const generateUniqueKey: (text: number | string) => string;
4
- export declare const getVersionData: (version: string) => string | number | (() => StringIterator<string>) | ((url: string) => string) | (() => string) | ((pos: number) => string) | ((index: number) => number) | ((...strings: string[]) => string) | ((searchString: string, position?: number) => number) | ((searchString: string, position?: number) => number) | {
4
+ export declare const getVersionData: (version: string) => string | number | (() => string) | ((pos: number) => string) | ((index: number) => number) | ((...strings: string[]) => string) | ((searchString: string, position?: number) => number) | ((searchString: string, position?: number) => number) | {
5
5
  (that: string): number;
6
6
  (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
7
7
  (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
@@ -41,7 +41,7 @@ export declare const getVersionData: (version: string) => string | number | (()
41
41
  } | ((count: number) => string) | ((searchString: string, position?: number) => boolean) | ((name: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((color: string) => string) | {
42
42
  (size: number): string;
43
43
  (size: string): string;
44
- } | (() => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((maxLength: number, fillString?: string) => string) | ((maxLength: number, fillString?: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((regexp: RegExp) => RegExpStringIterator<RegExpExecArray>) | ((index: number) => string | undefined) | undefined;
44
+ } | (() => string) | ((url: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((maxLength: number, fillString?: string) => string) | ((maxLength: number, fillString?: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((regexp: RegExp) => RegExpStringIterator<RegExpExecArray>) | (() => StringIterator<string>) | ((index: number) => string | undefined) | undefined;
45
45
  export declare const isLocalStorageVersionSame: (version: string) => boolean;
46
46
  export declare const isUserAlreadySeenWhatsNew: (version: string, userId?: string) => boolean;
47
47
  export declare const setLocalStorageData: (version: string, shouldReset?: boolean, isExpand?: boolean) => void;
@@ -59,5 +59,10 @@ export declare const parseCardData: (data: ISpecificCardSlice) => ISpecificCard;
59
59
  export declare const getUniqueConnectorsFromCards: (cards: {
60
60
  [key: string]: ISpecificCard;
61
61
  } | null) => string[];
62
- export declare const getGotAnyFeedbackUrl: (userId: string | undefined, ugId: string | undefined, currentSmIds: string[], uniqueConnectors: string[]) => string;
62
+ export declare const buildFeedbackURL: ({ url, params }: {
63
+ url: string;
64
+ params: {
65
+ [key: string]: string | undefined | null;
66
+ };
67
+ }) => string;
63
68
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAM3C,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAE9F,eAAO,MAAM,iBAAiB,SAAU,MAAM,GAAG,MAAM,WAGtD,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,MAAM;;+DA+IovzM,eAAe;kCAnGzyzM,eAAO,iBAAiB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAxBf,eAAe;;;oBAKF,eAEjC;;;;;;;4XAvBX,CAAC;AAEF,eAAO,MAAM,yBAAyB,YAAa,MAAM,YAIxD,CAAC;AAOF,eA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