@notabene/javascript-sdk 2.0.3 → 2.1.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 +4 -0
- package/dist/notabene.cjs +1 -1
- package/dist/notabene.d.ts +23 -17
- package/dist/notabene.js +16 -15
- package/docs/README.md +4 -0
- package/docs/_media/TransactionOptions.md +6 -6
- package/docs/ivms/types/enumerations/PayloadVersionCode.md +2 -2
- package/docs/ivms/types/interfaces/PayloadMetadata.md +2 -2
- package/docs/ivms/types/type-aliases/Address.md +1 -1
- package/docs/ivms/types/type-aliases/AddressTypeCode.md +1 -1
- package/docs/ivms/types/type-aliases/Beneficiary.md +1 -1
- package/docs/ivms/types/type-aliases/BeneficiaryVASP.md +1 -1
- package/docs/ivms/types/type-aliases/DateAndPlaceOfBirth.md +1 -1
- package/docs/ivms/types/type-aliases/ISOCountryCode.md +1 -1
- package/docs/ivms/types/type-aliases/ISODate.md +1 -1
- package/docs/ivms/types/type-aliases/IVMS101.md +1 -1
- package/docs/ivms/types/type-aliases/IntermediaryVASP.md +1 -1
- package/docs/ivms/types/type-aliases/LegalPerson.md +1 -1
- package/docs/ivms/types/type-aliases/LegalPersonName.md +1 -1
- package/docs/ivms/types/type-aliases/LegalPersonNameID.md +1 -1
- package/docs/ivms/types/type-aliases/LegalPersonNameTypeCode.md +1 -1
- package/docs/ivms/types/type-aliases/LocalLegalPersonNameID.md +1 -1
- package/docs/ivms/types/type-aliases/LocalNaturalPersonNameID.md +1 -1
- package/docs/ivms/types/type-aliases/NationalIdentification.md +1 -1
- package/docs/ivms/types/type-aliases/NationalIdentifierTypeCode.md +1 -1
- package/docs/ivms/types/type-aliases/NaturalPerson.md +1 -1
- package/docs/ivms/types/type-aliases/NaturalPersonName.md +1 -1
- package/docs/ivms/types/type-aliases/NaturalPersonNameID.md +1 -1
- package/docs/ivms/types/type-aliases/NaturalPersonNameTypeCode.md +1 -1
- package/docs/ivms/types/type-aliases/OriginatingVASP.md +1 -1
- package/docs/ivms/types/type-aliases/Originator.md +1 -1
- package/docs/ivms/types/type-aliases/Person.md +1 -1
- package/docs/ivms/types/type-aliases/TransferPath.md +1 -1
- package/docs/ivms/types/type-aliases/TransliterationMethodCode.md +1 -1
- package/docs/notabene/README.md +6 -6
- package/docs/notabene/classes/EmbeddedComponent.md +16 -16
- package/docs/notabene/classes/default.md +6 -6
- package/docs/notabene/functions/decodeFragmentToObject.md +1 -1
- package/docs/notabene/interfaces/NotabeneConfig.md +5 -5
- package/docs/notabene/type-aliases/MessageCallback.md +1 -1
- package/docs/types/README.md +1 -1
- package/docs/types/enumerations/AgentType.md +2 -2
- package/docs/types/enumerations/CMType.md +6 -17
- package/docs/types/enumerations/HMType.md +2 -2
- package/docs/types/enumerations/PersonType.md +3 -3
- package/docs/types/enumerations/ProofStatus.md +4 -4
- package/docs/types/enumerations/ProofTypes.md +12 -12
- package/docs/types/enumerations/Status.md +5 -5
- package/docs/types/enumerations/VASPSearchControl.md +34 -0
- package/docs/types/enumerations/ValidationSections.md +4 -4
- package/docs/types/interfaces/Agent.md +6 -6
- package/docs/types/interfaces/CallbackOptions.md +2 -2
- package/docs/types/interfaces/ComponentRequest.md +2 -2
- package/docs/types/interfaces/ComponentResponse.md +4 -4
- package/docs/types/interfaces/ConnectionRecord.md +7 -7
- package/docs/types/interfaces/ConnectionRequest.md +3 -3
- package/docs/types/interfaces/Counterparty.md +10 -10
- package/docs/types/interfaces/DeclarationProof.md +6 -6
- package/docs/types/interfaces/Deposit.md +9 -9
- package/docs/types/interfaces/DepositRequest.md +7 -7
- package/docs/types/interfaces/DepositRequestOptions.md +1 -1
- package/docs/types/interfaces/LegalPerson.md +13 -13
- package/docs/types/interfaces/MicroTransferProof.md +9 -9
- package/docs/types/interfaces/NaturalPerson.md +13 -13
- package/docs/types/interfaces/OwnershipProof.md +4 -4
- package/docs/types/interfaces/ScreenshotProof.md +5 -5
- package/docs/types/interfaces/SignatureProof.md +7 -7
- package/docs/types/interfaces/ThresholdOptions.md +3 -3
- package/docs/types/interfaces/Transaction.md +8 -8
- package/docs/types/interfaces/TransactionOptions.md +6 -6
- package/docs/types/interfaces/TransactionResponse.md +8 -8
- package/docs/types/interfaces/VASP.md +9 -9
- package/docs/types/interfaces/Wallet.md +8 -8
- package/docs/types/interfaces/Withdrawal.md +9 -9
- package/docs/types/type-aliases/BlockchainAddress.md +1 -1
- package/docs/types/type-aliases/CAIP10.md +1 -1
- package/docs/types/type-aliases/CAIP19.md +1 -1
- package/docs/types/type-aliases/CAIP2.md +1 -1
- package/docs/types/type-aliases/CAIP220.md +1 -1
- package/docs/types/type-aliases/Cancel.md +1 -1
- package/docs/types/type-aliases/Completed.md +1 -1
- package/docs/types/type-aliases/ComponentMessage.md +2 -4
- package/docs/types/type-aliases/ConnectionOptions.md +1 -1
- package/docs/types/type-aliases/CryptoCredential.md +1 -1
- package/docs/types/type-aliases/DID.md +1 -1
- package/docs/types/type-aliases/DTI.md +1 -1
- package/docs/types/type-aliases/Destination.md +1 -1
- package/docs/types/type-aliases/Error.md +17 -1
- package/docs/types/type-aliases/FieldOptions.md +1 -1
- package/docs/types/type-aliases/FieldTypes.md +1 -1
- package/docs/types/type-aliases/HostMessage.md +1 -1
- package/docs/types/type-aliases/ISOCurrency.md +1 -1
- package/docs/types/type-aliases/InvalidValue.md +1 -1
- package/docs/types/type-aliases/LEI.md +1 -1
- package/docs/types/type-aliases/LegalPersonFieldName.md +1 -1
- package/docs/types/type-aliases/LegalPersonFields.md +1 -1
- package/docs/types/type-aliases/NaturalPersonFieldName.md +1 -1
- package/docs/types/type-aliases/NaturalPersonFields.md +1 -1
- package/docs/types/type-aliases/NotabeneAsset.md +1 -1
- package/docs/types/type-aliases/ResizeRequest.md +1 -1
- package/docs/types/type-aliases/Source.md +1 -1
- package/docs/types/type-aliases/Theme.md +9 -9
- package/docs/types/type-aliases/TransactionAsset.md +1 -1
- package/docs/types/type-aliases/TravelAddress.md +1 -1
- package/docs/types/type-aliases/URI.md +1 -1
- package/docs/types/type-aliases/UUID.md +1 -1
- package/docs/types/type-aliases/UpdateValue.md +1 -1
- package/docs/types/type-aliases/V1Asset.md +1 -1
- package/docs/types/type-aliases/V1Transaction.md +1 -1
- package/docs/types/type-aliases/VASPOptions.md +5 -1
- package/docs/types/type-aliases/ValidationError.md +1 -1
- package/package.json +1 -1
- package/src/notabene.ts +2 -2
- package/src/types.ts +22 -17
- package/src/utils/__tests__/MessageEventManager.test.ts +7 -7
- package/docs/types/type-aliases/Ready.md +0 -21
|
@@ -24,7 +24,7 @@ A wallet agent acting on behalf of the counterparty
|
|
|
24
24
|
|
|
25
25
|
#### Defined in
|
|
26
26
|
|
|
27
|
-
[types.ts:258](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
27
|
+
[types.ts:258](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L258)
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
@@ -38,7 +38,7 @@ A wallet agent acting on behalf of the counterparty
|
|
|
38
38
|
|
|
39
39
|
#### Defined in
|
|
40
40
|
|
|
41
|
-
[types.ts:260](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
41
|
+
[types.ts:260](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L260)
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
@@ -52,7 +52,7 @@ A wallet agent acting on behalf of the counterparty
|
|
|
52
52
|
|
|
53
53
|
#### Defined in
|
|
54
54
|
|
|
55
|
-
[types.ts:262](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
55
|
+
[types.ts:262](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L262)
|
|
56
56
|
|
|
57
57
|
***
|
|
58
58
|
|
|
@@ -62,7 +62,7 @@ A wallet agent acting on behalf of the counterparty
|
|
|
62
62
|
|
|
63
63
|
#### Defined in
|
|
64
64
|
|
|
65
|
-
[types.ts:309](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
65
|
+
[types.ts:309](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L309)
|
|
66
66
|
|
|
67
67
|
***
|
|
68
68
|
|
|
@@ -76,7 +76,7 @@ A wallet agent acting on behalf of the counterparty
|
|
|
76
76
|
|
|
77
77
|
#### Defined in
|
|
78
78
|
|
|
79
|
-
[types.ts:259](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
79
|
+
[types.ts:259](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L259)
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
@@ -90,7 +90,7 @@ A wallet agent acting on behalf of the counterparty
|
|
|
90
90
|
|
|
91
91
|
#### Defined in
|
|
92
92
|
|
|
93
|
-
[types.ts:261](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
93
|
+
[types.ts:261](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L261)
|
|
94
94
|
|
|
95
95
|
***
|
|
96
96
|
|
|
@@ -104,7 +104,7 @@ A wallet agent acting on behalf of the counterparty
|
|
|
104
104
|
|
|
105
105
|
#### Defined in
|
|
106
106
|
|
|
107
|
-
[types.ts:263](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
107
|
+
[types.ts:263](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L263)
|
|
108
108
|
|
|
109
109
|
***
|
|
110
110
|
|
|
@@ -114,4 +114,4 @@ A wallet agent acting on behalf of the counterparty
|
|
|
114
114
|
|
|
115
115
|
#### Defined in
|
|
116
116
|
|
|
117
|
-
[types.ts:310](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
117
|
+
[types.ts:310](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L310)
|
|
@@ -24,7 +24,7 @@ An object representing a withdrawal transaction
|
|
|
24
24
|
|
|
25
25
|
#### Defined in
|
|
26
26
|
|
|
27
|
-
[types.ts:522](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
27
|
+
[types.ts:522](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L522)
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
@@ -38,7 +38,7 @@ An object representing a withdrawal transaction
|
|
|
38
38
|
|
|
39
39
|
#### Defined in
|
|
40
40
|
|
|
41
|
-
[types.ts:525](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
41
|
+
[types.ts:525](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L525)
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
@@ -52,7 +52,7 @@ An object representing a withdrawal transaction
|
|
|
52
52
|
|
|
53
53
|
#### Defined in
|
|
54
54
|
|
|
55
|
-
[types.ts:524](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
55
|
+
[types.ts:524](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L524)
|
|
56
56
|
|
|
57
57
|
***
|
|
58
58
|
|
|
@@ -74,7 +74,7 @@ An object representing a withdrawal transaction
|
|
|
74
74
|
|
|
75
75
|
#### Defined in
|
|
76
76
|
|
|
77
|
-
[types.ts:527](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
77
|
+
[types.ts:527](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L527)
|
|
78
78
|
|
|
79
79
|
***
|
|
80
80
|
|
|
@@ -88,7 +88,7 @@ An object representing a withdrawal transaction
|
|
|
88
88
|
|
|
89
89
|
#### Defined in
|
|
90
90
|
|
|
91
|
-
[types.ts:523](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
91
|
+
[types.ts:523](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L523)
|
|
92
92
|
|
|
93
93
|
***
|
|
94
94
|
|
|
@@ -102,7 +102,7 @@ An object representing a withdrawal transaction
|
|
|
102
102
|
|
|
103
103
|
#### Defined in
|
|
104
104
|
|
|
105
|
-
[types.ts:495](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
105
|
+
[types.ts:495](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L495)
|
|
106
106
|
|
|
107
107
|
***
|
|
108
108
|
|
|
@@ -116,7 +116,7 @@ An object representing a withdrawal transaction
|
|
|
116
116
|
|
|
117
117
|
#### Defined in
|
|
118
118
|
|
|
119
|
-
[types.ts:460](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
119
|
+
[types.ts:460](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L460)
|
|
120
120
|
|
|
121
121
|
***
|
|
122
122
|
|
|
@@ -130,7 +130,7 @@ An object representing a withdrawal transaction
|
|
|
130
130
|
|
|
131
131
|
#### Defined in
|
|
132
132
|
|
|
133
|
-
[types.ts:526](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
133
|
+
[types.ts:526](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L526)
|
|
134
134
|
|
|
135
135
|
***
|
|
136
136
|
|
|
@@ -144,4 +144,4 @@ An object representing a withdrawal transaction
|
|
|
144
144
|
|
|
145
145
|
#### Defined in
|
|
146
146
|
|
|
147
|
-
[types.ts:494](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
147
|
+
[types.ts:494](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L494)
|
|
@@ -33,4 +33,4 @@ The address format and validation rules depend on the underlying blockchain.
|
|
|
33
33
|
|
|
34
34
|
## Defined in
|
|
35
35
|
|
|
36
|
-
[types.ts:166](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
36
|
+
[types.ts:166](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L166)
|
|
@@ -36,4 +36,4 @@ Format: `{caip2}:{address}`
|
|
|
36
36
|
|
|
37
37
|
## Defined in
|
|
38
38
|
|
|
39
|
-
[types.ts:73](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
39
|
+
[types.ts:73](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L73)
|
|
@@ -37,4 +37,4 @@ Format: `{caip2}/{asset_namespace}:{asset_reference}`
|
|
|
37
37
|
|
|
38
38
|
## Defined in
|
|
39
39
|
|
|
40
|
-
[types.ts:91](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
40
|
+
[types.ts:91](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L91)
|
|
@@ -36,4 +36,4 @@ Format: `namespace:reference`
|
|
|
36
36
|
|
|
37
37
|
## Defined in
|
|
38
38
|
|
|
39
|
-
[types.ts:56](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
39
|
+
[types.ts:56](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L56)
|
|
@@ -12,4 +12,4 @@ Chain Agnostic Payload Identifier
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:97](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:97](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L97)
|
|
@@ -20,4 +20,4 @@ Represents a cancel component message
|
|
|
20
20
|
|
|
21
21
|
## Defined in
|
|
22
22
|
|
|
23
|
-
[types.ts:
|
|
23
|
+
[types.ts:834](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L834)
|
|
@@ -32,4 +32,4 @@ The Response object which wraps T
|
|
|
32
32
|
|
|
33
33
|
## Defined in
|
|
34
34
|
|
|
35
|
-
[types.ts:
|
|
35
|
+
[types.ts:802](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L802)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Type Alias: ComponentMessage\<T\>
|
|
8
8
|
|
|
9
|
-
> **ComponentMessage**\<`T`\>: [`Completed`](Completed.md)\<`T`\> \| [`Cancel`](Cancel.md) \| [`Error`](Error.md) \| [`
|
|
9
|
+
> **ComponentMessage**\<`T`\>: [`Completed`](Completed.md)\<`T`\> \| [`Cancel`](Cancel.md) \| [`Error`](Error.md) \| [`ResizeRequest`](ResizeRequest.md) \| [`InvalidValue`](InvalidValue.md)\<`T`\>
|
|
10
10
|
|
|
11
11
|
Union type representing all possible messages that can be sent from a component
|
|
12
12
|
|
|
@@ -23,7 +23,6 @@ through these message types:
|
|
|
23
23
|
- Completed: Operation finished successfully with response data
|
|
24
24
|
- Cancel: User cancelled the operation
|
|
25
25
|
- Error: Operation failed with error message
|
|
26
|
-
- Ready: Component initialized and ready for use
|
|
27
26
|
- ResizeRequest: Component needs to adjust its dimensions
|
|
28
27
|
- InvalidValue: Validation failed with current partial value
|
|
29
28
|
|
|
@@ -32,10 +31,9 @@ through these message types:
|
|
|
32
31
|
- [Completed](Completed.md) For successful completion message format
|
|
33
32
|
- [Cancel](Cancel.md) For cancellation message format
|
|
34
33
|
- [Error](Error.md) For error message format
|
|
35
|
-
- [Ready](Ready.md) For ready message format
|
|
36
34
|
- [ResizeRequest](ResizeRequest.md) For resize message format
|
|
37
35
|
- [InvalidValue](InvalidValue.md) For validation failure message format
|
|
38
36
|
|
|
39
37
|
## Defined in
|
|
40
38
|
|
|
41
|
-
[types.ts:
|
|
39
|
+
[types.ts:872](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L872)
|
|
@@ -12,4 +12,4 @@ An object representing options for a Connection Request
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:574](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:574](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L574)
|
|
@@ -12,4 +12,4 @@ A crypto credential
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:191](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:191](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L191)
|
|
@@ -12,4 +12,4 @@ A Decentralized Identifier
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:219](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:219](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L219)
|
|
@@ -35,4 +35,4 @@ Format: `DTI[NNNNN]` where N is a digit
|
|
|
35
35
|
|
|
36
36
|
## Defined in
|
|
37
37
|
|
|
38
|
-
[types.ts:117](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
38
|
+
[types.ts:117](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L117)
|
|
@@ -12,4 +12,4 @@ The destination of a transaction either a blockchain address, a CAIP-19 address,
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:197](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:197](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L197)
|
|
@@ -12,6 +12,14 @@ Represents an error component message
|
|
|
12
12
|
|
|
13
13
|
## Type declaration
|
|
14
14
|
|
|
15
|
+
### description?
|
|
16
|
+
|
|
17
|
+
> `optional` **description**: `string`
|
|
18
|
+
|
|
19
|
+
### identifier?
|
|
20
|
+
|
|
21
|
+
> `optional` **identifier**: `string`
|
|
22
|
+
|
|
15
23
|
### message
|
|
16
24
|
|
|
17
25
|
> **message**: `string`
|
|
@@ -24,6 +32,14 @@ Represents an error component message
|
|
|
24
32
|
|
|
25
33
|
Error message
|
|
26
34
|
|
|
35
|
+
## Param
|
|
36
|
+
|
|
37
|
+
Description of the error message
|
|
38
|
+
|
|
39
|
+
## Param
|
|
40
|
+
|
|
41
|
+
Identifier code of the error message
|
|
42
|
+
|
|
27
43
|
## Defined in
|
|
28
44
|
|
|
29
|
-
[types.ts:
|
|
45
|
+
[types.ts:823](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L823)
|
|
@@ -12,4 +12,4 @@ Field properties
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:686](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:686](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L686)
|
|
@@ -22,4 +22,4 @@ Field type configuration
|
|
|
22
22
|
|
|
23
23
|
## Defined in
|
|
24
24
|
|
|
25
|
-
[types.ts:698](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
25
|
+
[types.ts:698](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L698)
|
|
@@ -34,4 +34,4 @@ without requiring full reinitialization.
|
|
|
34
34
|
|
|
35
35
|
## Defined in
|
|
36
36
|
|
|
37
|
-
[types.ts:
|
|
37
|
+
[types.ts:934](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L934)
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:231](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:231](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L231)
|
|
@@ -42,4 +42,4 @@ Array of validation errors
|
|
|
42
42
|
|
|
43
43
|
## Defined in
|
|
44
44
|
|
|
45
|
-
[types.ts:
|
|
45
|
+
[types.ts:845](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L845)
|
|
@@ -12,4 +12,4 @@ A LEI Legal Entity Identifier
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:225](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:225](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L225)
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
|
|
11
11
|
## Defined in
|
|
12
12
|
|
|
13
|
-
[types.ts:429](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
13
|
+
[types.ts:429](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L429)
|
|
@@ -12,4 +12,4 @@ Field properties by field name
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:443](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:443](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L443)
|
|
@@ -12,4 +12,4 @@ Field names for NaturalPerson
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:382](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:382](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L382)
|
|
@@ -12,4 +12,4 @@ Field properties by field name for Natural persons
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:397](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:397](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L397)
|
|
@@ -33,4 +33,4 @@ system that may be used alongside CAIP-19 and DTI identifiers.
|
|
|
33
33
|
|
|
34
34
|
## Defined in
|
|
35
35
|
|
|
36
|
-
[types.ts:139](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
36
|
+
[types.ts:139](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L139)
|
|
@@ -24,4 +24,4 @@ Represents a resize request component message. This is handled by the library.
|
|
|
24
24
|
|
|
25
25
|
## Defined in
|
|
26
26
|
|
|
27
|
-
[types.ts:
|
|
27
|
+
[types.ts:811](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L811)
|
|
@@ -12,4 +12,4 @@ The source of a transaction
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:207](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:207](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L207)
|
|
@@ -12,22 +12,22 @@ The theme of the Notabene SDK
|
|
|
12
12
|
|
|
13
13
|
## Type declaration
|
|
14
14
|
|
|
15
|
-
### fontFamily
|
|
15
|
+
### fontFamily?
|
|
16
16
|
|
|
17
|
-
> **fontFamily**: `string`
|
|
17
|
+
> `optional` **fontFamily**: `string`
|
|
18
18
|
|
|
19
|
-
### logo
|
|
19
|
+
### logo?
|
|
20
20
|
|
|
21
|
-
> **logo**: `string`
|
|
21
|
+
> `optional` **logo**: `string`
|
|
22
22
|
|
|
23
|
-
### primaryColor
|
|
23
|
+
### primaryColor?
|
|
24
24
|
|
|
25
|
-
> **primaryColor**: `string`
|
|
25
|
+
> `optional` **primaryColor**: `string`
|
|
26
26
|
|
|
27
|
-
### secondaryColor
|
|
27
|
+
### secondaryColor?
|
|
28
28
|
|
|
29
|
-
> **secondaryColor**: `string`
|
|
29
|
+
> `optional` **secondaryColor**: `string`
|
|
30
30
|
|
|
31
31
|
## Defined in
|
|
32
32
|
|
|
33
|
-
[types.ts:237](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
33
|
+
[types.ts:237](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L237)
|
|
@@ -12,4 +12,4 @@ The asset of a transaction either a Notabene asset, a CAIP-19 asset, or a DTI.
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:145](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:145](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L145)
|
|
@@ -34,4 +34,4 @@ VASPs and blockchain networks while maintaining privacy.
|
|
|
34
34
|
|
|
35
35
|
## Defined in
|
|
36
36
|
|
|
37
|
-
[types.ts:186](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
37
|
+
[types.ts:186](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L186)
|
|
@@ -12,4 +12,4 @@ A Uniform Resource Identifier
|
|
|
12
12
|
|
|
13
13
|
## Defined in
|
|
14
14
|
|
|
15
|
-
[types.ts:213](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
15
|
+
[types.ts:213](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L213)
|
|
@@ -24,4 +24,4 @@ Format: 8-4-4-4-12 hexadecimal digits
|
|
|
24
24
|
|
|
25
25
|
## Defined in
|
|
26
26
|
|
|
27
|
-
[types.ts:39](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
27
|
+
[types.ts:39](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L39)
|
|
@@ -51,4 +51,4 @@ and its configuration without requiring a full reload/reinitialize.
|
|
|
51
51
|
|
|
52
52
|
## Defined in
|
|
53
53
|
|
|
54
|
-
[types.ts:
|
|
54
|
+
[types.ts:912](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L912)
|
|
@@ -33,4 +33,4 @@ Used for backwards compatibility with V1 API transaction payloads:
|
|
|
33
33
|
|
|
34
34
|
## Defined in
|
|
35
35
|
|
|
36
|
-
[types.ts:605](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
36
|
+
[types.ts:605](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L605)
|
|
@@ -46,4 +46,4 @@ Transaction payload suitable for calling Notabene v1 tx/create
|
|
|
46
46
|
|
|
47
47
|
## Defined in
|
|
48
48
|
|
|
49
|
-
[types.ts:611](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
49
|
+
[types.ts:611](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L611)
|
|
@@ -20,6 +20,10 @@ Options for which VASPs to be searchable
|
|
|
20
20
|
|
|
21
21
|
> `optional` **onlyActive**: `boolean`
|
|
22
22
|
|
|
23
|
+
### searchable?
|
|
24
|
+
|
|
25
|
+
> `optional` **searchable**: [`VASPSearchControl`](../enumerations/VASPSearchControl.md)[]
|
|
26
|
+
|
|
23
27
|
## Defined in
|
|
24
28
|
|
|
25
|
-
[types.ts:
|
|
29
|
+
[types.ts:720](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L720)
|
|
@@ -22,4 +22,4 @@ Validation error
|
|
|
22
22
|
|
|
23
23
|
## Defined in
|
|
24
24
|
|
|
25
|
-
[types.ts:677](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
25
|
+
[types.ts:677](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L677)
|
package/package.json
CHANGED
package/src/notabene.ts
CHANGED
|
@@ -33,7 +33,6 @@ import type {
|
|
|
33
33
|
NaturalPerson,
|
|
34
34
|
NotabeneAsset,
|
|
35
35
|
OwnershipProof,
|
|
36
|
-
Ready,
|
|
37
36
|
ResizeRequest,
|
|
38
37
|
ScreenshotProof,
|
|
39
38
|
SignatureProof,
|
|
@@ -61,6 +60,7 @@ import {
|
|
|
61
60
|
ProofTypes,
|
|
62
61
|
Status,
|
|
63
62
|
ValidationSections,
|
|
63
|
+
VASPSearchControl,
|
|
64
64
|
} from './types';
|
|
65
65
|
import { type MessageCallback } from './utils/MessageEventManager';
|
|
66
66
|
import { decodeFragmentToObject, encodeObjectToFragment } from './utils/urls';
|
|
@@ -76,6 +76,7 @@ export {
|
|
|
76
76
|
ProofTypes,
|
|
77
77
|
Status,
|
|
78
78
|
ValidationSections,
|
|
79
|
+
VASPSearchControl,
|
|
79
80
|
};
|
|
80
81
|
export type {
|
|
81
82
|
Agent,
|
|
@@ -110,7 +111,6 @@ export type {
|
|
|
110
111
|
NaturalPerson,
|
|
111
112
|
NotabeneAsset,
|
|
112
113
|
OwnershipProof,
|
|
113
|
-
Ready,
|
|
114
114
|
ResizeRequest,
|
|
115
115
|
ScreenshotProof,
|
|
116
116
|
SignatureProof,
|