analytica.click 0.0.241 → 0.0.253

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 (2) hide show
  1. package/dist/index.d.ts +18 -23
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -18,7 +18,6 @@ declare module 'analytica.click/common-ui/src/types/index' {
18
18
 
19
19
  }
20
20
  declare module 'analytica.click/common-ui/src/types/widgets' {
21
- /// <reference types="react" />
22
21
  import { ICognitoAuth, TOnMessage } from 'ag-common/dist/ui/helpers/cognito';
23
22
  export type TTrackNoEvent = (p: Omit<ITrack, 'eventName'>) => Promise<{
24
23
  error?: string;
@@ -110,7 +109,6 @@ declare module 'analytica.click/ui-npm/src/components/AnalyticaConfig/types' {
110
109
 
111
110
  }
112
111
  declare module 'analytica.click/ui-npm/src/components/ErrorBoundary/index' {
113
- /// <reference types="react" />
114
112
  export const ErrorBoundary: ({ children, filterBrowserError, }: {
115
113
  children?: JSX.Element | JSX.Element[] | undefined;
116
114
  filterBrowserError?: ((e: ErrorEvent | Error) => boolean) | undefined;
@@ -118,7 +116,6 @@ declare module 'analytica.click/ui-npm/src/components/ErrorBoundary/index' {
118
116
 
119
117
  }
120
118
  declare module 'analytica.click/ui-npm/src/components/ExternalComponent/index' {
121
- /// <reference types="react" />
122
119
  export const ExternalComponent: ({ url, props, }: {
123
120
  url: string;
124
121
  props: Record<string, any>;
@@ -126,31 +123,11 @@ declare module 'analytica.click/ui-npm/src/components/ExternalComponent/index' {
126
123
 
127
124
  }
128
125
  declare module 'analytica.click/ui-npm/src/components/Feedback/index' {
129
- /// <reference types="react" />
130
126
  import { IFeedbackWidget } from 'analytica.click/common-ui/src/types/index';
131
127
  export const Feedback: (props: IFeedbackWidget) => JSX.Element;
132
128
 
133
- }
134
- declare module 'analytica.click/ui-npm/src/components/index' {
135
- export * from 'analytica.click/ui-npm/src/components/AnalyticaConfig/index';
136
- export * from 'analytica.click/ui-npm/src/components/ErrorBoundary/index';
137
- export * from 'analytica.click/ui-npm/src/components/ExternalComponent/index';
138
- export * from 'analytica.click/ui-npm/src/components/Feedback/index';
139
- export * from 'analytica.click/ui-npm/src/components/UserProvider/index';
140
- export { DashboardAuthValidation } from 'analytica.click/ui-npm/src/components/UserProvider/DashboardAuthValidation';
141
-
142
- }
143
- declare module 'analytica.click/ui-npm/src/components/UserProvider/cognito' {
144
- import { ICognitoAuth } from 'ag-common/dist/ui/helpers/cognito';
145
- import { User, AwsCreds } from 'ag-common/dist/ui/helpers/jwt';
146
- export function getAwsCreds({ user, config, }: {
147
- user?: User;
148
- config: ICognitoAuth;
149
- }): Promise<AwsCreds | undefined>;
150
-
151
129
  }
152
130
  declare module 'analytica.click/ui-npm/src/components/UserProvider/DashboardAuthValidation' {
153
- /// <reference types="react" />
154
131
  import { AuthedUserContext } from 'ag-common/dist/ui/helpers/jwt';
155
132
  import { IRequestCommon } from 'ag-common/dist/ui/helpers/routes';
156
133
  /**
@@ -178,6 +155,15 @@ declare module 'analytica.click/ui-npm/src/components/UserProvider/DashboardAuth
178
155
  openApiDisabled: boolean;
179
156
  };
180
157
 
158
+ }
159
+ declare module 'analytica.click/ui-npm/src/components/UserProvider/cognito' {
160
+ import { ICognitoAuth } from 'ag-common/dist/ui/helpers/cognito';
161
+ import { User, AwsCreds } from 'ag-common/dist/ui/helpers/jwt';
162
+ export function getAwsCreds({ user, config, }: {
163
+ user?: User;
164
+ config: ICognitoAuth;
165
+ }): Promise<AwsCreds | undefined>;
166
+
181
167
  }
182
168
  declare module 'analytica.click/ui-npm/src/components/UserProvider/getTokensFromCode' {
183
169
  import { User } from 'ag-common/dist/ui/helpers/jwt';
@@ -233,6 +219,15 @@ declare module 'analytica.click/ui-npm/src/components/UserProvider/useGranularHo
233
219
  export const useGranularEffect: (effect: EffectCallback, primaryDeps: DependencyList, secondaryDeps: DependencyList) => void;
234
220
  export {};
235
221
 
222
+ }
223
+ declare module 'analytica.click/ui-npm/src/components/index' {
224
+ export * from 'analytica.click/ui-npm/src/components/AnalyticaConfig/index';
225
+ export * from 'analytica.click/ui-npm/src/components/ErrorBoundary/index';
226
+ export * from 'analytica.click/ui-npm/src/components/ExternalComponent/index';
227
+ export * from 'analytica.click/ui-npm/src/components/Feedback/index';
228
+ export * from 'analytica.click/ui-npm/src/components/UserProvider/index';
229
+ export { DashboardAuthValidation } from 'analytica.click/ui-npm/src/components/UserProvider/DashboardAuthValidation';
230
+
236
231
  }
237
232
  declare module 'analytica.click/ui-npm/src/helpers/errorTrack' {
238
233
  import { PostError } from 'analytica.click/common-ui/src/types/api';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "analytica.click",
3
- "version": "0.0.241",
3
+ "version": "0.0.253",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "esbuild-node-externals": "1.4.1",
40
- "npm-dts": "1.3.11"
40
+ "npm-dts": "1.3.12"
41
41
  },
42
42
  "files": [
43
43
  "dist/index.d.ts",