polkadot-api 1.13.0 → 1.13.1

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/bin/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { getCli, ink, update, remove, generate, add } from '@polkadot-api/cli';
3
3
 
4
- var version = "1.13.0";
4
+ var version = "1.13.1";
5
5
 
6
6
  getCli({
7
7
  add,
@@ -1,6 +1,7 @@
1
1
  export { createClient } from './client.mjs';
2
2
  export { AccountId, Binary, Enum, FixedSizeBinary, _Enum, getSs58AddressInfo } from '@polkadot-api/substrate-bindings';
3
3
  export { CompatibilityLevel } from '@polkadot-api/metadata-compatibility';
4
+ export { BlockNotPinnedError } from '@polkadot-api/observable-client';
4
5
  import './tx/tx.mjs';
5
6
  export { getOfflineApi } from './offline.mjs';
6
7
  export { getTypedCodecs } from './typed-codecs/typed-codecs.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import { JsonRpcProvider } from '@polkadot-api/json-rpc-provider';
2
2
  import { HexString, OpaqueKeyHash, Binary, SS58String, Enum, BlockHeader, Codec, FixedSizeBinary, ResultPayload } from '@polkadot-api/substrate-bindings';
3
3
  export { AccountId, Binary, Codec, Enum, EnumVariant, FixedSizeBinary, GetEnum, HexString, ResultPayload, SS58AddressInfo, SS58String, _Enum, getSs58AddressInfo } from '@polkadot-api/substrate-bindings';
4
4
  import { BlockInfo, SystemEvent as SystemEvent$1 } from '@polkadot-api/observable-client';
5
+ export { BlockNotPinnedError } from '@polkadot-api/observable-client';
5
6
  import { ChainSpecData } from '@polkadot-api/substrate-client';
6
7
  import { Observable } from 'rxjs';
7
8
  import { CompatibilityLevel } from '@polkadot-api/metadata-compatibility';
package/dist/index.js CHANGED
@@ -1826,6 +1826,10 @@ Object.defineProperty(exports, "CompatibilityLevel", {
1826
1826
  enumerable: true,
1827
1827
  get: function () { return metadataCompatibility.CompatibilityLevel; }
1828
1828
  });
1829
+ Object.defineProperty(exports, "BlockNotPinnedError", {
1830
+ enumerable: true,
1831
+ get: function () { return observableClient.BlockNotPinnedError; }
1832
+ });
1829
1833
  Object.defineProperty(exports, "AccountId", {
1830
1834
  enumerable: true,
1831
1835
  get: function () { return substrateBindings.AccountId; }