@botpress/sdk 0.8.36 → 0.8.38

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,12 +1,12 @@
1
1
 
2
- > @botpress/sdk@0.8.36 build /home/runner/work/botpress/botpress/packages/sdk
2
+ > @botpress/sdk@0.8.38 build /home/runner/work/botpress/botpress/packages/sdk
3
3
  > pnpm build:type && pnpm build:node
4
4
 
5
5
 
6
- > @botpress/sdk@0.8.36 build:type /home/runner/work/botpress/botpress/packages/sdk
6
+ > @botpress/sdk@0.8.38 build:type /home/runner/work/botpress/botpress/packages/sdk
7
7
  > tsc --emitDeclarationOnly --declaration
8
8
 
9
9
 
10
- > @botpress/sdk@0.8.36 build:node /home/runner/work/botpress/botpress/packages/sdk
10
+ > @botpress/sdk@0.8.38 build:node /home/runner/work/botpress/botpress/packages/sdk
11
11
  > ts-node -T build.ts
12
12
 
@@ -97,6 +97,9 @@ type StateResponse<TIntegration extends BaseIntegration, TState extends keyof TI
97
97
  state: Merge<Awaited<Res<Client['getState']>>['state'], {
98
98
  payload: TIntegration['states'][TState];
99
99
  }>;
100
+ meta: {
101
+ cached: boolean;
102
+ };
100
103
  };
101
104
  export type GetState<TIntegration extends BaseIntegration> = <TState extends keyof TIntegration['states']>(x: Merge<Arg<Client['getState']>, {
102
105
  name: Cast<TState, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/sdk",
3
- "version": "0.8.36",
3
+ "version": "0.8.38",
4
4
  "description": "Botpress SDK",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@bpinternal/zui": "0.9.3",
18
- "@botpress/client": "0.24.0"
18
+ "@botpress/client": "0.24.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^18.11.17",