zmp-sdk 2.17.6 → 2.18.0

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.
@@ -35,7 +35,7 @@ export declare enum PostFeedType {
35
35
  profile = 5
36
36
  }
37
37
  export declare enum ShareSheetType {
38
- image = 1,
38
+ image = 21,
39
39
  gif = 11,
40
40
  video = 12,
41
41
  link = 4,
@@ -273,6 +273,8 @@ export declare type OpenShareSheet<T> = CallbackType<T> & {
273
273
  type: keyof typeof ShareSheetType;
274
274
  data: {
275
275
  imageUrl?: string;
276
+ imageUrls?: string[];
277
+ caption?: string;
276
278
  gifUrl?: string;
277
279
  width?: number;
278
280
  height?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmp-sdk",
3
- "version": "2.17.6",
3
+ "version": "2.18.0",
4
4
  "description": "Zalo Mini App SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -47,6 +47,7 @@
47
47
  "@babel/runtime": "^7.0.0-beta.46",
48
48
  "@open-wc/rollup-plugin-html": "^1.2.5",
49
49
  "@rollup/plugin-html": "^0.2.2",
50
+ "@rollup/plugin-node-resolve": "^13.2.0",
50
51
  "@types/debug": "^4.1.7",
51
52
  "@types/jest": "^25.1.3",
52
53
  "@types/lodash": "^4.14.168",