@apibara/protocol 2.0.0-beta.1 → 2.0.0-beta.2
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/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +28 -17
package/dist/index.cjs
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
const config = require('./shared/protocol.6b1bdade.cjs');
|
|
4
4
|
const schema = require('@effect/schema');
|
|
5
5
|
const niceGrpc = require('nice-grpc');
|
|
6
|
-
require('protobufjs/minimal');
|
|
7
6
|
const assert = require('node:assert');
|
|
7
|
+
require('protobufjs/minimal');
|
|
8
8
|
require('effect');
|
|
9
9
|
require('viem');
|
|
10
10
|
require('long');
|
package/dist/index.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { c as common, s as stream, t as testing, C as Cursor, D as DnaStreamDefi
|
|
|
2
2
|
export { B as Bytes, a as BytesFromUint8Array, f as CursorFromBytes, n as Data, i as DataFinality, H as Heartbeat, I as Invalidate, l as StdErr, k as StdOut, o as StreamConfig, j as StreamDataRequest, m as SystemMessage, _ as _Cursor, b as createCursor, h as cursorFromBytes, e as cursorFromProto, g as cursorToBytes, d as cursorToProto } from './shared/protocol.a07a51b5.mjs';
|
|
3
3
|
import { Schema } from '@effect/schema';
|
|
4
4
|
import { createChannel, createClient as createClient$1 } from 'nice-grpc';
|
|
5
|
-
import 'protobufjs/minimal';
|
|
6
5
|
import assert from 'node:assert';
|
|
6
|
+
import 'protobufjs/minimal';
|
|
7
7
|
import 'effect';
|
|
8
8
|
import 'viem';
|
|
9
9
|
import 'long';
|
package/package.json
CHANGED
|
@@ -1,21 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apibara/protocol",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
4
|
-
"
|
|
3
|
+
"version": "2.0.0-beta.2",
|
|
4
|
+
"description": "Apibara DNA protocol client",
|
|
5
|
+
"repository": "apibara/typescript-sdk",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"sideEffects": false,
|
|
5
8
|
"source": "./src/index.ts",
|
|
6
9
|
"main": "./dist/index.mjs",
|
|
7
10
|
"exports": {
|
|
8
11
|
".": {
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
"import": {
|
|
13
|
+
"types": "./dist/index.d.mts",
|
|
14
|
+
"default": "./dist/index.mjs"
|
|
15
|
+
},
|
|
16
|
+
"require": {
|
|
17
|
+
"types": "./dist/index.d.cts",
|
|
18
|
+
"default": "./dist/index.cjs"
|
|
19
|
+
}
|
|
13
20
|
},
|
|
14
21
|
"./testing": {
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
22
|
+
"import": {
|
|
23
|
+
"types": "./dist/testing/index.d.mts",
|
|
24
|
+
"default": "./dist/testing/index.mjs"
|
|
25
|
+
},
|
|
26
|
+
"require": {
|
|
27
|
+
"types": "./dist/testing/index.d.cts",
|
|
28
|
+
"default": "./dist/testing/index.cjs"
|
|
29
|
+
}
|
|
19
30
|
}
|
|
20
31
|
},
|
|
21
32
|
"publishConfig": {
|
|
@@ -25,13 +36,6 @@
|
|
|
25
36
|
"README.md"
|
|
26
37
|
]
|
|
27
38
|
},
|
|
28
|
-
"devDependencies": {
|
|
29
|
-
"@bufbuild/buf": "^1.32.2",
|
|
30
|
-
"@types/long": "^5.0.0",
|
|
31
|
-
"@types/node": "^20.12.13",
|
|
32
|
-
"unbuild": "^2.0.0",
|
|
33
|
-
"vitest": "^1.6.0"
|
|
34
|
-
},
|
|
35
39
|
"dependencies": {
|
|
36
40
|
"@effect/schema": "^0.67.15",
|
|
37
41
|
"effect": "^3.2.6",
|
|
@@ -41,6 +45,13 @@
|
|
|
41
45
|
"protobufjs": "^7.3.0",
|
|
42
46
|
"viem": "^2.13.2"
|
|
43
47
|
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@bufbuild/buf": "^1.32.2",
|
|
50
|
+
"@types/long": "^5.0.0",
|
|
51
|
+
"@types/node": "^20.12.13",
|
|
52
|
+
"unbuild": "^2.0.0",
|
|
53
|
+
"vitest": "^1.6.0"
|
|
54
|
+
},
|
|
44
55
|
"scripts": {
|
|
45
56
|
"build": "pnpm build:proto && unbuild",
|
|
46
57
|
"build:proto": "buf generate proto",
|