@botpress/messaging-client
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -0,0 +0,0 @@ import { Conversation, Endpoint, HealthReport, Message, SyncRequest, SyncResult, User, uuid } from '@botpress/messaging-base'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface MessagingClientAuth { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { uuid } from '@botpress/messaging-base'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Router } from 'express'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Conversation, Endpoint, HealthReport, Message, SyncRequest, SyncResult, User, uuid } from '@botpress/messaging-base'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { uuid } from '@botpress/messaging-base'; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const handleNotFound: <U, T, F extends Function = () => U>(func: F, returnValue: T) => Promise<U | T>; | ||
export declare const handleUnauthorized: <U, T, F extends Function = () => U>(func: F, returnValue: T) => Promise<U | T>; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Message, uuid } from '@botpress/messaging-base'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ export * from '@botpress/messaging-base'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** Interface for a logger that can be used to get better debugging */ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { uuid } from '@botpress/messaging-base'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@botpress/messaging-client", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"main": "dist/index.js", | ||
@@ -45,3 +45,3 @@ "types": "dist/index.d.ts", | ||
"@botpress/messaging-base": "1.2.0", | ||
"axios": "^0.21.4", | ||
"axios": "^0.27.2", | ||
"cookie": "^0.4.2", | ||
@@ -57,2 +57,2 @@ "joi": "^17.6.0" | ||
"author": "" | ||
} | ||
} |
@@ -20,2 +20,5 @@ # Botpress Messaging Client | ||
```ts | ||
// ensure your Express app has the json middleware | ||
app.use(express.json()) | ||
// initialize client with your credentials | ||
@@ -22,0 +25,0 @@ const client = new MessagingClient({ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
58
60626
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@0.27.2(transitive)
+ Addedcall-bind-apply-helpers@1.0.2(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.1.1(transitive)
+ Addedes-set-tostringtag@2.1.0(transitive)
+ Addedform-data@4.0.2(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.3.0(transitive)
+ Addedget-proto@1.0.1(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
- Removedaxios@0.21.4(transitive)
Updatedaxios@^0.27.2