@snugdesk/whatsapp-widget 0.1.8 → 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,13 +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;
171
- private shouldUseHostConfig;
172
+ private getHostConfig;
173
+ private normalizeAuthMode;
172
174
  private buildAuthHeaders;
173
175
  private getToken;
174
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.8",
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,8 +9,8 @@
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.4.22",
13
- "aws-amplify": "^5.3.27",
12
+ "@aws-amplify/api-graphql": "^3.0.0",
13
+ "aws-amplify": "^5.0.0",
14
14
  "rxjs": "~7.8.0"
15
15
  },
16
16
  "dependencies": {