@notabene/javascript-sdk 2.13.0-next.2 → 2.14.0-next.3

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
 
@@ -1923,6 +1923,7 @@ export declare interface TransactionOptions {
1923
1923
  vasps?: VASPOptions;
1924
1924
  hide?: ValidationSections[];
1925
1925
  counterpartyAssist?: CounterpartyAssistConfig;
1926
+ autoSubmit?: boolean;
1926
1927
  }
1927
1928
 
1928
1929
  /**
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.13.0-next.2",
13
+ "version": "2.14.0-next.3",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",
@@ -1923,6 +1923,7 @@ export declare interface TransactionOptions {
1923
1923
  vasps?: VASPOptions;
1924
1924
  hide?: ValidationSections[];
1925
1925
  counterpartyAssist?: CounterpartyAssistConfig;
1926
+ autoSubmit?: boolean;
1926
1927
  }
1927
1928
 
1928
1929
  /**
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.13.0-next.2",
13
+ "version": "2.14.0-next.3",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",
@@ -1923,6 +1923,7 @@ export declare interface TransactionOptions {
1923
1923
  vasps?: VASPOptions;
1924
1924
  hide?: ValidationSections[];
1925
1925
  counterpartyAssist?: CounterpartyAssistConfig;
1926
+ autoSubmit?: boolean;
1926
1927
  }
1927
1928
 
1928
1929
  /**
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.13.0-next.2",
13
+ "version": "2.14.0-next.3",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",
package/src/types.ts CHANGED
@@ -888,6 +888,7 @@ export interface TransactionOptions {
888
888
  vasps?: VASPOptions;
889
889
  hide?: ValidationSections[]; // You can hide a specific section of the component by listing it here
890
890
  counterpartyAssist?: CounterpartyAssistConfig;
891
+ autoSubmit?: boolean; // Defaults to false
891
892
  }
892
893
  /**
893
894
  * Component Message Type enum representing different message types that can be sent