web-dc-api 0.0.55 → 0.0.56

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.
@@ -43,7 +43,7 @@ export class WalletManager {
43
43
  const iframe = document.createElement("iframe");
44
44
  iframe.id = this.iframeId;
45
45
  iframe.src = `${walletUrl}/iframe?parentOrigin=${appOrigin}`;
46
- // (iframe as any).credentialless = true;// 去掉可以加快加载
46
+ (iframe as any).credentialless = true;// 去掉可以加快加载
47
47
  iframe.onload = async () => {
48
48
  const bool = await this.initConfig(this);
49
49
  resolve(bool);
@@ -216,7 +216,7 @@ export class WalletManager {
216
216
  const iframe = document.createElement("iframe");
217
217
  iframe.id = this.walletIframeId;
218
218
  iframe.src = `${walletUrl}?origin=${appOrigin}`;
219
- // (iframe as any).credentialless = true; // 去掉可以加快加载
219
+ (iframe as any).credentialless = true; // 去掉可以加快加载
220
220
  iframe.onload = async () => {
221
221
  resolve(true);
222
222
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-dc-api",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "description": "web相关的dcapi",
5
5
  "type": "module",
6
6
  "browser": "dist/dc.min.js",