@layerzerolabs/common-error-utils 0.2.64 → 0.2.65

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.
@@ -13,27 +13,27 @@
13
13
  ESM Build start
14
14
  CJS dist/errors.cjs 1.63 KB
15
15
  CJS dist/index.cjs 1.81 KB
16
- CJS dist/retry.cjs 302.00 B
17
- CJS dist/MXJDS64O.cjs 5.06 KB
18
16
  CJS dist/CSP5OI2I.cjs 1.55 KB
19
17
  CJS dist/YJF4D23A.cjs 245.00 B
20
- CJS dist/errors.cjs.map 71.00 B
18
+ CJS dist/MXJDS64O.cjs 5.06 KB
19
+ CJS dist/retry.cjs 302.00 B
21
20
  CJS dist/index.cjs.map 70.00 B
22
- CJS dist/retry.cjs.map 70.00 B
23
- CJS dist/MXJDS64O.cjs.map 10.18 KB
24
- CJS dist/CSP5OI2I.cjs.map 5.03 KB
21
+ CJS dist/errors.cjs.map 71.00 B
25
22
  CJS dist/YJF4D23A.cjs.map 73.00 B
26
- CJS ⚡️ Build success in 148ms
23
+ CJS dist/CSP5OI2I.cjs.map 5.03 KB
24
+ CJS dist/MXJDS64O.cjs.map 10.18 KB
25
+ CJS dist/retry.cjs.map 70.00 B
26
+ CJS ⚡️ Build success in 137ms
27
+ ESM dist/errors.js 315.00 B
27
28
  ESM dist/index.js 365.00 B
28
- ESM dist/HSJL4TXR.js 4.62 KB
29
29
  ESM dist/retry.js 143.00 B
30
- ESM dist/errors.js 315.00 B
31
- ESM dist/VUOMXK5T.js 222.00 B
32
30
  ESM dist/WUDCWRMR.js 1.27 KB
31
+ ESM dist/HSJL4TXR.js 4.62 KB
32
+ ESM dist/VUOMXK5T.js 222.00 B
33
+ ESM dist/errors.js.map 70.00 B
34
+ ESM dist/index.js.map 69.00 B
33
35
  ESM dist/retry.js.map 69.00 B
36
+ ESM dist/WUDCWRMR.js.map 5.01 KB
34
37
  ESM dist/HSJL4TXR.js.map 10.17 KB
35
- ESM dist/errors.js.map 70.00 B
36
38
  ESM dist/VUOMXK5T.js.map 72.00 B
37
- ESM dist/WUDCWRMR.js.map 5.01 KB
38
- ESM dist/index.js.map 69.00 B
39
- ESM ⚡️ Build success in 148ms
39
+ ESM ⚡️ Build success in 138ms
@@ -2,7 +2,7 @@
2
2
  > @layerzerolabs/common-error-utils@0.0.0 lint /home/runner/work/monorepo-internal/monorepo-internal/packages/common/common-error-utils
3
3
  > eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)
4
4
 
5
- (node:58148) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1775024037920 is not specified and it doesn't parse as CommonJS.
5
+ (node:58947) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1775499537915 is not specified and it doesn't parse as CommonJS.
6
6
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
7
7
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
8
8
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -22,12 +22,12 @@ Breaking changes might not follow SemVer, please pin Vitest's version when using
22
22
  at runSuite (file:///home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm/@vitest+runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.js:1729:8)
23
23
  }
24
24
 
25
- ✓ tests/error.test.ts (3 tests) 10ms
26
- ✓ tests/retry.test.ts (6 tests) 71ms
25
+ ✓ tests/error.test.ts (3 tests) 8ms
26
+ ✓ tests/retry.test.ts (6 tests) 67ms
27
27
 
28
28
   Test Files  2 passed (2)
29
29
   Tests  9 passed (9)
30
30
  Type Errors  no errors
31
-  Start at  06:16:27
32
-  Duration  549ms (transform 154ms, setup 0ms, collect 184ms, tests 81ms, environment 1ms, prepare 313ms)
31
+  Start at  18:21:26
32
+  Duration  422ms (transform 80ms, setup 0ms, collect 108ms, tests 75ms, environment 0ms, prepare 192ms)
33
33
 
package/LICENSE ADDED
@@ -0,0 +1,23 @@
1
+ Copyright (c) 2026 - LayerZero Labs Ltd.
2
+
3
+ Permission is hereby granted, free of charge, to any
4
+ person obtaining a copy of this software and associated
5
+ documentation files (the "Software"), to deal in the
6
+ Software without restriction, including without
7
+ limitation the rights to use, copy, modify, merge,
8
+ publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software
10
+ is furnished to do so, subject to the following
11
+ conditions:
12
+ The above copyright notice and this permission notice
13
+ shall be included in all copies or substantial portions
14
+ of the Software.
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
16
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
17
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
18
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
19
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
22
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23
+ DEALINGS IN THE SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/common-error-utils",
3
- "version": "0.2.64",
3
+ "version": "0.2.65",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,11 +21,11 @@
21
21
  "@types/ms": "^2.1.0",
22
22
  "tsup": "^8.4.0",
23
23
  "vitest": "^3.2.3",
24
- "@layerzerolabs/tsup-configuration": "0.2.64",
25
- "@layerzerolabs/typescript-configuration": "0.2.64"
24
+ "@layerzerolabs/typescript-configuration": "0.2.65",
25
+ "@layerzerolabs/tsup-configuration": "0.2.65"
26
26
  },
27
27
  "publishConfig": {
28
- "access": "restricted",
28
+ "access": "public",
29
29
  "registry": "https://registry.npmjs.org/"
30
30
  },
31
31
  "externalRepoConfig": {