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

@aviarytech/did-peer

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aviarytech/did-peer - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

2

package.json
{
"name": "@aviarytech/did-peer",
"version": "0.0.12",
"version": "0.0.13",
"type": "module",

@@ -5,0 +5,0 @@ "devDependencies": {

@@ -70,3 +70,3 @@ import { Buffer } from 'buffer/index.js';

export const isPeerDID = (did) => {
return new RegExp('^did:peer:(([01](z)([1-9a-km-zA-HJ-NP-Z]{46,47}))|(2((\.[AEVID](z)([1-9a-km-zA-HJ-NP-Z]{46,47}))+(\.(S)[0-9a-zA-Z=]*)?)))$').test(did);
return new RegExp('^did:peer:(([01](z)([1-9a-km-zA-HJ-NP-Z]{44,47}))|(2((\.[AEVID](z)([1-9a-km-zA-HJ-NP-Z]{44,47}))+(\.(S)[0-9a-zA-Z=]*)?)))$').test(did);
};

@@ -73,0 +73,0 @@ export const createDIDDocument = (did, authKeys, encKeys, services) => {

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