@iotexproject/kit 0.1.6 → 0.1.7

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 +10 -0
  2. package/package.json +2 -1
package/dist/index.d.ts CHANGED
@@ -4251,6 +4251,16 @@ declare class IoID {
4251
4251
  data?: undefined;
4252
4252
  chainId?: undefined;
4253
4253
  }>;
4254
+ did_hex(args: {
4255
+ did: `0x${string}`;
4256
+ owner: `0x${string}`;
4257
+ }, ctx?: ConfigContext): Promise<{
4258
+ hex: string;
4259
+ error?: undefined;
4260
+ } | {
4261
+ error: unknown;
4262
+ hex?: undefined;
4263
+ }>;
4254
4264
  }
4255
4265
  declare class VoterEntity {
4256
4266
  address: `0x${string}`;
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.1.6",
5
+ "version": "v0.1.7",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {
@@ -31,6 +31,7 @@
31
31
  "crypto-js": "^4.2.0",
32
32
  "dataloader": "^2.2.2",
33
33
  "dayjs": "^1.11.12",
34
+ "ethers": "5.7.2",
34
35
  "graphql-request": "^7.1.0",
35
36
  "ioredis": "^5.4.1",
36
37
  "lru-cache": "^11.0.0",