Socket
Socket
Sign inDemoInstall

@did-connect/authenticator

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@did-connect/authenticator - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

14

lib/index.d.ts

@@ -5,6 +5,6 @@ import { JwtBody } from '@arcblock/jwt';

import type { TLocaleCode, TAppInfo, TAppResponse, TChainInfo, TAuthContext, TAnyRequest, TAnyResponse } from '@did-connect/types';
export declare type TWalletInfoFn = (params: TAuthContext) => Promisable<WalletObject>;
export declare type TAppInfoFn = (params: TAuthContext) => Promisable<TAppInfo>;
export declare type TChainInfoFn = (params: TAuthContext) => Promisable<TChainInfo>;
export declare type AuthenticatorOptions = {
export type TWalletInfoFn = (params: TAuthContext) => Promisable<WalletObject>;
export type TAppInfoFn = (params: TAuthContext) => Promisable<TAppInfo>;
export type TChainInfoFn = (params: TAuthContext) => Promisable<TChainInfo>;
export type AuthenticatorOptions = {
wallet: WalletObject | TWalletInfoFn;

@@ -15,7 +15,7 @@ appInfo: TAppInfo | TAppInfoFn;

};
export declare type TAppResponseSigned = {
export type TAppResponseSigned = {
appPk: string;
authInfo: string;
};
export declare type WalletResponse = {
export type WalletResponse = {
userDid: string;

@@ -27,3 +27,3 @@ userPk: string;

};
export declare type TWalletResponseSigned = {
export type TWalletResponseSigned = {
userPk: string;

@@ -30,0 +30,0 @@ userInfo: string;

{
"name": "@did-connect/authenticator",
"description": "Helper function to setup DID Connect support on a node.js web server",
"version": "2.2.1",
"version": "2.2.2",
"author": {

@@ -21,7 +21,7 @@ "name": "wangshijun",

"dependencies": {
"@arcblock/did": "^1.18.95",
"@arcblock/jwt": "^1.18.95",
"@did-connect/types": "2.2.1",
"@ocap/util": "^1.18.95",
"@ocap/wallet": "^1.18.95",
"@arcblock/did": "^1.18.115",
"@arcblock/jwt": "^1.18.115",
"@did-connect/types": "2.2.2",
"@ocap/util": "^1.18.115",
"@ocap/wallet": "^1.18.115",
"debug": "^4.3.4",

@@ -67,3 +67,3 @@ "lodash": "^4.17.21"

"resolutions": {},
"gitHead": "a792d7ef03e20bca51d2098bda6f59104959d999"
"gitHead": "17a9fdc0258eccd9097016705a7a0c050038a0ed"
}
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