@momo-cloud/gami-sdk 0.0.52 → 0.0.53

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.
@@ -82,7 +82,7 @@ declare const GamiSDK: {
82
82
  title?: string;
83
83
  description: string;
84
84
  duration: number;
85
- type?: "success" | "failure" | "info";
85
+ type?: "success" | "warning" | "error" | "info" | "failure";
86
86
  }) => any;
87
87
  showAlert: (title: string, message: string, buttons?: string[]) => any;
88
88
  setItem: (key: string, obj: any) => void;
@@ -102,11 +102,12 @@ declare const GamiSDK: {
102
102
  }) => Promise<any>;
103
103
  copyToClipBoard: (text: string, message?: string) => Promise<any>;
104
104
  shareFacebook: (url: string) => Promise<any>;
105
- shareMessenger: (url: string) => Promise<any>;
105
+ shareMessenger: (link: string) => Promise<any>;
106
106
  requestPermission: (permission: string) => Promise<any>;
107
107
  checkPermission: (permission: string) => Promise<any>;
108
- getContacts: ({ isMoMo }?: {
108
+ getContacts: ({ isMoMo, contactType }?: {
109
109
  isMoMo?: boolean;
110
+ contactType?: "device" | string | undefined;
110
111
  }) => Promise<any[]>;
111
112
  formatUrl: (origin: string, args?: any[]) => string;
112
113
  request: ({ path, method, subDomain, params, body, formData, extraHeader, useCloudMsg, mockData }: {