Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 26 additions & 32 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,28 @@
{
"env": {
"node": true,
"es2021": true
},
"extends": [
"airbnb-base",
"airbnb-typescript/base"
"env": {
"node": true,
"es2021": true
},
"extends": ["airbnb-base", "airbnb-typescript/base"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint"],
"rules": {
"radix": ["error", "as-needed"],
"no-plusplus": "off",
"no-await-in-loop": "off",
"max-len": [
"error",
{
"code": 120
}
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"radix": [
"error",
"as-needed"
],
"no-plusplus": "off",
"no-await-in-loop": "off",
"max-len": [
"error",
{
"code": 120
}
],
"import/prefer-default-export": "off"
}
}
"import/prefer-default-export": "off",
"@typescript-eslint/comma-dangle": "off",
"object-curly-newline": "off"
}
}
2 changes: 1 addition & 1 deletion lib/collection/collectionData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import pino from 'pino';
import {
UpDataStructsCollectionLimits,
UpDataStructsRpcCollection,
} from '@unique-nft/unique-mainnet-types';
} from '@unique-nft/quartz-mainnet-types';
import { SchemaVersion } from '../../constants';
import { avoidUseBuffer, normalizeSubstrateAddress } from '../../utils/utils';
import { OpalAPI } from '../providerAPI/bridgeProviderAPI/concreate/opalAPI';
Expand Down
2 changes: 1 addition & 1 deletion lib/providerAPI/bridgeProviderAPI/concreate/opalAPI.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { UpDataStructsCollectionLimits, UpDataStructsRpcCollection } from '@unique-nft/unique-mainnet-types';
import { UpDataStructsCollectionLimits, UpDataStructsRpcCollection } from '@unique-nft/quartz-mainnet-types';
import { ImplementOpalAPI } from '../implement/implementOpalAPI';
import AbstractAPI from './abstractAPI';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
UpDataStructsCollectionLimits,
UpDataStructsRpcCollection,
UpDataStructsTokenData,
} from '@unique-nft/unique-mainnet-types';
} from '@unique-nft/quartz-mainnet-types';
import ImplementorAPI from './implementorAPI';

export class ImplementOpalAPI extends ImplementorAPI {
Expand Down
4 changes: 2 additions & 2 deletions lib/providerAPI/providerAPI.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* eslint-disable max-classes-per-file */
/// <reference types="@unique-nft/unique-mainnet-types/augment-api-rpc" />
/// <reference types="@unique-nft/quartz-mainnet-types/augment-api-rpc" />
import { ApiPromise } from '@polkadot/api';
import { WsProvider } from '@polkadot/rpc-provider';
import { unique } from '@unique-nft/unique-mainnet-types/definitions';
import { unique } from '@unique-nft/quartz-mainnet-types/definitions';
import { TypeProvider } from './type/provider';

class ProviderAPI {
Expand Down
2 changes: 1 addition & 1 deletion lib/token/tokenData.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable no-underscore-dangle */
import { ICollectionSchemaInfo } from 'crawlers/crawlers.interfaces';
import { UpDataStructsTokenData } from '@unique-nft/unique-mainnet-types';
import { UpDataStructsTokenData } from '@unique-nft/quartz-mainnet-types';
import { normalizeSubstrateAddress } from '../../utils/utils';
import protobuf from '../../utils/protobuf';
import { ITokenDbEntity } from './tokenDbEntity.interface';
Expand Down
Loading