@did-connect/authenticator
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30614
+ Added@did-connect/types@2.2.2(transitive)
+ Addedjoi@17.13.3(transitive)
- Removed@did-connect/types@2.2.1(transitive)
- Removedjoi@17.11.0(transitive)
Updated@arcblock/did@^1.18.115
Updated@arcblock/jwt@^1.18.115
Updated@did-connect/types@2.2.2
Updated@ocap/util@^1.18.115
Updated@ocap/wallet@^1.18.115