@layerzerolabs/typescript-utils 0.2.25 → 0.2.26

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.
@@ -16,16 +16,15 @@ Entry module "dist/EUBM3LSR.cjs" is using named and default exports together. Co
16
16
  "fileURLToPath" is imported from external module "url" but never used in "dist/6AHA7PAZ.js".
17
17
  CJS dist/valueOf.cjs 143.00 B
18
18
  CJS dist/viem.cjs 137.00 B
19
- CJS dist/withRequired.cjs 153.00 B
20
- CJS dist/lastOf.cjs 141.00 B
21
19
  CJS dist/maybeUndefined.cjs 157.00 B
22
- CJS dist/methodOf.cjs 145.00 B
23
- CJS dist/removeNever.cjs 151.00 B
24
20
  CJS dist/merge.cjs 139.00 B
25
- CJS dist/EUBM3LSR.cjs 42.53 KB
21
+ CJS dist/lastOf.cjs 141.00 B
22
+ CJS dist/withRequired.cjs 153.00 B
23
+ CJS dist/removeNever.cjs 151.00 B
24
+ CJS dist/methodOf.cjs 145.00 B
26
25
  CJS dist/strings.test-d.cjs 904.00 B
27
- CJS dist/strings.cjs 143.00 B
28
26
  CJS dist/tuples.cjs 141.00 B
27
+ CJS dist/strings.cjs 143.00 B
29
28
  CJS dist/advancedRecord.cjs 157.00 B
30
29
  CJS dist/branded.cjs 143.00 B
31
30
  CJS dist/constructor.cjs 151.00 B
@@ -33,138 +32,139 @@ Entry module "dist/EUBM3LSR.cjs" is using named and default exports together. Co
33
32
  CJS dist/deep.test-d.cjs 580.00 B
34
33
  CJS dist/disallowedAny.cjs 155.00 B
35
34
  CJS dist/identity.cjs 145.00 B
35
+ CJS dist/EUBM3LSR.cjs 42.53 KB
36
+ CJS dist/index.cjs 612.00 B
36
37
  CJS dist/2MZ52QXI.cjs 188.00 B
37
38
  CJS dist/ZDGUYQPS.cjs 185.00 B
38
- CJS dist/4W25K7RR.cjs 193.00 B
39
39
  CJS dist/2OSBYVBM.cjs 187.00 B
40
40
  CJS dist/7RPBI4LQ.cjs 195.00 B
41
+ CJS dist/4W25K7RR.cjs 193.00 B
41
42
  CJS dist/AKBGASRF.cjs 186.00 B
42
43
  CJS dist/NKWLAYNJ.cjs 189.00 B
43
- CJS dist/index.cjs 612.00 B
44
44
  CJS dist/Q35ZNXMT.cjs 192.00 B
45
45
  CJS dist/K3FZ3EZT.cjs 188.00 B
46
46
  CJS dist/EFBUJ7T4.cjs 187.00 B
47
47
  CJS dist/C7GMKBCN.cjs 195.00 B
48
48
  CJS dist/2SJJDCZI.cjs 188.00 B
49
49
  CJS dist/53OHF4EH.cjs 192.00 B
50
+ CJS dist/574X5FJM.cjs 194.00 B
50
51
  CJS dist/MLSONTXK.cjs 185.00 B
51
52
  CJS dist/TVCGTTL5.cjs 189.00 B
52
- CJS dist/574X5FJM.cjs 194.00 B
53
53
  CJS dist/24WEKBY3.cjs 2.10 KB
54
54
  CJS dist/7BSTQVJO.cjs 301.19 KB
55
55
  CJS dist/valueOf.cjs.map 72.00 B
56
56
  CJS dist/viem.cjs.map 69.00 B
57
- CJS dist/withRequired.cjs.map 77.00 B
57
+ CJS dist/merge.cjs.map 70.00 B
58
58
  CJS dist/maybeUndefined.cjs.map 79.00 B
