zmp-sdk 2.15.0 → 2.15.1
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/dist/browser.min.js +3 -3
- package/dist/index.es.js +3 -3
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/browser.min.js
CHANGED
|
@@ -36589,7 +36589,7 @@
|
|
|
36589
36589
|
}
|
|
36590
36590
|
};
|
|
36591
36591
|
|
|
36592
|
-
var version = "2.15.
|
|
36592
|
+
var version = "2.15.1";
|
|
36593
36593
|
|
|
36594
36594
|
class Basics {
|
|
36595
36595
|
/**
|
|
@@ -38674,6 +38674,7 @@
|
|
|
38674
38674
|
var _ZaloMiniProgramSDK_zAppId, _ZaloMiniProgramSDK_appId, _ZaloMiniProgramSDK_appConfig, _ZaloMiniProgramSDK_zOAuth, _ZaloMiniProgramSDK_zOAuthVrf, _ZaloMiniProgramSDK_accessToken, _ZaloMiniProgramSDK_refreshToken, _ZaloMiniProgramSDK_cache, _ZaloMiniProgramSDK_prevGetTokenTimestamp, _ZaloMiniProgramSDK_tokenExpiresIn, _ZaloMiniProgramSDK_cookies, _ZaloMiniProgramSDK_configWindow, _ZaloMiniProgramSDK_configApp, _ZaloMiniProgramSDK_callJump, _ZaloMiniProgramSDK_setNavigationBarRightButton, _ZaloMiniProgramSDK_getActionsSupported;
|
|
38675
38675
|
class ZaloMiniProgramSDK extends ZJSBridgeProvider {
|
|
38676
38676
|
constructor() {
|
|
38677
|
+
var _a, _b, _c, _d;
|
|
38677
38678
|
super();
|
|
38678
38679
|
_ZaloMiniProgramSDK_zAppId.set(this, window.zAppID);
|
|
38679
38680
|
_ZaloMiniProgramSDK_appId.set(this, window.APP_ID);
|
|
@@ -38819,10 +38820,9 @@
|
|
|
38819
38820
|
__classPrivateFieldSet(this, _ZaloMiniProgramSDK_zOAuthVrf, null);
|
|
38820
38821
|
__classPrivateFieldSet(this, _ZaloMiniProgramSDK_accessToken, null);
|
|
38821
38822
|
this.isShowNavBar = true;
|
|
38822
|
-
this.isShowHomeButton = true;
|
|
38823
38823
|
__classPrivateFieldSet(this, _ZaloMiniProgramSDK_prevGetTokenTimestamp, 0);
|
|
38824
38824
|
__classPrivateFieldSet(this, _ZaloMiniProgramSDK_tokenExpiresIn, 0);
|
|
38825
|
-
|
|
38825
|
+
this.isShowHomeButton = ((_b = (_a = __classPrivateFieldGet(this, _ZaloMiniProgramSDK_appConfig)) === null || _a === void 0 ? void 0 : _a.app) === null || _b === void 0 ? void 0 : _b.leftButton) === 'home' || ((_d = (_c = __classPrivateFieldGet(this, _ZaloMiniProgramSDK_appConfig)) === null || _c === void 0 ? void 0 : _c.app) === null || _d === void 0 ? void 0 : _d.leftButton) === 'both';
|
|
38826
38826
|
}
|
|
38827
38827
|
static getInstance() {
|
|
38828
38828
|
if (!ZaloMiniProgramSDK.instance) {
|
package/dist/index.es.js
CHANGED
|
@@ -36586,7 +36586,7 @@ const apiResponse = {
|
|
|
36586
36586
|
}
|
|
36587
36587
|
};
|
|
36588
36588
|
|
|
36589
|
-
var version = "2.15.
|
|
36589
|
+
var version = "2.15.1";
|
|
36590
36590
|
|
|
36591
36591
|
class Basics {
|
|
36592
36592
|
/**
|
|
@@ -38671,6 +38671,7 @@ class Routing {
|
|
|
38671
38671
|
var _ZaloMiniProgramSDK_zAppId, _ZaloMiniProgramSDK_appId, _ZaloMiniProgramSDK_appConfig, _ZaloMiniProgramSDK_zOAuth, _ZaloMiniProgramSDK_zOAuthVrf, _ZaloMiniProgramSDK_accessToken, _ZaloMiniProgramSDK_refreshToken, _ZaloMiniProgramSDK_cache, _ZaloMiniProgramSDK_prevGetTokenTimestamp, _ZaloMiniProgramSDK_tokenExpiresIn, _ZaloMiniProgramSDK_cookies, _ZaloMiniProgramSDK_configWindow, _ZaloMiniProgramSDK_configApp, _ZaloMiniProgramSDK_callJump, _ZaloMiniProgramSDK_setNavigationBarRightButton, _ZaloMiniProgramSDK_getActionsSupported;
|
|
38672
38672
|
class ZaloMiniProgramSDK extends ZJSBridgeProvider {
|
|
38673
38673
|
constructor() {
|
|
38674
|
+
var _a, _b, _c, _d;
|
|
38674
38675
|
super();
|
|
38675
38676
|
_ZaloMiniProgramSDK_zAppId.set(this, window.zAppID);
|
|
38676
38677
|
_ZaloMiniProgramSDK_appId.set(this, window.APP_ID);
|
|
@@ -38816,10 +38817,9 @@ class ZaloMiniProgramSDK extends ZJSBridgeProvider {
|
|
|
38816
38817
|
__classPrivateFieldSet(this, _ZaloMiniProgramSDK_zOAuthVrf, null);
|
|
38817
38818
|
__classPrivateFieldSet(this, _ZaloMiniProgramSDK_accessToken, null);
|
|
38818
38819
|
this.isShowNavBar = true;
|
|
38819
|
-
this.isShowHomeButton = true;
|
|
38820
38820
|
__classPrivateFieldSet(this, _ZaloMiniProgramSDK_prevGetTokenTimestamp, 0);
|
|
38821
38821
|
__classPrivateFieldSet(this, _ZaloMiniProgramSDK_tokenExpiresIn, 0);
|
|
38822
|
-
|
|
38822
|
+
this.isShowHomeButton = ((_b = (_a = __classPrivateFieldGet(this, _ZaloMiniProgramSDK_appConfig)) === null || _a === void 0 ? void 0 : _a.app) === null || _b === void 0 ? void 0 : _b.leftButton) === 'home' || ((_d = (_c = __classPrivateFieldGet(this, _ZaloMiniProgramSDK_appConfig)) === null || _c === void 0 ? void 0 : _c.app) === null || _d === void 0 ? void 0 : _d.leftButton) === 'both';
|
|
38823
38823
|
}
|
|
38824
38824
|
static getInstance() {
|
|
38825
38825
|
if (!ZaloMiniProgramSDK.instance) {
|