mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-08 16:54:08 +00:00
Change package name prefixes to cerc-io (#177)
This commit is contained in:
@@ -8,8 +8,8 @@ import path from 'path';
|
||||
import pluralize from 'pluralize';
|
||||
|
||||
import { gql } from '@apollo/client/core';
|
||||
import { GraphQLClient, Config } from '@vulcanize/ipld-eth-client';
|
||||
import { Cache } from '@vulcanize/cache';
|
||||
import { GraphQLClient, Config } from '@cerc-io/ipld-eth-client';
|
||||
import { Cache } from '@cerc-io/cache';
|
||||
|
||||
export class Client {
|
||||
_config: Config;
|
||||
|
||||
@@ -9,8 +9,8 @@ import path from 'path';
|
||||
import assert from 'assert';
|
||||
import { SnakeNamingStrategy } from 'typeorm-naming-strategies';
|
||||
import _ from 'lodash';
|
||||
import { getConfig as getWatcherConfig, wait } from '@vulcanize/util';
|
||||
import { GraphQLClient } from '@vulcanize/ipld-eth-client';
|
||||
import { getConfig as getWatcherConfig, wait } from '@cerc-io/util';
|
||||
import { GraphQLClient } from '@cerc-io/ipld-eth-client';
|
||||
|
||||
import { checkEntityInIPLDState, compareQuery, Config, getBlockIPLDState as getIPLDStateByBlock, getClients, getConfig } from './utils';
|
||||
import { Database } from '../../database';
|
||||
|
||||
@@ -11,8 +11,8 @@ import { diffString, diff } from 'json-diff';
|
||||
import _ from 'lodash';
|
||||
import omitDeep from 'omit-deep';
|
||||
|
||||
import { Config as CacheConfig, getCache } from '@vulcanize/cache';
|
||||
import { GraphQLClient } from '@vulcanize/ipld-eth-client';
|
||||
import { Config as CacheConfig, getCache } from '@cerc-io/cache';
|
||||
import { GraphQLClient } from '@cerc-io/ipld-eth-client';
|
||||
import { gql } from '@apollo/client/core';
|
||||
|
||||
import { Client } from './client';
|
||||
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
Database as BaseDatabase,
|
||||
QueryOptions,
|
||||
Where
|
||||
} from '@vulcanize/util';
|
||||
} from '@cerc-io/util';
|
||||
|
||||
import { Block, fromEntityValue, toEntityValue } from './utils';
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import debug from 'debug';
|
||||
|
||||
import { BaseProvider } from '@ethersproject/providers';
|
||||
import loader from '@vulcanize/assemblyscript/lib/loader';
|
||||
import { IndexerInterface, GraphDecimal, getGraphDigitsAndExp, jsonBigIntStringReplacer } from '@vulcanize/util';
|
||||
import { IndexerInterface, GraphDecimal, getGraphDigitsAndExp, jsonBigIntStringReplacer } from '@cerc-io/util';
|
||||
|
||||
import { TypeId, Level } from './types';
|
||||
import {
|
||||
|
||||
@@ -6,7 +6,7 @@ import path from 'path';
|
||||
import { expect } from 'chai';
|
||||
import BN from 'bn.js';
|
||||
|
||||
import { GraphDecimal } from '@vulcanize/util';
|
||||
import { GraphDecimal } from '@cerc-io/util';
|
||||
import { BaseProvider } from '@ethersproject/providers';
|
||||
|
||||
import { instantiate } from './loader';
|
||||
|
||||
@@ -6,10 +6,10 @@ import yaml from 'js-yaml';
|
||||
import { ColumnMetadata } from 'typeorm/metadata/ColumnMetadata';
|
||||
import assert from 'assert';
|
||||
|
||||
import { GraphDecimal, jsonBigIntStringReplacer } from '@vulcanize/util';
|
||||
import { GraphDecimal, jsonBigIntStringReplacer } from '@cerc-io/util';
|
||||
|
||||
import { TypeId, EthereumValueKind, ValueKind } from './types';
|
||||
import { MappingKey, StorageLayout } from '@vulcanize/solidity-mapper';
|
||||
import { MappingKey, StorageLayout } from '@cerc-io/solidity-mapper';
|
||||
|
||||
const log = debug('vulcanize:utils');
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ import fs from 'fs';
|
||||
import { ContractInterface, utils, providers } from 'ethers';
|
||||
|
||||
import { ResultObject } from '@vulcanize/assemblyscript/lib/loader';
|
||||
import { EthClient } from '@vulcanize/ipld-eth-client';
|
||||
import { IndexerInterface, getFullBlock, BlockHeight, ServerConfig, getFullTransaction, QueryOptions } from '@vulcanize/util';
|
||||
import { EthClient } from '@cerc-io/ipld-eth-client';
|
||||
import { IndexerInterface, getFullBlock, BlockHeight, ServerConfig, getFullTransaction, QueryOptions } from '@cerc-io/util';
|
||||
|
||||
import { createBlock, createEvent, getSubgraphConfig, resolveEntityFieldConflicts, Transaction } from './utils';
|
||||
import { Context, GraphData, instantiate } from './loader';
|
||||
|
||||
Reference in New Issue
Block a user