@snugdesk/whatsapp-widget 0.1.7 → 0.1.9

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.

Potentially problematic release.


This version of @snugdesk/whatsapp-widget might be problematic. Click here for more details.

package/index.d.ts CHANGED
@@ -162,12 +162,15 @@ declare function provideAppSyncConfig(config: AppSyncGraphqlConfig): ValueProvid
162
162
  declare class AppSyncGraphqlService {
163
163
  private readonly authenticationService;
164
164
  private configured;
165
+ private authMode;
165
166
  private readonly config;
166
167
  constructor(config: AppSyncGraphqlConfig | null, authenticationService: SnugdeskAuthenticationService);
167
168
  query<T>(statement: string, variables?: Record<string, unknown>): Promise<GraphQLResult<T>>;
168
169
  mutate<T>(statement: string, variables?: Record<string, unknown>): Promise<GraphQLResult<T>>;
169
170
  subscribe<T>(statement: string, variables?: Record<string, unknown>): Observable<GraphQLResult<T>>;
170
171
  private ensureConfigured;
172
+ private getHostConfig;
173
+ private normalizeAuthMode;
171
174
  private buildAuthHeaders;
172
175
  private getToken;
173
176
  static ɵfac: i0.ɵɵFactoryDeclaration<AppSyncGraphqlService, [{ optional: true; }, null]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snugdesk/whatsapp-widget",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "WhatsApp widget for Angular Apps - Powered by Snugdesk",
5
5
  "peerDependencies": {
6
6
  "@angular/animations": ">=17.0.0",
@@ -9,14 +9,14 @@
9
9
  "@angular/forms": ">=17.0.0",
10
10
  "@angular/material": ">=17.0.0",
11
11
  "@angular/platform-browser": ">=17.0.0",
12
+ "@aws-amplify/api-graphql": "^3.0.0",
13
+ "aws-amplify": "^5.0.0",
12
14
  "rxjs": "~7.8.0"
13
15
  },
14
16
  "dependencies": {
15
- "@aws-amplify/api-graphql": "^3.4.22",
16
17
  "@aws-sdk/client-s3": "^3.741.0",
17
18
  "@ctrl/ngx-emoji-mart": "^9.2.0",
18
19
  "@snugdesk/core": "^0.0.12",
19
- "aws-amplify": "^5.3.27",
20
20
  "libphonenumber-js": "^1.11.19",
21
21
  "moment-timezone": "^0.5.48",
22
22
  "ngx-avatars": "^1.9.3",