@credify/credify-js
Advanced tools
Comparing version 1.0.13 to 1.0.14
import { AccountEntity, IdentityEntity, LocationEntity, NameEntity, OIDCInfo, PhoneNumberEntity, ProfileEntity } from "../entity/entity"; | ||
import { Wallet } from ".."; | ||
import { ConfirmationStatus, IdentityCategory, IdentitySource } from "./enumerations"; | ||
@@ -27,3 +26,3 @@ export interface CredifySDKIntegrated { | ||
static fromEntity(entity: PhoneNumberEntity): PhoneNumberModel; | ||
decrypt(wallet: Wallet): PhoneNumberModel; | ||
decrypt(privateKey: string): PhoneNumberModel; | ||
} | ||
@@ -36,3 +35,3 @@ export declare class NameModel { | ||
static fromEntity(entity: NameEntity): NameModel; | ||
decrypt(wallet: Wallet): NameModel; | ||
decrypt(privateKey: string): NameModel; | ||
} | ||
@@ -47,3 +46,3 @@ export declare class AddressModel { | ||
static fromEntity(entity: LocationEntity): AddressModel; | ||
decrypt(wallet: Wallet): AddressModel; | ||
decrypt(privateKey: string): AddressModel; | ||
} | ||
@@ -58,3 +57,3 @@ export declare class ProfileModel { | ||
static fromEntity(entity: ProfileEntity): ProfileModel; | ||
decrypt(wallet: Wallet): ProfileModel; | ||
decrypt(privateKey: string): ProfileModel; | ||
} | ||
@@ -67,3 +66,3 @@ export declare class IdentityModel { | ||
static fromEntity(entity: IdentityEntity): IdentityModel; | ||
decrypt(wallet: Wallet): IdentityModel; | ||
decrypt(privateKey: string): IdentityModel; | ||
} | ||
@@ -80,3 +79,3 @@ export declare class AccountModel { | ||
static fromEntity(entity: AccountEntity, accessToken: string, privateKey: string): AccountModel; | ||
decrypt(wallet: Wallet): AccountModel; | ||
decrypt(privateKey: string): AccountModel; | ||
getCredify(): IdentityModel | undefined; | ||
@@ -83,0 +82,0 @@ getAttachingCredify(): IdentityModel | undefined; |
{ | ||
"name": "@credify/credify-js", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "Credify JS Library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
923245
8391