@iotexproject/kit 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +13 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -9360,6 +9360,13 @@ export type DelegateMember = {
9360
9360
  id: number;
9361
9361
  member_address: string;
9362
9362
  };
9363
+ export type MyProfileListItem = {
9364
+ candidate_meta_id: number;
9365
+ profile_address: string;
9366
+ member_address: string;
9367
+ name: string;
9368
+ owner_address: string;
9369
+ };
9363
9370
  declare class Delegate$1 extends BaseDBModule {
9364
9371
  upsertCandidateProfile(args: ProfileMeta): Promise<{
9365
9372
  status: string;
@@ -9452,6 +9459,12 @@ declare class Delegate$1 extends BaseDBModule {
9452
9459
  status: string;
9453
9460
  data: null;
9454
9461
  }>;
9462
+ getMyProfileList({ member_address }: {
9463
+ member_address: string;
9464
+ }): Promise<{
9465
+ status: string;
9466
+ data: MyProfileListItem[];
9467
+ }>;
9455
9468
  }
9456
9469
  declare const modules$1: {
9457
9470
  account: Account;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@iotexproject/kit",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "0.2.1",
5
+ "version": "0.2.2",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {