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

@atproto-labs/did-resolver

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atproto-labs/did-resolver - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

7

CHANGELOG.md
# @atproto-labs/did-resolver
## 0.1.3
### Patch Changes
- Updated dependencies [[`cb4abbb67`](https://github.com/bluesky-social/atproto/commit/cb4abbb673c69a8a89b49dca5c038f3da2153c6c), [`cb4abbb67`](https://github.com/bluesky-social/atproto/commit/cb4abbb673c69a8a89b49dca5c038f3da2153c6c), [`cb4abbb67`](https://github.com/bluesky-social/atproto/commit/cb4abbb673c69a8a89b49dca5c038f3da2153c6c)]:
- @atproto/did@0.1.2
## 0.1.2

@@ -4,0 +11,0 @@

2

dist/methods/plc.js

@@ -28,3 +28,3 @@ "use strict";

// should still check if the msid is valid.
(0, did_1.checkDidPlc)(did);
(0, did_1.assertDidPlc)(did);
const url = new URL(`/${did}`, this.plcDirectoryUrl);

@@ -31,0 +31,0 @@ return this.fetch(url, {

@@ -20,2 +20,6 @@ "use strict";

const didDocumentUrl = buildDidWebDocumentUrl(did);
// Note we do not explicitly check for "localhost" here. Instead, we rely on
// the injected 'fetch' function to handle the URL. If the URL is
// "localhost", or resolves to a private IP address, the fetch function is
// responsible for handling it.
return this.fetch(didDocumentUrl, {

@@ -22,0 +26,0 @@ redirect: 'error',

{
"name": "@atproto-labs/did-resolver",
"version": "0.1.2",
"version": "0.1.3",
"license": "MIT",

@@ -32,3 +32,3 @@ "description": "DID resolution and verification library",

"@atproto-labs/simple-store-memory": "0.1.1",
"@atproto/did": "0.1.1"
"@atproto/did": "0.1.2"
},

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

@@ -9,3 +9,3 @@ import {

import { pipe } from '@atproto-labs/pipe'
import { Did, checkDidPlc, didDocumentValidator } from '@atproto/did'
import { Did, assertDidPlc, didDocumentValidator } from '@atproto/did'

@@ -47,3 +47,3 @@ import { DidMethod, ResolveDidOptions } from '../did-method.js'

// should still check if the msid is valid.
checkDidPlc(did)
assertDidPlc(did)

@@ -50,0 +50,0 @@ const url = new URL(`/${did}`, this.plcDirectoryUrl)

@@ -33,2 +33,7 @@ import {

// Note we do not explicitly check for "localhost" here. Instead, we rely on
// the injected 'fetch' function to handle the URL. If the URL is
// "localhost", or resolves to a private IP address, the fetch function is
// responsible for handling it.
return this.fetch(didDocumentUrl, {

@@ -35,0 +40,0 @@ redirect: 'error',

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