@xoxno/types 1.0.240 → 1.0.241

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.
@@ -0,0 +1,7 @@
1
+ declare class TransactionCostData {
2
+ txGasUnits: number;
3
+ }
4
+ export declare class TransactionCost {
5
+ data: TransactionCostData;
6
+ }
7
+ export {};
@@ -0,0 +1,26 @@
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
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.TransactionCost = void 0;
13
+ const swagger_1 = require("@nestjs/swagger");
14
+ class TransactionCostData {
15
+ }
16
+ __decorate([
17
+ (0, swagger_1.ApiProperty)(),
18
+ __metadata("design:type", Number)
19
+ ], TransactionCostData.prototype, "txGasUnits", void 0);
20
+ class TransactionCost {
21
+ }
22
+ exports.TransactionCost = TransactionCost;
23
+ __decorate([
24
+ (0, swagger_1.ApiProperty)(),
25
+ __metadata("design:type", TransactionCostData)
26
+ ], TransactionCost.prototype, "data", void 0);
package/dist/index.d.ts CHANGED
@@ -145,6 +145,7 @@ export * from './entities/token-data/metrics';
145
145
  export * from './entities/token-data/token-data.doc';
146
146
  export * from './entities/token-data/xoxno-liquid-stats.dto';
147
147
  export * from './entities/transactions/smart-contract-result';
148
+ export * from './entities/transactions/transaction-cost';
148
149
  export * from './entities/transactions/transaction-create';
149
150
  export * from './entities/transactions/transaction-detailed';
150
151
  export * from './entities/transactions/transaction-log-event';
package/dist/index.js CHANGED
@@ -161,6 +161,7 @@ __exportStar(require("./entities/token-data/metrics"), exports);
161
161
  __exportStar(require("./entities/token-data/token-data.doc"), exports);
162
162
  __exportStar(require("./entities/token-data/xoxno-liquid-stats.dto"), exports);
163
163
  __exportStar(require("./entities/transactions/smart-contract-result"), exports);
164
+ __exportStar(require("./entities/transactions/transaction-cost"), exports);
164
165
  __exportStar(require("./entities/transactions/transaction-create"), exports);
165
166
  __exportStar(require("./entities/transactions/transaction-detailed"), exports);
166
167
  __exportStar(require("./entities/transactions/transaction-log-event"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.240",
3
+ "version": "1.0.241",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {