@apibara/starknet 2.0.0-beta.6 → 2.0.0-beta.7
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.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +9 -11
- package/src/proto/common.ts +1 -1
- package/src/proto/data.ts +3 -3
- package/src/proto/filter.ts +2 -2
- package/src/proto/google/protobuf/timestamp.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const protocol = require('@apibara/protocol');
|
|
4
4
|
const schema = require('@effect/schema');
|
|
5
5
|
const Long = require('long');
|
|
6
|
-
const _m0 = require('protobufjs/minimal');
|
|
6
|
+
const _m0 = require('protobufjs/minimal.js');
|
|
7
7
|
|
|
8
8
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
9
9
|
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StreamConfig } from '@apibara/protocol';
|
|
2
2
|
import { Schema } from '@effect/schema';
|
|
3
3
|
import Long from 'long';
|
|
4
|
-
import _m0 from 'protobufjs/minimal';
|
|
4
|
+
import _m0 from 'protobufjs/minimal.js';
|
|
5
5
|
|
|
6
6
|
const _FieldElement = Schema.TemplateLiteral(
|
|
7
7
|
Schema.Literal("0x"),
|
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apibara/starknet",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.7",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"
|
|
5
|
+
"files": [
|
|
6
|
+
"dist",
|
|
7
|
+
"src",
|
|
8
|
+
"README.md"
|
|
9
|
+
],
|
|
6
10
|
"main": "./dist/index.mjs",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
7
12
|
"exports": {
|
|
8
13
|
".": {
|
|
9
14
|
"types": "./dist/index.d.ts",
|
|
@@ -12,7 +17,6 @@
|
|
|
12
17
|
"default": "./dist/index.mjs"
|
|
13
18
|
}
|
|
14
19
|
},
|
|
15
|
-
"publishConfig": {},
|
|
16
20
|
"scripts": {
|
|
17
21
|
"build": "pnpm build:proto && unbuild",
|
|
18
22
|
"build:proto": "buf generate proto",
|
|
@@ -32,17 +36,11 @@
|
|
|
32
36
|
"vitest": "^1.6.0"
|
|
33
37
|
},
|
|
34
38
|
"dependencies": {
|
|
35
|
-
"@apibara/protocol": "2.0.0-beta.
|
|
39
|
+
"@apibara/protocol": "2.0.0-beta.7",
|
|
36
40
|
"@effect/schema": "^0.67.15",
|
|
37
41
|
"effect": "^3.2.6",
|
|
38
42
|
"long": "^5.2.1",
|
|
39
43
|
"nice-grpc-common": "^2.0.2",
|
|
40
44
|
"protobufjs": "^7.1.2"
|
|
41
|
-
}
|
|
42
|
-
"files": [
|
|
43
|
-
"dist",
|
|
44
|
-
"src",
|
|
45
|
-
"README.md"
|
|
46
|
-
],
|
|
47
|
-
"types": "./dist/index.d.ts"
|
|
45
|
+
}
|
|
48
46
|
}
|
package/src/proto/common.ts
CHANGED
package/src/proto/data.ts
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
import Long from "long";
|
|
9
|
-
import _m0 from "protobufjs/minimal";
|
|
10
|
-
import { FieldElement } from "./common";
|
|
11
|
-
import { Timestamp } from "./google/protobuf/timestamp";
|
|
9
|
+
import _m0 from "protobufjs/minimal.js";
|
|
10
|
+
import { FieldElement } from "./common.js";
|
|
11
|
+
import { Timestamp } from "./google/protobuf/timestamp.js";
|
|
12
12
|
|
|
13
13
|
export const protobufPackage = "starknet.v2";
|
|
14
14
|
|
package/src/proto/filter.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
// source: filter.proto
|
|
6
6
|
|
|
7
7
|
/* eslint-disable */
|
|
8
|
-
import _m0 from "protobufjs/minimal";
|
|
9
|
-
import { FieldElement } from "./common";
|
|
8
|
+
import _m0 from "protobufjs/minimal.js";
|
|
9
|
+
import { FieldElement } from "./common.js";
|
|
10
10
|
|
|
11
11
|
export const protobufPackage = "starknet.v2";
|
|
12
12
|
|