@acala-network/chopsticks 0.9.8 → 0.9.9-1

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.
@@ -51,7 +51,7 @@ const configSchema = _zod.z.object({
51
51
  }).optional(),
52
52
  block: _zod.z.union([
53
53
  _zod.z.string(),
54
- _zod.z.number(),
54
+ _zod.z.number().max(Number.MAX_SAFE_INTEGER, 'Number is too big, please make it a string if you are uing a hex string'),
55
55
  _zod.z.null()
56
56
  ], {
57
57
  description: 'Block hash or block number. Default to latest block'
@@ -19,7 +19,7 @@ export const configSchema = z.object({
19
19
  }).optional(),
20
20
  block: z.union([
21
21
  z.string(),
22
- z.number(),
22
+ z.number().max(Number.MAX_SAFE_INTEGER, 'Number is too big, please make it a string if you are uing a hex string'),
23
23
  z.null()
24
24
  ], {
25
25
  description: 'Block hash or block number. Default to latest block'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acala-network/chopsticks",
3
- "version": "0.9.8",
3
+ "version": "0.9.9-1",
4
4
  "author": "Acala Developers <hello@acala.network>",
5
5
  "license": "Apache-2.0",
6
6
  "bin": "./chopsticks.cjs",
@@ -13,8 +13,8 @@
13
13
  "docs:prep": "typedoc"
14
14
  },
15
15
  "dependencies": {
16
- "@acala-network/chopsticks-core": "0.9.8",
17
- "@acala-network/chopsticks-db": "0.9.8",
16
+ "@acala-network/chopsticks-core": "0.9.9-1",
17
+ "@acala-network/chopsticks-db": "0.9.9-1",
18
18
  "@pnpm/npm-conf": "^2.2.2",
19
19
  "@polkadot/api-augment": "^10.11.2",
20
20
  "@polkadot/types": "^10.11.2",