web-dc-api 0.2.65 → 0.2.66
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/cjs/index.cjs +2 -2
- package/dist/dc.min.js +1 -1
- package/dist/esm/index.js +2 -2
- package/package.json +2 -2
package/dist/cjs/index.cjs
CHANGED
|
@@ -91479,7 +91479,7 @@ var config = {
|
|
|
91479
91479
|
payProtocol: payProtocol$2
|
|
91480
91480
|
};
|
|
91481
91481
|
|
|
91482
|
-
var baseUrl = "/
|
|
91482
|
+
var baseUrl = "/v0_1_11";
|
|
91483
91483
|
var walletOrigin$1 = "https://login.baybird.cn";
|
|
91484
91484
|
var payProtocol$1 = "/dc/pay/1.0.0";
|
|
91485
91485
|
var configPro = {
|
|
@@ -106264,7 +106264,7 @@ class WalletManager {
|
|
|
106264
106264
|
return false;
|
|
106265
106265
|
}
|
|
106266
106266
|
// 等待 wallet-web JS 监听器就绪后再发送
|
|
106267
|
-
await new Promise((resolve) => setTimeout(resolve, isIframeOpen() ?
|
|
106267
|
+
await new Promise((resolve) => setTimeout(resolve, isIframeOpen() ? 100 : 200));
|
|
106268
106268
|
if (isIframeOpen()) {
|
|
106269
106269
|
const iframe = document.getElementById(this.walletIframeId);
|
|
106270
106270
|
iframe?.contentWindow?.postMessage(msg, walletOrigin);
|