New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@moonbeam-network/api-augment

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moonbeam-network/api-augment - npm Package Compare versions

Comparing version 0.1901.0 to 0.2000.0

15

interfaces/augment-api-rpc.d.ts

@@ -12,3 +12,3 @@ import "@polkadot/rpc-core/types/jsonrpc";

import type { AuthorityId } from "@polkadot/types/interfaces/consensus";
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from "@polkadot/types/interfaces/contracts";
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from "@polkadot/types/interfaces/contracts";
import type { BlockStats } from "@polkadot/types/interfaces/dev";

@@ -21,3 +21,3 @@ import type { CreatedBlock } from "@polkadot/types/interfaces/engine";

import type { StorageKind } from "@polkadot/types/interfaces/offchain";
import type { FeeDetails, RuntimeDispatchInfo } from "@polkadot/types/interfaces/payment";
import type { FeeDetails, RuntimeDispatchInfoV1 } from "@polkadot/types/interfaces/payment";
import type { RpcMethods } from "@polkadot/types/interfaces/rpc";

@@ -169,7 +169,6 @@ import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from "@polkadot/types/interfaces/runtime";

*/
instantiate: AugmentedRpc<(request: InstantiateRequest | {
instantiate: AugmentedRpc<(request: InstantiateRequestV1 | {
origin?: any;
value?: any;
gasLimit?: any;
storageDepositLimit?: any;
code?: any;

@@ -482,9 +481,11 @@ data?: any;

/**
* Query the detailed fee of a given encoded extrinsic
* @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails`
* instead Query the detailed fee of a given encoded extrinsic
*/
queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>;
/**
* Retrieves the fee information for an encoded extrinsic
* @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead
* Retrieves the fee information for an encoded extrinsic
*/
queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>;
queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfoV1>>;
};

@@ -491,0 +492,0 @@ rpc: {

@@ -12,3 +12,3 @@ import "@polkadot/rpc-core/types/jsonrpc";

import type { AuthorityId } from "@polkadot/types/interfaces/consensus";
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from "@polkadot/types/interfaces/contracts";
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from "@polkadot/types/interfaces/contracts";
import type { BlockStats } from "@polkadot/types/interfaces/dev";

@@ -21,3 +21,3 @@ import type { CreatedBlock } from "@polkadot/types/interfaces/engine";

import type { StorageKind } from "@polkadot/types/interfaces/offchain";
import type { FeeDetails, RuntimeDispatchInfo } from "@polkadot/types/interfaces/payment";
import type { FeeDetails, RuntimeDispatchInfoV1 } from "@polkadot/types/interfaces/payment";
import type { RpcMethods } from "@polkadot/types/interfaces/rpc";

@@ -169,7 +169,6 @@ import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from "@polkadot/types/interfaces/runtime";

*/
instantiate: AugmentedRpc<(request: InstantiateRequest | {
instantiate: AugmentedRpc<(request: InstantiateRequestV1 | {
origin?: any;
value?: any;
gasLimit?: any;
storageDepositLimit?: any;
code?: any;

@@ -492,9 +491,11 @@ data?: any;

/**
* Query the detailed fee of a given encoded extrinsic
* @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails`
* instead Query the detailed fee of a given encoded extrinsic
*/
queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>;
/**
* Retrieves the fee information for an encoded extrinsic
* @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead
* Retrieves the fee information for an encoded extrinsic
*/
queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>;
queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfoV1>>;
};

@@ -501,0 +502,0 @@ rpc: {

@@ -12,3 +12,3 @@ import "@polkadot/rpc-core/types/jsonrpc";

import type { AuthorityId } from "@polkadot/types/interfaces/consensus";
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from "@polkadot/types/interfaces/contracts";
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from "@polkadot/types/interfaces/contracts";
import type { BlockStats } from "@polkadot/types/interfaces/dev";

@@ -21,3 +21,3 @@ import type { CreatedBlock } from "@polkadot/types/interfaces/engine";

import type { StorageKind } from "@polkadot/types/interfaces/offchain";
import type { FeeDetails, RuntimeDispatchInfo } from "@polkadot/types/interfaces/payment";
import type { FeeDetails, RuntimeDispatchInfoV1 } from "@polkadot/types/interfaces/payment";
import type { RpcMethods } from "@polkadot/types/interfaces/rpc";

@@ -169,7 +169,6 @@ import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from "@polkadot/types/interfaces/runtime";

*/
instantiate: AugmentedRpc<(request: InstantiateRequest | {
instantiate: AugmentedRpc<(request: InstantiateRequestV1 | {
origin?: any;
value?: any;
gasLimit?: any;
storageDepositLimit?: any;
code?: any;

@@ -482,9 +481,11 @@ data?: any;

/**
* Query the detailed fee of a given encoded extrinsic
* @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails`
* instead Query the detailed fee of a given encoded extrinsic
*/
queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>;
/**
* Retrieves the fee information for an encoded extrinsic
* @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead
* Retrieves the fee information for an encoded extrinsic
*/
queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>;
queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfoV1>>;
};

@@ -491,0 +492,0 @@ rpc: {

{
"name": "@moonbeam-network/api-augment",
"version": "0.1901.0",
"version": "0.2000.0",
"private": false,

@@ -68,4 +68,4 @@ "description": "Moonbeam types augment for @polkadot/api",

"devDependencies": {
"@polkadot/api": "9.5.2",
"@polkadot/typegen": "9.5.2",
"@polkadot/api": "^9.9.4",
"@polkadot/typegen": "9.9.4",
"prettier": "^2.7.1",

@@ -72,0 +72,0 @@ "prettier-plugin-jsdoc": "^0.3.38",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc