@iotexproject/kit 0.1.54 → 0.1.55

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 +5 -2
  2. package/package.json +2 -6
package/dist/index.d.ts CHANGED
@@ -6685,7 +6685,7 @@ declare class MSP {
6685
6685
  };
6686
6686
  amountUSD: number;
6687
6687
  };
6688
- totalAmount: () => Promise<{
6688
+ totalAmount: {
6689
6689
  totalAmount: {
6690
6690
  value: string;
6691
6691
  format: string;
@@ -6693,7 +6693,7 @@ declare class MSP {
6693
6693
  decimals: string;
6694
6694
  };
6695
6695
  totalAmountUSD: number;
6696
- }>;
6696
+ };
6697
6697
  owner: () => Promise<any>;
6698
6698
  unstakeTime: (_: `0x${string}`) => Promise<any>;
6699
6699
  withdrawTime: (staker: `0x${string}`) => Promise<any>;
@@ -8564,6 +8564,9 @@ declare class IoPay extends BaseDBModule {
8564
8564
  get_point_task(): Promise<import("postgres").RowList<import("postgres").Row[]>>;
8565
8565
  pushRegister(args: PushRegisterProps): Promise<any>;
8566
8566
  topicNewsletterRegister(args: TopicNewsletterRegisterProps): Promise<any>;
8567
+ updateNewsletterTopic({ deviceToken, news_push }: any): void;
8568
+ registerNewsletterTopic(deviceToken: string): void;
8569
+ unregisterNewsletterTopic(deviceToken: string): void;
8567
8570
  }
8568
8571
  declare class Mimo$1 extends BaseDBModule {
8569
8572
  metrics(): Promise<{
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.54",
5
+ "version": "v0.1.55",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {
@@ -13,9 +13,7 @@
13
13
  "test": "bun --hot run tests/test-marshalldao.ts",
14
14
  "build": "bun run build.mjs",
15
15
  "prepublishOnly": "bun run build",
16
- "gen:grpc": "protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./lib/grpc/generated -I ./lib/grpc/protos ./lib/grpc/protos/*.proto",
17
- "generate-prisma": "prisma generate --schema=./prisma/schema.prisma",
18
- "dev-db-with-prisma": "bun generate-prisma && bun server-db.ts"
16
+ "gen:grpc": "protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./lib/grpc/generated -I ./lib/grpc/protos ./lib/grpc/protos/*.proto"
19
17
  },
20
18
  "files": [
21
19
  "dist"
@@ -27,7 +25,6 @@
27
25
  "@grpc/proto-loader": "^0.7.13",
28
26
  "@iotexproject/iotex-address-ts": "^1.0.4",
29
27
  "@noble/curves": "^1.6.0",
30
- "@prisma/client": "^5.21.1",
31
28
  "@tryghost/content-api": "^1.11.21",
32
29
  "@types/bn.js": "^5.1.6",
33
30
  "@types/utf8": "^3.0.3",
@@ -74,7 +71,6 @@
74
71
  "grpc-tools": "^1.12.4",
75
72
  "grpc_tools_node_protoc_ts": "^5.3.3",
76
73
  "hono": "^4.4.11",
77
- "prisma": "^5.21.1",
78
74
  "protoc-gen-ts": "^0.8.7",
79
75
  "typescript": "^5.5.4"
80
76
  },