@xoxno/types 1.0.14 → 1.0.15

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.
@@ -1,6 +1,5 @@
1
1
  import { ActivityChain } from '../../common/enums';
2
- export type IAirdropRaw = {
3
- wallet: string;
2
+ declare class AirdropRawClass {
4
3
  tokenAllocation: number;
5
4
  totalScore: number;
6
5
  rank: number;
@@ -10,6 +9,9 @@ export type IAirdropRaw = {
10
9
  data: string;
11
10
  };
12
11
  amount?: string;
12
+ }
13
+ export type AirdropRaw = AirdropRawClass & {
14
+ wallet: string;
13
15
  };
14
16
  export interface Wallet {
15
17
  address: string;
@@ -19,15 +21,7 @@ export interface Wallet {
19
21
  isVerified: boolean;
20
22
  chain?: ActivityChain;
21
23
  }
22
- export type IAirdrop = {
24
+ export declare class Airdrop extends AirdropRawClass {
23
25
  wallet: Wallet;
24
- tokenAllocation: number;
25
- totalScore: number;
26
- rank: number;
27
- isClaimed?: boolean;
28
- signature?: {
29
- signature: string;
30
- data: string;
31
- };
32
- amount?: string;
33
- };
26
+ }
27
+ export {};
@@ -1,2 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Airdrop = void 0;
4
+ class AirdropRawClass {
5
+ }
6
+ class Airdrop extends AirdropRawClass {
7
+ }
8
+ exports.Airdrop = Airdrop;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",