59
- CJS dist/methodOf.cjs.map 73.00 B
59
+ CJS dist/lastOf.cjs.map 71.00 B
60
+ CJS dist/withRequired.cjs.map 77.00 B
60
61
  CJS dist/removeNever.cjs.map 76.00 B
61
- CJS dist/merge.cjs.map 70.00 B
62
- CJS dist/EUBM3LSR.cjs.map 100.19 KB
63
- CJS dist/strings.cjs.map 72.00 B
62
+ CJS dist/methodOf.cjs.map 73.00 B
64
63
  CJS dist/strings.test-d.cjs.map 1.70 KB
65
64
  CJS dist/tuples.cjs.map 71.00 B
65
+ CJS dist/strings.cjs.map 72.00 B
66
66
  CJS dist/advancedRecord.cjs.map 79.00 B
67
- CJS dist/branded.cjs.map 72.00 B
68
- CJS dist/lastOf.cjs.map 71.00 B
69
67
  CJS dist/constructor.cjs.map 76.00 B
68
+ CJS dist/branded.cjs.map 72.00 B
70
69
  CJS dist/deep.cjs.map 69.00 B
71
70
  CJS dist/deep.test-d.cjs.map 1.47 KB
72
71
  CJS dist/disallowedAny.cjs.map 78.00 B
73
72
  CJS dist/identity.cjs.map 73.00 B
73
+ CJS dist/index.cjs.map 635.00 B
74
74
  CJS dist/2MZ52QXI.cjs.map 538.00 B
75
- CJS dist/ZDGUYQPS.cjs.map 8.25 KB
76
- CJS dist/4W25K7RR.cjs.map 299.00 B
77
- CJS dist/7RPBI4LQ.cjs.map 642.00 B
78
75
  CJS dist/2OSBYVBM.cjs.map 659.00 B
79
- CJS dist/NKWLAYNJ.cjs.map 399.00 B
80
- CJS dist/index.cjs.map 635.00 B
76
+ CJS dist/EUBM3LSR.cjs.map 100.19 KB
81
77
  CJS dist/AKBGASRF.cjs.map 469.00 B
78
+ CJS dist/4W25K7RR.cjs.map 299.00 B
79
+ CJS dist/NKWLAYNJ.cjs.map 399.00 B
82
80
  CJS dist/Q35ZNXMT.cjs.map 252.00 B
81
+ CJS dist/ZDGUYQPS.cjs.map 8.25 KB
83
82
  CJS dist/K3FZ3EZT.cjs.map 1.42 KB
83
+ CJS dist/7RPBI4LQ.cjs.map 642.00 B
84
84
  CJS dist/EFBUJ7T4.cjs.map 2.17 KB
85
- CJS dist/2SJJDCZI.cjs.map 719.00 B
85
+ CJS dist/C7GMKBCN.cjs.map 906.00 B
86
+ CJS dist/574X5FJM.cjs.map 390.00 B
86
87
  CJS dist/53OHF4EH.cjs.map 214.00 B
88
+ CJS dist/2SJJDCZI.cjs.map 719.00 B
87
89
  CJS dist/TVCGTTL5.cjs.map 265.00 B
88
- CJS dist/C7GMKBCN.cjs.map 906.00 B
89
90
  CJS dist/MLSONTXK.cjs.map 780.00 B
90
- CJS dist/574X5FJM.cjs.map 390.00 B
91
91
  CJS dist/24WEKBY3.cjs.map 923.00 B
92
92
  CJS dist/7BSTQVJO.cjs.map 762.74 KB
93
- CJS ⚡️ Build success in 2233ms
94
- ESM dist/withRequired.js 129.00 B
93
+ CJS ⚡️ Build success in 1142ms
95
94
  ESM dist/valueOf.js 119.00 B
96
- ESM dist/viem.js 113.00 B
95
+ ESM dist/withRequired.js 129.00 B
97
96
  ESM dist/lastOf.js 117.00 B
