@@ -80538,7 +80538,7 @@ if (cid) {
8053880538 ],
8053980539 faucets: ["https://faucet.mindchain.info/"],
8054080540 nativeCurrency: { name: "MIND Coin", symbol: "tMIND", decimals: 18 },
80541- infoURL: "https://mindscan .info",
80541+ infoURL: "https://mindchain .info",
8054280542 shortName: "tMIND",
8054380543 chainId: 9977,
8054480544 networkId: 9977,
@@ -80569,7 +80569,7 @@ if (cid) {
8056980569 ],
8057080570 faucets: [],
8057180571 nativeCurrency: { name: "MIND Coin", symbol: "MIND", decimals: 18 },
80572- infoURL: "https://mindscan .info",
80572+ infoURL: "https://mindchain .info",
8057380573 shortName: "MIND",
8057480574 chainId: 9996,
8057580575 networkId: 9996,
@@ -112485,7 +112485,7 @@ if (cid) {
112485112485 ],
112486112486 faucets: ["https://faucet.mindchain.info/"],
112487112487 nativeCurrency: { name: "MIND Coin", symbol: "tMIND", decimals: 18 },
112488- infoURL: "https://mindscan .info",
112488+ infoURL: "https://mindchain .info",
112489112489 shortName: "tMIND",
112490112490 chainId: 9977,
112491112491 networkId: 9977,
@@ -112516,7 +112516,7 @@ if (cid) {
112516112516 ],
112517112517 faucets: [],
112518112518 nativeCurrency: { name: "MIND Coin", symbol: "MIND", decimals: 18 },
112519- infoURL: "https://mindscan .info",
112519+ infoURL: "https://mindchain .info",
112520112520 shortName: "MIND",
112521112521 chainId: 9996,
112522112522 networkId: 9996,
@@ -225076,21 +225076,27 @@ Code: ${s}`;
225076225076 constructor(e) {
225077225077 if (
225078225078 (super(cT.id, { ...e }),
225079- e.advancedOptions &&
225079+ !(
225080+ e.paperClientId &&
225081+ e.paperClientId === "00000000-0000-0000-0000-000000000000"
225082+ ))
225083+ ) {
225084+ if (
225085+ e.advancedOptions &&
225080225086 e.advancedOptions?.recoveryShareManagement === "USER_MANAGED" &&
225081225087 ((e.clientId && !this.isClientIdLegacyPaper(e.clientId ?? "")) ||
225082- (e.paperClientId &&
225083- !this.isClientIdLegacyPaper(e.paperClientId))) )
225084- )
225085- throw new Error(
225086- 'RecoveryShareManagement option "USER_MANAGED" is not supported with thirdweb client ID'
225087- );
225088- if (!e. clientId && !e. paperClientId)
225089- throw new Error("clientId or paperClientId is required");
225090- if (e.paperClientId && !this.isClientIdLegacyPaper(e. paperClientId))
225091- throw new Error("paperClientId must be a legacy paper client ID");
225092- if (e.clientId && this.isClientIdLegacyPaper(e. clientId))
225093- throw new Error("clientId must be a thirdweb client ID");
225088+ (e.paperClientId && !this.isClientIdLegacyPaper(e.paperClientId)))
225089+ )
225090+ throw new Error(
225091+ 'RecoveryShareManagement option "USER_MANAGED" is not supported with thirdweb client ID'
225092+ );
225093+ if (!e.clientId && !e.paperClientId)
225094+ throw new Error(" clientId or paperClientId is required");
225095+ if (e. paperClientId && !this.isClientIdLegacyPaper(e.paperClientId))
225096+ throw new Error(" paperClientId must be a legacy paper client ID");
225097+ if (e.clientId && this.isClientIdLegacyPaper(e.clientId))
225098+ throw new Error(" clientId must be a thirdweb client ID");
225099+ }
225094225100 (this.paperClientId = e.paperClientId ?? e.clientId),
225095225101 (this.chain = e.chain);
225096225102 }
@@ -325561,21 +325567,27 @@ Code: ${s}`;
325561325567 constructor(e) {
325562325568 if (
325563325569 (super(N_.id, { ...e }),
325564- e.advancedOptions &&
325570+ !(
325571+ e.paperClientId &&
325572+ e.paperClientId === "00000000-0000-0000-0000-000000000000"
325573+ ))
325574+ ) {
325575+ if (
325576+ e.advancedOptions &&
325565325577 e.advancedOptions?.recoveryShareManagement === "USER_MANAGED" &&
325566325578 ((e.clientId && !this.isClientIdLegacyPaper(e.clientId ?? "")) ||
325567- (e.paperClientId &&
325568- !this.isClientIdLegacyPaper(e.paperClientId))) )
325569- )
325570- throw new Error(
325571- 'RecoveryShareManagement option "USER_MANAGED" is not supported with thirdweb client ID'
325572- );
325573- if (!e. clientId && !e. paperClientId)
325574- throw new Error("clientId or paperClientId is required");
325575- if (e.paperClientId && !this.isClientIdLegacyPaper(e. paperClientId))
325576- throw new Error("paperClientId must be a legacy paper client ID");
325577- if (e.clientId && this.isClientIdLegacyPaper(e. clientId))
325578- throw new Error("clientId must be a thirdweb client ID");
325579+ (e.paperClientId && !this.isClientIdLegacyPaper(e.paperClientId)))
325580+ )
325581+ throw new Error(
325582+ 'RecoveryShareManagement option "USER_MANAGED" is not supported with thirdweb client ID'
325583+ );
325584+ if (!e.clientId && !e.paperClientId)
325585+ throw new Error(" clientId or paperClientId is required");
325586+ if (e. paperClientId && !this.isClientIdLegacyPaper(e.paperClientId))
325587+ throw new Error(" paperClientId must be a legacy paper client ID");
325588+ if (e.clientId && this.isClientIdLegacyPaper(e.clientId))
325589+ throw new Error(" clientId must be a thirdweb client ID");
325590+ }
325579325591 (this.paperClientId = e.paperClientId ?? e.clientId),
325580325592 (this.chain = e.chain);
325581325593 }
0 commit comments