Socket
Socket
Sign inDemoInstall

@oak-network/types

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oak-network/types - npm Package Compare versions

Comparing version 2.0.7 to 2.1.0

19

automationTime.d.ts
declare const _default: {
rpc: {
getTimeAutomationFees: {
description: string;
params: {
name: string;
type: string;
}[];
type: string;
};
calculateOptimalAutostaking: {

@@ -37,5 +29,2 @@ description: string;

types: {
AutomationAction: {
_enum: string[];
};
AutostakingResult: {

@@ -53,10 +42,2 @@ period: string;

methods: {
get_time_automation_fees: {
description: string;
params: {
name: string;
type: string;
}[];
type: string;
};
calculate_optimal_autostaking: {

@@ -63,0 +44,0 @@ description: string;

@@ -5,10 +5,2 @@ "use strict";

rpc: {
getTimeAutomationFees: {
description: 'Retrieve automation fees',
params: [
{ name: 'action', type: 'AutomationAction' },
{ name: 'executions', type: 'u32' },
],
type: 'Balance',
},
calculateOptimalAutostaking: {

@@ -38,9 +30,2 @@ description: 'Calculate the optimal period to restake',

types: {
AutomationAction: {
_enum: [
'NativeTransfer',
'XCMP',
'AutoCompoundDelegatedStake'
],
},
AutostakingResult: {

@@ -59,10 +44,2 @@ period: 'i32',

methods: {
get_time_automation_fees: {
description: 'Retrieve automation fees',
params: [
{ name: 'action', type: 'AutomationAction' },
{ name: 'executions', type: 'u32' },
],
type: 'Balance',
},
calculate_optimal_autostaking: {

@@ -69,0 +46,0 @@ description: 'Calculate the optimal period to restake',

23

index.d.ts

@@ -1,14 +0,6 @@

export * from './automationTime';
export * from './xcmpHandler';
export * from './automationTime.js';
export * from './xcmpHandler.js';
export declare const definitions: {
automationTime: {
rpc: {
getTimeAutomationFees: {
description: string;
params: {
name: string;
type: string;
}[];
type: string;
};
calculateOptimalAutostaking: {

@@ -40,5 +32,2 @@ description: string;

types: {
AutomationAction: {
_enum: string[];
};
AutostakingResult: {

@@ -56,10 +45,2 @@ period: string;

methods: {
get_time_automation_fees: {
description: string;
params: {
name: string;
type: string;
}[];
type: string;
};
calculate_optimal_autostaking: {

@@ -66,0 +47,0 @@ description: string;

12

index.js

@@ -22,6 +22,6 @@ "use strict";

const utils_1 = require("@open-web3/orml-type-definitions/utils");
const automationTime_1 = __importDefault(require("./automationTime"));
const xcmpHandler_1 = __importDefault(require("./xcmpHandler"));
__exportStar(require("./automationTime"), exports);
__exportStar(require("./xcmpHandler"), exports);
const automationTime_js_1 = __importDefault(require("./automationTime.js"));
const xcmpHandler_js_1 = __importDefault(require("./xcmpHandler.js"));
__exportStar(require("./automationTime.js"), exports);
__exportStar(require("./xcmpHandler.js"), exports);
const extractFromDefs = (defs, keyItem) => {

@@ -38,4 +38,4 @@ const items = {};

exports.definitions = {
automationTime: automationTime_1.default,
xcmpHandler: xcmpHandler_1.default
automationTime: automationTime_js_1.default,
xcmpHandler: xcmpHandler_js_1.default
};

@@ -42,0 +42,0 @@ exports.types = (0, utils_1.typesFromDefs)(exports.definitions);

{
"name": "@oak-network/types",
"version": "2.0.7",
"version": "2.1.0",
"main": "./index.js",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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