@notabene/javascript-sdk 2.2.1 → 2.3.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 (117) hide show
  1. package/dist/notabene.cjs +1 -1
  2. package/dist/notabene.d.ts +18 -2
  3. package/dist/notabene.js +10 -10
  4. package/dist/tsdoc-metadata.json +1 -1
  5. package/docs/README.md +1 -1
  6. package/docs/_media/TransactionOptions.md +10 -10
  7. package/docs/ivms/types/README.md +1 -1
  8. package/docs/ivms/types/enumerations/PayloadVersionCode.md +3 -3
  9. package/docs/ivms/types/interfaces/PayloadMetadata.md +3 -3
  10. package/docs/ivms/types/type-aliases/Address.md +2 -2
  11. package/docs/ivms/types/type-aliases/AddressTypeCode.md +2 -2
  12. package/docs/ivms/types/type-aliases/Beneficiary.md +2 -2
  13. package/docs/ivms/types/type-aliases/BeneficiaryVASP.md +2 -2
  14. package/docs/ivms/types/type-aliases/DateAndPlaceOfBirth.md +2 -2
  15. package/docs/ivms/types/type-aliases/ISOCountryCode.md +2 -2
  16. package/docs/ivms/types/type-aliases/ISODate.md +2 -2
  17. package/docs/ivms/types/type-aliases/IVMS101.md +2 -2
  18. package/docs/ivms/types/type-aliases/IntermediaryVASP.md +2 -2
  19. package/docs/ivms/types/type-aliases/LegalPerson.md +2 -2
  20. package/docs/ivms/types/type-aliases/LegalPersonName.md +2 -2
  21. package/docs/ivms/types/type-aliases/LegalPersonNameID.md +2 -2
  22. package/docs/ivms/types/type-aliases/LegalPersonNameTypeCode.md +2 -2
  23. package/docs/ivms/types/type-aliases/LocalLegalPersonNameID.md +2 -2
  24. package/docs/ivms/types/type-aliases/LocalNaturalPersonNameID.md +2 -2
  25. package/docs/ivms/types/type-aliases/NationalIdentification.md +2 -2
  26. package/docs/ivms/types/type-aliases/NationalIdentifierTypeCode.md +2 -2
  27. package/docs/ivms/types/type-aliases/NaturalPerson.md +2 -2
  28. package/docs/ivms/types/type-aliases/NaturalPersonName.md +2 -2
  29. package/docs/ivms/types/type-aliases/NaturalPersonNameID.md +2 -2
  30. package/docs/ivms/types/type-aliases/NaturalPersonNameTypeCode.md +2 -2
  31. package/docs/ivms/types/type-aliases/OriginatingVASP.md +2 -2
  32. package/docs/ivms/types/type-aliases/Originator.md +2 -2
  33. package/docs/ivms/types/type-aliases/Person.md +2 -2
  34. package/docs/ivms/types/type-aliases/TransferPath.md +2 -2
  35. package/docs/ivms/types/type-aliases/TransliterationMethodCode.md +2 -2
  36. package/docs/modules.md +1 -1
  37. package/docs/notabene/README.md +7 -1
  38. package/docs/notabene/classes/EmbeddedComponent.md +57 -31
  39. package/docs/notabene/classes/default.md +61 -25
  40. package/docs/notabene/functions/decodeFragmentToObject.md +5 -3
  41. package/docs/notabene/interfaces/NotabeneConfig.md +6 -6
  42. package/docs/notabene/type-aliases/MessageCallback.md +5 -3
  43. package/docs/types/README.md +2 -1
  44. package/docs/types/enumerations/AgentType.md +3 -3
  45. package/docs/types/enumerations/CMType.md +18 -7
  46. package/docs/types/enumerations/HMType.md +3 -3
  47. package/docs/types/enumerations/PersonType.md +4 -4
  48. package/docs/types/enumerations/ProofStatus.md +5 -5
  49. package/docs/types/enumerations/ProofTypes.md +36 -13
  50. package/docs/types/enumerations/Status.md +6 -6
  51. package/docs/types/enumerations/VASPSearchControl.md +3 -3
  52. package/docs/types/enumerations/ValidationSections.md +5 -5
  53. package/docs/types/interfaces/Agent.md +7 -7
  54. package/docs/types/interfaces/CallbackOptions.md +3 -3
  55. package/docs/types/interfaces/ComponentRequest.md +3 -3
  56. package/docs/types/interfaces/ComponentResponse.md +5 -5
  57. package/docs/types/interfaces/ConnectionRecord.md +8 -8
  58. package/docs/types/interfaces/ConnectionRequest.md +4 -4
  59. package/docs/types/interfaces/Counterparty.md +11 -11
  60. package/docs/types/interfaces/DeclarationProof.md +7 -7
  61. package/docs/types/interfaces/Deposit.md +10 -10
  62. package/docs/types/interfaces/DepositRequest.md +8 -8
  63. package/docs/types/interfaces/DepositRequestOptions.md +2 -2
  64. package/docs/types/interfaces/LegalPerson.md +14 -14
  65. package/docs/types/interfaces/MicroTransferProof.md +10 -10
  66. package/docs/types/interfaces/NaturalPerson.md +14 -14
  67. package/docs/types/interfaces/OwnershipProof.md +5 -5
  68. package/docs/types/interfaces/ScreenshotProof.md +6 -6
  69. package/docs/types/interfaces/SignatureProof.md +19 -9
  70. package/docs/types/interfaces/ThresholdOptions.md +4 -4
  71. package/docs/types/interfaces/Transaction.md +9 -9
  72. package/docs/types/interfaces/TransactionOptions.md +10 -10
  73. package/docs/types/interfaces/TransactionResponse.md +9 -9
  74. package/docs/types/interfaces/VASP.md +10 -10
  75. package/docs/types/interfaces/Wallet.md +9 -9
  76. package/docs/types/interfaces/Withdrawal.md +10 -10
  77. package/docs/types/type-aliases/BlockchainAddress.md +2 -2
  78. package/docs/types/type-aliases/CAIP10.md +2 -2
  79. package/docs/types/type-aliases/CAIP19.md +2 -2
  80. package/docs/types/type-aliases/CAIP2.md +2 -2
  81. package/docs/types/type-aliases/CAIP220.md +2 -2
  82. package/docs/types/type-aliases/Cancel.md +2 -2
  83. package/docs/types/type-aliases/Completed.md +2 -2
  84. package/docs/types/type-aliases/ComponentMessage.md +3 -3
  85. package/docs/types/type-aliases/ConnectionOptions.md +2 -2
  86. package/docs/types/type-aliases/CryptoCredential.md +2 -2
  87. package/docs/types/type-aliases/DID.md +2 -2
  88. package/docs/types/type-aliases/DTI.md +2 -2
  89. package/docs/types/type-aliases/Destination.md +2 -2
  90. package/docs/types/type-aliases/Error.md +2 -2
  91. package/docs/types/type-aliases/FieldOptions.md +3 -3
  92. package/docs/types/type-aliases/FieldTypes.md +2 -2
  93. package/docs/types/type-aliases/HostMessage.md +2 -2
  94. package/docs/types/type-aliases/ISOCurrency.md +2 -2
  95. package/docs/types/type-aliases/InvalidValue.md +2 -2
  96. package/docs/types/type-aliases/LEI.md +2 -2
  97. package/docs/types/type-aliases/LegalPersonFieldName.md +2 -2
  98. package/docs/types/type-aliases/LegalPersonFields.md +2 -2
  99. package/docs/types/type-aliases/NaturalPersonFieldName.md +2 -2
  100. package/docs/types/type-aliases/NaturalPersonFields.md +2 -2
  101. package/docs/types/type-aliases/NotabeneAsset.md +2 -2
  102. package/docs/types/type-aliases/Ready.md +21 -0
  103. package/docs/types/type-aliases/ResizeRequest.md +2 -2
  104. package/docs/types/type-aliases/Source.md +2 -2
  105. package/docs/types/type-aliases/Theme.md +2 -2
  106. package/docs/types/type-aliases/TransactionAsset.md +2 -2
  107. package/docs/types/type-aliases/TravelAddress.md +2 -2
  108. package/docs/types/type-aliases/URI.md +2 -2
  109. package/docs/types/type-aliases/UUID.md +2 -2
  110. package/docs/types/type-aliases/UpdateValue.md +2 -2
  111. package/docs/types/type-aliases/V1Asset.md +3 -3
  112. package/docs/types/type-aliases/V1Transaction.md +2 -2
  113. package/docs/types/type-aliases/VASPOptions.md +2 -2
  114. package/docs/types/type-aliases/ValidationError.md +2 -2
  115. package/package.json +4 -4
  116. package/src/notabene.ts +2 -0
  117. package/src/types.ts +19 -0
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.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 C{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 C,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 b(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 L{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=b({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=L;
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;
@@ -193,6 +193,7 @@ 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
196
197
  * - INVALID: Validation failed with errors
197
198
  * - ERROR: Operation encountered an error
198
199
  * - CANCEL: Operation was cancelled
@@ -202,6 +203,7 @@ export declare enum CMType {
202
203
  COMPLETE = "complete",
203
204
  RESIZE = "resize",
204
205
  RESULT = "result",
206
+ READY = "ready",
205
207
  INVALID = "invalid",
206
208
  ERROR = "error",
207
209
  CANCEL = "cancel"
@@ -239,7 +241,7 @@ export declare type Completed<T> = {
239
241
  * @see {@link InvalidValue} For validation failure message format
240
242
  * @public
241
243
  */
242
- export declare type ComponentMessage<T> = Completed<T> | Cancel | Error_2 | ResizeRequest | InvalidValue<T>;
244
+ export declare type ComponentMessage<T> = Completed<T> | Cancel | Error_2 | Ready | ResizeRequest | InvalidValue<T>;
243
245
 
244
246
  /**
245
247
  * Base interface for requests sent to SDK components
@@ -1191,6 +1193,9 @@ export declare enum ProofStatus {
1191
1193
  * - SIWE: Sign-In with Ethereum message signature (EIP-4361)
1192
1194
  * - EIP712: Ethereum typed data signature following EIP-712 standard
1193
1195
  * - BIP137: Bitcoin message signature following BIP-137
1196
+ * - BIP322: Bitcoin message signature following BIP-322
1197
+ * - TIP191: Tron message signing
1198
+ * - ED25519: Ed25519 signature (used in Solana)
1194
1199
  * - XPUB: Extended public key signature for HD wallets
1195
1200
  * - MicroTransfer: Proof via small blockchain transaction
1196
1201
  * - Screenshot: Image proof of ownership/access
@@ -1209,13 +1214,23 @@ export declare enum ProofTypes {
1209
1214
  EIP712 = "eip-712",
1210
1215
  EIP1271 = "eip-1271",
1211
1216
  BIP137 = "bip-137",
1217
+ BIP322 = "bip-322",
1212
1218
  BIP137_XPUB = "xpub",
1219
+ TIP191 = "tip-191",
1213
1220
  ED25519 = "ed25519",
1214
1221
  MicroTransfer = "microtransfer",
1215
1222
  Screenshot = "screenshot",
1216
1223
  Connect = "connect"
1217
1224
  }
1218
1225
 
1226
+ /**
1227
+ * Represents a ready component message
1228
+ * @public
1229
+ */
1230
+ export declare type Ready = {
1231
+ type: CMType.READY;
1232
+ };
1233
+
1219
1234
  declare type RequestID = UUID;
1220
1235
 
1221
1236
  /**
@@ -1254,10 +1269,11 @@ export declare interface ScreenshotProof extends OwnershipProof {
1254
1269
  * @public
1255
1270
  */
1256
1271
  export declare interface SignatureProof extends OwnershipProof {
1257
- type: ProofTypes.EIP191 | ProofTypes.EIP712 | ProofTypes.EIP1271 | ProofTypes.BIP137 | ProofTypes.BIP137_XPUB | ProofTypes.ED25519 | ProofTypes.SIWX | ProofTypes.SIWE;
1272
+ type: ProofTypes.EIP191 | ProofTypes.EIP712 | ProofTypes.EIP1271 | ProofTypes.BIP137 | ProofTypes.BIP322 | ProofTypes.BIP137_XPUB | ProofTypes.ED25519 | ProofTypes.TIP191 | ProofTypes.SIWX | ProofTypes.SIWE;
1258
1273
  proof: string;
1259
1274
  attestation: string;
1260
1275
  wallet_provider: string;
1276
+ xpub?: string;
1261
1277
  }
1262
1278
 
1263
1279
  /**
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.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());
@@ -68,7 +68,7 @@ class I {
68
68
  this.port && this.port.postMessage(e);
69
69
  }
70
70
  }
71
- class C {
71
+ class U {
72
72
  /**
73
73
  * Creates an instance of EmbeddedComponent.
74
74
  * @param url - The URL of the embedded component
@@ -237,7 +237,7 @@ class C {
237
237
  });
238
238
  }
239
239
  }
240
- function U(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 U(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) => {
@@ -257,7 +257,7 @@ function b(t) {
257
257
  {}
258
258
  ) : {};
259
259
  }
260
- class N {
260
+ class A {
261
261
  /**
262
262
  * Creates a new instance of the Notabene SDK
263
263
  *
@@ -284,7 +284,7 @@ class N {
284
284
  componentUrl(e, r, i, s) {
285
285
  const n = new URL(this.uxUrl);
286
286
  n.pathname = e;
287
- const a = U({
287
+ const a = b({
288
288
  authToken: this.authToken,
289
289
  value: r,
290
290
  configuration: i
@@ -302,7 +302,7 @@ class N {
302
302
  * @internal
303
303
  */
304
304
  createComponent(e, r, i, s) {
305
- return new C(
305
+ return new U(
306
306
  this.componentUrl(e, r, i, s),
307
307
  r,
308
308
  i
@@ -362,7 +362,7 @@ class N {
362
362
  export {
363
363
  u as AgentType,
364
364
  h as CMType,
365
- C as EmbeddedComponent,
365
+ U as EmbeddedComponent,
366
366
  d as HMType,
367
367
  E as PersonType,
368
368
  g as ProofStatus,
@@ -370,6 +370,6 @@ export {
370
370
  f as Status,
371
371
  p as VASPSearchControl,
372
372
  v as ValidationSections,
373
- b as decodeFragmentToObject,
374
- N as default
373
+ L as decodeFragmentToObject,
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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/types.ts#L768)
19
+ [types.ts:768](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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:769](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/types.ts#L769)
29
+ [types.ts:769](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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:770](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/types.ts#L770)
39
+ [types.ts:770](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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:772](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/types.ts#L772)
49
+ [types.ts:772](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/src/types.ts#L772)
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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/types.ts#L759)
83
+ [types.ts:759](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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:771](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/types.ts#L771)
93
+ [types.ts:771](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/src/types.ts#L771)
@@ -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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L365)
21
+ [ivms/types.ts:365](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L367)
33
+ [ivms/types.ts:367](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L358)
22
+ [ivms/types.ts:358](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L356)
34
+ [ivms/types.ts:356](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L119)
114
+ [ivms/types.ts:119](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L44)
16
+ [ivms/types.ts:44](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L313)
30
+ [ivms/types.ts:313](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L335)
24
+ [ivms/types.ts:335](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L107)
30
+ [ivms/types.ts:107](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L6)
22
+ [ivms/types.ts:6](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L14)
23
+ [ivms/types.ts:14](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L375)
41
+ [ivms/types.ts:375](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L289)
30
+ [ivms/types.ts:289](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L259)
48
+ [ivms/types.ts:259](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L245)
36
+ [ivms/types.ts:245](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L233)
30
+ [ivms/types.ts:233](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L34)
16
+ [ivms/types.ts:34](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L221)
30
+ [ivms/types.ts:221](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L159)
36
+ [ivms/types.ts:159](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L91)
42
+ [ivms/types.ts:91](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L54)
16
+ [ivms/types.ts:54](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L201)
54
+ [ivms/types.ts:201](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L187)
36
+ [ivms/types.ts:187](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L173)
36
+ [ivms/types.ts:173](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L22)
16
+ [ivms/types.ts:22](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L325)
24
+ [ivms/types.ts:325](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/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/e726d89bf77c8ab57b82ac5a02356ef19031620e/src/ivms/types.ts#L301)
30
+ [ivms/types.ts:301](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/3486f61e2b02a464f16f90ee758186b0548e4e66/src/ivms/types.ts#L301)