@super-protocol/sdk-js 2.0.6-beta.3 → 2.0.6-beta.5

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.
@@ -39,7 +39,7 @@ declare class Provider {
39
39
  * @param additionalAmount - number of tokens planned to be added and frozen as security deposit
40
40
  * @returns required deposit
41
41
  */
42
- getProviderRequiredSecDepo(additionalAmount?: TokenAmount): Promise<TokenAmount>;
42
+ getRequiredSecurityDeposit(additionalAmount?: TokenAmount): Promise<TokenAmount>;
43
43
  /**
44
44
  * Fetch provider security deposit by provider authority account
45
45
  */
@@ -100,7 +100,7 @@ class Provider {
100
100
  * @param additionalAmount - number of tokens planned to be added and frozen as security deposit
101
101
  * @returns required deposit
102
102
  */
103
- getProviderRequiredSecDepo(additionalAmount = '0') {
103
+ getRequiredSecurityDeposit(additionalAmount = '0') {
104
104
  const contract = connectors_1.BlockchainConnector.getInstance().getContract();
105
105
  return contract.methods.getProviderRequiredSecDepo(this.providerId, additionalAmount).call();
106
106
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@super-protocol/sdk-js",
3
- "version": "2.0.6-beta.3",
3
+ "version": "2.0.6-beta.5",
4
4
  "main": "build/index.js",
5
5
  "license": "MIT",
6
6
  "files": [