@iotexproject/kit 0.0.95 → 0.0.97

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 +25 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4109,8 +4109,8 @@ declare class VerifyingProxyEntity {
4109
4109
  ];
4110
4110
  owner: () => Promise<any>;
4111
4111
  verifier: () => Promise<any>;
4112
- deviceNFT: () => Promise<any>;
4113
4112
  deviceGauge: GaugeEntity;
4113
+ projectDeviceAllowance(): Promise<number | null>;
4114
4114
  projectMetadata(): Promise<ProjectMetadata | null>;
4115
4115
  projectAppliedAmount(): Promise<string>;
4116
4116
  projectActivedAmount(): Promise<string>;
@@ -4119,10 +4119,12 @@ declare class VerifyingProxyEntity {
4119
4119
  projectAddress(): Promise<"" | `0x${string}`>;
4120
4120
  project(): Promise<string>;
4121
4121
  projectName(): Promise<string>;
4122
+ deviceNFT(): Promise<"" | `0x${string}`>;
4122
4123
  projectType(): Promise<number | "">;
4123
4124
  setDeviceGauge: (_gauge: `0x${string}`) => Promise<any>;
4124
4125
  setMetadata: (_name: string, _value: `0x${string}`) => Promise<any>;
4125
4126
  applyIoIDs: (_amount: string) => Promise<any>;
4127
+ incrementMinterAllowance: (_amount: string) => Promise<any>;
4126
4128
  }
4127
4129
  declare class IoID {
4128
4130
  verfiyerProxyList(args: {
@@ -4137,6 +4139,7 @@ declare class IoID {
4137
4139
  projectType: true;
4138
4140
  projectMetadata: true;
4139
4141
  deviceNFT: true;
4142
+ projectDeviceAllowance: true;
4140
4143
  verifier: true;
4141
4144
  deviceGauge: {
4142
4145
  address: true;
@@ -4180,6 +4183,20 @@ declare class IoID {
4180
4183
  data?: undefined;
4181
4184
  chainId?: undefined;
4182
4185
  }>;
4186
+ incrementMinterAllowance(args: {
4187
+ amount: string;
4188
+ address: `0x${string}`;
4189
+ }): Promise<{
4190
+ address: `0x${string}`;
4191
+ data: any;
4192
+ chainId: string;
4193
+ error?: undefined;
4194
+ } | {
4195
+ error: unknown;
4196
+ address?: undefined;
4197
+ data?: undefined;
4198
+ chainId?: undefined;
4199
+ }>;
4183
4200
  applyIoIDs(args: {
4184
4201
  address: `0x${string}`;
4185
4202
  amount: number;
@@ -8421,15 +8438,18 @@ declare class Transaction extends BaseDBModule {
8421
8438
  startCursor: any;
8422
8439
  endCursor: any;
8423
8440
  }>;
8441
+ getAllTransactionsWithAssetsCountByAccount({ address }: {
8442
+ address: string;
8443
+ }): Promise<any>;
8424
8444
  getAllTransactionsWithAssetsByAccount({ address, pageSize, startCursor, endCursor }: {
8425
8445
  address: string;
8426
8446
  pageSize?: number;
8427
- startCursor?: number;
8428
- endCursor?: number;
8447
+ startCursor?: string;
8448
+ endCursor?: string;
8429
8449
  }): Promise<{
8430
8450
  data: import("postgres").Row[];
8431
- startCursor: any;
8432
- endCursor: any;
8451
+ endCursor: string;
8452
+ startCursor: string;
8433
8453
  }>;
8434
8454
  }
8435
8455
  declare class Contract extends BaseDBModule {
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.95",
5
+ "version": "v0.0.97",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {