@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.
@@ -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
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
- "version": "2.0.0-next.12",
12
+ "version": "2.0.0-next.13",
13
13
  "source": "src/notabene.ts",
14
14
  "main": "dist/notabene.js",
15
15
  "types": "dist/notabene.d.ts",
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
  /**