1003.70.0 • Published 5 months ago

@unique-nft/opal-testnet-types v1003.70.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@unique-nft/opal-testnet-types

Unique network api types

Do not edit by hand, those types are generated automatically, and definitions are located in chain repo

Using types

Install library:

yarn add --dev @unique-nft/opal-testnet-types

Replace polkadot.js types with our chain types adding corresponding path override to the tsconfig compilerOptions.paths section:

// in tsconfig.json
{
  "compilerOptions": {
    "paths": {
      "@polkadot/types/lookup": ["node_modules/@unique-nft/opal-testnet-types/types-lookup"]
    }
  }
}

Since polkadot v7 api augmentations not loaded by default, in every file, where you need to access api.tx, api.query, api.rpc, etc; you should explicitly import corresponding augmentation before any other polkadot.js related import:

import '@unique-nft/opal-testnet-types/augment-api';
1003.70.0

5 months ago

943.61.0

8 months ago

1001.63.0

6 months ago

941.56.0

12 months ago

942.57.0

11 months ago

941.55.1

1 year ago

939.54.0

1 year ago

937.53.1

1 year ago

936.40.0

1 year ago

336.40.0

1 year ago

936.50.4

1 year ago

937.52.0

1 year ago

930.34.0

1 year ago

930.31.0

2 years ago

929.31.1

2 years ago

930.32.0

1 year ago

929.31.0

2 years ago

0.5.3

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago