@notabene/javascript-sdk 2.2.2 → 2.4.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.
Files changed (118) hide show
  1. package/README.md +2 -0
  2. package/dist/notabene.cjs +1 -1
  3. package/dist/notabene.d.ts +16 -2
  4. package/dist/notabene.js +5 -5
  5. package/dist/tsdoc-metadata.json +1 -1
  6. package/docs/README.md +1 -1
  7. package/docs/_media/TransactionOptions.md +10 -10
  8. package/docs/ivms/types/README.md +1 -1
  9. package/docs/ivms/types/enumerations/PayloadVersionCode.md +3 -3
  10. package/docs/ivms/types/interfaces/PayloadMetadata.md +3 -3
  11. package/docs/ivms/types/type-aliases/Address.md +2 -2
  12. package/docs/ivms/types/type-aliases/AddressTypeCode.md +2 -2
  13. package/docs/ivms/types/type-aliases/Beneficiary.md +2 -2
  14. package/docs/ivms/types/type-aliases/BeneficiaryVASP.md +2 -2
  15. package/docs/ivms/types/type-aliases/DateAndPlaceOfBirth.md +2 -2
  16. package/docs/ivms/types/type-aliases/ISOCountryCode.md +2 -2
  17. package/docs/ivms/types/type-aliases/ISODate.md +2 -2
  18. package/docs/ivms/types/type-aliases/IVMS101.md +2 -2
  19. package/docs/ivms/types/type-aliases/IntermediaryVASP.md +2 -2
  20. package/docs/ivms/types/type-aliases/LegalPerson.md +2 -2
  21. package/docs/ivms/types/type-aliases/LegalPersonName.md +2 -2
  22. package/docs/ivms/types/type-aliases/LegalPersonNameID.md +2 -2
  23. package/docs/ivms/types/type-aliases/LegalPersonNameTypeCode.md +2 -2
  24. package/docs/ivms/types/type-aliases/LocalLegalPersonNameID.md +2 -2
  25. package/docs/ivms/types/type-aliases/LocalNaturalPersonNameID.md +2 -2
  26. package/docs/ivms/types/type-aliases/NationalIdentification.md +2 -2
  27. package/docs/ivms/types/type-aliases/NationalIdentifierTypeCode.md +2 -2
  28. package/docs/ivms/types/type-aliases/NaturalPerson.md +2 -2
  29. package/docs/ivms/types/type-aliases/NaturalPersonName.md +2 -2
  30. package/docs/ivms/types/type-aliases/NaturalPersonNameID.md +2 -2
  31. package/docs/ivms/types/type-aliases/NaturalPersonNameTypeCode.md +2 -2
  32. package/docs/ivms/types/type-aliases/OriginatingVASP.md +2 -2
  33. package/docs/ivms/types/type-aliases/Originator.md +2 -2
  34. package/docs/ivms/types/type-aliases/Person.md +2 -2
  35. package/docs/ivms/types/type-aliases/TransferPath.md +2 -2
  36. package/docs/ivms/types/type-aliases/TransliterationMethodCode.md +2 -2
  37. package/docs/modules.md +1 -1
  38. package/docs/notabene/README.md +1 -1
  39. package/docs/notabene/classes/EmbeddedComponent.md +57 -31
  40. package/docs/notabene/classes/default.md +61 -25
  41. package/docs/notabene/functions/decodeFragmentToObject.md +5 -3
  42. package/docs/notabene/interfaces/NotabeneConfig.md +6 -6
  43. package/docs/notabene/type-aliases/MessageCallback.md +5 -3
  44. package/docs/types/README.md +2 -1
  45. package/docs/types/enumerations/AgentType.md +3 -3
  46. package/docs/types/enumerations/CMType.md +8 -8
  47. package/docs/types/enumerations/ErrorIdentifierCode.md +47 -0
  48. package/docs/types/enumerations/HMType.md +3 -3
  49. package/docs/types/enumerations/PersonType.md +4 -4
  50. package/docs/types/enumerations/ProofStatus.md +5 -5
  51. package/docs/types/enumerations/ProofTypes.md +36 -13
  52. package/docs/types/enumerations/Status.md +6 -6
  53. package/docs/types/enumerations/VASPSearchControl.md +3 -3
  54. package/docs/types/enumerations/ValidationSections.md +5 -5
  55. package/docs/types/interfaces/Agent.md +7 -7
  56. package/docs/types/interfaces/CallbackOptions.md +3 -3
  57. package/docs/types/interfaces/ComponentRequest.md +3 -3
  58. package/docs/types/interfaces/ComponentResponse.md +5 -5
  59. package/docs/types/interfaces/ConnectionRecord.md +8 -8
  60. package/docs/types/interfaces/ConnectionRequest.md +4 -4
  61. package/docs/types/interfaces/Counterparty.md +11 -11
  62. package/docs/types/interfaces/DeclarationProof.md +7 -7
  63. package/docs/types/interfaces/Deposit.md +10 -10
  64. package/docs/types/interfaces/DepositRequest.md +8 -8
  65. package/docs/types/interfaces/DepositRequestOptions.md +2 -2
  66. package/docs/types/interfaces/LegalPerson.md +14 -14
  67. package/docs/types/interfaces/MicroTransferProof.md +10 -10
  68. package/docs/types/interfaces/NaturalPerson.md +14 -14
  69. package/docs/types/interfaces/OwnershipProof.md +5 -5
  70. package/docs/types/interfaces/ScreenshotProof.md +6 -6
  71. package/docs/types/interfaces/SignatureProof.md +19 -9
  72. package/docs/types/interfaces/ThresholdOptions.md +4 -4
  73. package/docs/types/interfaces/Transaction.md +9 -9
  74. package/docs/types/interfaces/TransactionOptions.md +10 -10
  75. package/docs/types/interfaces/TransactionResponse.md +9 -9
  76. package/docs/types/interfaces/VASP.md +10 -10
  77. package/docs/types/interfaces/Wallet.md +9 -9
  78. package/docs/types/interfaces/Withdrawal.md +10 -10
  79. package/docs/types/type-aliases/BlockchainAddress.md +2 -2
  80. package/docs/types/type-aliases/CAIP10.md +2 -2
  81. package/docs/types/type-aliases/CAIP19.md +2 -2
  82. package/docs/types/type-aliases/CAIP2.md +2 -2
  83. package/docs/types/type-aliases/CAIP220.md +2 -2
  84. package/docs/types/type-aliases/Cancel.md +2 -2
  85. package/docs/types/type-aliases/Completed.md +2 -2
  86. package/docs/types/type-aliases/ComponentMessage.md +2 -2
  87. package/docs/types/type-aliases/ConnectionOptions.md +2 -2
  88. package/docs/types/type-aliases/CryptoCredential.md +2 -2
  89. package/docs/types/type-aliases/DID.md +2 -2
  90. package/docs/types/type-aliases/DTI.md +2 -2
  91. package/docs/types/type-aliases/Destination.md +2 -2
  92. package/docs/types/type-aliases/Error.md +3 -3
  93. package/docs/types/type-aliases/FieldOptions.md +3 -3
  94. package/docs/types/type-aliases/FieldTypes.md +2 -2
  95. package/docs/types/type-aliases/HostMessage.md +2 -2
  96. package/docs/types/type-aliases/ISOCurrency.md +2 -2
  97. package/docs/types/type-aliases/InvalidValue.md +2 -2
  98. package/docs/types/type-aliases/LEI.md +2 -2
  99. package/docs/types/type-aliases/LegalPersonFieldName.md +2 -2
  100. package/docs/types/type-aliases/LegalPersonFields.md +2 -2
  101. package/docs/types/type-aliases/NaturalPersonFieldName.md +2 -2
  102. package/docs/types/type-aliases/NaturalPersonFields.md +2 -2
  103. package/docs/types/type-aliases/NotabeneAsset.md +2 -2
  104. package/docs/types/type-aliases/Ready.md +2 -2
  105. package/docs/types/type-aliases/ResizeRequest.md +2 -2
  106. package/docs/types/type-aliases/Source.md +2 -2
  107. package/docs/types/type-aliases/Theme.md +6 -2
  108. package/docs/types/type-aliases/TransactionAsset.md +2 -2
  109. package/docs/types/type-aliases/TravelAddress.md +2 -2
  110. package/docs/types/type-aliases/URI.md +2 -2
  111. package/docs/types/type-aliases/UUID.md +2 -2
  112. package/docs/types/type-aliases/UpdateValue.md +2 -2
  113. package/docs/types/type-aliases/V1Asset.md +3 -3
  114. package/docs/types/type-aliases/V1Transaction.md +2 -2
  115. package/docs/types/type-aliases/VASPOptions.md +2 -2
  116. package/docs/types/type-aliases/ValidationError.md +2 -2
  117. package/package.json +8 -8
  118. package/src/types.ts +17 -1
