@seljs/env 1.3.0-beta.1 → 1.3.0-beta.3

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 CHANGED
@@ -209,6 +209,14 @@ const CEL_BUILTIN_FUNCTIONS = [
209
209
  }],
210
210
  returns: "sol_int"
211
211
  },
212
+ {
213
+ name: "balance",
214
+ signature: "sol_address.balance(): sol_int",
215
+ description: "Returns the native ETH balance of the address in wei",
216
+ params: [],
217
+ returns: "sol_int",
218
+ receiverType: "sol_address"
219
+ },
212
220
  {
213
221
  name: "isZeroAddress",
214
222
  signature: "isZeroAddress(sol_address|string): bool",
package/dist/builtins.mjs CHANGED
@@ -209,6 +209,14 @@ const CEL_BUILTIN_FUNCTIONS = [
209
209
  }],
210
210
  returns: "sol_int"
211
211
  },
212
+ {
213
+ name: "balance",
214
+ signature: "sol_address.balance(): sol_int",
215
+ description: "Returns the native ETH balance of the address in wei",
216
+ params: [],
217
+ returns: "sol_int",
218
+ receiverType: "sol_address"
219
+ },
212
220
  {
213
221
  name: "isZeroAddress",
214
222
  signature: "isZeroAddress(sol_address|string): bool",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seljs/env",
3
- "version": "1.3.0-beta.1",
3
+ "version": "1.3.0-beta.3",
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.3.0-beta.1",
51
+ "@seljs/common": "1.3.0-beta.3",
52
52
  "@seljs/schema": "1.2.0",
53
- "@seljs/types": "1.3.0-beta.1",
53
+ "@seljs/types": "1.3.0-beta.3",
54
54
  "abitype": "^1.2.3",
55
55
  "viem": "^2.47.2"
56
56
  },