@blocklet/sdk 1.16.38-beta-20250123-083218-c7ea9693 → 1.16.38-beta-20250126-132712-f36c6a8b

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.
@@ -65,7 +65,7 @@ const getRequestHeaders = () => ({ 'User-Agent': `BlockletSDK/${VERSION}` });
65
65
  * @returns
66
66
  */
67
67
  const sendToUser = async (receiver, notification, { appDid, appSk, type }, port = process.env.ABT_NODE_SERVICE_PORT, options = {}, pathname = 'send-to-user') => {
68
- if (['send-to-user', 'send-to-push-kit'].includes(pathname)) {
68
+ if (['send-to-user', 'send-to-push-kit', 'send-to-wallet'].includes(pathname)) {
69
69
  await (0, index_1.validateReceiver)(receiver);
70
70
  }
71
71
  if (pathname === 'send-to-mail') {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.38-beta-20250123-083218-c7ea9693",
6
+ "version": "1.16.38-beta-20250126-132712-f36c6a8b",
7
7
  "description": "graphql client to read/write data on abt node",
8
8
  "main": "lib/index.js",
9
9
  "typings": "lib/index.d.ts",
@@ -27,22 +27,22 @@
27
27
  "author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@abtnode/client": "1.16.38-beta-20250123-083218-c7ea9693",
31
- "@abtnode/constant": "1.16.38-beta-20250123-083218-c7ea9693",
32
- "@abtnode/util": "1.16.38-beta-20250123-083218-c7ea9693",
33
- "@arcblock/did": "1.19.4",
34
- "@arcblock/did-auth": "1.19.4",
35
- "@arcblock/jwt": "1.19.4",
36
- "@arcblock/ws": "1.19.4",
37
- "@blocklet/constant": "1.16.38-beta-20250123-083218-c7ea9693",
38
- "@blocklet/env": "1.16.38-beta-20250123-083218-c7ea9693",
39
- "@blocklet/meta": "1.16.38-beta-20250123-083218-c7ea9693",
40
- "@did-connect/authenticator": "^2.2.4",
41
- "@did-connect/handler": "^2.2.4",
30
+ "@abtnode/client": "1.16.38-beta-20250126-132712-f36c6a8b",
31
+ "@abtnode/constant": "1.16.38-beta-20250126-132712-f36c6a8b",
32
+ "@abtnode/util": "1.16.38-beta-20250126-132712-f36c6a8b",
33
+ "@arcblock/did": "1.19.6",
34
+ "@arcblock/did-auth": "1.19.6",
35
+ "@arcblock/jwt": "1.19.6",
36
+ "@arcblock/ws": "1.19.6",
37
+ "@blocklet/constant": "1.16.38-beta-20250126-132712-f36c6a8b",
38
+ "@blocklet/env": "1.16.38-beta-20250126-132712-f36c6a8b",
39
+ "@blocklet/meta": "1.16.38-beta-20250126-132712-f36c6a8b",
40
+ "@did-connect/authenticator": "^2.2.7",
41
+ "@did-connect/handler": "^2.2.7",
42
42
  "@nedb/core": "^2.1.5",
43
- "@ocap/mcrypto": "1.19.4",
44
- "@ocap/util": "1.19.4",
45
- "@ocap/wallet": "1.19.4",
43
+ "@ocap/mcrypto": "1.19.6",
44
+ "@ocap/util": "1.19.6",
45
+ "@ocap/wallet": "1.19.6",
46
46
  "axios": "^1.7.9",
47
47
  "cheerio": "1.0.0-rc.12",
48
48
  "debug": "^4.3.7",
@@ -82,5 +82,5 @@
82
82
  "ts-node": "^10.9.1",
83
83
  "typescript": "^5.6.3"
84
84
  },
85
- "gitHead": "7a5401105e25590871ad579ade72ab3097cc29ba"
85
+ "gitHead": "b50fbfb7039f5c8a5bd4825d68d9504f00c539fb"
86
86
  }