Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polkadot/types-create

Package Overview
Dependencies
Maintainers
2
Versions
498
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/types-create - npm Package Compare versions

Comparing version 10.8.1 to 10.9.1

2

cjs/packageInfo.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.packageInfo = void 0;
exports.packageInfo = { name: '@polkadot/types-create', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.8.1' };
exports.packageInfo = { name: '@polkadot/types-create', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.9.1' };

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

const keys = Object.keys(parsed);
if (keys.includes('_enum')) {
if (parsed._enum) {
return _decodeEnum(value, parsed._enum, count, parsed._fallback);
}
else if (keys.includes('_set')) {
else if (parsed._set) {
return _decodeSet(value, parsed._set, parsed._fallback);

@@ -73,0 +73,0 @@ }

@@ -21,3 +21,3 @@ {

"type": "module",
"version": "10.8.1",
"version": "10.9.1",
"main": "./cjs/index.js",

@@ -149,6 +149,6 @@ "module": "./index.js",

"dependencies": {
"@polkadot/types-codec": "10.8.1",
"@polkadot/util": "^12.2.2",
"@polkadot/types-codec": "10.9.1",
"@polkadot/util": "^12.3.1",
"tslib": "^2.5.3"
}
}

@@ -1,1 +0,1 @@

export const packageInfo = { name: '@polkadot/types-create', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.8.1' };
export const packageInfo = { name: '@polkadot/types-create', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.9.1' };

@@ -64,6 +64,6 @@ import { sanitize } from '@polkadot/types-codec';

const keys = Object.keys(parsed);
if (keys.includes('_enum')) {
if (parsed._enum) {
return _decodeEnum(value, parsed._enum, count, parsed._fallback);
}
else if (keys.includes('_set')) {
else if (parsed._set) {
return _decodeSet(value, parsed._set, parsed._fallback);

@@ -70,0 +70,0 @@ }

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