zmp-sdk 2.17.1 → 2.17.4

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.
@@ -37,4 +37,8 @@ export declare type systemInfo = {
37
37
  platform: string;
38
38
  /** Language set in Zalo */
39
39
  language: string;
40
+ /** Language set in Zalo */
41
+ zaloLanguage: string;
42
+ /** Theme set in Zalo */
43
+ zaloTheme: string;
40
44
  };
@@ -249,14 +249,14 @@ export declare type OpenChatData = CallbackType & {
249
249
  export declare type OpenPostFeedData<T> = CallbackType<T> & {
250
250
  type: keyof typeof PostFeedType;
251
251
  data: {
252
- imageUrl: string;
253
- link: string;
254
- title: string;
255
- thumb: string;
256
- description: string;
257
- avatar: string;
258
- id: string;
259
- displayName: string;
252
+ imageUrl?: string;
253
+ link?: string;
254
+ title?: string;
255
+ thumb?: string;
256
+ description?: string;
257
+ avatar?: string;
258
+ id?: string;
259
+ displayName?: string;
260
260
  };
261
261
  };
262
262
  /**
@@ -272,19 +272,19 @@ export declare type OAInput = CallbackType & {
272
272
  export declare type OpenShareSheet<T> = CallbackType<T> & {
273
273
  type: keyof typeof ShareSheetType;
274
274
  data: {
275
- imageUrl: string;
276
- gifUrl: string;
277
- width: number;
278
- height: number;
279
- videoThumb: string;
280
- videoUrl: string;
281
- link: string;
282
- chatOnly: boolean;
283
- id: string;
284
- title: string;
285
- description: string;
286
- thumbnail: string;
287
- path: string;
275
+ imageUrl?: string;
276
+ gifUrl?: string;
277
+ width?: number;
278
+ height?: number;
279
+ videoThumb?: string;
280
+ videoUrl?: string;
281
+ link?: string;
282
+ chatOnly?: boolean;
283
+ id?: string;
284
+ title?: string;
285
+ description?: string;
286
+ thumbnail?: string;
287
+ path?: string;
288
288
  };
289
289
  };
290
290
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmp-sdk",
3
- "version": "2.17.1",
3
+ "version": "2.17.4",
4
4
  "description": "Zalo Mini App SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",