Socket
Socket
Sign inDemoInstall

@ocap/mcrypto

Package Overview
Dependencies
Maintainers
3
Versions
439
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ocap/mcrypto - npm Package Compare versions

Comparing version 1.17.10 to 1.17.11

5

lib/index.d.ts

@@ -6,3 +6,3 @@ /// <reference types="node" />

export declare type HashType = LiteralUnion<'KECCAK' | 'SHA3' | 'KECCAK_384' | 'SHA3_384' | 'KECCAK_512' | 'SHA3_512' | 'SHA2', string>;
export declare type RoleType = LiteralUnion<'ROLE_ACCOUNT' | 'ROLE_NODE' | 'ROLE_DEVICE' | 'ROLE_APPLICATION' | 'ROLE_SMART_CONTRACT' | 'ROLE_BOT' | 'ROLE_ASSET' | 'ROLE_STAKE' | 'ROLE_VALIDATOR' | 'ROLE_GROUP' | 'ROLE_GROUP' | 'ROLE_TX' | 'ROLE_TETHER' | 'ROLE_SWAP' | 'ROLE_DELEGATION' | 'ROLE_VC' | 'ROLE_BLOCKLET' | 'ROLE_REGISTRY' | 'ROLE_TOKEN' | 'ROLE_FACTORY' | 'ROLE_ROLLUP' | 'ROLE_ANY', string>;
export declare type RoleType = LiteralUnion<'ROLE_ACCOUNT' | 'ROLE_NODE' | 'ROLE_DEVICE' | 'ROLE_APPLICATION' | 'ROLE_SMART_CONTRACT' | 'ROLE_BOT' | 'ROLE_ASSET' | 'ROLE_STAKE' | 'ROLE_VALIDATOR' | 'ROLE_GROUP' | 'ROLE_GROUP' | 'ROLE_TX' | 'ROLE_TETHER' | 'ROLE_SWAP' | 'ROLE_DELEGATION' | 'ROLE_VC' | 'ROLE_BLOCKLET' | 'ROLE_STORE' | 'ROLE_TOKEN' | 'ROLE_FACTORY' | 'ROLE_ROLLUP' | 'ROLE_ANY', string>;
export declare type AddressType = LiteralUnion<'BASE16' | 'BASE58', string>;

@@ -155,6 +155,7 @@ export interface HashFnType {

ROLE_BLOCKLET: number;
ROLE_REGISTRY: number;
ROLE_STORE: number;
ROLE_TOKEN: number;
ROLE_FACTORY: number;
ROLE_ROLLUP: number;
ROLE_STORAGE: number;
ROLE_ANY: number;

@@ -161,0 +162,0 @@ };

3

lib/index.js

@@ -130,6 +130,7 @@ "use strict";

ROLE_BLOCKLET: 15,
ROLE_REGISTRY: 16,
ROLE_STORE: 16,
ROLE_TOKEN: 17,
ROLE_FACTORY: 18,
ROLE_ROLLUP: 19,
ROLE_STORAGE: 20,
ROLE_ANY: 63,

@@ -136,0 +137,0 @@ },

{
"name": "@ocap/mcrypto",
"version": "1.17.10",
"version": "1.17.11",
"description": "Crypto lib that provides signer,crypter,hasher interface",

@@ -59,3 +59,3 @@ "keywords": [

"dependencies": {
"@ocap/util": "1.17.10",
"@ocap/util": "1.17.11",
"bn.js": "5.2.1",

@@ -76,3 +76,3 @@ "crypto-js": "^4.1.1",

},
"gitHead": "062c4f18a4e6d370cb1659980c602e8494969dc3"
"gitHead": "32ee93b1f1026709bb1b00a58b4b3dc5d551f94a"
}
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