File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "type" : " git" ,
55 "url" : " https://github.com/passbase/passbase-node.git"
66 },
7- "version" : " 1.3.0 " ,
7+ "version" : " 1.3.1 " ,
88 "description" : " Passbase API client for NodeJS" ,
99 "main" : " lib/index.js" ,
1010 "types" : " lib/index.d.ts" ,
Original file line number Diff line number Diff line change 1- import { IdentityOwner } from "./IdentityOwner" ;
2- import { IdentityResource } from "./IdentityResource" ;
3- import { Watchlist } from "./Watchlist" ;
1+ import { IdentityOwner } from "./IdentityOwner" ;
2+ import { IdentityResource } from "./IdentityResource" ;
3+ import { Watchlist } from "./Watchlist" ;
4+ import { Network } from "./Network" ;
5+
46
57enum IdentityStatus {
68 Created = "created" ,
@@ -21,8 +23,9 @@ export class Identity {
2123 owner : IdentityOwner | null ;
2224 score : number ;
2325 resources : IdentityResource [ ] ;
24- metadata : { [ x : string ] : any } | null ;
26+ metadata : { [ x : string ] : any } | null ;
2527 watchlist : Watchlist | null ;
28+ network : Network | null ;
2629
2730 constructor ( obj : any ) {
2831 this . id = obj . id ;
@@ -36,5 +39,6 @@ export class Identity {
3639 ) ;
3740 this . metadata = obj . metadata ;
3841 this . watchlist = obj . watchlist ? new Watchlist ( obj . watchlist ) : null ;
42+ this . network = obj . network ? new Network ( obj . network ) : null ;
3943 }
4044}
Original file line number Diff line number Diff line change 1+ export class Network {
2+ ipAddress : string ;
3+
4+ constructor ( obj : any ) {
5+ this . ipAddress = obj . ip_address
6+ }
7+ }
You can’t perform that action at this time.
0 commit comments