@xoxno/types 1.0.357 → 1.0.359

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,6 @@
1
+ import { ContractSignatureType } from '../../enums/passkey.enum';
2
+ export declare class PasskeyCreateRequest {
3
+ type: ContractSignatureType;
4
+ signature: string;
5
+ publicKey: string;
6
+ }
@@ -0,0 +1,29 @@
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.PasskeyCreateRequest = void 0;
13
+ const swagger_1 = require("@nestjs/swagger");
14
+ const passkey_enum_1 = require("../../enums/passkey.enum");
15
+ class PasskeyCreateRequest {
16
+ }
17
+ exports.PasskeyCreateRequest = PasskeyCreateRequest;
18
+ __decorate([
19
+ (0, swagger_1.ApiProperty)(),
20
+ __metadata("design:type", String)
21
+ ], PasskeyCreateRequest.prototype, "type", void 0);
22
+ __decorate([
23
+ (0, swagger_1.ApiProperty)(),
24
+ __metadata("design:type", String)
25
+ ], PasskeyCreateRequest.prototype, "signature", void 0);
26
+ __decorate([
27
+ (0, swagger_1.ApiProperty)(),
28
+ __metadata("design:type", String)
29
+ ], PasskeyCreateRequest.prototype, "publicKey", void 0);
@@ -2,4 +2,5 @@ export declare class Passkey {
2
2
  id: string;
3
3
  publicKey: string;
4
4
  counter: number;
5
+ rpId: string;
5
6
  }
@@ -26,3 +26,7 @@ __decorate([
26
26
  (0, swagger_1.ApiProperty)(),
27
27
  __metadata("design:type", Number)
28
28
  ], Passkey.prototype, "counter", void 0);
29
+ __decorate([
30
+ (0, swagger_1.ApiProperty)(),
31
+ __metadata("design:type", String)
32
+ ], Passkey.prototype, "rpId", void 0);
@@ -40,6 +40,7 @@ export * from "./notification-data-type.enum";
40
40
  export * from "./notification-template.enum";
41
41
  export * from "./offers.enum";
42
42
  export * from "./order-by-column.enum";
43
+ export * from "./passkey.enum";
43
44
  export * from "./payment-provider.enum";
44
45
  export * from "./perp.enum";
45
46
  export * from "./purchase-type.enum";
@@ -56,6 +56,7 @@ __exportStar(require("./notification-data-type.enum"), exports);
56
56
  __exportStar(require("./notification-template.enum"), exports);
57
57
  __exportStar(require("./offers.enum"), exports);
58
58
  __exportStar(require("./order-by-column.enum"), exports);
59
+ __exportStar(require("./passkey.enum"), exports);
59
60
  __exportStar(require("./payment-provider.enum"), exports);
60
61
  __exportStar(require("./perp.enum"), exports);
61
62
  __exportStar(require("./purchase-type.enum"), exports);
@@ -0,0 +1,6 @@
1
+ export declare enum ContractSignatureType {
2
+ PASSKEY = "PASSKEY",
3
+ MVX = "MVX",
4
+ EVM = "EVM",
5
+ SOL = "SOL"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ContractSignatureType = void 0;
4
+ var ContractSignatureType;
5
+ (function (ContractSignatureType) {
6
+ ContractSignatureType["PASSKEY"] = "PASSKEY";
7
+ ContractSignatureType["MVX"] = "MVX";
8
+ ContractSignatureType["EVM"] = "EVM";
9
+ ContractSignatureType["SOL"] = "SOL";
10
+ })(ContractSignatureType || (exports.ContractSignatureType = ContractSignatureType = {}));
package/dist/index.d.ts CHANGED
@@ -132,6 +132,7 @@ export * from './entities/notification-data/notification-success-response.dto';
132
132
  export * from './entities/notification-data/notification-template';
133
133
  export * from './entities/notification-data/push-notification.doc';
134
134
  export * from './entities/notification-data/tag-priority';
135
+ export * from './entities/passkey/create';
135
136
  export * from './entities/passkey/passkey';
136
137
  export * from './entities/passkey/request';
137
138
  export * from './entities/perp/coins';
package/dist/index.js CHANGED
@@ -148,6 +148,7 @@ __exportStar(require("./entities/notification-data/notification-success-response
148
148
  __exportStar(require("./entities/notification-data/notification-template"), exports);
149
149
  __exportStar(require("./entities/notification-data/push-notification.doc"), exports);
150
150
  __exportStar(require("./entities/notification-data/tag-priority"), exports);
151
+ __exportStar(require("./entities/passkey/create"), exports);
151
152
  __exportStar(require("./entities/passkey/passkey"), exports);
152
153
  __exportStar(require("./entities/passkey/request"), exports);
153
154
  __exportStar(require("./entities/perp/coins"), exports);
@@ -237,6 +238,7 @@ __exportStar(require("./enums/notification-data-type.enum"), exports);
237
238
  __exportStar(require("./enums/notification-template.enum"), exports);
238
239
  __exportStar(require("./enums/offers.enum"), exports);
239
240
  __exportStar(require("./enums/order-by-column.enum"), exports);
241
+ __exportStar(require("./enums/passkey.enum"), exports);
240
242
  __exportStar(require("./enums/payment-provider.enum"), exports);
241
243
  __exportStar(require("./enums/perp.enum"), exports);
242
244
  __exportStar(require("./enums/purchase-type.enum"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.357",
3
+ "version": "1.0.359",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {