@seljs/env 1.4.0-beta.24 → 1.4.0-beta.27
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/builtins.cjs +11 -0
- package/dist/builtins.mjs +11 -0
- package/package.json +3 -3
package/dist/builtins.cjs
CHANGED
|
@@ -294,6 +294,17 @@ const CEL_BUILTIN_FUNCTIONS = [
|
|
|
294
294
|
}],
|
|
295
295
|
returns: "bytes"
|
|
296
296
|
},
|
|
297
|
+
{
|
|
298
|
+
name: "namehash",
|
|
299
|
+
signature: "sel.namehash(name: string): bytes",
|
|
300
|
+
description: "Computes the ENS namehash of a dot-separated domain name (e.g. sel.namehash(\"vitalik.eth\")). Returns the bytes32 node used to key ENS registry/resolver lookups.",
|
|
301
|
+
params: [{
|
|
302
|
+
name: "name",
|
|
303
|
+
type: "string"
|
|
304
|
+
}],
|
|
305
|
+
returns: "bytes",
|
|
306
|
+
receiverType: "SelNamespace"
|
|
307
|
+
},
|
|
297
308
|
{
|
|
298
309
|
name: "timestamp",
|
|
299
310
|
signature: "timestamp(string): timestamp",
|
package/dist/builtins.mjs
CHANGED
|
@@ -294,6 +294,17 @@ const CEL_BUILTIN_FUNCTIONS = [
|
|
|
294
294
|
}],
|
|
295
295
|
returns: "bytes"
|
|
296
296
|
},
|
|
297
|
+
{
|
|
298
|
+
name: "namehash",
|
|
299
|
+
signature: "sel.namehash(name: string): bytes",
|
|
300
|
+
description: "Computes the ENS namehash of a dot-separated domain name (e.g. sel.namehash(\"vitalik.eth\")). Returns the bytes32 node used to key ENS registry/resolver lookups.",
|
|
301
|
+
params: [{
|
|
302
|
+
name: "name",
|
|
303
|
+
type: "string"
|
|
304
|
+
}],
|
|
305
|
+
returns: "bytes",
|
|
306
|
+
receiverType: "SelNamespace"
|
|
307
|
+
},
|
|
297
308
|
{
|
|
298
309
|
name: "timestamp",
|
|
299
310
|
signature: "timestamp(string): timestamp",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seljs/env",
|
|
3
|
-
"version": "1.4.0-beta.
|
|
3
|
+
"version": "1.4.0-beta.27",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/abinnovision/seljs"
|
|
6
6
|
},
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@seljs/common": "1.4.0-beta.
|
|
51
|
+
"@seljs/common": "1.4.0-beta.27",
|
|
52
52
|
"@seljs/schema": "1.3.0",
|
|
53
|
-
"@seljs/types": "1.4.0-beta.
|
|
53
|
+
"@seljs/types": "1.4.0-beta.27",
|
|
54
54
|
"abitype": "^1.2.3",
|
|
55
55
|
"viem": "^2.47.6"
|
|
56
56
|
},
|