@@ -80538,7 +80538,7 @@ if (cid) {
80538
80538
],
80539
80539
faucets: ["https://faucet.mindchain.info/"],
80540
80540
nativeCurrency: { name: "MIND Coin", symbol: "tMIND", decimals: 18 },
80541
- infoURL: "https://mindscan .info",
80541
+ infoURL: "https://mindchain .info",
80542
80542
shortName: "tMIND",
80543
80543
chainId: 9977,
80544
80544
networkId: 9977,
@@ -80569,7 +80569,7 @@ if (cid) {
80569
80569
],
80570
80570
faucets: [],
80571
80571
nativeCurrency: { name: "MIND Coin", symbol: "MIND", decimals: 18 },
80572
- infoURL: "https://mindscan .info",
80572
+ infoURL: "https://mindchain .info",
80573
80573
shortName: "MIND",
80574
80574
chainId: 9996,
80575
80575
networkId: 9996,
@@ -112485,7 +112485,7 @@ if (cid) {
112485
112485
],
112486
112486
faucets: ["https://faucet.mindchain.info/"],
112487
112487
nativeCurrency: { name: "MIND Coin", symbol: "tMIND", decimals: 18 },
112488
- infoURL: "https://mindscan .info",
112488
+ infoURL: "https://mindchain .info",
112489
112489
shortName: "tMIND",
112490
112490
chainId: 9977,
112491
112491
networkId: 9977,
@@ -112516,7 +112516,7 @@ if (cid) {
112516
112516
],
112517
112517
faucets: [],
112518
112518
nativeCurrency: { name: "MIND Coin", symbol: "MIND", decimals: 18 },
112519
- infoURL: "https://mindscan .info",
112519
+ infoURL: "https://mindchain .info",
112520
112520
shortName: "MIND",
112521
112521
chainId: 9996,
112522
112522
networkId: 9996,
@@ -225076,21 +225076,27 @@ Code: ${s}`;
225076
225076
constructor(e) {
225077
225077
if (
225078
225078
(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 &&
225080
225086
e.advancedOptions?.recoveryShareManagement === "USER_MANAGED" &&
225081
225087
((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
+ }
225094
225100
(this.paperClientId = e.paperClientId ?? e.clientId),
225095
225101
(this.chain = e.chain);
225096
225102
}
@@ -325561,21 +325567,27 @@ Code: ${s}`;
325561
325567
constructor(e) {
325562
325568
if (
325563
325569
(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 &&
325565
325577
e.advancedOptions?.recoveryShareManagement === "USER_MANAGED" &&
325566
325578
((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
+ }
325579
325591
(this.paperClientId = e.paperClientId ?? e.clientId),
325580
325592
(this.chain = e.chain);
325581
325593
}
0 commit comments