@markee_team/sdk 0.1.0-alpha.21 → 0.1.0-alpha.23

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/dist/types.d.ts CHANGED
@@ -1,3 +1,17 @@
1
+ export interface MessageCheck {
2
+ enabled: boolean;
3
+ state: 'pass' | 'soft-flagged' | 'unavailable';
4
+ contentHash: string;
5
+ engine: string;
6
+ policyVersion: string;
7
+ reason?: string;
8
+ }
9
+ export interface EntryModeration {
10
+ state: 'visible' | 'manual-flagged' | 'soft-flagged' | 'unavailable';
11
+ contentHash: string;
12
+ reason?: string;
13
+ policyVersion: string;
14
+ }
1
15
  export type Address = `0x${string}`;
2
16
  export type Hex = `0x${string}`;
3
17
  export type Placement = {
@@ -18,6 +32,7 @@ export interface Entry {
18
32
  totalFunds: string;
19
33
  aggregateRate: string;
20
34
  legacyFloor: string;
35
+ moderation?: EntryModeration;
21
36
  moderated: boolean | null;
22
37
  views: number | null;
23
38
  }
@@ -57,6 +72,7 @@ export interface CommunityState {
57
72
  };
58
73
  }
59
74
  export interface Snapshot {
75
+ autoModerationEnabled?: boolean;
60
76
  freshness?: {
61
77
  updatedAt: number;
62
78
  freshUntil: number;
@@ -68,6 +84,7 @@ export interface Snapshot {
68
84
  placement: Placement;
69
85
  board: Address | null;
70
86
  chainId: number;
87
+ beneficiary?: Address | null;
71
88
  strategy: 'sale' | 'rent';
72
89
  name: string;
73
90
  minimum: string;
@@ -137,6 +154,7 @@ export interface PreparedAction {
137
154
  gas: Hex;
138
155
  };
139
156
  review: {
157
+ moderation?: MessageCheck;
140
158
  title: string;
141
159
  lines: string[];
142
160
  estimatedGasCost: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markee_team/sdk",
3
- "version": "0.1.0-alpha.21",
3
+ "version": "0.1.0-alpha.23",
4
4
  "description": "Self-contained Markee modal and API client, with an optional React adapter.",
5
5
  "type": "module",
6
6
  "sideEffects": false,