@layerzerolabs/hardhat-collect-outcomes 2.1.24 → 2.1.25

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @layerzerolabs/hardhat-collect-outcomes
2
2
 
3
+ ## 2.1.25
4
+
5
+ ### Patch Changes
6
+
7
+ - 57fe209: wire ulnv2 during snapshot build
8
+
3
9
  ## 2.1.24
4
10
 
5
11
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleHardhatRuntimeEnvironmentField.d.ts","sourceRoot":"","sources":["../../src/ExampleHardhatRuntimeEnvironmentField.ts"],"names":[],"mappings":"AAAA,qBAAa,qCAAqC;IACvC,QAAQ;CAGlB"}
1
+ {"version":3,"file":"ExampleHardhatRuntimeEnvironmentField.d.ts","sourceRoot":"","sources":["../../src/ExampleHardhatRuntimeEnvironmentField.ts"],"names":[],"mappings":"AAAA,qBAAa,qCAAqC;IACvC,QAAQ,IAAI,MAAM;CAG5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAOA,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,UAK9C;AAED,wBAAsB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAOtF;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,iBAWvF;AAGD,eAAO,MAAM,YAAY,SAAU,MAAM,KAAG,MAG3C,CAAA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAOA,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAKvD;AAED,wBAAsB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAOtF;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAWvG;AAGD,eAAO,MAAM,YAAY,SAAU,MAAM,KAAG,MAG3C,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/hardhat-collect-outcomes",
3
- "version": "2.1.24",
3
+ "version": "2.1.25",
4
4
  "description": "hardhat plugin to collect files from smart contracts",
5
5
  "keywords": [
6
6
  "ethereum",
@@ -33,7 +33,7 @@
33
33
  "devDependencies": {
34
34
  "@ethersproject/abi": "^5.7.0",
35
35
  "@ethersproject/providers": "^5.7.0",
36
- "@layerzerolabs/typescript-config-next": "^2.1.24",
36
+ "@layerzerolabs/typescript-config-next": "^2.1.25",
37
37
  "@nomiclabs/hardhat-ethers": "^2.2.3",
38
38
  "@typechain/ethers-v5": "^10.2.1",
39
39
  "@typechain/hardhat": "^6.1.6",
@@ -1,5 +1,5 @@
1
1
  export class ExampleHardhatRuntimeEnvironmentField {
2
- public sayHello() {
2
+ public sayHello(): string {
3
3
  return 'hello'
4
4
  }
5
5
  }
package/src/utils.ts CHANGED
@@ -5,7 +5,7 @@ import { minimatch } from 'minimatch'
5
5
  const fs = require('node:fs')
6
6
  const util = require('node:util')
7
7
 
8
- export function abspath(p: string, root: string) {
8
+ export function abspath(p: string, root: string): string {
9
9
  if (path.isAbsolute(p)) {
10
10
  return p
11
11
  }
@@ -21,7 +21,7 @@ export async function globFiles(files: string[], patterns: string[]): Promise<st
21
21
  return retval
22
22
  }
23
23
 
24
- export async function copyFilesInRelativePath(root: string, sour: string, target: string) {
24
+ export async function copyFilesInRelativePath(root: string, sour: string, target: string): Promise<void> {
25
25
  if (!path.isAbsolute(sour)) {
26
26
  throw new Error(`sour must be absolute path: ${sour}`)
27
27
  }