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

@ucanto/principal

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ucanto/principal - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

1

dist/src/ed25519/signer.d.ts

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

export * from "./type.js";
export const code: 4864;

@@ -2,0 +3,0 @@ export const name: "Ed25519";

11

dist/src/key.d.ts
export const Verifier: {
create: (options: RSA.PrincipalParser[]) => any;
parse: (did: `did:${string}:${string}`) => import("@ucanto/interface").Verifier<`did:${string}:${string}`, number>;
create: (options: ed25519.PrincipalParser[]) => any;
parse: (did: `did:${string}:${string}`) => ed25519.Signer.Verifier<`did:${string}:${string}`, number>;
};
export const Signer: {
create: <Importers extends [RSA.SignerImporter<`did:${string}:${string}`, number>, ...RSA.SignerImporter<`did:${string}:${string}`, number>[]]>(importers: Importers) => {
create: <Importers extends [ed25519.SignerImporter<`did:${string}:${string}`, number>, ...ed25519.SignerImporter<`did:${string}:${string}`, number>[]]>(importers: Importers) => {
create: any;
from: RSA.Intersection<Importers[number]["from"]>;
from: ed25519.Intersection<Importers[number]["from"]>;
};
from: (({ id, keys }: RSA.SignerArchive<`did:key:${string}`, 53485>) => import("./ed25519/type.js").EdSigner) & (({ id, keys }: RSA.SignerArchive<`did:key:${string}`, 13636101>) => RSA.RSASigner);
from: (({ id, keys }: ed25519.SignerArchive<`did:key:${string}`, 53485>) => ed25519.EdSigner) & (({ id, keys }: ed25519.SignerArchive<`did:key:${string}`, 13636101>) => RSA.RSASigner);
};
import * as ed25519 from "./ed25519.js";
import * as RSA from "./rsa.js";
//# sourceMappingURL=key.d.ts.map
{
"name": "@ucanto/principal",
"description": "ed25519 principal",
"version": "4.0.0",
"version": "4.0.1",
"keywords": [

@@ -6,0 +6,0 @@ "UCAN",

@@ -8,2 +8,3 @@ import * as ED25519 from '@noble/ed25519'

import { withDID } from '../signer.js'
export * from './type.js'

@@ -10,0 +11,0 @@ export const code = 0x1300

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