@based/server 3.1.0 → 3.1.1
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.
- package/.turbo/turbo-build.log +2 -2
- package/dist/Params.d.ts +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
[36m@based/server:build: [0mcache hit, replaying output [
|
|
1
|
+
[36m@based/server:build: [0mcache hit, replaying output [2mc8a19a5b836d2551[0m
|
|
2
2
|
[36m@based/server:build: [0m
|
|
3
|
-
[36m@based/server:build: [0m> @based/server@3.
|
|
3
|
+
[36m@based/server:build: [0m> @based/server@3.1.1 build
|
|
4
4
|
[36m@based/server:build: [0m> npx tsc
|
|
5
5
|
[36m@based/server:build: [0m
|
package/dist/Params.d.ts
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -9,9 +9,10 @@ import { ErrorObject, GenericObject, Based as BasedAdminClient } from '@based/cl
|
|
|
9
9
|
import { Readable } from 'stream';
|
|
10
10
|
export { Client };
|
|
11
11
|
export declare type CallParams = Omit<Params, 'update'>;
|
|
12
|
+
export declare type ObservableParams = Omit<Params, 'user'>;
|
|
12
13
|
export declare type DataListener = (data: GenericObject, checksum: number, error?: ErrorObject) => void;
|
|
13
14
|
export declare type ObservableFunction = {
|
|
14
|
-
function: (params:
|
|
15
|
+
function: (params: ObservableParams) => Promise<() => void>;
|
|
15
16
|
authorize?: (params: CallParams) => Promise<boolean>;
|
|
16
17
|
observable: true;
|
|
17
18
|
shared: boolean;
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA6B;AAapB,iBAbF,gBAAM,CAaE;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA6B;AAapB,iBAbF,gBAAM,CAaE;AAmCR,MAAM,cAAc,GAAG,CAC5B,EAAqC,EACjB,EAAE;IACtB,OAAO,EAAE,CAAC,UAAU,KAAK,KAAK,CAAA;AAChC,CAAC,CAAA;AAJY,QAAA,cAAc,kBAI1B;AAEM,MAAM,oBAAoB,GAAG,CAClC,EAAqC,EACX,EAAE;IAC5B,OAAO,EAAE,CAAC,UAAU,KAAK,IAAI,CAAA;AAC/B,CAAC,CAAA;AAJY,QAAA,oBAAoB,wBAIhC"}
|