@iotexproject/kit 0.1.6 → 0.1.8

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 +3 -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,13 +2,14 @@
2
2
  "name": "@iotexproject/kit",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "v0.1.6",
5
+ "version": "v0.1.8",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {
9
9
  "dev": "bun run build && bun run --watch server-kit.ts",
10
10
  "dev-db": "bun server-db.ts",
11
11
  "dev-iotexscan": "bun server-iotexscan.ts",
12
+ "dev-pebble": "bun run build && bun run --watch server-pebble.ts",
12
13
  "test": "bun --hot run tests/test-marshalldao.ts",
13
14
  "build": "bun run build.mjs",
14
15
  "prepublishOnly": "bun run build",
@@ -31,6 +32,7 @@
31
32
  "crypto-js": "^4.2.0",
32
33
  "dataloader": "^2.2.2",
33
34
  "dayjs": "^1.11.12",
35
+ "ethers": "^6.13.2",
34
36
  "graphql-request": "^7.1.0",
35
37
  "ioredis": "^5.4.1",
36
38
  "lru-cache": "^11.0.0",