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.
- package/dist/dc.min.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/lib/implements/wallet/manager.ts +2 -2
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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
|
-
|
|
219
|
+
(iframe as any).credentialless = true; // 去掉可以加快加载
|
|
220
220
|
iframe.onload = async () => {
|
|
221
221
|
resolve(true);
|
|
222
222
|
};
|