@notabene/javascript-sdk 2.14.0 → 2.14.1-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -410,7 +410,6 @@ const deposit = notabene.createDepositAssist(
410
410
  asset: 'ETH',
411
411
  amountDecimal: 1.23,
412
412
  source: '0x...',
413
- destination: '0x...',
414
413
  transactionId: "UUID"
415
414
  },
416
415
  {
@@ -423,7 +422,6 @@ const deposit = notabene.createDepositAssist(
423
422
 
424
423
  - `asset`: The cryptocurrency or token being transferred. See [Asset Specification](#asset-specification)
425
424
  - `source`: The source or blockchain address for the deposit. See [Origin](#origin)
426
- - `destination`: The destination or blockchain address for the deposit. See [Destination](#destination)
427
425
  - `amountDecimal`: Optional amount to deposit in decimal format. See [Transaction Amount](#transaction-amount)
428
426
  - `transactionId`: Optional transactionId of a Notabene transaction. Will be returned with the payload to assist updating the Transaction
429
427
 
@@ -794,7 +792,6 @@ const options: TransactionOptions = {
794
792
  nationalIdentification: false,
795
793
  countryOfRegistration: true,
796
794
  },
797
- hide: [ValidationSections.ASSET, ValidationSections.DESTINATION], // Don't show specific sections of component
798
795
  },
799
796
  vasps: {
800
797
  addUnknown: true, // Allow users to add a missing VASP - Defaults to false
@@ -810,8 +807,11 @@ const options: TransactionOptions = {
810
807
  PersonType.NATURAL, // JS: 'natural'
811
808
  PersonType.SELF, // JS: 'self'
812
809
  ],
813
- }
810
+ },
811
+ hide: [ValidationSections.ASSET, ValidationSections.DESTINATION], // Don't show specific sections of component
812
+ autoSubmit: false // Automatically sends the complete event and hides the complete button - Default false
814
813
  };
814
+
815
815
  const withdrawal = notabene.createWithdrawalAssist(tx, options);
816
816
  ```
817
817