@notabene/javascript-sdk 2.0.3 → 2.0.4-NEXT.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 +28 -0
- package/dist/js/notabene.js +1 -0
- package/dist/notabene.cjs +1 -1
- package/dist/notabene.d.ts +30 -17
- package/dist/notabene.js +98 -70
- package/docs/README.md +28 -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 +39 -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 +5 -5
- package/src/components/EmbeddedComponent.ts +44 -4
- package/src/components/__tests__/EmbeddedComponent.test.ts +126 -3
- 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
|
@@ -13,4 +13,4 @@ Specifies the type of name for a natural person
|
|
|
13
13
|
|
|
14
14
|
## Defined in
|
|
15
15
|
|
|
16
|
-
[ivms/types.ts:22](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
16
|
+
[ivms/types.ts:22](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/ivms/types.ts#L22)
|
|
@@ -21,4 +21,4 @@ The originating VASP information
|
|
|
21
21
|
|
|
22
22
|
## Defined in
|
|
23
23
|
|
|
24
|
-
[ivms/types.ts:325](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
24
|
+
[ivms/types.ts:325](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/ivms/types.ts#L325)
|
|
@@ -27,4 +27,4 @@ Array of persons associated with the originator
|
|
|
27
27
|
|
|
28
28
|
## Defined in
|
|
29
29
|
|
|
30
|
-
[ivms/types.ts:301](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
30
|
+
[ivms/types.ts:301](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/ivms/types.ts#L301)
|
|
@@ -27,4 +27,4 @@ Natural person information
|
|
|
27
27
|
|
|
28
28
|
## Defined in
|
|
29
29
|
|
|
30
|
-
[ivms/types.ts:277](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
30
|
+
[ivms/types.ts:277](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/ivms/types.ts#L277)
|
|
@@ -21,4 +21,4 @@ Array of intermediary VASPs involved in the transfer
|
|
|
21
21
|
|
|
22
22
|
## Defined in
|
|
23
23
|
|
|
24
|
-
[ivms/types.ts:345](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
24
|
+
[ivms/types.ts:345](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/ivms/types.ts#L345)
|
|
@@ -13,4 +13,4 @@ Specifies the method used to transliterate text
|
|
|
13
13
|
|
|
14
14
|
## Defined in
|
|
15
15
|
|
|
16
|
-
[ivms/types.ts:71](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
16
|
+
[ivms/types.ts:71](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/ivms/types.ts#L71)
|
package/docs/notabene/README.md
CHANGED
|
@@ -249,12 +249,6 @@ Re-exports [ProofTypes](../types/enumerations/ProofTypes.md)
|
|
|
249
249
|
|
|
250
250
|
***
|
|
251
251
|
|
|
252
|
-
### Ready
|
|
253
|
-
|
|
254
|
-
Re-exports [Ready](../types/type-aliases/Ready.md)
|
|
255
|
-
|
|
256
|
-
***
|
|
257
|
-
|
|
258
252
|
### ResizeRequest
|
|
259
253
|
|
|
260
254
|
Re-exports [ResizeRequest](../types/type-aliases/ResizeRequest.md)
|
|
@@ -357,6 +351,12 @@ Re-exports [VASPOptions](../types/type-aliases/VASPOptions.md)
|
|
|
357
351
|
|
|
358
352
|
***
|
|
359
353
|
|
|
354
|
+
### VASPSearchControl
|
|
355
|
+
|
|
356
|
+
Re-exports [VASPSearchControl](../types/enumerations/VASPSearchControl.md)
|
|
357
|
+
|
|
358
|
+
***
|
|
359
|
+
|
|
360
360
|
### Wallet
|
|
361
361
|
|
|
362
362
|
Re-exports [Wallet](../types/interfaces/Wallet.md)
|
|
@@ -40,7 +40,7 @@ The initial transaction value
|
|
|
40
40
|
|
|
41
41
|
#### Defined in
|
|
42
42
|
|
|
43
|
-
[components/EmbeddedComponent.ts:34](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
43
|
+
[components/EmbeddedComponent.ts:34](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L34)
|
|
44
44
|
|
|
45
45
|
## Accessors
|
|
46
46
|
|
|
@@ -56,7 +56,7 @@ The initial transaction value
|
|
|
56
56
|
|
|
57
57
|
#### Defined in
|
|
58
58
|
|
|
59
|
-
[components/EmbeddedComponent.ts:72](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
59
|
+
[components/EmbeddedComponent.ts:72](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L72)
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
@@ -72,7 +72,7 @@ The initial transaction value
|
|
|
72
72
|
|
|
73
73
|
#### Defined in
|
|
74
74
|
|
|
75
|
-
[components/EmbeddedComponent.ts:68](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
75
|
+
[components/EmbeddedComponent.ts:68](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L68)
|
|
76
76
|
|
|
77
77
|
***
|
|
78
78
|
|
|
@@ -92,7 +92,7 @@ The URL of the embedded component
|
|
|
92
92
|
|
|
93
93
|
#### Defined in
|
|
94
94
|
|
|
95
|
-
[components/EmbeddedComponent.ts:56](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
95
|
+
[components/EmbeddedComponent.ts:56](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L56)
|
|
96
96
|
|
|
97
97
|
***
|
|
98
98
|
|
|
@@ -112,7 +112,7 @@ The current transaction value
|
|
|
112
112
|
|
|
113
113
|
#### Defined in
|
|
114
114
|
|
|
115
|
-
[components/EmbeddedComponent.ts:64](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
115
|
+
[components/EmbeddedComponent.ts:64](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L64)
|
|
116
116
|
|
|
117
117
|
## Methods
|
|
118
118
|
|
|
@@ -128,7 +128,7 @@ Closes the modal dialog
|
|
|
128
128
|
|
|
129
129
|
#### Defined in
|
|
130
130
|
|
|
131
|
-
[components/EmbeddedComponent.ts:
|
|
131
|
+
[components/EmbeddedComponent.ts:240](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L240)
|
|
132
132
|
|
|
133
133
|
***
|
|
134
134
|
|
|
@@ -146,7 +146,7 @@ A promise that resolves with the transaction response
|
|
|
146
146
|
|
|
147
147
|
#### Defined in
|
|
148
148
|
|
|
149
|
-
[components/EmbeddedComponent.ts:173](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
149
|
+
[components/EmbeddedComponent.ts:173](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L173)
|
|
150
150
|
|
|
151
151
|
***
|
|
152
152
|
|
|
@@ -170,7 +170,7 @@ The parent element to embed the component into
|
|
|
170
170
|
|
|
171
171
|
#### Defined in
|
|
172
172
|
|
|
173
|
-
[components/EmbeddedComponent.ts:100](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
173
|
+
[components/EmbeddedComponent.ts:100](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L100)
|
|
174
174
|
|
|
175
175
|
***
|
|
176
176
|
|
|
@@ -196,7 +196,7 @@ Will throw an error if the parent element is not found
|
|
|
196
196
|
|
|
197
197
|
#### Defined in
|
|
198
198
|
|
|
199
|
-
[components/EmbeddedComponent.ts:90](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
199
|
+
[components/EmbeddedComponent.ts:90](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L90)
|
|
200
200
|
|
|
201
201
|
***
|
|
202
202
|
|
|
@@ -222,7 +222,7 @@ The callback function to remove
|
|
|
222
222
|
|
|
223
223
|
#### Defined in
|
|
224
224
|
|
|
225
|
-
[components/EmbeddedComponent.ts:154](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
225
|
+
[components/EmbeddedComponent.ts:154](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L154)
|
|
226
226
|
|
|
227
227
|
***
|
|
228
228
|
|
|
@@ -252,7 +252,7 @@ The callback function to execute when the message is received
|
|
|
252
252
|
|
|
253
253
|
#### Defined in
|
|
254
254
|
|
|
255
|
-
[components/EmbeddedComponent.ts:144](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
255
|
+
[components/EmbeddedComponent.ts:144](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L144)
|
|
256
256
|
|
|
257
257
|
***
|
|
258
258
|
|
|
@@ -268,7 +268,7 @@ Opens the component URL in the current window
|
|
|
268
268
|
|
|
269
269
|
#### Defined in
|
|
270
270
|
|
|
271
|
-
[components/EmbeddedComponent.ts:80](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
271
|
+
[components/EmbeddedComponent.ts:80](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L80)
|
|
272
272
|
|
|
273
273
|
***
|
|
274
274
|
|
|
@@ -284,7 +284,30 @@ Opens the component in a modal dialog
|
|
|
284
284
|
|
|
285
285
|
#### Defined in
|
|
286
286
|
|
|
287
|
-
[components/EmbeddedComponent.ts:
|
|
287
|
+
[components/EmbeddedComponent.ts:202](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L202)
|
|
288
|
+
|
|
289
|
+
***
|
|
290
|
+
|
|
291
|
+
### popup()
|
|
292
|
+
|
|
293
|
+
> **popup**(): `Promise`\<[`TransactionResponse`](../../types/interfaces/TransactionResponse.md)\<`V`\>\>
|
|
294
|
+
|
|
295
|
+
Opens the component in a popup window. This may be needed to support many self-hosted wallets
|
|
296
|
+
|
|
297
|
+
#### Returns
|
|
298
|
+
|
|
299
|
+
`Promise`\<[`TransactionResponse`](../../types/interfaces/TransactionResponse.md)\<`V`\>\>
|
|
300
|
+
|
|
301
|
+
A promise that resolves with the transaction response
|
|
302
|
+
|
|
303
|
+
#### See
|
|
304
|
+
|
|
305
|
+
- [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Window/open#restrictions)
|
|
306
|
+
- [Cross-Origin-Opener-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy)
|
|
307
|
+
|
|
308
|
+
#### Defined in
|
|
309
|
+
|
|
310
|
+
[components/EmbeddedComponent.ts:255](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L255)
|
|
288
311
|
|
|
289
312
|
***
|
|
290
313
|
|
|
@@ -298,7 +321,7 @@ Opens the component in a modal dialog
|
|
|
298
321
|
|
|
299
322
|
#### Defined in
|
|
300
323
|
|
|
301
|
-
[components/EmbeddedComponent.ts:126](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
324
|
+
[components/EmbeddedComponent.ts:126](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L126)
|
|
302
325
|
|
|
303
326
|
***
|
|
304
327
|
|
|
@@ -320,7 +343,7 @@ The message to send
|
|
|
320
343
|
|
|
321
344
|
#### Defined in
|
|
322
345
|
|
|
323
|
-
[components/EmbeddedComponent.ts:134](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
346
|
+
[components/EmbeddedComponent.ts:134](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L134)
|
|
324
347
|
|
|
325
348
|
***
|
|
326
349
|
|
|
@@ -344,4 +367,4 @@ The new transaction value
|
|
|
344
367
|
|
|
345
368
|
#### Defined in
|
|
346
369
|
|
|
347
|
-
[components/EmbeddedComponent.ts:162](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
370
|
+
[components/EmbeddedComponent.ts:162](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/components/EmbeddedComponent.ts#L162)
|
|
@@ -32,7 +32,7 @@ Configuration options for the Notabene SDK
|
|
|
32
32
|
|
|
33
33
|
#### Defined in
|
|
34
34
|
|
|
35
|
-
[notabene.ts:185](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
35
|
+
[notabene.ts:185](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/notabene.ts#L185)
|
|
36
36
|
|
|
37
37
|
## Methods
|
|
38
38
|
|
|
@@ -76,7 +76,7 @@ component URL
|
|
|
76
76
|
|
|
77
77
|
#### Defined in
|
|
78
78
|
|
|
79
|
-
[notabene.ts:203](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
79
|
+
[notabene.ts:203](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/notabene.ts#L203)
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
@@ -120,7 +120,7 @@ A new EmbeddedComponent instance
|
|
|
120
120
|
|
|
121
121
|
#### Defined in
|
|
122
122
|
|
|
123
|
-
[notabene.ts:245](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
123
|
+
[notabene.ts:245](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/notabene.ts#L245)
|
|
124
124
|
|
|
125
125
|
***
|
|
126
126
|
|
|
@@ -154,7 +154,7 @@ A new EmbeddedComponent instance for connection
|
|
|
154
154
|
|
|
155
155
|
#### Defined in
|
|
156
156
|
|
|
157
|
-
[notabene.ts:288](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
157
|
+
[notabene.ts:288](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/notabene.ts#L288)
|
|
158
158
|
|
|
159
159
|
***
|
|
160
160
|
|
|
@@ -186,7 +186,7 @@ A new EmbeddedComponent instance for deposit requests
|
|
|
186
186
|
|
|
187
187
|
#### Defined in
|
|
188
188
|
|
|
189
|
-
[notabene.ts:310](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
189
|
+
[notabene.ts:310](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/notabene.ts#L310)
|
|
190
190
|
|
|
191
191
|
***
|
|
192
192
|
|
|
@@ -218,4 +218,4 @@ A new EmbeddedComponent instance for withdrawal assistance
|
|
|
218
218
|
|
|
219
219
|
#### Defined in
|
|
220
220
|
|
|
221
|
-
[notabene.ts:266](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
221
|
+
[notabene.ts:266](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/notabene.ts#L266)
|
|
@@ -24,4 +24,4 @@ An object containing the decoded key-value pairs
|
|
|
24
24
|
|
|
25
25
|
## Defined in
|
|
26
26
|
|
|
27
|
-
[utils/urls.ts:22](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
27
|
+
[utils/urls.ts:22](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/utils/urls.ts#L22)
|
|
@@ -18,7 +18,7 @@ The authentication token for the Notabene API
|
|
|
18
18
|
|
|
19
19
|
#### Defined in
|
|
20
20
|
|
|
21
|
-
[notabene.ts:147](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
21
|
+
[notabene.ts:147](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/notabene.ts#L147)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ The locale to use for the UX components
|
|
|
30
30
|
|
|
31
31
|
#### Defined in
|
|
32
32
|
|
|
33
|
-
[notabene.ts:162](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
33
|
+
[notabene.ts:162](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/notabene.ts#L162)
|
|
34
34
|
|
|
35
35
|
***
|
|
36
36
|
|
|
@@ -42,7 +42,7 @@ The URL of the Notabene API node
|
|
|
42
42
|
|
|
43
43
|
#### Defined in
|
|
44
44
|
|
|
45
|
-
[notabene.ts:142](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
45
|
+
[notabene.ts:142](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/notabene.ts#L142)
|
|
46
46
|
|
|
47
47
|
***
|
|
48
48
|
|
|
@@ -54,7 +54,7 @@ Custom theme configuration for the UX components
|
|
|
54
54
|
|
|
55
55
|
#### Defined in
|
|
56
56
|
|
|
57
|
-
[notabene.ts:157](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
57
|
+
[notabene.ts:157](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/notabene.ts#L157)
|
|
58
58
|
|
|
59
59
|
***
|
|
60
60
|
|
|
@@ -66,4 +66,4 @@ The URL of the Notabene UX components
|
|
|
66
66
|
|
|
67
67
|
#### Defined in
|
|
68
68
|
|
|
69
|
-
[notabene.ts:152](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
69
|
+
[notabene.ts:152](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/notabene.ts#L152)
|
|
@@ -28,4 +28,4 @@ The message object containing the component data and type
|
|
|
28
28
|
|
|
29
29
|
## Defined in
|
|
30
30
|
|
|
31
|
-
[utils/MessageEventManager.ts:11](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
31
|
+
[utils/MessageEventManager.ts:11](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/utils/MessageEventManager.ts#L11)
|
package/docs/types/README.md
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
- [ProofTypes](enumerations/ProofTypes.md)
|
|
19
19
|
- [Status](enumerations/Status.md)
|
|
20
20
|
- [ValidationSections](enumerations/ValidationSections.md)
|
|
21
|
+
- [VASPSearchControl](enumerations/VASPSearchControl.md)
|
|
21
22
|
|
|
22
23
|
### Interfaces
|
|
23
24
|
|
|
@@ -73,7 +74,6 @@
|
|
|
73
74
|
- [NaturalPersonFieldName](type-aliases/NaturalPersonFieldName.md)
|
|
74
75
|
- [NaturalPersonFields](type-aliases/NaturalPersonFields.md)
|
|
75
76
|
- [NotabeneAsset](type-aliases/NotabeneAsset.md)
|
|
76
|
-
- [Ready](type-aliases/Ready.md)
|
|
77
77
|
- [ResizeRequest](type-aliases/ResizeRequest.md)
|
|
78
78
|
- [Source](type-aliases/Source.md)
|
|
79
79
|
- [Theme](type-aliases/Theme.md)
|
|
@@ -16,7 +16,7 @@ The type of Agent. Either a wallet or a VASP
|
|
|
16
16
|
|
|
17
17
|
#### Defined in
|
|
18
18
|
|
|
19
|
-
[types.ts:249](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
19
|
+
[types.ts:249](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L249)
|
|
20
20
|
|
|
21
21
|
***
|
|
22
22
|
|
|
@@ -26,4 +26,4 @@ The type of Agent. Either a wallet or a VASP
|
|
|
26
26
|
|
|
27
27
|
#### Defined in
|
|
28
28
|
|
|
29
|
-
[types.ts:250](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
29
|
+
[types.ts:250](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L250)
|
|
@@ -14,7 +14,6 @@ between the host and component.
|
|
|
14
14
|
- COMPLETE: Indicates a completed operation with response data
|
|
15
15
|
- RESIZE: Request to adjust component size/dimensions
|
|
16
16
|
- RESULT: Operation result notification
|
|
17
|
-
- READY: Component is initialized and ready
|
|
18
17
|
- INVALID: Validation failed with errors
|
|
19
18
|
- ERROR: Operation encountered an error
|
|
20
19
|
- CANCEL: Operation was cancelled
|
|
@@ -27,7 +26,7 @@ between the host and component.
|
|
|
27
26
|
|
|
28
27
|
#### Defined in
|
|
29
28
|
|
|
30
|
-
[types.ts:
|
|
29
|
+
[types.ts:793](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L793)
|
|
31
30
|
|
|
32
31
|
***
|
|
33
32
|
|
|
@@ -37,7 +36,7 @@ between the host and component.
|
|
|
37
36
|
|
|
38
37
|
#### Defined in
|
|
39
38
|
|
|
40
|
-
[types.ts:
|
|
39
|
+
[types.ts:788](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L788)
|
|
41
40
|
|
|
42
41
|
***
|
|
43
42
|
|
|
@@ -47,7 +46,7 @@ between the host and component.
|
|
|
47
46
|
|
|
48
47
|
#### Defined in
|
|
49
48
|
|
|
50
|
-
[types.ts:
|
|
49
|
+
[types.ts:792](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L792)
|
|
51
50
|
|
|
52
51
|
***
|
|
53
52
|
|
|
@@ -57,17 +56,7 @@ between the host and component.
|
|
|
57
56
|
|
|
58
57
|
#### Defined in
|
|
59
58
|
|
|
60
|
-
[types.ts:
|
|
61
|
-
|
|
62
|
-
***
|
|
63
|
-
|
|
64
|
-
### READY
|
|
65
|
-
|
|
66
|
-
> **READY**: `"ready"`
|
|
67
|
-
|
|
68
|
-
#### Defined in
|
|
69
|
-
|
|
70
|
-
[types.ts:778](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L778)
|
|
59
|
+
[types.ts:791](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L791)
|
|
71
60
|
|
|
72
61
|
***
|
|
73
62
|
|
|
@@ -77,7 +66,7 @@ between the host and component.
|
|
|
77
66
|
|
|
78
67
|
#### Defined in
|
|
79
68
|
|
|
80
|
-
[types.ts:
|
|
69
|
+
[types.ts:789](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L789)
|
|
81
70
|
|
|
82
71
|
***
|
|
83
72
|
|
|
@@ -87,4 +76,4 @@ between the host and component.
|
|
|
87
76
|
|
|
88
77
|
#### Defined in
|
|
89
78
|
|
|
90
|
-
[types.ts:
|
|
79
|
+
[types.ts:790](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L790)
|
|
@@ -22,7 +22,7 @@ from the host application.
|
|
|
22
22
|
|
|
23
23
|
#### Defined in
|
|
24
24
|
|
|
25
|
-
[types.ts:
|
|
25
|
+
[types.ts:890](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L890)
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
@@ -32,4 +32,4 @@ from the host application.
|
|
|
32
32
|
|
|
33
33
|
#### Defined in
|
|
34
34
|
|
|
35
|
-
[types.ts:
|
|
35
|
+
[types.ts:889](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L889)
|
|
@@ -32,7 +32,7 @@ apply to each type.
|
|
|
32
32
|
|
|
33
33
|
#### Defined in
|
|
34
34
|
|
|
35
|
-
[types.ts:289](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
35
|
+
[types.ts:289](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L289)
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
@@ -42,7 +42,7 @@ apply to each type.
|
|
|
42
42
|
|
|
43
43
|
#### Defined in
|
|
44
44
|
|
|
45
|
-
[types.ts:288](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
45
|
+
[types.ts:288](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L288)
|
|
46
46
|
|
|
47
47
|
***
|
|
48
48
|
|
|
@@ -52,4 +52,4 @@ apply to each type.
|
|
|
52
52
|
|
|
53
53
|
#### Defined in
|
|
54
54
|
|
|
55
|
-
[types.ts:290](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
55
|
+
[types.ts:290](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L290)
|
|
@@ -24,7 +24,7 @@ Represents the different states that an ownership proof can be in during and aft
|
|
|
24
24
|
|
|
25
25
|
#### Defined in
|
|
26
26
|
|
|
27
|
-
[types.ts:
|
|
27
|
+
[types.ts:959](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L959)
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
@@ -34,7 +34,7 @@ Represents the different states that an ownership proof can be in during and aft
|
|
|
34
34
|
|
|
35
35
|
#### Defined in
|
|
36
36
|
|
|
37
|
-
[types.ts:
|
|
37
|
+
[types.ts:960](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L960)
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
@@ -44,7 +44,7 @@ Represents the different states that an ownership proof can be in during and aft
|
|
|
44
44
|
|
|
45
45
|
#### Defined in
|
|
46
46
|
|
|
47
|
-
[types.ts:
|
|
47
|
+
[types.ts:958](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L958)
|
|
48
48
|
|
|
49
49
|
***
|
|
50
50
|
|
|
@@ -54,4 +54,4 @@ Represents the different states that an ownership proof can be in during and aft
|
|
|
54
54
|
|
|
55
55
|
#### Defined in
|
|
56
56
|
|
|
57
|
-
[types.ts:
|
|
57
|
+
[types.ts:961](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L961)
|
|
@@ -35,7 +35,7 @@ Supported proof types:
|
|
|
35
35
|
|
|
36
36
|
#### Defined in
|
|
37
37
|
|
|
38
|
-
[types.ts:
|
|
38
|
+
[types.ts:991](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L991)
|
|
39
39
|
|
|
40
40
|
***
|
|
41
41
|
|
|
@@ -45,7 +45,7 @@ Supported proof types:
|
|
|
45
45
|
|
|
46
46
|
#### Defined in
|
|
47
47
|
|
|
48
|
-
[types.ts:
|
|
48
|
+
[types.ts:992](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L992)
|
|
49
49
|
|
|
50
50
|
***
|
|
51
51
|
|
|
@@ -55,7 +55,7 @@ Supported proof types:
|
|
|
55
55
|
|
|
56
56
|
#### Defined in
|
|
57
57
|
|
|
58
|
-
[types.ts:
|
|
58
|
+
[types.ts:996](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L996)
|
|
59
59
|
|
|
60
60
|
***
|
|
61
61
|
|
|
@@ -65,7 +65,7 @@ Supported proof types:
|
|
|
65
65
|
|
|
66
66
|
#### Defined in
|
|
67
67
|
|
|
68
|
-
[types.ts:
|
|
68
|
+
[types.ts:993](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L993)
|
|
69
69
|
|
|
70
70
|
***
|
|
71
71
|
|
|
@@ -75,7 +75,7 @@ Supported proof types:
|
|
|
75
75
|
|
|
76
76
|
#### Defined in
|
|
77
77
|
|
|
78
|
-
[types.ts:
|
|
78
|
+
[types.ts:990](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L990)
|
|
79
79
|
|
|
80
80
|
***
|
|
81
81
|
|
|
@@ -85,7 +85,7 @@ Supported proof types:
|
|
|
85
85
|
|
|
86
86
|
#### Defined in
|
|
87
87
|
|
|
88
|
-
[types.ts:
|
|
88
|
+
[types.ts:988](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L988)
|
|
89
89
|
|
|
90
90
|
***
|
|
91
91
|
|
|
@@ -95,7 +95,7 @@ Supported proof types:
|
|
|
95
95
|
|
|
96
96
|
#### Defined in
|
|
97
97
|
|
|
98
|
-
[types.ts:
|
|
98
|
+
[types.ts:989](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L989)
|
|
99
99
|
|
|
100
100
|
***
|
|
101
101
|
|
|
@@ -105,7 +105,7 @@ Supported proof types:
|
|
|
105
105
|
|
|
106
106
|
#### Defined in
|
|
107
107
|
|
|
108
|
-
[types.ts:
|
|
108
|
+
[types.ts:994](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L994)
|
|
109
109
|
|
|
110
110
|
***
|
|
111
111
|
|
|
@@ -115,7 +115,7 @@ Supported proof types:
|
|
|
115
115
|
|
|
116
116
|
#### Defined in
|
|
117
117
|
|
|
118
|
-
[types.ts:
|
|
118
|
+
[types.ts:995](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L995)
|
|
119
119
|
|
|
120
120
|
***
|
|
121
121
|
|
|
@@ -125,7 +125,7 @@ Supported proof types:
|
|
|
125
125
|
|
|
126
126
|
#### Defined in
|
|
127
127
|
|
|
128
|
-
[types.ts:
|
|
128
|
+
[types.ts:985](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L985)
|
|
129
129
|
|
|
130
130
|
***
|
|
131
131
|
|
|
@@ -135,7 +135,7 @@ Supported proof types:
|
|
|
135
135
|
|
|
136
136
|
#### Defined in
|
|
137
137
|
|
|
138
|
-
[types.ts:
|
|
138
|
+
[types.ts:986](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L986)
|
|
139
139
|
|
|
140
140
|
***
|
|
141
141
|
|
|
@@ -145,4 +145,4 @@ Supported proof types:
|
|
|
145
145
|
|
|
146
146
|
#### Defined in
|
|
147
147
|
|
|
148
|
-
[types.ts:
|
|
148
|
+
[types.ts:987](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f4e73b4e984837ed8a53f91590a8d1276a1aa25a/src/types.ts#L987)
|