98
- ESM dist/GGKJNPTT.js 42.15 KB
99
- ESM dist/maybeUndefined.js 133.00 B
100
97
  ESM dist/merge.js 115.00 B
98
+ ESM dist/viem.js 113.00 B
99
+ ESM dist/maybeUndefined.js 133.00 B
101
100
  ESM dist/removeNever.js 127.00 B
102
- ESM dist/methodOf.js 121.00 B
103
- ESM dist/strings.test-d.js 745.00 B
104
101
  ESM dist/strings.js 119.00 B
105
- ESM dist/advancedRecord.js 133.00 B
106
102
  ESM dist/tuples.js 117.00 B
103
+ ESM dist/methodOf.js 121.00 B
104
+ ESM dist/advancedRecord.js 133.00 B
105
+ ESM dist/strings.test-d.js 745.00 B
107
106
  ESM dist/branded.js 119.00 B
108
107
  ESM dist/constructor.js 127.00 B
109
- ESM dist/deep.test-d.js 491.00 B
110
- ESM dist/disallowedAny.js 131.00 B
111
- ESM dist/deep.js 113.00 B
112
108
  ESM dist/identity.js 121.00 B
109
+ ESM dist/deep.js 113.00 B
110
+ ESM dist/deep.test-d.js 491.00 B
111
+ ESM dist/GGKJNPTT.js 42.15 KB
113
112
  ESM dist/index.js 534.00 B
113
+ ESM dist/disallowedAny.js 131.00 B
114
114
  ESM dist/TQNP6GIE.js 158.00 B
115
- ESM dist/KZQATXOW.js 157.00 B
116
115
  ESM dist/ENRZFLLD.js 155.00 B
117
116
  ESM dist/62TVLGZP.js 163.00 B
117
+ ESM dist/KZQATXOW.js 157.00 B
118
118
  ESM dist/Q6UBIYTZ.js 165.00 B
119
119
  ESM dist/DDDCRYAA.js 156.00 B
120
- ESM dist/I5NXBMAF.js 162.00 B
121
120
  ESM dist/KEJFF7VD.js 159.00 B
121
+ ESM dist/I5NXBMAF.js 162.00 B
122
122
  ESM dist/B5GSIBEU.js 158.00 B
123
123
  ESM dist/ZS6LQCLY.js 157.00 B
124
+ ESM dist/CFTTK4D6.js 165.00 B
124
125
  ESM dist/6IUBP3YE.js 158.00 B
126
+ ESM dist/FQ2L5NQU.js 155.00 B
125
127
  ESM dist/X6GYSLZB.js 162.00 B
126
128
  ESM dist/V353KAGF.js 164.00 B
127
- ESM dist/FQ2L5NQU.js 155.00 B
128
129
  ESM dist/P3JODCMF.js 159.00 B
129
130
  ESM dist/6AHA7PAZ.js 1.87 KB
130
- ESM dist/CFTTK4D6.js 165.00 B
131
131
  ESM dist/CI7BVOAG.js 295.28 KB
132
- ESM dist/withRequired.js.map 76.00 B
133
132
  ESM dist/valueOf.js.map 71.00 B
134
- ESM dist/viem.js.map 68.00 B
133
+ ESM dist/withRequired.js.map 76.00 B
135
134
  ESM dist/lastOf.js.map 70.00 B
136
- ESM dist/GGKJNPTT.js.map 100.16 KB
137
135
  ESM dist/merge.js.map 69.00 B
136
+ ESM dist/viem.js.map 68.00 B
138
137
  ESM dist/maybeUndefined.js.map 78.00 B
139
138
  ESM dist/removeNever.js.map 75.00 B
140
- ESM dist/methodOf.js.map 72.00 B
141
- ESM dist/strings.test-d.js.map 1.68 KB
142
139
  ESM dist/strings.js.map 71.00 B
143
- ESM dist/advancedRecord.js.map 78.00 B
144
140
  ESM dist/tuples.js.map 70.00 B
