@notabene/javascript-sdk 2.10.0-next.1 → 2.10.0

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/README.md CHANGED
@@ -708,6 +708,7 @@ import Notabene, {
708
708
  } from '@notabene/javascript-sdk';
709
709
 
710
710
  const options: TransactionOptions = {
711
+ jurisdiction: "US", // Defaults to the jurisdiction associated with customer token
711
712
  proofs: {
712
713
  reuseProof: true, // Defaults true
713
714
  microTransfer: {
@@ -908,9 +909,13 @@ The two options are:
908
909
 
909
910
  ### Counterparty Field Properties
910
911
 
911
- The fields requested from a customer about a counterparty can be configured with the fields object. You can configure required and optional fields individually for both natural and legal persons.
912
+ By default, counterparty fields are determined based on the rules of the jurisdiction associated with the VASP using the component. This ensures compliance even when fields are not explicitly configured.
912
913
 
913
- We recommend working closely with your compliance team for this. Bearing in mind that different jurisdictions have different rules.
914
+ If a specific jurisdiction is manually configured, the component will instead derive the fields according to that jurisdiction’s rules.
915
+
916
+ For VASPs seeking more granular control over the fields displayed to customers about counterparties, the fields object can be used to customize visibility. Required and optional fields can be configured independently for both natural and legal persons.
917
+
918
+ We recommend working closely with your compliance team when making these configurations, as regulatory requirements vary significantly across jurisdictions.
914
919
 
915
920
  Each field can be configured like this:
916
921
 
@@ -956,8 +961,8 @@ const options: TransactionOptions = {
956
961
  },
957
962
  legalPerson: {
958
963
  name: true, // Default true
959
- lei: true, // Default true
960
- website: { optional: true }, // Default true
964
+ lei: {optional: true }, // Default optional
965
+ website: { optional: true }, // Default optional
961
966
  email: true,
962
967
  phone: true,
963
968
  geographicAddress: false,
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.10.0-next.1",
13
+ "version": "2.10.0",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.10.0-next.1",
13
+ "version": "2.10.0",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.10.0-next.1",
13
+ "version": "2.10.0",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",