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

@kiltprotocol/type-definitions

Package Overview
Dependencies
Maintainers
3
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kiltprotocol/type-definitions - npm Package Compare versions

Comparing version 0.1.13 to 0.1.14

1

lib/index.d.ts

@@ -10,2 +10,3 @@ import type { OverrideBundleDefinition, RegistryTypes } from "@polkadot/types/types";

export declare const types20: RegistryTypes;
export declare const types21: RegistryTypes;
export declare const typeBundleForPolkadot: OverrideBundleDefinition;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.typeBundleForPolkadot = exports.types20 = exports.types19 = exports.types18 = exports.types17 = exports.types12 = exports.types10 = exports.types9 = exports.types8 = void 0;
exports.typeBundleForPolkadot = exports.types21 = exports.types20 = exports.types19 = exports.types18 = exports.types17 = exports.types12 = exports.types10 = exports.types9 = exports.types8 = void 0;
exports.types8 = {

@@ -144,3 +144,8 @@ AccountInfo: "AccountInfoWithDualRefCount",

DidVerificationKeyRelationship: {
_enum: ["Authentication", "CapabilityDelegation", "CapabilityInvocation", "AssertionMethod"],
_enum: [
"Authentication",
"CapabilityDelegation",
"CapabilityInvocation",
"AssertionMethod",
],
},

@@ -311,3 +316,8 @@ DidSignature: {

DidVerificationKeyRelationship: {
_enum: ["Authentication", "CapabilityDelegation", "CapabilityInvocation", "AssertionMethod"],
_enum: [
"Authentication",
"CapabilityDelegation",
"CapabilityInvocation",
"AssertionMethod",
],
},

@@ -349,3 +359,7 @@ DidSignature: {

InputError: {
_enum: ["MaxKeyAgreementKeysLimitExceeded", "MaxVerificationKeysToRemoveLimitExceeded", "MaxUrlLengthExceeded"],
_enum: [
"MaxKeyAgreementKeysLimitExceeded",
"MaxVerificationKeysToRemoveLimitExceeded",
"MaxUrlLengthExceeded",
],
},

@@ -482,3 +496,3 @@ DidPublicKeyDetails: {

Sr25519: "[u8; 32]",
EcdsaSecp256k1: "[u8; 33]",
Secp256k1: "[u8; 33]",
},

@@ -489,3 +503,3 @@ }, DidSignature: {

Sr25519: "Sr25519Signature",
EcdsaSecp256k1: "EcdsaSignature",
"Ecdsa-Secp256k1": "EcdsaSignature",
},

@@ -581,3 +595,3 @@ } });

// new
delegators: "OrderedSet<Stake, MaxDelegatorsPerCollator",
delegators: "OrderedSet<Stake, MaxDelegatorsPerCollator>",
total: "Balance",

@@ -587,3 +601,3 @@ state: "CollatorStatus",

// new
delegations: "OrderedSet<Stake, MaxCollatorsPerDelegator",
delegations: "OrderedSet<Stake, MaxCollatorsPerDelegator>",
total: "Balance",

@@ -650,2 +664,49 @@ }, MaxCollatorsPerDelegator: "u32", StakingStorageVersion: {

} });
exports.types21 = Object.assign(Object.assign({}, exports.types20), { StorageError: {
_enum: {
DidAlreadyPresent: "Null",
DidNotPresent: "Null",
DidKeyNotPresent: "DidVerificationKeyRelationship",
VerificationKeyNotPresent: "Null",
CurrentlyActiveKey: "Null",
MaxTxCounterValue: "Null",
MaxPublicKeysPerDidKeyIdentifierExceeded: "Null",
// renamed
MaxTotalKeyAgreementKeysExceeded: "Null",
MaxOldAttestationKeysExceeded: "Null",
},
},
// removed
DidUpdateDetails: undefined, DidCreationDetails: {
did: "DidIdentifierOf",
newKeyAgreementKeys: "DidNewKeyAgreementKeys",
newAssertionMethodKey: "Option<DidVerificationKey>",
newCapabilityDelegationKey: "Option<DidVerificationKey>",
newServiceEndpoints: "Option<ServiceEndpoints>",
}, DidDetails: {
authenticationKey: "KeyIdOf",
keyAgreementKeys: "DidKeyAgreementKeys",
// renamed
capabilityDelegationKey: "Option<KeyIdOf>",
// renamed
assertionMethodKey: "Option<KeyIdOf>",
publicKeys: "DidPublicKeyMap",
serviceEndpoints: "Option<ServiceEndpoints>",
lastTxCounter: "u64",
}, DelegateSignatureTypeOf: "DidSignature", ContentType: {
_enum: ["application/json", "application/ld+json"],
},
// fix: generics mostly don't work here, but OrderedSet is reduced to a Vec anyway
OrderedSet: undefined, Collator: {
id: "AccountId",
stake: "Balance",
// fix
delegators: "Vec<Stake>",
total: "Balance",
state: "CollatorStatus",
}, Delegator: {
// fix
delegations: "Vec<Stake>",
total: "Balance",
} });
exports.typeBundleForPolkadot = {

@@ -682,6 +743,10 @@ types: [

{
minmax: [20, undefined],
minmax: [20, 20],
types: exports.types20,
},
{
minmax: [21, undefined],
types: exports.types21,
},
],
};

2

package.json

@@ -22,3 +22,3 @@ {

},
"version": "0.1.13"
"version": "0.1.14"
}
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