@blocklet/sdk 1.8.51 → 1.8.52

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.
@@ -1,5 +1,5 @@
1
1
  import { AxiosResponse } from 'axios';
2
- export declare type MountPoint = {
2
+ export type MountPoint = {
3
3
  did: string;
4
4
  name: string;
5
5
  title: string;
package/lib/env.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare type BlockletPreferences = {
1
+ type BlockletPreferences = {
2
2
  [key: string]: any;
3
3
  };
4
4
  declare const env: Readonly<{
@@ -1,5 +1,5 @@
1
1
  import { NextFunction, Request, Response } from 'express';
2
- declare type User = {
2
+ type User = {
3
3
  did: string;
4
4
  role: string | undefined;
5
5
  fullName: string;
@@ -1,8 +1,8 @@
1
1
  import Client from '@abtnode/client';
2
- declare type PartialDeep<T> = {
2
+ type PartialDeep<T> = {
3
3
  [K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
4
4
  };
5
- declare type OmitTeamDid<T> = PartialDeep<Omit<T, 'teamDid'>>;
5
+ type OmitTeamDid<T> = PartialDeep<Omit<T, 'teamDid'>>;
6
6
  declare class AuthService {
7
7
  constructor(httpEndpoint?: string);
8
8
  }
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import EventEmitter from 'events';
3
3
  import { TNotificationInput, TSendOptions } from '../types/notification';
4
- declare type $TSFixMe = any;
4
+ type $TSFixMe = any;
5
5
  /**
6
6
  *
7
7
  * @param {Notification} notification
@@ -1,4 +1,4 @@
1
- export declare type TChannelEvent = string;
1
+ export type TChannelEvent = string;
2
2
  export interface TDataAsset {
3
3
  chainHost: string;
4
4
  did: unknown;
@@ -32,7 +32,7 @@ export interface TMessage {
32
32
  };
33
33
  type: string;
34
34
  }
35
- export declare type TNotification = TNotificationItem | TNotificationConnect | TNotificationFeed;
35
+ export type TNotification = TNotificationItem | TNotificationConnect | TNotificationFeed;
36
36
  export interface TNotificationAction {
37
37
  bgColor?: string;
38
38
  color?: string;
@@ -54,7 +54,7 @@ export interface TNotificationFeed {
54
54
  feedType: string;
55
55
  type?: 'feed';
56
56
  }
57
- export declare type TNotificationInput = TNotification[] | TNotification;
57
+ export type TNotificationInput = TNotification[] | TNotification;
58
58
  export interface TNotificationItem {
59
59
  actions?: TNotificationAction[];
60
60
  attachments?: TNotificationAttachment[];
@@ -1,5 +1,5 @@
1
1
  import { TNotificationInput, TSendOptions } from '../types/notification';
2
- export declare type TNotificationSender = {
2
+ export type TNotificationSender = {
3
3
  appDid: string;
4
4
  appSk: string;
5
5
  };
package/lib/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const version = "1.8.51";
1
+ declare const version = "1.8.52";
2
2
  export { version };
3
3
  declare const _default: {
4
4
  version: string;
package/lib/version.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- const version = '1.8.51';
4
+ const version = '1.8.52';
5
5
  exports.version = version;
6
6
  exports.default = { version };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.51",
6
+ "version": "1.8.52",
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",
@@ -26,18 +26,18 @@
26
26
  "author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "@abtnode/client": "1.8.51",
30
- "@abtnode/constant": "1.8.51",
31
- "@arcblock/did-auth": "1.18.32",
32
- "@arcblock/jwt": "1.18.32",
33
- "@arcblock/ws": "1.18.32",
34
- "@blocklet/constant": "1.8.51",
35
- "@blocklet/meta": "1.8.51",
36
- "@did-connect/authenticator": "^2.1.30",
37
- "@did-connect/handler": "^2.1.30",
38
- "@nedb/core": "^2.0.5",
39
- "@ocap/mcrypto": "1.18.32",
40
- "@ocap/wallet": "1.18.32",
29
+ "@abtnode/client": "1.8.52",
30
+ "@abtnode/constant": "1.8.52",
31
+ "@arcblock/did-auth": "1.18.34",
32
+ "@arcblock/jwt": "1.18.34",
33
+ "@arcblock/ws": "1.18.34",
34
+ "@blocklet/constant": "1.8.52",
35
+ "@blocklet/meta": "1.8.52",
36
+ "@did-connect/authenticator": "^2.1.32",
37
+ "@did-connect/handler": "^2.1.32",
38
+ "@nedb/core": "^2.0.7",
39
+ "@ocap/mcrypto": "1.18.34",
40
+ "@ocap/wallet": "1.18.34",
41
41
  "axios": "^0.27.2",
42
42
  "fs-extra": "^10.1.0",
43
43
  "joi": "17.7.0",
@@ -48,7 +48,7 @@
48
48
  "url-join": "^4.0.1"
49
49
  },
50
50
  "resolutions": {
51
- "@nedb/core": "^2.0.5"
51
+ "@nedb/core": "^2.0.7"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@arcblock/eslint-config-ts": "^0.2.3",
@@ -69,5 +69,5 @@
69
69
  "ts-node": "^10.9.1",
70
70
  "typescript": "^4.8.4"
71
71
  },
72
- "gitHead": "30e929da51edaa22104c4de4e3d1661d790c578c"
72
+ "gitHead": "80217320b7cbd8c815172f8a985584586c32e858"
73
73
  }