wallaby-cash 2.2.6 → 2.2.7

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.
@@ -59,9 +59,10 @@ export declare class Transactions extends Base {
59
59
  * @param {string} reference
60
60
  * @param {AuthenticationResponse} authenticationOptions
61
61
  * @param {string} memo
62
+ * @param {TransactionType} transactionType
62
63
  * @returns {TransactionResponse}
63
64
  */
64
- transfer({ originAddress, recipientAddress, amount, assetId, walletId, reference, authenticationOptions, memo, }: TransferRequest): Promise<TransactionResponse>;
65
+ transfer({ originAddress, recipientAddress, amount, assetId, walletId, reference, authenticationOptions, memo, transactionType, }: TransferRequest): Promise<TransactionResponse>;
65
66
  /**
66
67
  *
67
68
  * @public
@@ -74,10 +75,11 @@ export declare class Transactions extends Base {
74
75
  * @param {string} suiObjectId
75
76
  * @param {string} reference
76
77
  * @param {string} memo
78
+ * @param {TransactionType} transactionType
77
79
  * @returns {CreateAllowanceResponse}
78
80
  *
79
81
  */
80
- createAllowance({ authenticationOptions, walletId, ownerAddress, spenderAddress, amount, assetId, suiObjectId, contractAddress, chainName, assetSymbol, reference, memo, }: CreateAllowanceRequest): Promise<TransactionResponse>;
82
+ createAllowance({ authenticationOptions, walletId, ownerAddress, spenderAddress, amount, assetId, suiObjectId, contractAddress, chainName, assetSymbol, reference, memo, transactionType, }: CreateAllowanceRequest): Promise<TransactionResponse>;
81
83
  /**
82
84
  *
83
85
  * @public
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wallaby-cash",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:WALLABY-WaaS/wallaby-sdk-js.git"
@@ -94,6 +94,7 @@ export declare type BaseTransactionRequest = {
94
94
  prfValue?: Uint8Array;
95
95
  clientSalt?: string;
96
96
  memo?: string;
97
+ transactionType?: TransactionType;
97
98
  };
98
99
  export declare type TransferRequest = BaseTransactionRequest & {
99
100
  originAddress: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wallaby-cash",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:WALLABY-WaaS/wallaby-sdk-js.git"