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

@dfinity/principal

Package Overview
Dependencies
Maintainers
11
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfinity/principal - npm Package Compare versions

Comparing version 0.19.3 to 0.20.0-beta.0

3

lib/cjs/index.js

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

}
else if (Object.getPrototypeOf(other) === Uint8Array.prototype) {
return new Principal(other);
}
else if (typeof other === 'object' &&

@@ -38,0 +41,0 @@ other !== null &&

@@ -33,2 +33,5 @@ import { decode, encode } from './utils/base32';

}
else if (Object.getPrototypeOf(other) === Uint8Array.prototype) {
return new Principal(other);
}
else if (typeof other === 'object' &&

@@ -35,0 +38,0 @@ other !== null &&

3

package.json
{
"name": "@dfinity/principal",
"version": "0.19.3",
"version": "0.20.0-beta.0",
"author": "DFINITY Stiftung <sdk@dfinity.org>",

@@ -44,3 +44,2 @@ "license": "Apache-2.0",

"make:docs/reference": "typedoc src/index.ts --out ../../docs/generated/principal --excludeInternal",
"release": "npm publish",
"test": "jest",

@@ -47,0 +46,0 @@ "test:coverage": "jest --verbose --collectCoverage"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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