zmp-sdk 2.27.1 → 2.27.2

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.
package/apis/index.d.ts CHANGED
@@ -18,7 +18,8 @@ declare enum Events {
18
18
  OnDataCallback = "h5.event.webview.result",
19
19
  OpenApp = "h5.event.open.mp",
20
20
  AppClose = "h5.event.action.close",
21
- PaymentCallback = "payment.callback"
21
+ PaymentCallback = "payment.callback",
22
+ PaymentResult = "action.payment.result"
22
23
  }
23
24
 
24
25
  type AsyncCallbackFailObject = {
@@ -1 +1 @@
1
- var r="2.27.1";export{r as version};
1
+ var r="2.27.2";export{r as version};
@@ -1 +1 @@
1
- var n,e,o,a,i,t,c,u,p,l,r,d,m,f,h,s;!function(n){n.none="none",n.wifi="wifi",n.cellular="cellular",n.unknown="unknown"}(n||(n={})),function(n){n.wp="wp",n.android="android",n.iOS="iOS",n.unknown="unknown"}(e||(e={})),function(n){n.AppPaused="h5.event.paused",n.AppResumed="h5.event.resumed",n.NetworkChanged="h5.event.connection.changed",n.OnDataCallback="h5.event.webview.result",n.OpenApp="h5.event.open.mp",n.AppClose="h5.event.action.close",n.PaymentCallback="payment.callback"}(o||(o={})),function(n){n.DOING="doing",n.DONE="done"}(a||(a={})),function(n){n[n.user=1]="user",n[n.oa=0]="oa",n[n.aliasOA=2]="aliasOA"}(i||(i={})),function(n){n[n.user=1]="user",n[n.oa=0]="oa"}(t||(t={})),function(n){n[n.image=1]="image",n[n.link=4]="link",n[n.profile=5]="profile"}(c||(c={})),function(n){n[n.image=1]="image",n[n.gif=11]="gif",n[n.video=12]="video",n[n.link=4]="link",n[n.oa=5]="oa",n[n.zmp=20]="zmp",n[n.multi_image=21]="multi_image",n[n.zmp_deep_link=4]="zmp_deep_link"}(u||(u={})),function(n){n[n.auto=1]="auto",n[n.portrait=2]="portrait",n[n.landscape=3]="landscape"}(p||(p={})),function(n){n[n.oneShot=0]="oneShot"}(l||(l={})),function(n){n[n.zcamera=3]="zcamera",n[n.zcamera_photo=1]="zcamera_photo",n[n.zcamera_video=2]="zcamera_video",n[n.zcamera_scan=7]="zcamera_scan",n[n.photo=4]="photo",n[n.video=5]="video",n[n.file=6]="file"}(r||(r={})),function(n){n.SUBSCRIPTION="SUBSCRIPTION",n.ONETIME="ONETIME"}(d||(d={})),function(n){n[n.UNKNOW=0]="UNKNOW",n[n.DEFERRED=1]="DEFERRED",n[n.IMMEDIATE_AND_CHARGE_FULL_PRICE=2]="IMMEDIATE_AND_CHARGE_FULL_PRICE"}(m||(m={})),function(n){n[n.normal=1]="normal",n[n.hidden=0]="hidden",n[n.transparent=2]="transparent"}(f||(f={})),function(n){n[n.show=1]="show",n[n.hide=0]="hide"}(h||(h={})),function(n){n[n.show=1]="show",n[n.hide=0]="hide"}(s||(s={}));export{h as AndroidBottomNavigationBarType,t as ChatType,o as Events,d as IAPPayType,s as IOSSafeAreaBottomType,a as JumpStatus,r as MediaPickerType,n as NetworkType,p as OrientationType,e as PlatformType,c as PostFeedType,i as ProfileType,m as ProrationMode,u as ShareSheetType,f as StatusBarType,l as VibrateType};
1
+ var n,e,a,o,i,t,c,u,l,p,r,d,m,s,f,h;!function(n){n.none="none",n.wifi="wifi",n.cellular="cellular",n.unknown="unknown"}(n||(n={})),function(n){n.wp="wp",n.android="android",n.iOS="iOS",n.unknown="unknown"}(e||(e={})),function(n){n.AppPaused="h5.event.paused",n.AppResumed="h5.event.resumed",n.NetworkChanged="h5.event.connection.changed",n.OnDataCallback="h5.event.webview.result",n.OpenApp="h5.event.open.mp",n.AppClose="h5.event.action.close",n.PaymentCallback="payment.callback",n.PaymentResult="action.payment.result"}(a||(a={})),function(n){n.DOING="doing",n.DONE="done"}(o||(o={})),function(n){n[n.user=1]="user",n[n.oa=0]="oa",n[n.aliasOA=2]="aliasOA"}(i||(i={})),function(n){n[n.user=1]="user",n[n.oa=0]="oa"}(t||(t={})),function(n){n[n.image=1]="image",n[n.link=4]="link",n[n.profile=5]="profile"}(c||(c={})),function(n){n[n.image=1]="image",n[n.gif=11]="gif",n[n.video=12]="video",n[n.link=4]="link",n[n.oa=5]="oa",n[n.zmp=20]="zmp",n[n.multi_image=21]="multi_image",n[n.zmp_deep_link=4]="zmp_deep_link"}(u||(u={})),function(n){n[n.auto=1]="auto",n[n.portrait=2]="portrait",n[n.landscape=3]="landscape"}(l||(l={})),function(n){n[n.oneShot=0]="oneShot"}(p||(p={})),function(n){n[n.zcamera=3]="zcamera",n[n.zcamera_photo=1]="zcamera_photo",n[n.zcamera_video=2]="zcamera_video",n[n.zcamera_scan=7]="zcamera_scan",n[n.photo=4]="photo",n[n.video=5]="video",n[n.file=6]="file"}(r||(r={})),function(n){n.SUBSCRIPTION="SUBSCRIPTION",n.ONETIME="ONETIME"}(d||(d={})),function(n){n[n.UNKNOW=0]="UNKNOW",n[n.DEFERRED=1]="DEFERRED",n[n.IMMEDIATE_AND_CHARGE_FULL_PRICE=2]="IMMEDIATE_AND_CHARGE_FULL_PRICE"}(m||(m={})),function(n){n[n.normal=1]="normal",n[n.hidden=0]="hidden",n[n.transparent=2]="transparent"}(s||(s={})),function(n){n[n.show=1]="show",n[n.hide=0]="hide"}(f||(f={})),function(n){n[n.show=1]="show",n[n.hide=0]="hide"}(h||(h={}));export{f as AndroidBottomNavigationBarType,t as ChatType,a as Events,d as IAPPayType,h as IOSSafeAreaBottomType,o as JumpStatus,r as MediaPickerType,n as NetworkType,l as OrientationType,e as PlatformType,c as PostFeedType,i as ProfileType,m as ProrationMode,u as ShareSheetType,s as StatusBarType,p as VibrateType};