@notabene/javascript-sdk 2.0.0-next.12 → 2.0.0-next.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/notabene.d.ts +6 -0
- package/package.json +1 -1
- package/src/types.ts +6 -0
package/dist/notabene.d.ts
CHANGED
|
@@ -1024,6 +1024,7 @@ export declare interface TransactionOptions {
|
|
|
1024
1024
|
allowedAgentTypes?: AgentType[];
|
|
1025
1025
|
allowedCounterpartyTypes?: PersonType[];
|
|
1026
1026
|
fields?: FieldTypes;
|
|
1027
|
+
vasps?: VASPOptions;
|
|
1027
1028
|
}
|
|
1028
1029
|
|
|
1029
1030
|
/**
|
|
@@ -1120,6 +1121,11 @@ export declare interface VASP extends Agent {
|
|
|
1120
1121
|
countryOfRegistration?: ISOCountryCode;
|
|
1121
1122
|
}
|
|
1122
1123
|
|
|
1124
|
+
declare type VASPOptions = {
|
|
1125
|
+
addUnknown?: boolean;
|
|
1126
|
+
onlyActive?: boolean;
|
|
1127
|
+
};
|
|
1128
|
+
|
|
1123
1129
|
/**
|
|
1124
1130
|
* A wallet agent acting on behalf of the counterparty
|
|
1125
1131
|
* @public
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -434,6 +434,11 @@ export type FieldTypes = {
|
|
|
434
434
|
naturalPerson?: NaturalPersonFields;
|
|
435
435
|
legalPerson?: LegalPersonFields;
|
|
436
436
|
};
|
|
437
|
+
|
|
438
|
+
export type VASPOptions = {
|
|
439
|
+
addUnknown?: boolean;
|
|
440
|
+
onlyActive?: boolean;
|
|
441
|
+
};
|
|
437
442
|
/**
|
|
438
443
|
* Configuration options for Transaction components
|
|
439
444
|
* @public
|
|
@@ -450,6 +455,7 @@ export interface TransactionOptions {
|
|
|
450
455
|
allowedAgentTypes?: AgentType[]; // Defaults to All
|
|
451
456
|
allowedCounterpartyTypes?: PersonType[]; // Defaults to All
|
|
452
457
|
fields?: FieldTypes;
|
|
458
|
+
vasps?: VASPOptions;
|
|
453
459
|
}
|
|
454
460
|
|
|
455
461
|
/**
|