package/README.md CHANGED
@@ -381,6 +381,8 @@ If any error occurs, the `error` event is passed containing a message.
381
381
  withdrawal.on('error', {message} => ...)
382
382
  ```
383
383
 
384
+ Error types can be found [here](./docs/types/enumerations/ErrorIdentifierCode.md) object.
385
+
384
386
  ## Transaction parameters
385
387
 
386
388
  ### Asset specification
package/dist/notabene.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var w=Object.defineProperty;var I=(t,e,r)=>e in t?w(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var o=(t,e,r)=>I(t,typeof e!="symbol"?e+"":e,r);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var c=(t=>(t.PRIVATE="WALLET",t.VASP="VASP",t))(c||{}),m=(t=>(t.NATURAL="natural",t.LEGAL="legal",t.SELF="self",t))(m||{}),u=(t=>(t.EMPTY="empty",t.VERIFY="verify",t.PENDING="pending",t.VERIFIED="verified",t.BANNED="banned",t))(u||{}),E=(t=>(t.ALLOWED="allowed",t.PENDING="pending",t))(E||{}),f=(t=>(t.ASSET="asset",t.DESTINATION="destination",t.COUNTERPARTY="counterparty",t.AGENT="agent",t))(f||{}),a=(t=>(t.COMPLETE="complete",t.RESIZE="resize",t.RESULT="result",t.READY="ready",t.INVALID="invalid",t.ERROR="error",t.CANCEL="cancel",t))(a||{}),d=(t=>(t.UPDATE="update",t.REQUEST_RESPONSE="requestResponse",t))(d||{}),p=(t=>(t.PENDING="pending",t.FAILED="rejected",t.FLAGGED="flagged",t.VERIFIED="verified",t))(p||{}),v=(t=>(t.SelfDeclaration="self-declaration",t.SIWE="siwe",t.SIWX="siwx",t.EIP191="eip-191",t.EIP712="eip-712",t.EIP1271="eip-1271",t.BIP137="bip-137",t.BIP137_XPUB="xpub",t.ED25519="ed25519",t.MicroTransfer="microtransfer",t.Screenshot="screenshot",t.Connect="connect",t))(v||{});class b{constructor(){o(this,"listeners",new Map);o(this,"port");this.handleMessage=this.handleMessage.bind(this)}setPort(e){this.port=e,this.port.onmessage=this.handleMessage,this.port.start()}on(e,r){return this.listeners.has(e)||this.listeners.set(e,new Set),this.listeners.get(e).add(r),()=>this.off(e,r)}off(e,r){const i=this.listeners.get(e);i&&(i.delete(r),i.size===0&&this.listeners.delete(e))}handleMessage(e){const r=e.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(e){this.port&&this.port.postMessage(e)}}class g{constructor(e,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=e,this._value=r,this._options=i,this.eventManager=new b,this.on(a.INVALID,s=>{s.type===a.INVALID&&(this._errors=s.errors,this._value=s.value)}),this.on(a.RESIZE,s=>{s.type===a.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(e){const r=document.querySelector(e);if(!r)throw new Error(`parentID ${e} not found`);this.embed(r)}embed(e,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; hid; bluetooth;",this.iframe.style.width="100%",this.iframe.style.height="0px",this.iframe.style.border="none",this.iframe.style.overflow="hidden",this.iframe.scrolling="no",e.appendChild(this.iframe),window.addEventListener("message",n=>{var l,h;n.source===((l=this.iframe)==null?void 0:l.contentWindow)&&((h=this.eventManager)==null||h.setPort(n.ports[0]))}),(s=(i=this.iframe)==null?void 0:i.contentWindow)==null||s.focus()}removeEmbed(){this.iframe&&this.iframe.remove()}send(e){this.eventManager.send(e)}on(e,r){return this.eventManager.on(e,r)}off(e,r){this.eventManager.off(e,r)}update(e,r){this._value=e,r&&(this._options=r),this.send({type:d.UPDATE,value:e,options:this._options})}completion(){return new Promise((e,r)=>{let i,s,n;function l(){i&&i(),s&&s(),n&&n()}i=this.on(a.COMPLETE,h=>{e(h.response),l()}),s=this.on(a.CANCEL,()=>{r(new Error("User cancelled")),l()}),n=this.on("error",h=>{r(new Error(h.message)),l()})})}async openModal(){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);const e=this.on(a.CANCEL,()=>{this.closeModal()}),r=this.on(a.COMPLETE,()=>{this.closeModal()});return this.modal.showModal(),this.modal.addEventListener("click",()=>{this.closeModal()}),this.completion().finally(()=>{e(),r()})}closeModal(){var e;this.modal&&((e=this.modal)==null||e.close(),this.modal.remove(),this.modal=void 0)}async popup(){const e=window.open(this.url,"_blank","popup=true,width=600,height=600");window.addEventListener("message",s=>{var n;s.source===e&&(console.log("received message from popup",s.data),(n=this.eventManager)==null||n.setPort(s.ports[0]))});const r=this.on(a.CANCEL,()=>{e==null||e.close()}),i=this.on(a.COMPLETE,()=>{e==null||e.close()});return this.completion().finally(()=>{r(),i()})}}function C(t){return Object.entries(t).map(([e,r])=>{if(r==null)return;const i=encodeURIComponent(e),s=encodeURIComponent(typeof r=="object"?JSON.stringify(r):String(r));return`${i}=${s}`}).filter(e=>e!==void 0).join("&")}function U(t){const e=t.slice(1);return e?e.split("&").filter(Boolean).reduce((i,s)=>{const[n,l]=s.split("=");return n&&(i[decodeURIComponent(n)]=l?decodeURIComponent(l):""),i},{}):{}}class A{constructor(e){o(this,"nodeUrl");o(this,"authToken");o(this,"uxUrl");o(this,"theme");o(this,"locale");this.uxUrl=e.uxUrl||"https://connect.notabene.id",this.nodeUrl=e.nodeUrl,this.authToken=e.authToken,this.theme=e.theme,this.locale=e.locale}componentUrl(e,r,i,s){const n=new URL(this.uxUrl);n.pathname=e;const l=C({authToken:this.authToken,value:r,configuration:i});return n.hash=l,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(e,r,i,s){return new g(this.componentUrl(e,r,i,s),r,i)}createWithdrawalAssist(e,r,i){return this.createComponent("withdrawal-assist",e,r,i)}createConnectWallet(e,r,i){return this.createComponent("connect",e,r,i)}createDepositRequest(e,r,i){return this.createComponent("deposit-request",e,r,i)}}exports.AgentType=c;exports.CMType=a;exports.EmbeddedComponent=g;exports.HMType=d;exports.PersonType=m;exports.ProofStatus=p;exports.ProofTypes=v;exports.Status=u;exports.VASPSearchControl=E;exports.ValidationSections=f;exports.decodeFragmentToObject=U;exports.default=A;
1
+ "use strict";var w=Object.defineProperty;var I=(t,e,r)=>e in t?w(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var o=(t,e,r)=>I(t,typeof e!="symbol"?e+"":e,r);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var c=(t=>(t.PRIVATE="WALLET",t.VASP="VASP",t))(c||{}),m=(t=>(t.NATURAL="natural",t.LEGAL="legal",t.SELF="self",t))(m||{}),u=(t=>(t.EMPTY="empty",t.VERIFY="verify",t.PENDING="pending",t.VERIFIED="verified",t.BANNED="banned",t))(u||{}),E=(t=>(t.ALLOWED="allowed",t.PENDING="pending",t))(E||{}),f=(t=>(t.ASSET="asset",t.DESTINATION="destination",t.COUNTERPARTY="counterparty",t.AGENT="agent",t))(f||{}),a=(t=>(t.COMPLETE="complete",t.RESIZE="resize",t.RESULT="result",t.READY="ready",t.INVALID="invalid",t.ERROR="error",t.CANCEL="cancel",t))(a||{}),d=(t=>(t.UPDATE="update",t.REQUEST_RESPONSE="requestResponse",t))(d||{}),p=(t=>(t.PENDING="pending",t.FAILED="rejected",t.FLAGGED="flagged",t.VERIFIED="verified",t))(p||{}),v=(t=>(t.SelfDeclaration="self-declaration",t.SIWE="siwe",t.SIWX="siwx",t.EIP191="eip-191",t.EIP712="eip-712",t.EIP1271="eip-1271",t.BIP137="bip-137",t.BIP322="bip-322",t.BIP137_XPUB="xpub",t.TIP191="tip-191",t.ED25519="ed25519",t.MicroTransfer="microtransfer",t.Screenshot="screenshot",t.Connect="connect",t))(v||{});class b{constructor(){o(this,"listeners",new Map);o(this,"port");this.handleMessage=this.handleMessage.bind(this)}setPort(e){this.port=e,this.port.onmessage=this.handleMessage,this.port.start()}on(e,r){return this.listeners.has(e)||this.listeners.set(e,new Set),this.listeners.get(e).add(r),()=>this.off(e,r)}off(e,r){const i=this.listeners.get(e);i&&(i.delete(r),i.size===0&&this.listeners.delete(e))}handleMessage(e){const r=e.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(e){this.port&&this.port.postMessage(e)}}class g{constructor(e,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=e,this._value=r,this._options=i,this.eventManager=new b,this.on(a.INVALID,s=>{s.type===a.INVALID&&(this._errors=s.errors,this._value=s.value)}),this.on(a.RESIZE,s=>{s.type===a.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(e){const r=document.querySelector(e);if(!r)throw new Error(`parentID ${e} not found`);this.embed(r)}embed(e,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; hid; bluetooth;",this.iframe.style.width="100%",this.iframe.style.height="0px",this.iframe.style.border="none",this.iframe.style.overflow="hidden",this.iframe.scrolling="no",e.appendChild(this.iframe),window.addEventListener("message",n=>{var l,h;n.source===((l=this.iframe)==null?void 0:l.contentWindow)&&((h=this.eventManager)==null||h.setPort(n.ports[0]))}),(s=(i=this.iframe)==null?void 0:i.contentWindow)==null||s.focus()}removeEmbed(){this.iframe&&this.iframe.remove()}send(e){this.eventManager.send(e)}on(e,r){return this.eventManager.on(e,r)}off(e,r){this.eventManager.off(e,r)}update(e,r){this._value=e,r&&(this._options=r),this.send({type:d.UPDATE,value:e,options:this._options})}completion(){return new Promise((e,r)=>{let i,s,n;function l(){i&&i(),s&&s(),n&&n()}i=this.on(a.COMPLETE,h=>{e(h.response),l()}),s=this.on(a.CANCEL,()=>{r(new Error("User cancelled")),l()}),n=this.on("error",h=>{r(new Error(h.message)),l()})})}async openModal(){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);const e=this.on(a.CANCEL,()=>{this.closeModal()}),r=this.on(a.COMPLETE,()=>{this.closeModal()});return this.modal.showModal(),this.modal.addEventListener("click",()=>{this.closeModal()}),this.completion().finally(()=>{e(),r()})}closeModal(){var e;this.modal&&((e=this.modal)==null||e.close(),this.modal.remove(),this.modal=void 0)}async popup(){const e=window.open(this.url,"_blank","popup=true,width=600,height=600");window.addEventListener("message",s=>{var n;s.source===e&&(console.log("received message from popup",s.data),(n=this.eventManager)==null||n.setPort(s.ports[0]))});const r=this.on(a.CANCEL,()=>{e==null||e.close()}),i=this.on(a.COMPLETE,()=>{e==null||e.close()});return this.completion().finally(()=>{r(),i()})}}function C(t){return Object.entries(t).map(([e,r])=>{if(r==null)return;const i=encodeURIComponent(e),s=encodeURIComponent(typeof r=="object"?JSON.stringify(r):String(r));return`${i}=${s}`}).filter(e=>e!==void 0).join("&")}function U(t){const e=t.slice(1);return e?e.split("&").filter(Boolean).reduce((i,s)=>{const[n,l]=s.split("=");return n&&(i[decodeURIComponent(n)]=l?decodeURIComponent(l):""),i},{}):{}}class A{constructor(e){o(this,"nodeUrl");o(this,"authToken");o(this,"uxUrl");o(this,"theme");o(this,"locale");this.uxUrl=e.uxUrl||"https://connect.notabene.id",this.nodeUrl=e.nodeUrl,this.authToken=e.authToken,this.theme=e.theme,this.locale=e.locale}componentUrl(e,r,i,s){const n=new URL(this.uxUrl);n.pathname=e;const l=C({authToken:this.authToken,value:r,configuration:i});return n.hash=l,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(e,r,i,s){return new g(this.componentUrl(e,r,i,s),r,i)}createWithdrawalAssist(e,r,i){return this.createComponent("withdrawal-assist",e,r,i)}createConnectWallet(e,r,i){return this.createComponent("connect",e,r,i)}createDepositRequest(e,r,i){return this.createComponent("deposit-request",e,r,i)}}exports.AgentType=c;exports.CMType=a;exports.EmbeddedComponent=g;exports.HMType=d;exports.PersonType=m;exports.ProofStatus=p;exports.ProofTypes=v;exports.Status=u;exports.VASPSearchControl=E;exports.ValidationSections=f;exports.decodeFragmentToObject=U;exports.default=A;
@@ -546,10 +546,17 @@ declare type Error_2 = {
546
546
  type: CMType.ERROR;
547
547
  message: string;
548
548
  description?: string;
549
- identifier?: string;
549
+ identifier?: ErrorIdentifierCode;
550
550
  };
551
551
  export { Error_2 as Error }
552
552
 
553
+ declare enum ErrorIdentifierCode {
554
+ SERVICE_UNAVAILABLE = "SERVICE_UNAVAILABLE",
555
+ WALLET_CONNECTION_FAILED = "WALLET_CONNECTION_FAILED",
556
+ WALLET_NOT_SUPPORTED = "WALLET_NOT_SUPPORTED",
557
+ TOKEN_INVALID = "TOKEN_INVALID"
558
+ }
559
+
553
560
  /**
554
561
  * Field properties
555
562
  * @public
@@ -1193,6 +1200,9 @@ export declare enum ProofStatus {
1193
1200
  * - SIWE: Sign-In with Ethereum message signature (EIP-4361)
1194
1201
  * - EIP712: Ethereum typed data signature following EIP-712 standard
1195
1202
  * - BIP137: Bitcoin message signature following BIP-137
1203
+ * - BIP322: Bitcoin message signature following BIP-322
1204
+ * - TIP191: Tron message signing
1205
+ * - ED25519: Ed25519 signature (used in Solana)
1196
1206
  * - XPUB: Extended public key signature for HD wallets
1197
1207
  * - MicroTransfer: Proof via small blockchain transaction
1198
1208
  * - Screenshot: Image proof of ownership/access
@@ -1211,7 +1221,9 @@ export declare enum ProofTypes {
1211
1221
  EIP712 = "eip-712",
1212
1222
  EIP1271 = "eip-1271",
1213
1223
  BIP137 = "bip-137",
1224
+ BIP322 = "bip-322",
1214
1225
  BIP137_XPUB = "xpub",
1226
+ TIP191 = "tip-191",
1215
1227
  ED25519 = "ed25519",
1216
1228
  MicroTransfer = "microtransfer",
1217
1229
  Screenshot = "screenshot",
@@ -1264,10 +1276,11 @@ export declare interface ScreenshotProof extends OwnershipProof {
1264
1276
  * @public
1265
1277
  */
1266
1278
  export declare interface SignatureProof extends OwnershipProof {
1267
- type: ProofTypes.EIP191 | ProofTypes.EIP712 | ProofTypes.EIP1271 | ProofTypes.BIP137 | ProofTypes.BIP137_XPUB | ProofTypes.ED25519 | ProofTypes.SIWX | ProofTypes.SIWE;
1279
+ type: ProofTypes.EIP191 | ProofTypes.EIP712 | ProofTypes.EIP1271 | ProofTypes.BIP137 | ProofTypes.BIP322 | ProofTypes.BIP137_XPUB | ProofTypes.ED25519 | ProofTypes.TIP191 | ProofTypes.SIWX | ProofTypes.SIWE;
1268
1280
  proof: string;
1269
1281
  attestation: string;
1270
1282
  wallet_provider: string;
1283
+ xpub?: string;
1271
1284
  }
1272
1285
 
1273
1286
  /**
@@ -1293,6 +1306,7 @@ export declare enum Status {
1293
1306
  * @public
1294
1307
  */
1295
1308
  export declare type Theme = {
1309
+ mode: 'light' | 'dark';
1296
1310
  primaryColor?: string;
1297
1311
  secondaryColor?: string;
1298
1312
  fontFamily?: string;
package/dist/notabene.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var c = Object.defineProperty;
2
2
  var m = (t, e, r) => e in t ? c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
3
  var o = (t, e, r) => m(t, typeof e != "symbol" ? e + "" : e, r);
4
- var u = /* @__PURE__ */ ((t) => (t.PRIVATE = "WALLET", t.VASP = "VASP", t))(u || {}), E = /* @__PURE__ */ ((t) => (t.NATURAL = "natural", t.LEGAL = "legal", t.SELF = "self", t))(E || {}), f = /* @__PURE__ */ ((t) => (t.EMPTY = "empty", t.VERIFY = "verify", t.PENDING = "pending", t.VERIFIED = "verified", t.BANNED = "banned", t))(f || {}), p = /* @__PURE__ */ ((t) => (t.ALLOWED = "allowed", t.PENDING = "pending", t))(p || {}), v = /* @__PURE__ */ ((t) => (t.ASSET = "asset", t.DESTINATION = "destination", t.COUNTERPARTY = "counterparty", t.AGENT = "agent", t))(v || {}), h = /* @__PURE__ */ ((t) => (t.COMPLETE = "complete", t.RESIZE = "resize", t.RESULT = "result", t.READY = "ready", t.INVALID = "invalid", t.ERROR = "error", t.CANCEL = "cancel", t))(h || {}), d = /* @__PURE__ */ ((t) => (t.UPDATE = "update", t.REQUEST_RESPONSE = "requestResponse", t))(d || {}), g = /* @__PURE__ */ ((t) => (t.PENDING = "pending", t.FAILED = "rejected", t.FLAGGED = "flagged", t.VERIFIED = "verified", t))(g || {}), w = /* @__PURE__ */ ((t) => (t.SelfDeclaration = "self-declaration", t.SIWE = "siwe", t.SIWX = "siwx", t.EIP191 = "eip-191", t.EIP712 = "eip-712", t.EIP1271 = "eip-1271", t.BIP137 = "bip-137", t.BIP137_XPUB = "xpub", t.ED25519 = "ed25519", t.MicroTransfer = "microtransfer", t.Screenshot = "screenshot", t.Connect = "connect", t))(w || {});
4
+ var u = /* @__PURE__ */ ((t) => (t.PRIVATE = "WALLET", t.VASP = "VASP", t))(u || {}), E = /* @__PURE__ */ ((t) => (t.NATURAL = "natural", t.LEGAL = "legal", t.SELF = "self", t))(E || {}), f = /* @__PURE__ */ ((t) => (t.EMPTY = "empty", t.VERIFY = "verify", t.PENDING = "pending", t.VERIFIED = "verified", t.BANNED = "banned", t))(f || {}), p = /* @__PURE__ */ ((t) => (t.ALLOWED = "allowed", t.PENDING = "pending", t))(p || {}), v = /* @__PURE__ */ ((t) => (t.ASSET = "asset", t.DESTINATION = "destination", t.COUNTERPARTY = "counterparty", t.AGENT = "agent", t))(v || {}), h = /* @__PURE__ */ ((t) => (t.COMPLETE = "complete", t.RESIZE = "resize", t.RESULT = "result", t.READY = "ready", t.INVALID = "invalid", t.ERROR = "error", t.CANCEL = "cancel", t))(h || {}), d = /* @__PURE__ */ ((t) => (t.UPDATE = "update", t.REQUEST_RESPONSE = "requestResponse", t))(d || {}), g = /* @__PURE__ */ ((t) => (t.PENDING = "pending", t.FAILED = "rejected", t.FLAGGED = "flagged", t.VERIFIED = "verified", t))(g || {}), w = /* @__PURE__ */ ((t) => (t.SelfDeclaration = "self-declaration", t.SIWE = "siwe", t.SIWX = "siwx", t.EIP191 = "eip-191", t.EIP712 = "eip-712", t.EIP1271 = "eip-1271", t.BIP137 = "bip-137", t.BIP322 = "bip-322", t.BIP137_XPUB = "xpub", t.TIP191 = "tip-191", t.ED25519 = "ed25519", t.MicroTransfer = "microtransfer", t.Screenshot = "screenshot", t.Connect = "connect", t))(w || {});
5
5
  class I {
6
6
  constructor() {
7
7
  o(this, "listeners", /* @__PURE__ */ new Map());
@@ -237,7 +237,7 @@ class U {
237
237
  });
238
238
  }
239
239
  }
240
- function C(t) {
240
+ function b(t) {
241
241
  return Object.entries(t).map(([e, r]) => {
242
242
  if (r == null) return;
243
243
  const i = encodeURIComponent(e), s = encodeURIComponent(
@@ -247,7 +247,7 @@ function C(t) {
247
247
  return `${i}=${s}`;
248
248
  }).filter((e) => e !== void 0).join("&");
249
249
  }
250
- function b(t) {
250
+ function L(t) {
251
251
  const e = t.slice(1);
252
252
  return e ? e.split("&").filter(Boolean).reduce(
253
253
  (i, s) => {
@@ -284,7 +284,7 @@ class A {
284
284
  componentUrl(e, r, i, s) {
285
285
  const n = new URL(this.uxUrl);
286
286
  n.pathname = e;
287
- const a = C({
287
+ const a = b({
288
288
  authToken: this.authToken,
289
289
  value: r,
290
290
  configuration: i
@@ -370,6 +370,6 @@ export {
370
370
  f as Status,
371
371
  p as VASPSearchControl,
372
372
  v as ValidationSections,
373
- b as decodeFragmentToObject,
373
+ L as decodeFragmentToObject,
374
374
  A as default
375
375
  };
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.47.11"
8
+ "packageVersion": "7.48.1"
9
9
  }
10
10
  ]
11
11
  }
package/docs/README.md CHANGED
@@ -1,4 +1,4 @@
1
- **@notabene/javascript-sdk** • [**Docs**](modules.md)
1
+ **@notabene/javascript-sdk**
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -16,7 +16,7 @@ Configuration options for Transaction components
16
16
 
17
17
  #### Defined in
18
18
 
19
- [types.ts:768](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/types.ts#L768)
19
+ [types.ts:769](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/types.ts#L769)
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:769](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/types.ts#L769)
29
+ [types.ts:770](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/types.ts#L770)
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:770](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/types.ts#L770)
39
+ [types.ts:771](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/types.ts#L771)
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:772](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/types.ts#L772)
49
+ [types.ts:773](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/types.ts#L773)
50
50
 
51
51
  ***
52
52
 
@@ -66,21 +66,21 @@ Configuration options for Transaction components
66
66
 
67
67
  > `optional` **microTransfer**: `object`
68
68
 
69
- #### microTransfer.amountSubunits
69
+ ##### microTransfer.amountSubunits
70
70
 
71
71
  > **amountSubunits**: `string`
72
72
 
73
- #### microTransfer.destination
73
+ ##### microTransfer.destination
74
74
 
75
75
  > **destination**: `string`
76
76
 
77
- #### microTransfer.timeout?
77
+ ##### microTransfer.timeout?
78
78
 
79
79
  > `optional` **timeout**: `number`
80
80
 
81
81
  #### Defined in
82
82
 
83
- [types.ts:759](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/types.ts#L759)
83
+ [types.ts:760](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/types.ts#L760)
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:771](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/types.ts#L771)
93
+ [types.ts:772](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/types.ts#L772)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L365)
21
+ [ivms/types.ts:365](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L367)
33
+ [ivms/types.ts:367](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L367)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L358)
22
+ [ivms/types.ts:358](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L356)
34
+ [ivms/types.ts:356](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L356)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L119)
114
+ [ivms/types.ts:119](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L119)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L44)
16
+ [ivms/types.ts:44](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L44)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L313)
30
+ [ivms/types.ts:313](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L313)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L335)
24
+ [ivms/types.ts:335](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L335)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L107)
30
+ [ivms/types.ts:107](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L107)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L6)
22
+ [ivms/types.ts:6](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L6)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L14)
23
+ [ivms/types.ts:14](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L14)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L375)
41
+ [ivms/types.ts:375](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L375)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L289)
30
+ [ivms/types.ts:289](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L289)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L259)
48
+ [ivms/types.ts:259](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L259)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L245)
36
+ [ivms/types.ts:245](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L245)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L233)
30
+ [ivms/types.ts:233](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L233)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L34)
16
+ [ivms/types.ts:34](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L34)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L221)
30
+ [ivms/types.ts:221](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L221)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L159)
36
+ [ivms/types.ts:159](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L159)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L91)
42
+ [ivms/types.ts:91](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L91)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L54)
16
+ [ivms/types.ts:54](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L54)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L201)
54
+ [ivms/types.ts:201](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L201)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L187)
36
+ [ivms/types.ts:187](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L187)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L173)
36
+ [ivms/types.ts:173](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L173)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L22)
16
+ [ivms/types.ts:22](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L22)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L325)
24
+ [ivms/types.ts:325](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L325)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L301)
30
+ [ivms/types.ts:301](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L301)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L277)
30
+ [ivms/types.ts:277](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L277)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L345)
24
+ [ivms/types.ts:345](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L345)
@@ -1,4 +1,4 @@
1
- [**@notabene/javascript-sdk**](../../../README.md) • **Docs**
1
+ [**@notabene/javascript-sdk**](../../../README.md)
2
2
 
3
3
  ***
4
4
 
@@ -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/37b9a143f8fa9e46954aa19cbff9c441035afdce/src/ivms/types.ts#L71)
16
+ [ivms/types.ts:71](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/06342c6adf6f9cad152dcf6ecd0c80e7eb65778c/src/ivms/types.ts#L71)