envio 2.26.0-alpha.7 → 2.26.0-alpha.8

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/index.d.ts CHANGED
@@ -13,6 +13,7 @@ import type {
13
13
  } from "./src/Envio.gen.ts";
14
14
 
15
15
  import { schema as bigDecimalSchema } from "./src/bindings/BigDecimal.gen.ts";
16
+ import { schema as bigintSchema } from "./src/bindings/BigInt.gen.ts";
16
17
  import * as Sury from "rescript-schema";
17
18
 
18
19
  type UnknownToOutput<T> = T extends Sury.Schema<unknown>
@@ -101,7 +102,7 @@ export declare namespace S {
101
102
  export const boolean: typeof Sury.boolean;
102
103
  export const int32: typeof Sury.int32;
103
104
  export const number: typeof Sury.number;
104
- export const bigint: typeof Sury.bigint;
105
+ export const bigint: typeof bigintSchema;
105
106
  export const never: typeof Sury.never;
106
107
  export const union: typeof Sury.union;
107
108
  export const object: typeof Sury.object;
package/index.js CHANGED
@@ -13,7 +13,7 @@ exports.S = {
13
13
  boolean: Sury.boolean,
14
14
  int32: Sury.int32,
15
15
  number: Sury.number,
16
- bigint: Sury.bigint,
16
+ bigint: require("./src/bindings/BigInt.res.js").schema,
17
17
  never: Sury.never,
18
18
  union: Sury.union,
19
19
  object: Sury.object,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "envio",
3
- "version": "v2.26.0-alpha.7",
3
+ "version": "v2.26.0-alpha.8",
4
4
  "description": "A latency and sync speed optimized, developer friendly blockchain data indexer.",
5
5
  "bin": "./bin.js",
6
6
  "main": "./index.js",
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "homepage": "https://envio.dev",
27
27
  "optionalDependencies": {
28
- "envio-linux-x64": "v2.26.0-alpha.7",
29
- "envio-linux-arm64": "v2.26.0-alpha.7",
30
- "envio-darwin-x64": "v2.26.0-alpha.7",
31
- "envio-darwin-arm64": "v2.26.0-alpha.7"
28
+ "envio-linux-x64": "v2.26.0-alpha.8",
29
+ "envio-linux-arm64": "v2.26.0-alpha.8",
30
+ "envio-darwin-x64": "v2.26.0-alpha.8",
31
+ "envio-darwin-arm64": "v2.26.0-alpha.8"
32
32
  },
33
33
  "dependencies": {
34
34
  "@envio-dev/hypersync-client": "0.6.5",
@@ -0,0 +1,10 @@
1
+ /* TypeScript file generated from BigInt.res by genType. */
2
+
3
+ /* eslint-disable */
4
+ /* tslint:disable */
5
+
6
+ const BigIntJS = require('./BigInt.res.js');
7
+
8
+ import type {S_t as RescriptSchema_S_t} from 'rescript-schema/RescriptSchema.gen';
9
+
10
+ export const schema: RescriptSchema_S_t<bigint> = BigIntJS.schema as any;
@@ -44,6 +44,7 @@ module Bitwise = {
44
44
 
45
45
  let zero = fromInt(0)
46
46
 
47
+ @genType
47
48
  let schema =
48
49
  S.string
49
50
  ->S.setName("BigInt")
@@ -27,7 +27,7 @@ type middleware = (req, res, unit => unit) => unit
27
27
 
28
28
  type server
29
29
 
30
- @send external listen: (app, ~port: int, ~host: string) => server = "listen"
30
+ @send external listen: (app, int) => server = "listen"
31
31
 
32
32
  // res methods
33
33
  @send external sendStatus: (res, int) => unit = "sendStatus"