@iotexproject/kit 0.0.93 → 0.0.95

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 +29 -21
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -2535,6 +2535,33 @@ declare class LPTokenEntity {
2535
2535
  transfer: (to: `0x${string}`, value: string) => Promise<any>;
2536
2536
  transferFrom: (from: `0x${string}`, to: `0x${string}`, value: string) => Promise<any>;
2537
2537
  }
2538
+ export interface IoIDDevice {
2539
+ deviceId: string;
2540
+ owner: string;
2541
+ project: {
2542
+ name: string;
2543
+ metadata: {
2544
+ value: string;
2545
+ }[];
2546
+ };
2547
+ did: string;
2548
+ tokenId: string;
2549
+ wallet: string;
2550
+ walletBalance: {
2551
+ value: string;
2552
+ format: string;
2553
+ originFormat: string;
2554
+ decimals: string;
2555
+ isZero: boolean;
2556
+ };
2557
+ metadata: {
2558
+ logo: string;
2559
+ twitter?: string;
2560
+ website?: string;
2561
+ desc?: string;
2562
+ github?: string;
2563
+ } | null;
2564
+ }
2538
2565
  export type ProjectMetadata = {
2539
2566
  logo: string;
2540
2567
  twitter?: string;
@@ -4103,6 +4130,7 @@ declare class IoID {
4103
4130
  }): Promise<import("@dappworks/kit/aiem").QueryReturnType<VerifyingProxyEntity, {
4104
4131
  address: true;
4105
4132
  chainId: true;
4133
+ projectId: true;
4106
4134
  projectActivedAmount: true;
4107
4135
  projectAppliedAmount: true;
4108
4136
  projectName: true;
@@ -4184,27 +4212,7 @@ declare class IoID {
4184
4212
  }>;
4185
4213
  registedDevices(args: {
4186
4214
  address: `0x${string}`;
4187
- }): Promise<{
4188
- metadata: any;
4189
- deviceId: string;
4190
- owner: string;
4191
- project: {
4192
- name: string;
4193
- metadata: {
4194
- value: string;
4195
- }[];
4196
- };
4197
- did: string;
4198
- tokenId: string;
4199
- wallet: string;
4200
- walletBalance: {
4201
- value: string;
4202
- format: string;
4203
- originFormat: string;
4204
- decimals: string;
4205
- isZero: boolean;
4206
- };
4207
- }[] | {
4215
+ }): Promise<IoIDDevice[] | {
4208
4216
  error: unknown;
4209
4217
  }>;
4210
4218
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@iotexproject/kit",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "v0.0.93",
5
+ "version": "v0.0.95",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {