@layerzerolabs/verify-contract 1.1.0 → 1.1.1

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/index.mjs CHANGED
@@ -24752,7 +24752,7 @@ var submitForVerification = async (props, onRecoverableError) => {
24752
24752
  }
24753
24753
  };
24754
24754
  var isPendingResult = (result) => !!(result == null ? void 0 : result.match(/Pending/gi));
24755
- var isAlreadyVerifiedResult = (result) => !!(result == null ? void 0 : result.match(/Contract source code already verified/gi));
24755
+ var isAlreadyVerifiedResult = (result) => !!(result == null ? void 0 : result.match(/already verified/gi));
24756
24756
  var isApiRateLimitedResult = (result) => !!(result == null ? void 0 : result.match(/rate/));
24757
24757
  var submitRequest = async (apiUrl, request) => {
24758
24758
  let response;
@@ -24997,17 +24997,17 @@ var verify_default = async (config, logger10) => {
24997
24997
  artifact.deployment.address
24998
24998
  ) : void 0;
24999
24999
  logger10.info("");
25000
- logger10.info(`Contract: ${contractName}`);
25001
- logger10.info(`Network: ${networkName}`);
25000
+ logger10.info(`Contract: ${contractName}`);
25001
+ logger10.info(`Network: ${networkName}`);
25002
25002
  if (result != null) {
25003
- logger10.info(`Result: ${SUCCESS_SYMBOL}`);
25003
+ logger10.info(`Result: ${SUCCESS_SYMBOL}`);
25004
25004
  logger10.info(`Already verified: ${result ? "no" : "yes"}`);
25005
25005
  if (contractUrl) {
25006
- logger10.info(`Contract URL: ${contractUrl}`);
25006
+ logger10.info(`Contract URL: ${contractUrl}`);
25007
25007
  }
25008
25008
  } else {
25009
- logger10.info(`Result: ${ERROR_SYMBOL}`);
25010
- logger10.info(`Error: ${COLORS.error(error)}`);
25009
+ logger10.info(`Result: ${ERROR_SYMBOL}`);
25010
+ logger10.info(`Error: ${COLORS.error(error)}`);
25011
25011
  }
25012
25012
  });
25013
25013
  };