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/esm/index.js CHANGED
@@ -91456,7 +91456,7 @@ var config = {
91456
91456
  payProtocol: payProtocol$2
91457
91457
  };
91458
91458
 
91459
- var baseUrl = "/v0_1_10";
91459
+ var baseUrl = "/v0_1_11";
91460
91460
  var walletOrigin$1 = "https://login.baybird.cn";
91461
91461
  var payProtocol$1 = "/dc/pay/1.0.0";
91462
91462
  var configPro = {
@@ -106241,7 +106241,7 @@ class WalletManager {
106241
106241
  return false;
106242
106242
  }
106243
106243
  // 等待 wallet-web JS 监听器就绪后再发送
106244
- await new Promise((resolve) => setTimeout(resolve, isIframeOpen() ? 300 : 800));
106244
+ await new Promise((resolve) => setTimeout(resolve, isIframeOpen() ? 100 : 200));
106245
106245
  if (isIframeOpen()) {
106246
106246
  const iframe = document.getElementById(this.walletIframeId);
106247
106247
  iframe?.contentWindow?.postMessage(msg, walletOrigin);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-dc-api",
3
- "version": "0.2.65",
3
+ "version": "0.2.66",
4
4
  "description": "一个革命性的去中心化 Web 开发 SDK,让您无需任何服务器即可构建完整的互联网应用",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -123,4 +123,4 @@
123
123
  "bugs": {
124
124
  "url": "https://github.com/dcnetio/web-dc-api/issues"
125
125
  }
126
- }
126
+ }