145
- ESM dist/branded.js.map 71.00 B
141
+ ESM dist/advancedRecord.js.map 78.00 B
142
+ ESM dist/methodOf.js.map 72.00 B
143
+ ESM dist/strings.test-d.js.map 1.68 KB
146
144
  ESM dist/constructor.js.map 75.00 B
147
- ESM dist/deep.test-d.js.map 1.45 KB
148
- ESM dist/disallowedAny.js.map 77.00 B
149
- ESM dist/deep.js.map 68.00 B
150
145
  ESM dist/identity.js.map 72.00 B
146
+ ESM dist/branded.js.map 71.00 B
147
+ ESM dist/deep.js.map 68.00 B
151
148
  ESM dist/index.js.map 614.00 B
149
+ ESM dist/deep.test-d.js.map 1.45 KB
150
+ ESM dist/disallowedAny.js.map 77.00 B
152
151
  ESM dist/TQNP6GIE.js.map 517.00 B
153
- ESM dist/KZQATXOW.js.map 638.00 B
152
+ ESM dist/GGKJNPTT.js.map 100.16 KB
154
153
  ESM dist/ENRZFLLD.js.map 8.23 KB
155
154
  ESM dist/62TVLGZP.js.map 278.00 B
156
155
  ESM dist/Q6UBIYTZ.js.map 621.00 B
157
- ESM dist/I5NXBMAF.js.map 231.00 B
158
156
  ESM dist/KEJFF7VD.js.map 378.00 B
159
157
  ESM dist/DDDCRYAA.js.map 448.00 B
158
+ ESM dist/I5NXBMAF.js.map 231.00 B
160
159
  ESM dist/B5GSIBEU.js.map 1.40 KB
161
- ESM dist/6IUBP3YE.js.map 698.00 B
162
160
  ESM dist/ZS6LQCLY.js.map 2.15 KB
163
- ESM dist/V353KAGF.js.map 369.00 B
161
+ ESM dist/KZQATXOW.js.map 638.00 B
162
+ ESM dist/6IUBP3YE.js.map 698.00 B
163
+ ESM dist/CFTTK4D6.js.map 885.00 B
164
+ ESM dist/FQ2L5NQU.js.map 759.00 B
164
165
  ESM dist/X6GYSLZB.js.map 193.00 B
165
166
  ESM dist/P3JODCMF.js.map 244.00 B
166
- ESM dist/FQ2L5NQU.js.map 759.00 B
167
+ ESM dist/V353KAGF.js.map 369.00 B
167
168
  ESM dist/6AHA7PAZ.js.map 666.00 B
168
- ESM dist/CFTTK4D6.js.map 885.00 B
169
169
  ESM dist/CI7BVOAG.js.map 761.96 KB
170
- ESM ⚡️ Build success in 2238ms
170
+ ESM ⚡️ Build success in 1142ms
@@ -2,7 +2,7 @@
2
2
  > @layerzerolabs/typescript-utils@0.0.0 lint /home/runner/work/monorepo-internal/monorepo-internal/packages/typescript-utils
3
3
  > eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)
4
4
 
5
- (node:56153) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1770955556851 is not specified and it doesn't parse as CommonJS.
5
+ (node:54492) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/eslint.config.js?mtime=1771014251429 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)
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/typescript-utils",
3
- "version": "0.2.25",
3
+ "version": "0.2.26",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -16,11 +16,11 @@
16
16
  "devDependencies": {
17
17
  "tsup": "^8.4.0",
18
18
  "vitest": "^3.2.3",
19
- "@layerzerolabs/typescript-configuration": "0.2.25",
20
- "@layerzerolabs/tsup-configuration": "0.2.25"
19
+ "@layerzerolabs/tsup-configuration": "0.2.26",
20
+ "@layerzerolabs/typescript-configuration": "0.2.26"
21
21
  },
22
22
  "publishConfig": {
23
- "access": "restricted",
23
+ "access": "public",
24
24
  "registry": "https://registry.npmjs.org/"
25
25
  },
26
26
  "externalRepoConfig": {