@dedot/api 0.0.1-alpha.33 → 0.0.1-alpha.35

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.
Files changed (55) hide show
  1. package/chaintypes/substrate/consts.js +1 -0
  2. package/chaintypes/substrate/errors.js +1 -0
  3. package/chaintypes/substrate/events.js +1 -0
  4. package/chaintypes/substrate/index.js +1 -0
  5. package/chaintypes/substrate/json-rpc.d.ts +1 -1
  6. package/chaintypes/substrate/json-rpc.js +1 -0
  7. package/chaintypes/substrate/query.js +1 -0
  8. package/chaintypes/substrate/runtime.js +1 -0
  9. package/chaintypes/substrate/tx.js +1 -0
  10. package/chaintypes/substrate/types.d.ts +377 -377
  11. package/chaintypes/substrate/types.js +1 -0
  12. package/cjs/chaintypes/substrate/consts.js +1 -0
  13. package/cjs/chaintypes/substrate/errors.js +1 -0
  14. package/cjs/chaintypes/substrate/events.js +1 -0
  15. package/cjs/chaintypes/substrate/index.js +1 -0
  16. package/cjs/chaintypes/substrate/json-rpc.js +1 -0
  17. package/cjs/chaintypes/substrate/query.js +1 -0
  18. package/cjs/chaintypes/substrate/runtime.js +1 -0
  19. package/cjs/chaintypes/substrate/tx.js +1 -0
  20. package/cjs/chaintypes/substrate/types.js +1 -0
  21. package/cjs/client/DedotClient.js +2 -1
  22. package/cjs/client/{Dedot.js → LegacyClient.js} +10 -9
  23. package/cjs/client/index.js +1 -1
  24. package/cjs/executor/ErrorExecutor.js +3 -3
  25. package/cjs/executor/EventExecutor.js +2 -2
  26. package/cjs/executor/StorageQueryExecutor.js +1 -1
  27. package/cjs/executor/TxExecutor.js +3 -3
  28. package/cjs/executor/v2/StorageQueryExecutorV2.js +3 -3
  29. package/cjs/extrinsic/extensions/known/ChargeAssetTxPayment.js +2 -2
  30. package/cjs/extrinsic/extensions/known/StorageWeightReclaim.js +10 -0
  31. package/cjs/extrinsic/extensions/known/index.js +2 -0
  32. package/cjs/extrinsic/submittable/SubmittableExtrinsic.js +2 -2
  33. package/cjs/extrinsic/submittable/SubmittableExtrinsicV2.js +11 -11
  34. package/cjs/storage/QueryableStorage.js +17 -17
  35. package/client/BaseSubstrateClient.d.ts +10 -11
  36. package/client/DedotClient.d.ts +2 -1
  37. package/client/DedotClient.js +2 -1
  38. package/client/{Dedot.d.ts → LegacyClient.d.ts} +8 -7
  39. package/client/{Dedot.js → LegacyClient.js} +8 -7
  40. package/client/index.d.ts +1 -1
  41. package/client/index.js +1 -1
  42. package/executor/ErrorExecutor.js +3 -3
  43. package/executor/EventExecutor.js +2 -2
  44. package/executor/Executor.d.ts +12 -12
  45. package/executor/StorageQueryExecutor.js +1 -1
  46. package/executor/TxExecutor.js +3 -3
  47. package/executor/v2/StorageQueryExecutorV2.js +3 -3
  48. package/extrinsic/extensions/known/ChargeAssetTxPayment.js +2 -2
  49. package/extrinsic/extensions/known/StorageWeightReclaim.d.ts +6 -0
  50. package/extrinsic/extensions/known/StorageWeightReclaim.js +6 -0
  51. package/extrinsic/extensions/known/index.js +2 -0
  52. package/extrinsic/submittable/SubmittableExtrinsic.js +2 -2
  53. package/extrinsic/submittable/SubmittableExtrinsicV2.js +11 -11
  54. package/package.json +10 -10
  55. package/storage/QueryableStorage.js +17 -17
@@ -1 +1,2 @@
1
+ // Generated by dedot cli
1
2
  export {};
@@ -1 +1,2 @@
1
+ // Generated by dedot cli
1
2
  export {};
@@ -1 +1,2 @@
1
+ // Generated by dedot cli
1
2
  export {};
@@ -1 +1,2 @@
1
+ // Generated by dedot cli
1
2
  export * from './types.js';
@@ -1,3 +1,3 @@
1
1
  import type { GenericJsonRpcApis, RpcVersion } from '@dedot/types';
2
2
  import type { JsonRpcApis } from '@dedot/types/json-rpc';
