@notabene/javascript-sdk 2.0.2 → 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 +17 -16
- 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 +15 -14
- package/src/components/EmbeddedComponent.ts +1 -0
- package/src/notabene.ts +23 -23
- package/src/types.ts +23 -18
- package/src/utils/__tests__/MessageEventManager.test.ts +7 -7
- package/dist/js/notabene.js +0 -1
- package/docs/types/type-aliases/Ready.md +0 -21
package/README.md
CHANGED
|
@@ -453,6 +453,10 @@ const options: TransactionOptions = {
|
|
|
453
453
|
vasps: {
|
|
454
454
|
addUnknown: true, // Allow users to add a missing VASP - Defaults to false
|
|
455
455
|
onlyActive: true, // Only list active VASPs - Default false
|
|
456
|
+
searchable: [
|
|
457
|
+
VASPSearchControl.ALLOWED, // JS: 'allowed'
|
|
458
|
+
VASPSearchControl.PENDING // JS: 'pending'
|
|
459
|
+
] // Control searches for VASPs - Defaults to undefined
|
|
456
460
|
},
|
|
457
461
|
hide: [ValidationSections.ASSET, ValidationSections.DESTINATION], // Don't show specific sections of component
|
|
458
462
|
},
|
package/dist/notabene.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var I=Object.defineProperty;var w=(e,t,r)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var o=(e,t,r)=>w(e,typeof t!="symbol"?t+"":t,r);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var c=(e=>(e.PRIVATE="WALLET",e.VASP="VASP",e))(c||{}),m=(e=>(e.NATURAL="natural",e.LEGAL="legal",e.SELF="self",e))(m||{}),u=(e=>(e.EMPTY="empty",e.VERIFY="verify",e.PENDING="pending",e.VERIFIED="verified",e.BANNED="banned",e))(u||{}),f=(e=>(e.ALLOWED="allowed",e.PENDING="pending",e))(f||{}),E=(e=>(e.ASSET="asset",e.DESTINATION="destination",e.COUNTERPARTY="counterparty",e.AGENT="agent",e))(E||{}),h=(e=>(e.COMPLETE="complete",e.RESIZE="resize",e.RESULT="result",e.INVALID="invalid",e.ERROR="error",e.CANCEL="cancel",e))(h||{}),l=(e=>(e.UPDATE="update",e.REQUEST_RESPONSE="requestResponse",e))(l||{}),p=(e=>(e.PENDING="pending",e.FAILED="rejected",e.FLAGGED="flagged",e.VERIFIED="verified",e))(p||{}),v=(e=>(e.SelfDeclaration="self-declaration",e.SIWE="siwe",e.SIWX="siwx",e.EIP191="eip-191",e.EIP712="eip-712",e.EIP1271="eip-1271",e.BIP137="bip-137",e.BIP137_XPUB="xpub",e.ED25519="ed25519",e.MicroTransfer="microtransfer",e.Screenshot="screenshot",e.Connect="connect",e))(v||{});class b{constructor(){o(this,"listeners",new Map);o(this,"port");this.handleMessage=this.handleMessage.bind(this)}setPort(t){this.port=t,this.port.onmessage=this.handleMessage,this.port.start()}on(t,r){return this.listeners.has(t)||this.listeners.set(t,new Set),this.listeners.get(t).add(r),()=>this.off(t,r)}off(t,r){const i=this.listeners.get(t);i&&(i.delete(r),i.size===0&&this.listeners.delete(t))}handleMessage(t){const r=t.data;if(typeof r=="object"&&r!==null&&"type"in r){const i=r.type,s=this.listeners.get(i);s&&s.forEach(n=>n(r))}}send(t){this.port&&this.port.postMessage(t)}}class g{constructor(t,r,i){o(this,"_url");o(this,"_value");o(this,"_options");o(this,"_errors",[]);o(this,"iframe");o(this,"eventManager");o(this,"modal");this._url=t,this._value=r,this._options=i,this.eventManager=new b,this.on(h.INVALID,s=>{s.type===h.INVALID&&(this._errors=s.errors,this._value=s.value)}),this.on(h.RESIZE,s=>{s.type===h.RESIZE&&this.iframe&&(this.iframe.style.height=`${s.height}px`)})}get url(){return this._url}get value(){return this._value}get options(){return this._options}get errors(){return this._errors}open(){document.location.href=this.url}mount(t){const r=document.querySelector(t);if(!r)throw new Error(`parentID ${t} not found`);this.embed(r)}embed(t,r=!1){var i,s;this.removeEmbed(),this.iframe=document.createElement("iframe"),this.iframe.src=this.url+(r?"":"&embedded=true"),this.iframe.allow="web-share; clipboard-write",this.iframe.style.width="100%",this.iframe.style.height="0px",this.iframe.style.border="none",this.iframe.style.overflow="hidden",this.iframe.scrolling="no",t.appendChild(this.iframe),window.addEventListener("message",n=>{var a,d;n.source===((a=this.iframe)==null?void 0:a.contentWindow)&&((d=this.eventManager)==null||d.setPort(n.ports[0]))}),(s=(i=this.iframe)==null?void 0:i.contentWindow)==null||s.focus()}removeEmbed(){this.iframe&&this.iframe.remove()}send(t){this.eventManager.send(t)}on(t,r){return this.eventManager.on(t,r)}off(t,r){this.eventManager.off(t,r)}update(t,r){this._value=t,r&&(this._options=r),this.send({type:l.UPDATE,value:t,options:this._options})}completion(){return new Promise((t,r)=>{let i,s;function n(){i&&i(),s&&s()}i=this.on(h.COMPLETE,a=>{t(a.response),n()}),s=this.on("error",a=>{r(new Error(a.message)),n()})})}openModal(){return this.modal&&this.closeModal(),this.modal=document.createElement("dialog"),this.modal.style.border="none",this.modal.style.backgroundColor="white",this.modal.style.maxWidth="100vw",this.modal.style.maxHeight="100vh",this.modal.style.width="600px",this.modal.style.height="600px",document.body.appendChild(this.modal),this.embed(this.modal,!0),this.on(h.CANCEL,()=>{this.closeModal()}),this.on(h.COMPLETE,()=>{this.closeModal()}),this.modal.showModal(),this.modal.addEventListener("click",()=>{this.closeModal()}),this.completion()}closeModal(){var t;this.modal&&((t=this.modal)==null||t.close(),this.modal.remove(),this.modal=void 0)}}function U(e){return Object.entries(e).map(([t,r])=>{if(r==null)return;const i=encodeURIComponent(t),s=encodeURIComponent(typeof r=="object"?JSON.stringify(r):String(r));return`${i}=${s}`}).filter(t=>t!==void 0).join("&")}function M(e){const t=e.slice(1);return t?t.split("&").filter(Boolean).reduce((i,s)=>{const[n,a]=s.split("=");return n&&(i[decodeURIComponent(n)]=a?decodeURIComponent(a):""),i},{}):{}}class A{constructor(t){o(this,"nodeUrl");o(this,"authToken");o(this,"uxUrl");o(this,"theme");o(this,"locale");this.uxUrl=t.uxUrl||"https://connect.notabene.id",this.nodeUrl=t.nodeUrl,this.authToken=t.authToken,this.theme=t.theme,this.locale=t.locale}componentUrl(t,r,i,s){const n=new URL(this.uxUrl);n.pathname=t;const a=U({authToken:this.authToken,value:r,configuration:i});return n.hash=a,this.nodeUrl&&n.searchParams.set("nodeUrl",this.nodeUrl),this.theme&&n.searchParams.set("theme",JSON.stringify(this.theme)),this.locale&&n.searchParams.set("locale",this.locale),s&&(s.callback&&n.searchParams.set("callback_url",s.callback),s.redirectUri&&n.searchParams.set("redirect_uri",s.redirectUri)),n.toString()}createComponent(t,r,i,s){return new g(this.componentUrl(t,r,i,s),r,i)}createWithdrawalAssist(t,r,i){return this.createComponent("withdrawal-assist",t,r,i)}createConnectWallet(t,r,i){return this.createComponent("connect",t,r,i)}createDepositRequest(t,r,i){return this.createComponent("deposit-request",t,r,i)}}exports.AgentType=c;exports.CMType=h;exports.EmbeddedComponent=g;exports.HMType=l;exports.PersonType=m;exports.ProofStatus=p;exports.ProofTypes=v;exports.Status=u;exports.VASPSearchControl=f;exports.ValidationSections=E;exports.decodeFragmentToObject=M;exports.default=A;
|
package/dist/notabene.d.ts
CHANGED
|
@@ -193,7 +193,6 @@ export declare type Cancel = {
|
|
|
193
193
|
* - COMPLETE: Indicates a completed operation with response data
|
|
194
194
|
* - RESIZE: Request to adjust component size/dimensions
|
|
195
195
|
* - RESULT: Operation result notification
|
|
196
|
-
* - READY: Component is initialized and ready
|
|
197
196
|
* - INVALID: Validation failed with errors
|
|
198
197
|
* - ERROR: Operation encountered an error
|
|
199
198
|
* - CANCEL: Operation was cancelled
|
|
@@ -203,7 +202,6 @@ export declare const enum CMType {
|
|
|
203
202
|
COMPLETE = "complete",
|
|
204
203
|
RESIZE = "resize",
|
|
205
204
|
RESULT = "result",
|
|
206
|
-
READY = "ready",
|
|
207
205
|
INVALID = "invalid",
|
|
208
206
|
ERROR = "error",
|
|
209
207
|
CANCEL = "cancel"
|
|
@@ -229,7 +227,6 @@ export declare type Completed<T> = {
|
|
|
229
227
|
* - Completed: Operation finished successfully with response data
|
|
230
228
|
* - Cancel: User cancelled the operation
|
|
231
229
|
* - Error: Operation failed with error message
|
|
232
|
-
* - Ready: Component initialized and ready for use
|
|
233
230
|
* - ResizeRequest: Component needs to adjust its dimensions
|
|
234
231
|
* - InvalidValue: Validation failed with current partial value
|
|
235
232
|
*
|
|
@@ -238,12 +235,11 @@ export declare type Completed<T> = {
|
|
|
238
235
|
* @see {@link Completed} For successful completion message format
|
|
239
236
|
* @see {@link Cancel} For cancellation message format
|
|
240
237
|
* @see {@link Error} For error message format
|
|
241
|
-
* @see {@link Ready} For ready message format
|
|
242
238
|
* @see {@link ResizeRequest} For resize message format
|
|
243
239
|
* @see {@link InvalidValue} For validation failure message format
|
|
244
240
|
* @public
|
|
245
241
|
*/
|
|
246
|
-
export declare type ComponentMessage<T> = Completed<T> | Cancel | Error_2 |
|
|
242
|
+
export declare type ComponentMessage<T> = Completed<T> | Cancel | Error_2 | ResizeRequest | InvalidValue<T>;
|
|
247
243
|
|
|
248
244
|
/**
|
|
249
245
|
* Base interface for requests sent to SDK components
|
|
@@ -533,11 +529,15 @@ export declare class EmbeddedComponent<V, O> {
|
|
|
533
529
|
/**
|
|
534
530
|
* Represents an error component message
|
|
535
531
|
* @param message - Error message
|
|
532
|
+
* @param description - Description of the error message
|
|
533
|
+
* @param identifier - Identifier code of the error message
|
|
536
534
|
* @public
|
|
537
535
|
*/
|
|
538
536
|
declare type Error_2 = {
|
|
539
537
|
type: CMType.ERROR;
|
|
540
538
|
message: string;
|
|
539
|
+
description?: string;
|
|
540
|
+
identifier?: string;
|
|
541
541
|
};
|
|
542
542
|
export { Error_2 as Error }
|
|
543
543
|
|
|
@@ -1209,14 +1209,6 @@ export declare enum ProofTypes {
|
|
|
1209
1209
|
Connect = "connect"
|
|
1210
1210
|
}
|
|
1211
1211
|
|
|
1212
|
-
/**
|
|
1213
|
-
* Represents a ready component message
|
|
1214
|
-
* @public
|
|
1215
|
-
*/
|
|
1216
|
-
export declare type Ready = {
|
|
1217
|
-
type: CMType.READY;
|
|
1218
|
-
};
|
|
1219
|
-
|
|
1220
1212
|
declare type RequestID = UUID;
|
|
1221
1213
|
|
|
1222
1214
|
/**
|
|
@@ -1284,10 +1276,10 @@ export declare enum Status {
|
|
|
1284
1276
|
* @public
|
|
1285
1277
|
*/
|
|
1286
1278
|
export declare type Theme = {
|
|
1287
|
-
primaryColor
|
|
1288
|
-
secondaryColor
|
|
1289
|
-
fontFamily
|
|
1290
|
-
logo
|
|
1279
|
+
primaryColor?: string;
|
|
1280
|
+
secondaryColor?: string;
|
|
1281
|
+
fontFamily?: string;
|
|
1282
|
+
logo?: string;
|
|
1291
1283
|
};
|
|
1292
1284
|
|
|
1293
1285
|
/**
|
|
@@ -1544,8 +1536,22 @@ export declare interface VASP extends Agent {
|
|
|
1544
1536
|
export declare type VASPOptions = {
|
|
1545
1537
|
addUnknown?: boolean;
|
|
1546
1538
|
onlyActive?: boolean;
|
|
1539
|
+
searchable?: VASPSearchControl[];
|
|
1547
1540
|
};
|
|
1548
1541
|
|
|
1542
|
+
/**
|
|
1543
|
+
* VASP Visibility Control representing allow/deny behaviour for VASP visibility
|
|
1544
|
+
*
|
|
1545
|
+
* @remarks
|
|
1546
|
+
* - ALLOWED: Include VASPs you have explicitly allowed in the Notabene Network
|
|
1547
|
+
* - PENDING: Include VASPs neither allowed nor denied
|
|
1548
|
+
* @public
|
|
1549
|
+
*/
|
|
1550
|
+
export declare const enum VASPSearchControl {
|
|
1551
|
+
ALLOWED = "allowed",
|
|
1552
|
+
PENDING = "pending"
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1549
1555
|
/**
|
|
1550
1556
|
* A wallet agent acting on behalf of the counterparty
|
|
1551
1557
|
* @public
|
package/dist/notabene.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var c = Object.defineProperty;
|
|
2
2
|
var m = (e, t, r) => t in e ? c(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var o = (e, t, r) => m(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
var u = /* @__PURE__ */ ((e) => (e.PRIVATE = "WALLET", e.VASP = "VASP", e))(u || {}), E = /* @__PURE__ */ ((e) => (e.NATURAL = "natural", e.LEGAL = "legal", e.SELF = "self", e))(E || {}), f = /* @__PURE__ */ ((e) => (e.EMPTY = "empty", e.VERIFY = "verify", e.PENDING = "pending", e.VERIFIED = "verified", e.BANNED = "banned", e))(f || {}), p = /* @__PURE__ */ ((e) => (e.ASSET = "asset", e.DESTINATION = "destination", e.COUNTERPARTY = "counterparty", e.AGENT = "agent", e))(
|
|
5
|
-
class
|
|
4
|
+
var u = /* @__PURE__ */ ((e) => (e.PRIVATE = "WALLET", e.VASP = "VASP", e))(u || {}), E = /* @__PURE__ */ ((e) => (e.NATURAL = "natural", e.LEGAL = "legal", e.SELF = "self", e))(E || {}), f = /* @__PURE__ */ ((e) => (e.EMPTY = "empty", e.VERIFY = "verify", e.PENDING = "pending", e.VERIFIED = "verified", e.BANNED = "banned", e))(f || {}), p = /* @__PURE__ */ ((e) => (e.ALLOWED = "allowed", e.PENDING = "pending", e))(p || {}), v = /* @__PURE__ */ ((e) => (e.ASSET = "asset", e.DESTINATION = "destination", e.COUNTERPARTY = "counterparty", e.AGENT = "agent", e))(v || {}), h = /* @__PURE__ */ ((e) => (e.COMPLETE = "complete", e.RESIZE = "resize", e.RESULT = "result", e.INVALID = "invalid", e.ERROR = "error", e.CANCEL = "cancel", e))(h || {}), d = /* @__PURE__ */ ((e) => (e.UPDATE = "update", e.REQUEST_RESPONSE = "requestResponse", e))(d || {}), g = /* @__PURE__ */ ((e) => (e.PENDING = "pending", e.FAILED = "rejected", e.FLAGGED = "flagged", e.VERIFIED = "verified", e))(g || {}), I = /* @__PURE__ */ ((e) => (e.SelfDeclaration = "self-declaration", e.SIWE = "siwe", e.SIWX = "siwx", e.EIP191 = "eip-191", e.EIP712 = "eip-712", e.EIP1271 = "eip-1271", e.BIP137 = "bip-137", e.BIP137_XPUB = "xpub", e.ED25519 = "ed25519", e.MicroTransfer = "microtransfer", e.Screenshot = "screenshot", e.Connect = "connect", e))(I || {});
|
|
5
|
+
class w {
|
|
6
6
|
constructor() {
|
|
7
7
|
o(this, "listeners", /* @__PURE__ */ new Map());
|
|
8
8
|
o(this, "port");
|
|
@@ -68,7 +68,7 @@ class I {
|
|
|
68
68
|
this.port && this.port.postMessage(t);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
class
|
|
71
|
+
class U {
|
|
72
72
|
/**
|
|
73
73
|
* Creates an instance of EmbeddedComponent.
|
|
74
74
|
* @param url - The URL of the embedded component
|
|
@@ -82,7 +82,7 @@ class w {
|
|
|
82
82
|
o(this, "iframe");
|
|
83
83
|
o(this, "eventManager");
|
|
84
84
|
o(this, "modal");
|
|
85
|
-
this._url = t, this._value = r, this._options = i, this.eventManager = new
|
|
85
|
+
this._url = t, this._value = r, this._options = i, this.eventManager = new w(), this.on(h.INVALID, (s) => {
|
|
86
86
|
s.type === h.INVALID && (this._errors = s.errors, this._value = s.value);
|
|
87
87
|
}), this.on(h.RESIZE, (s) => {
|
|
88
88
|
s.type === h.RESIZE && this.iframe && (this.iframe.style.height = `${s.height}px`);
|
|
@@ -130,7 +130,7 @@ class w {
|
|
|
130
130
|
*/
|
|
131
131
|
embed(t, r = !1) {
|
|
132
132
|
var i, s;
|
|
133
|
-
this.removeEmbed(), this.iframe = document.createElement("iframe"), this.iframe.src = this.url + (r ? "" : "&embedded=true"), this.iframe.allow = "web-share; clipboard-write", this.iframe.style.width = "100%", this.iframe.style.border = "none", this.iframe.style.overflow = "hidden", this.iframe.scrolling = "no", t.appendChild(this.iframe), window.addEventListener("message", (n) => {
|
|
133
|
+
this.removeEmbed(), this.iframe = document.createElement("iframe"), this.iframe.src = this.url + (r ? "" : "&embedded=true"), this.iframe.allow = "web-share; clipboard-write", this.iframe.style.width = "100%", this.iframe.style.height = "0px", this.iframe.style.border = "none", this.iframe.style.overflow = "hidden", this.iframe.scrolling = "no", t.appendChild(this.iframe), window.addEventListener("message", (n) => {
|
|
134
134
|
var a, l;
|
|
135
135
|
n.source === ((a = this.iframe) == null ? void 0 : a.contentWindow) && ((l = this.eventManager) == null || l.setPort(n.ports[0]));
|
|
136
136
|
}), (s = (i = this.iframe) == null ? void 0 : i.contentWindow) == null || s.focus();
|
|
@@ -206,7 +206,7 @@ class w {
|
|
|
206
206
|
this.modal && ((t = this.modal) == null || t.close(), this.modal.remove(), this.modal = void 0);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function b(e) {
|
|
210
210
|
return Object.entries(e).map(([t, r]) => {
|
|
211
211
|
if (r == null) return;
|
|
212
212
|
const i = encodeURIComponent(t), s = encodeURIComponent(
|
|
@@ -216,7 +216,7 @@ function U(e) {
|
|
|
216
216
|
return `${i}=${s}`;
|
|
217
217
|
}).filter((t) => t !== void 0).join("&");
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function L(e) {
|
|
220
220
|
const t = e.slice(1);
|
|
221
221
|
return t ? t.split("&").filter(Boolean).reduce(
|
|
222
222
|
(i, s) => {
|
|
@@ -226,7 +226,7 @@ function b(e) {
|
|
|
226
226
|
{}
|
|
227
227
|
) : {};
|
|
228
228
|
}
|
|
229
|
-
class
|
|
229
|
+
class N {
|
|
230
230
|
/**
|
|
231
231
|
* Creates a new instance of the Notabene SDK
|
|
232
232
|
*
|
|
@@ -253,7 +253,7 @@ class A {
|
|
|
253
253
|
componentUrl(t, r, i, s) {
|
|
254
254
|
const n = new URL(this.uxUrl);
|
|
255
255
|
n.pathname = t;
|
|
256
|
-
const a =
|
|
256
|
+
const a = b({
|
|
257
257
|
authToken: this.authToken,
|
|
258
258
|
value: r,
|
|
259
259
|
configuration: i
|
|
@@ -271,7 +271,7 @@ class A {
|
|
|
271
271
|
* @internal
|
|
272
272
|
*/
|
|
273
273
|
createComponent(t, r, i, s) {
|
|
274
|
-
return new
|
|
274
|
+
return new U(
|
|
275
275
|
this.componentUrl(t, r, i, s),
|
|
276
276
|
r,
|
|
277
277
|
i
|
|
@@ -331,13 +331,14 @@ class A {
|
|
|
331
331
|
export {
|
|
332
332
|
u as AgentType,
|
|
333
333
|
h as CMType,
|
|
334
|
-
|
|
334
|
+
U as EmbeddedComponent,
|
|
335
335
|
d as HMType,
|
|
336
336
|
E as PersonType,
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
g as ProofStatus,
|
|
338
|
+
I as ProofTypes,
|
|
339
339
|
f as Status,
|
|
340
|
-
p as
|
|
341
|
-
|
|
342
|
-
|
|
340
|
+
p as VASPSearchControl,
|
|
341
|
+
v as ValidationSections,
|
|
342
|
+
L as decodeFragmentToObject,
|
|
343
|
+
N as default
|
|
343
344
|
};
|
package/docs/README.md
CHANGED
|
@@ -457,6 +457,10 @@ const options: TransactionOptions = {
|
|
|
457
457
|
vasps: {
|
|
458
458
|
addUnknown: true, // Allow users to add a missing VASP - Defaults to false
|
|
459
459
|
onlyActive: true, // Only list active VASPs - Default false
|
|
460
|
+
searchable: [
|
|
461
|
+
VASPSearchControl.ALLOWED, // JS: 'allowed'
|
|
462
|
+
VASPSearchControl.PENDING // JS: 'pending'
|
|
463
|
+
] // Control searches for VASPs - Defaults to undefined
|
|
460
464
|
},
|
|
461
465
|
hide: [ValidationSections.ASSET, ValidationSections.DESTINATION], // Don't show specific sections of component
|
|
462
466
|
},
|
|
@@ -16,7 +16,7 @@ Configuration options for Transaction components
|
|
|
16
16
|
|
|
17
17
|
#### Defined in
|
|
18
18
|
|
|
19
|
-
[types.ts:
|
|
19
|
+
[types.ts:768](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L768)
|
|
20
20
|
|
|
21
21
|
***
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ Configuration options for Transaction components
|
|
|
26
26
|
|
|
27
27
|
#### Defined in
|
|
28
28
|
|
|
29
|
-
[types.ts:
|
|
29
|
+
[types.ts:769](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L769)
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ Configuration options for Transaction components
|
|
|
36
36
|
|
|
37
37
|
#### Defined in
|
|
38
38
|
|
|
39
|
-
[types.ts:
|
|
39
|
+
[types.ts:770](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L770)
|
|
40
40
|
|
|
41
41
|
***
|
|
42
42
|
|
|
@@ -46,7 +46,7 @@ Configuration options for Transaction components
|
|
|
46
46
|
|
|
47
47
|
#### Defined in
|
|
48
48
|
|
|
49
|
-
[types.ts:
|
|
49
|
+
[types.ts:772](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L772)
|
|
50
50
|
|
|
51
51
|
***
|
|
52
52
|
|
|
@@ -80,7 +80,7 @@ Configuration options for Transaction components
|
|
|
80
80
|
|
|
81
81
|
#### Defined in
|
|
82
82
|
|
|
83
|
-
[types.ts:
|
|
83
|
+
[types.ts:759](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L759)
|
|
84
84
|
|
|
85
85
|
***
|
|
86
86
|
|
|
@@ -90,4 +90,4 @@ Configuration options for Transaction components
|
|
|
90
90
|
|
|
91
91
|
#### Defined in
|
|
92
92
|
|
|
93
|
-
[types.ts:
|
|
93
|
+
[types.ts:771](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/types.ts#L771)
|
|
@@ -18,7 +18,7 @@ Published May 2020
|
|
|
18
18
|
|
|
19
19
|
#### Defined in
|
|
20
20
|
|
|
21
|
-
[ivms/types.ts:365](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
21
|
+
[ivms/types.ts:365](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L365)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -30,4 +30,4 @@ Published August 2023
|
|
|
30
30
|
|
|
31
31
|
#### Defined in
|
|
32
32
|
|
|
33
|
-
[ivms/types.ts:367](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
33
|
+
[ivms/types.ts:367](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L367)
|
|
@@ -19,7 +19,7 @@ The version of IVMS 101 to which the payload complies.
|
|
|
19
19
|
|
|
20
20
|
#### Defined in
|
|
21
21
|
|
|
22
|
-
[ivms/types.ts:358](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
22
|
+
[ivms/types.ts:358](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L358)
|
|
23
23
|
|
|
24
24
|
***
|
|
25
25
|
|
|
@@ -31,4 +31,4 @@ The method used to map from a national system of writing to Latin script.
|
|
|
31
31
|
|
|
32
32
|
#### Defined in
|
|
33
33
|
|
|
34
|
-
[ivms/types.ts:356](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
34
|
+
[ivms/types.ts:356](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L356)
|
|
@@ -111,4 +111,4 @@ Name of a built-up area, with defined boundaries, and a local government.
|
|
|
111
111
|
|
|
112
112
|
## Defined in
|
|
113
113
|
|
|
114
|
-
[ivms/types.ts:119](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
114
|
+
[ivms/types.ts:119](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L119)
|
|
@@ -13,4 +13,4 @@ Specifies the type of address
|
|
|
13
13
|
|
|
14
14
|
## Defined in
|
|
15
15
|
|
|
16
|
-
[ivms/types.ts:44](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
16
|
+
[ivms/types.ts:44](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L44)
|
|
@@ -27,4 +27,4 @@ Array of persons associated with the beneficiary
|
|
|
27
27
|
|
|
28
28
|
## Defined in
|
|
29
29
|
|
|
30
|
-
[ivms/types.ts:313](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
30
|
+
[ivms/types.ts:313](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L313)
|
|
@@ -21,4 +21,4 @@ The beneficiary VASP information
|
|
|
21
21
|
|
|
22
22
|
## Defined in
|
|
23
23
|
|
|
24
|
-
[ivms/types.ts:335](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
24
|
+
[ivms/types.ts:335](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L335)
|
|
@@ -27,4 +27,4 @@ Place of birth (max 70 characters)
|
|
|
27
27
|
|
|
28
28
|
## Defined in
|
|
29
29
|
|
|
30
|
-
[ivms/types.ts:107](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
30
|
+
[ivms/types.ts:107](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L107)
|
|
@@ -19,4 +19,4 @@ ISO-3166 Alpha-2 country code
|
|
|
19
19
|
|
|
20
20
|
## Defined in
|
|
21
21
|
|
|
22
|
-
[ivms/types.ts:6](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
22
|
+
[ivms/types.ts:6](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L6)
|
|
@@ -20,4 +20,4 @@ Format: YYYY-MM-DD
|
|
|
20
20
|
|
|
21
21
|
## Defined in
|
|
22
22
|
|
|
23
|
-
[ivms/types.ts:14](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
23
|
+
[ivms/types.ts:14](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L14)
|
|
@@ -38,4 +38,4 @@ IVMS101 definition
|
|
|
38
38
|
|
|
39
39
|
## Defined in
|
|
40
40
|
|
|
41
|
-
[ivms/types.ts:375](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
41
|
+
[ivms/types.ts:375](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L375)
|
|
@@ -27,4 +27,4 @@ The sequence number of this VASP in the transfer path
|
|
|
27
27
|
|
|
28
28
|
## Defined in
|
|
29
29
|
|
|
30
|
-
[ivms/types.ts:289](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
30
|
+
[ivms/types.ts:289](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L289)
|
|
@@ -45,4 +45,4 @@ A distinct identifier used by governments to uniquely identify a legal person
|
|
|
45
45
|
|
|
46
46
|
## Defined in
|
|
47
47
|
|
|
48
|
-
[ivms/types.ts:259](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
48
|
+
[ivms/types.ts:259](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L259)
|
|
@@ -33,4 +33,4 @@ Array of phonetic name identifiers
|
|
|
33
33
|
|
|
34
34
|
## Defined in
|
|
35
35
|
|
|
36
|
-
[ivms/types.ts:245](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
36
|
+
[ivms/types.ts:245](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L245)
|
|
@@ -27,4 +27,4 @@ The nature of the name specified
|
|
|
27
27
|
|
|
28
28
|
## Defined in
|
|
29
29
|
|
|
30
|
-
[ivms/types.ts:233](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
30
|
+
[ivms/types.ts:233](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L233)
|
|
@@ -13,4 +13,4 @@ Specifies the type of name for a legal person
|
|
|
13
13
|
|
|
14
14
|
## Defined in
|
|
15
15
|
|
|
16
|
-
[ivms/types.ts:34](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
16
|
+
[ivms/types.ts:34](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L34)
|
|
@@ -27,4 +27,4 @@ Type of legal person name identifier
|
|
|
27
27
|
|
|
28
28
|
## Defined in
|
|
29
29
|
|
|
30
|
-
[ivms/types.ts:221](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
30
|
+
[ivms/types.ts:221](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L221)
|
|
@@ -33,4 +33,4 @@ Secondary identifier, maximum 100 characters in local format
|
|
|
33
33
|
|
|
34
34
|
## Defined in
|
|
35
35
|
|
|
36
|
-
[ivms/types.ts:159](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
36
|
+
[ivms/types.ts:159](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L159)
|
|
@@ -39,4 +39,4 @@ Registration authority (format: RA followed by 6 digits)
|
|
|
39
39
|
|
|
40
40
|
## Defined in
|
|
41
41
|
|
|
42
|
-
[ivms/types.ts:91](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
42
|
+
[ivms/types.ts:91](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L91)
|
|
@@ -13,4 +13,4 @@ Specifies the type of national identifier
|
|
|
13
13
|
|
|
14
14
|
## Defined in
|
|
15
15
|
|
|
16
|
-
[ivms/types.ts:54](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
16
|
+
[ivms/types.ts:54](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L54)
|
|
@@ -51,4 +51,4 @@ A distinct identifier used by governments to uniquely identify a natural person
|
|
|
51
51
|
|
|
52
52
|
## Defined in
|
|
53
53
|
|
|
54
|
-
[ivms/types.ts:201](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
54
|
+
[ivms/types.ts:201](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L201)
|
|
@@ -33,4 +33,4 @@ Array of phonetic name identifiers
|
|
|
33
33
|
|
|
34
34
|
## Defined in
|
|
35
35
|
|
|
36
|
-
[ivms/types.ts:187](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
36
|
+
[ivms/types.ts:187](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L187)
|
|
@@ -33,4 +33,4 @@ Secondary identifier, maximum 100 characters
|
|
|
33
33
|
|
|
34
34
|
## Defined in
|
|
35
35
|
|
|
36
|
-
[ivms/types.ts:173](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/
|
|
36
|
+
[ivms/types.ts:173](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/9a4530da9029429ae25456217bc5ecba197bd4fc/src/ivms/types.ts#L173)
|
|
@@ -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/9a4530da9029429ae25456217bc5ecba197bd4fc/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/9a4530da9029429ae25456217bc5ecba197bd4fc/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/9a4530da9029429ae25456217bc5ecba197bd4fc/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/9a4530da9029429ae25456217bc5ecba197bd4fc/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/9a4530da9029429ae25456217bc5ecba197bd4fc/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/9a4530da9029429ae25456217bc5ecba197bd4fc/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)
|