@raac/rpc 1.1.0-beta.43 → 1.1.0-beta.45

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.
@@ -117,6 +117,8 @@ const getApprovalForAll_1 = __importDefault(require("./nfts/getApprovalForAll"))
117
117
  const setApprovalForAll_1 = __importDefault(require("./nfts/setApprovalForAll"));
118
118
  const approveNFT_1 = __importDefault(require("./nfts/approveNFT"));
119
119
  const vaultOpened_1 = __importDefault(require("./pools/lendingPool/vaultOpened"));
120
+ const getWithdrawRequestInfo_2 = require("./pools/stabilityPool/getWithdrawRequestInfo");
121
+ const requestWithdraw_2 = require("./pools/stabilityPool/requestWithdraw");
120
122
  class RPCLibrary {
121
123
  signer;
122
124
  isConnected;
@@ -200,6 +202,8 @@ class RPCLibrary {
200
202
  depositToStabilityPool: depositToStabilityPool_1.default,
201
203
  withdrawFromStabilityPool: withdrawFromStabilityPool_1.default,
202
204
  getRawUserDepositInStabilityPool: getRawUserDepositsInStabilityPool_1.default,
205
+ getWithdrawRequestInfo: getWithdrawRequestInfo_2.getWithdrawRequestInfo,
206
+ requestWithdraw: requestWithdraw_2.requestWithdraw,
203
207
  },
204
208
  // LendingPool
205
209
  lendingPool: {
@@ -92,6 +92,8 @@ import getApprovedForAll from "./nfts/getApprovalForAll";
92
92
  import setApprovalForAll from "./nfts/setApprovalForAll";
93
93
  import approveNFT from "./nfts/approveNFT";
94
94
  import vaultOpened from "./pools/lendingPool/vaultOpened";
95
+ import { getWithdrawRequestInfo as getStabilityPoolWithdrawRequestInfo } from "./pools/stabilityPool/getWithdrawRequestInfo";
96
+ import { requestWithdraw as requestStabilityPoolWithdraw } from "./pools/stabilityPool/requestWithdraw";
95
97
  declare class RPCLibrary {
96
98
  signer: Signer | null;
97
99
  isConnected: boolean;
@@ -156,6 +158,8 @@ declare class RPCLibrary {
156
158
  depositToStabilityPool: typeof depositToStabilityPool;
157
159
  withdrawFromStabilityPool: typeof withdrawFromStabilityPool;
158
160
  getRawUserDepositInStabilityPool: typeof getRawUserDepositInStabilityPool;
161
+ getWithdrawRequestInfo: typeof getStabilityPoolWithdrawRequestInfo;
162
+ requestWithdraw: typeof requestStabilityPoolWithdraw;
159
163
  };
160
164
  lendingPool: {
161
165
  getAdapters: typeof getAdapters;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raac/rpc",
3
- "version": "1.1.0-beta.43",
3
+ "version": "1.1.0-beta.45",
4
4
  "description": "RPC Library for RAAC ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",