3
- export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<JsonRpcApis, 'author_hasKey' | 'author_hasSessionKeys' | 'author_insertKey' | 'author_pendingExtrinsics' | 'author_removeExtrinsic' | 'author_rotateKeys' | 'author_submitAndWatchExtrinsic' | 'author_submitExtrinsic' | 'babe_epochAuthorship' | 'beefy_getFinalizedHead' | 'beefy_subscribeJustifications' | 'chainHead_unstable_body' | 'chainHead_unstable_call' | 'chainHead_unstable_continue' | 'chainHead_unstable_follow' | 'chainHead_unstable_header' | 'chainHead_unstable_stopOperation' | 'chainHead_unstable_storage' | 'chainHead_unstable_unpin' | 'chainSpec_v1_chainName' | 'chainSpec_v1_genesisHash' | 'chainSpec_v1_properties' | 'chain_getBlock' | 'chain_getBlockHash' | 'chain_getFinalizedHead' | 'chain_getHeader' | 'chain_subscribeAllHeads' | 'chain_subscribeFinalizedHeads' | 'chain_subscribeNewHeads' | 'childstate_getKeys' | 'childstate_getKeysPaged' | 'childstate_getStorage' | 'childstate_getStorageEntries' | 'childstate_getStorageHash' | 'childstate_getStorageSize' | 'dev_getBlockStats' | 'grandpa_proveFinality' | 'grandpa_roundState' | 'grandpa_subscribeJustifications' | 'mmr_generateProof' | 'mmr_root' | 'mmr_verifyProof' | 'mmr_verifyProofStateless' | 'offchain_localStorageGet' | 'offchain_localStorageSet' | 'payment_queryFeeDetails' | 'payment_queryInfo' | 'rpc_methods' | 'state_call' | 'state_getChildReadProof' | 'state_getKeys' | 'state_getKeysPaged' | 'state_getMetadata' | 'state_getPairs' | 'state_getReadProof' | 'state_getRuntimeVersion' | 'state_getStorage' | 'state_getStorageHash' | 'state_getStorageSize' | 'state_queryStorage' | 'state_queryStorageAt' | 'state_subscribeRuntimeVersion' | 'state_subscribeStorage' | 'state_traceBlock' | 'state_trieMigrationStatus' | 'statement_broadcasts' | 'statement_dump' | 'statement_posted' | 'statement_postedClear' | 'statement_remove' | 'statement_submit' | 'sync_state_genSyncSpec' | 'system_accountNextIndex' | 'system_addLogFilter' | 'system_addReservedPeer' | 'system_chain' | 'system_chainType' | 'system_dryRun' | 'system_health' | 'system_localListenAddresses' | 'system_localPeerId' | 'system_name' | 'system_nodeRoles' | 'system_peers' | 'system_properties' | 'system_removeReservedPeer' | 'system_reservedPeers' | 'system_resetLogFilter' | 'system_syncState' | 'system_unstable_networkState' | 'system_version' | 'transactionWatch_unstable_submitAndWatch' | 'transaction_unstable_broadcast' | 'transaction_unstable_stop'> & GenericJsonRpcApis<Rv>;
3
+ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<JsonRpcApis, 'author_hasKey' | 'author_hasSessionKeys' | 'author_insertKey' | 'author_pendingExtrinsics' | 'author_removeExtrinsic' | 'author_rotateKeys' | 'author_submitAndWatchExtrinsic' | 'author_submitExtrinsic' | 'babe_epochAuthorship' | 'beefy_getFinalizedHead' | 'beefy_subscribeJustifications' | 'chainHead_v1_body' | 'chainHead_v1_call' | 'chainHead_v1_continue' | 'chainHead_v1_follow' | 'chainHead_v1_header' | 'chainHead_v1_stopOperation' | 'chainHead_v1_storage' | 'chainHead_v1_unpin' | 'chainSpec_v1_chainName' | 'chainSpec_v1_genesisHash' | 'chainSpec_v1_properties' | 'chain_getBlock' | 'chain_getBlockHash' | 'chain_getFinalizedHead' | 'chain_getHeader' | 'chain_subscribeAllHeads' | 'chain_subscribeFinalizedHeads' | 'chain_subscribeNewHeads' | 'childstate_getKeys' | 'childstate_getKeysPaged' | 'childstate_getStorage' | 'childstate_getStorageEntries' | 'childstate_getStorageHash' | 'childstate_getStorageSize' | 'dev_getBlockStats' | 'grandpa_proveFinality' | 'grandpa_roundState' | 'grandpa_subscribeJustifications' | 'mmr_generateProof' | 'mmr_root' | 'mmr_verifyProof' | 'mmr_verifyProofStateless' | 'offchain_localStorageGet' | 'offchain_localStorageSet' | 'payment_queryFeeDetails' | 'payment_queryInfo' | 'rpc_methods' | 'state_call' | 'state_getChildReadProof' | 'state_getKeys' | 'state_getKeysPaged' | 'state_getMetadata' | 'state_getPairs' | 'state_getReadProof' | 'state_getRuntimeVersion' | 'state_getStorage' | 'state_getStorageHash' | 'state_getStorageSize' | 'state_queryStorage' | 'state_queryStorageAt' | 'state_subscribeRuntimeVersion' | 'state_subscribeStorage' | 'state_traceBlock' | 'state_trieMigrationStatus' | 'statement_broadcasts' | 'statement_dump' | 'statement_posted' | 'statement_postedClear' | 'statement_remove' | 'statement_submit' | 'sync_state_genSyncSpec' | 'system_accountNextIndex' | 'system_addLogFilter' | 'system_addReservedPeer' | 'system_chain' | 'system_chainType' | 'system_dryRun' | 'system_health' | 'system_localListenAddresses' | 'system_localPeerId' | 'system_name' | 'system_nodeRoles' | 'system_peers' | 'system_properties' | 'system_removeReservedPeer' | 'system_reservedPeers' | 'system_resetLogFilter' | 'system_syncState' | 'system_unstable_networkState' | 'system_version' | 'transactionWatch_v1_submitAndWatch' | 'transaction_v1_broadcast' | 'transaction_v1_stop'> & GenericJsonRpcApis<Rv>;
@@ -1 +1,2 @@
1
+ // Generated by dedot cli
1
2
  export {};
@@ -1 +1,2 @@
1
+ // Generated by dedot cli
1
2
  export {};
@@ -1 +1,2 @@
1
+ // Generated by dedot cli
1
2
  export {};
@@ -1 +1,2 @@
1
+ // Generated by dedot cli
1
2
  export {};