@bpinternal/const 0.0.6 → 0.0.7

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/dist/index.cjs CHANGED
@@ -117,7 +117,8 @@ var prefixToObjectMap = {
117
117
  file: "file",
118
118
  flow: "flow",
119
119
  iak: "integrationApiKey",
120
- integ: "integration",
120
+ int: "integration",
121
+ intver: "integrationVersion",
121
122
  kb: "knowledgeBase",
122
123
  limit: "limit",
123
124
  media: "media",
@@ -149,7 +150,8 @@ var objectToPrefixMap = {
149
150
  event: "evt",
150
151
  file: "file",
151
152
  flow: "flow",
152
- integration: "integ",
153
+ integration: "int",
154
+ integrationVersion: "intver",
153
155
  integrationApiKey: "iak",
154
156
  knowledgeBase: "kb",
155
157
  limit: "limit",
package/dist/index.mjs CHANGED
@@ -87,7 +87,8 @@ var prefixToObjectMap = {
87
87
  file: "file",
88
88
  flow: "flow",
89
89
  iak: "integrationApiKey",
90
- integ: "integration",
90
+ int: "integration",
91
+ intver: "integrationVersion",
91
92
  kb: "knowledgeBase",
92
93
  limit: "limit",
93
94
  media: "media",
@@ -119,7 +120,8 @@ var objectToPrefixMap = {
119
120
  event: "evt",
120
121
  file: "file",
121
122
  flow: "flow",
122
- integration: "integ",
123
+ integration: "int",
124
+ integrationVersion: "intver",
123
125
  integrationApiKey: "iak",
124
126
  knowledgeBase: "kb",
125
127
  limit: "limit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Constant utilities for Botpress",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.mjs",
package/src/prefixes.ts CHANGED
@@ -12,7 +12,8 @@ export const prefixToObjectMap = {
12
12
  file: 'file',
13
13
  flow: 'flow',
14
14
  iak: 'integrationApiKey',
15
- integ: 'integration',
15
+ int: 'integration',
16
+ intver: 'integrationVersion',
16
17
  kb: 'knowledgeBase',
17
18
  limit: 'limit',
18
19
  media: 'media',
@@ -45,7 +46,8 @@ export const objectToPrefixMap: Reverser<typeof prefixToObjectMap> = {
45
46
  event: 'evt',
46
47
  file: 'file',
47
48
  flow: 'flow',
48
- integration: 'integ',
49
+ integration: 'int',
50
+ integrationVersion: 'intver',
49
51
  integrationApiKey: 'iak',
50
52
  knowledgeBase: 'kb',
51
53
  limit: 'limit',