@dhedge/backend-flatcoin-core 0.2.90 → 0.2.92

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.
@@ -44,7 +44,11 @@ export declare const Liquidate: {
44
44
  type: string;
45
45
  }[];
46
46
  name: string;
47
- outputs: never[];
47
+ outputs: {
48
+ internalType: string;
49
+ name: string;
50
+ type: string;
51
+ }[];
48
52
  stateMutability: string;
49
53
  type: string;
50
54
  }[];
@@ -55,7 +59,11 @@ export declare const LiquidateWithoutPriceFeeds: {
55
59
  type: string;
56
60
  }[];
57
61
  name: string;
58
- outputs: never[];
62
+ outputs: {
63
+ internalType: string;
64
+ name: string;
65
+ type: string;
66
+ }[];
59
67
  stateMutability: string;
60
68
  type: string;
61
69
  }[];
@@ -99,9 +99,9 @@ exports.Liquidate = [
99
99
  {
100
100
  inputs: [
101
101
  {
102
- internalType: 'uint256',
102
+ internalType: 'uint256[]',
103
103
  name: 'tokenID',
104
- type: 'uint256',
104
+ type: 'uint256[]',
105
105
  },
106
106
  {
107
107
  internalType: 'bytes[]',
@@ -110,7 +110,13 @@ exports.Liquidate = [
110
110
  },
111
111
  ],
112
112
  name: 'liquidate',
113
- outputs: [],
113
+ outputs: [
114
+ {
115
+ internalType: 'uint256[]',
116
+ name: 'liquidatedIds',
117
+ type: 'uint256[]',
118
+ },
119
+ ],
114
120
  stateMutability: 'payable',
115
121
  type: 'function',
116
122
  },
@@ -119,13 +125,19 @@ exports.LiquidateWithoutPriceFeeds = [
119
125
  {
120
126
  inputs: [
121
127
  {
122
- internalType: 'uint256',
123
- name: 'tokenId',
124
- type: 'uint256',
128
+ internalType: 'uint256[]',
129
+ name: 'tokenID',
130
+ type: 'uint256[]',
125
131
  },
126
132
  ],
127
133
  name: 'liquidate',
128
- outputs: [],
134
+ outputs: [
135
+ {
136
+ internalType: 'uint256[]',
137
+ name: 'liquidatedIds',
138
+ type: 'uint256[]',
139
+ },
140
+ ],
129
141
  stateMutability: 'nonpayable',
130
142
  type: 'function',
131
143
  },
package/dist/index.d.ts CHANGED
@@ -5,3 +5,4 @@ export * from './constants';
5
5
  export * from './repository';
6
6
  export * from './service';
7
7
  export * from './dto';
8
+ export * from './module';
package/dist/index.js CHANGED
@@ -21,3 +21,4 @@ __exportStar(require("./constants"), exports);
21
21
  __exportStar(require("./repository"), exports);
22
22
  __exportStar(require("./service"), exports);
23
23
  __exportStar(require("./dto"), exports);
24
+ __exportStar(require("./module"), exports);
@@ -0,0 +1 @@
1
+ export * from './multichain-config.module';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./multichain-config.module"), exports);
@@ -0,0 +1,2 @@
1
+ export declare class MultichainConfigModule {
2
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.MultichainConfigModule = void 0;
10
+ const repository_1 = require("../repository");
11
+ const entity_1 = require("../entity");
12
+ const typeorm_1 = require("@nestjs/typeorm");
13
+ const common_1 = require("@nestjs/common");
14
+ const service_1 = require("../service");
15
+ let MultichainConfigModule = class MultichainConfigModule {
16
+ };
17
+ exports.MultichainConfigModule = MultichainConfigModule;
18
+ exports.MultichainConfigModule = MultichainConfigModule = __decorate([
19
+ (0, common_1.Module)({
20
+ imports: [typeorm_1.TypeOrmModule.forFeature([entity_1.MultichainConfig])],
21
+ providers: [repository_1.MultichainConfigRepository, service_1.MultichainConfigService, common_1.Logger],
22
+ exports: [service_1.MultichainConfigService],
23
+ })
24
+ ], MultichainConfigModule);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhedge/backend-flatcoin-core",
3
- "version": "0.2.90",
3
+ "version": "0.2.92",
4
4
  "description": "Backend Flatcoin Core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",