@cloudpss/ubrpc 0.5.17 → 0.5.18

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 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/types/utils.ts"],"names":[],"mappings":";AA6DA,gBAAgB;AAChB,qBAAqB;AACrB,qBAAqB;AACrB,8CAA8C;AAC9C,0DAA0D;AAC1D,gDAAgD;AAChD,gEAAgE;AAChE,+CAA+C;AAC/C,mDAAmD;AACnD,6BAA6B;AAC7B,mEAAmE;AACnE,0DAA0D;AAC1D,+CAA+C;AAC/C,4DAA4D;AAC5D,8DAA8D;AAC9D,8CAA8C;AAC9C,2DAA2D;AAC3D,IAAI;AAEJ,uBAAuB;AACvB,wBAAwB;AACxB,6BAA6B;AAE7B,yBAAyB;AACzB,0BAA0B;AAE1B,sBAAsB;AACtB,cAAc"}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/types/utils.ts"],"names":[],"mappings":";AA8DA,gBAAgB;AAChB,qBAAqB;AACrB,qBAAqB;AACrB,8CAA8C;AAC9C,0DAA0D;AAC1D,gDAAgD;AAChD,gEAAgE;AAChE,+CAA+C;AAC/C,mDAAmD;AACnD,6BAA6B;AAC7B,mEAAmE;AACnE,0DAA0D;AAC1D,+CAA+C;AAC/C,4DAA4D;AAC5D,8DAA8D;AAC9D,8CAA8C;AAC9C,2DAA2D;AAC3D,IAAI;AAEJ,uBAAuB;AACvB,wBAAwB;AACxB,6BAA6B;AAE7B,yBAAyB;AACzB,0BAA0B;AAE1B,sBAAsB;AACtB,cAAc"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudpss/ubrpc",
3
- "version": "0.5.17",
3
+ "version": "0.5.18",
4
4
  "author": "CloudPSS",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -19,8 +19,8 @@
19
19
  "dependencies": {
20
20
  "rxjs": "^7.8.1",
21
21
  "uuid": "^9.0.1",
22
- "@cloudpss/fetch": "~0.5.17",
23
- "@cloudpss/ubjson": "~0.5.17"
22
+ "@cloudpss/fetch": "~0.5.18",
23
+ "@cloudpss/ubjson": "~0.5.18"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/uuid": "^9.0.8",
@@ -8,13 +8,14 @@ export type ObservableLike<T> = Observable<T> | InteropObservable<T> | AsyncIter
8
8
  type IsEqual<A, B> = (<G>() => G extends A ? 1 : 2) extends <G>() => G extends B ? 1 : 2 ? true : false;
9
9
 
10
10
  /** 作为通知输出的方法 */
11
- type IsNotificationReturn<R> = IsEqual<R, void> extends true
12
- ? true
13
- : IsEqual<R, undefined> extends true
14
- ? true
15
- : R extends PromiseLike<void> | void
11
+ type IsNotificationReturn<R> =
12
+ IsEqual<R, void> extends true
16
13
  ? true
17
- : false;
14
+ : IsEqual<R, undefined> extends true
15
+ ? true
16
+ : R extends PromiseLike<void> | void
17
+ ? true
18
+ : false;
18
19
 
19
20
  /** 作为 Observable 输出的方法 */
20
21
  type ObservableReturn = ObservableLike<any> | PromiseLike<ObservableLike<any>>;