apibara 2.0.0-beta.27 → 2.0.0-beta.28

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.
@@ -1,2 +1,2 @@
1
1
  export declare const availableIndexers: any;
2
- export declare function createIndexer(indexerName: string, preset?: string): import("@apibara/indexer").Indexer<unknown, unknown, unknown>;
2
+ export declare function createIndexer(indexerName: string, preset?: string): import("@apibara/indexer").Indexer<unknown, unknown>;
@@ -1,6 +1,8 @@
1
1
  import { createIndexer as _createIndexer } from "@apibara/indexer";
2
- import { logger } from "@apibara/indexer/plugins/logger";
3
- import { inMemoryPersistence } from "@apibara/indexer/plugins/persistence";
2
+ import {
3
+ inMemoryPersistence,
4
+ logger
5
+ } from "@apibara/indexer/plugins";
4
6
  import { config } from "#apibara-internal-virtual/config";
5
7
  import { indexers } from "#apibara-internal-virtual/indexers";
6
8
  import { createLogger } from "./logger.mjs";
@@ -1,6 +1,6 @@
1
1
  import { ConsolaInstance } from 'consola';
2
2
  import { NestedHooks, Hookable } from 'hookable';
3
- import { ConsolaReporter } from '@apibara/indexer/plugins/logger';
3
+ import { ConsolaReporter } from '@apibara/indexer/plugins';
4
4
  import { RollupCommonJSOptions } from '@rollup/plugin-commonjs';
5
5
  import { C12InputConfig, WatchConfigOptions, ResolvedConfig, ConfigWatcher } from 'c12';
6
6
  import { WatchOptions } from 'chokidar';
@@ -1,6 +1,6 @@
1
1
  import { ConsolaInstance } from 'consola';
2
2
  import { NestedHooks, Hookable } from 'hookable';
3
- import { ConsolaReporter } from '@apibara/indexer/plugins/logger';
3
+ import { ConsolaReporter } from '@apibara/indexer/plugins';
4
4
  import { RollupCommonJSOptions } from '@rollup/plugin-commonjs';
5
5
  import { C12InputConfig, WatchConfigOptions, ResolvedConfig, ConfigWatcher } from 'c12';
6
6
  import { WatchOptions } from 'chokidar';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apibara",
3
- "version": "2.0.0-beta.27",
3
+ "version": "2.0.0-beta.28",
4
4
  "type": "module",
5
5
  "main": "./dist/core/index.mjs",
6
6
  "exports": {
@@ -72,7 +72,7 @@
72
72
  "playground:start": "pnpm playground start --dir playground --indexer starknet"
73
73
  },
74
74
  "devDependencies": {
75
- "@apibara/starknet": "2.0.0-beta.27",
75
+ "@apibara/starknet": "2.0.0-beta.28",
76
76
  "@types/fs-extra": "^11.0.4",
77
77
  "@types/node": "^20.14.0",
78
78
  "jiti": "^1.21.0",
@@ -82,8 +82,8 @@
82
82
  "vitest": "^1.6.0"
83
83
  },
84
84
  "dependencies": {
85
- "@apibara/indexer": "2.0.0-beta.27",
86
- "@apibara/protocol": "2.0.0-beta.27",
85
+ "@apibara/indexer": "2.0.0-beta.28",
86
+ "@apibara/protocol": "2.0.0-beta.28",
87
87
  "@rollup/plugin-commonjs": "^26.0.1",
88
88
  "@rollup/plugin-json": "^6.1.0",
89
89
  "@rollup/plugin-node-resolve": "^15.2.3",
@@ -1,6 +1,9 @@
1
1
  import { createIndexer as _createIndexer } from "@apibara/indexer";
2
- import { type ConsolaReporter, logger } from "@apibara/indexer/plugins/logger";
3
- import { inMemoryPersistence } from "@apibara/indexer/plugins/persistence";
2
+ import {
3
+ type ConsolaReporter,
4
+ inMemoryPersistence,
5
+ logger,
6
+ } from "@apibara/indexer/plugins";
4
7
 
5
8
  import { config } from "#apibara-internal-virtual/config";
6
9
  import { indexers } from "#apibara-internal-virtual/indexers";
@@ -1,4 +1,4 @@
1
- import type { ConsolaReporter } from "@apibara/indexer/plugins/logger";
1
+ import type { ConsolaReporter } from "@apibara/indexer/plugins";
2
2
  import type { RollupCommonJSOptions } from "@rollup/plugin-commonjs";
3
3
  import type {
4
4
  C12InputConfig,