@gainsnetwork/sdk 0.1.0 → 0.1.1
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/lib/contracts/index.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export declare const getContractsForChain: (chainId: number, signerOrProvider?:
|
|
|
5
5
|
export declare const getContractsForChainByRequester: (chainId: number, requester: string, signerOrProvider?: Signer | Provider) => Contracts;
|
|
6
6
|
export * from "./utils";
|
|
7
7
|
export * from "./addresses";
|
|
8
|
+
export { CollateralTypes } from "./types";
|
package/lib/contracts/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.getContractsForChainByRequester = exports.getContractsForChain = void 0;
|
|
17
|
+
exports.CollateralTypes = exports.getContractsForChainByRequester = exports.getContractsForChain = void 0;
|
|
18
18
|
const addresses_1 = require("./addresses");
|
|
19
19
|
const factories_1 = require("./types/generated/factories");
|
|
20
20
|
const getContractsForChain = (chainId, signerOrProvider, collateral) => {
|
|
@@ -36,3 +36,5 @@ const getContractsForChainByRequester = (chainId, requester, signerOrProvider) =
|
|
|
36
36
|
exports.getContractsForChainByRequester = getContractsForChainByRequester;
|
|
37
37
|
__exportStar(require("./utils"), exports);
|
|
38
38
|
__exportStar(require("./addresses"), exports);
|
|
39
|
+
var types_1 = require("./types");
|
|
40
|
+
Object.defineProperty(exports, "CollateralTypes", { enumerable: true, get: function () { return types_1.CollateralTypes; } });
|