@heycar/heycars-map 0.9.25-alpha2 → 0.9.25-alpha3
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.
|
@@ -12,7 +12,9 @@ class QueryWxSignatureStatus {
|
|
|
12
12
|
__publicField(this, "timoutStatusPromise", Promise.resolve("TIMEOUT"));
|
|
13
13
|
__publicField(this, "readyStatusPromise", Promise.resolve("READY"));
|
|
14
14
|
this.pendingStatusPromise = new Promise((resolve, reject) => {
|
|
15
|
+
const now = Date.now();
|
|
15
16
|
wx == null ? void 0 : wx.ready(() => {
|
|
17
|
+
console.warn(`微信签名状态:查询到状态-签名成功, 用时 ${(Date.now() - now) / 1e3} 秒`);
|
|
16
18
|
this.status = "READY";
|
|
17
19
|
resolve("READY");
|
|
18
20
|
});
|
package/dist/utils/log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const availableLogKeys = /* @__PURE__ */ new Set();
|
|
2
2
|
const pkgName = "@heycar/heycars-map";
|
|
3
|
-
const pkgVersion = "0.9.25-
|
|
3
|
+
const pkgVersion = "0.9.25-alpha3";
|
|
4
4
|
const isEnableLog = (name) => {
|
|
5
5
|
const searchParam = new URLSearchParams(location.search);
|
|
6
6
|
return searchParam.has(`log-${name}`);
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { Wx } from "../types/wx";
|
|
2
2
|
export declare const MINI_PROGRAM_WEB_VIEW_CLOSE_EVENT = "MINI_PROGRAM_WEB_VIEW_CLOSE_EVENT";
|
|
3
3
|
export declare const MINI_PROGRAM_WEB_VIEW_CLOSE_TIMEOUT: number;
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated
|
|
6
|
+
*/
|
|
4
7
|
export declare const patchMiniprogramRedirectTo: (wx: Wx) => Wx["miniProgram"]["redirectTo"];
|