@builderbot/provider-evolution-api 1.2.9 → 1.2.10-2.0
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":"core.d.ts","sourceRoot":"","sources":["../../src/evolution/core.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,aAAa,CAAA;AACtC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,KAAK,MAAM,eAAe,CAAA;AA0BtC;;;;GAIG;AACH,qBAAa,mBAAoB,SAAQ,YAAY;IACjD;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAO;IAE7B;;;OAGG;gBACS,MAAM,EAAE,KAAK;IAQzB;;;;OAIG;IACI,SAAS,EAAE,KAAK,CAAC,UAAU,CAQjC;IAED;;;;OAIG;IACI,WAAW,EAAE,KAAK,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/evolution/core.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,aAAa,CAAA;AACtC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,KAAK,MAAM,eAAe,CAAA;AA0BtC;;;;GAIG;AACH,qBAAa,mBAAoB,SAAQ,YAAY;IACjD;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAO;IAE7B;;;OAGG;gBACS,MAAM,EAAE,KAAK;IAQzB;;;;OAIG;IACI,SAAS,EAAE,KAAK,CAAC,UAAU,CAQjC;IAED;;;;OAIG;IACI,WAAW,EAAE,KAAK,CAAC,UAAU,CAwHnC;IAED;;;OAGG;IACI,cAAc,GAAI,SAAS,GAAG,KAAG,OAAO,CAAC,IAAI,CAAC,CASpD;CACJ"}
|
|
@@ -4,6 +4,7 @@ import type { BotContext } from '@builderbot/bot/dist/types';
|
|
|
4
4
|
import { Middleware } from 'polka';
|
|
5
5
|
import type polka from 'polka';
|
|
6
6
|
import Queue from 'queue-promise';
|
|
7
|
+
|
|
7
8
|
import type { EvolutionInterface } from '../interface/evolution';
|
|
8
9
|
import type { EvolutionGlobalVendorArgs, SaveFileOptions, ApiResponse } from '../types';
|
|
9
10
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -20048,6 +20048,13 @@ class EvolutionCoreVendor extends EventEmitter {
|
|
|
20048
20048
|
base64: message.base64,
|
|
20049
20049
|
};
|
|
20050
20050
|
}
|
|
20051
|
+
else if (message.orderMessage) {
|
|
20052
|
+
responseObj = {
|
|
20053
|
+
from,
|
|
20054
|
+
name,
|
|
20055
|
+
body: generateRefProvider('_event_order_'),
|
|
20056
|
+
};
|
|
20057
|
+
}
|
|
20051
20058
|
else if (message.videoMessage) {
|
|
20052
20059
|
responseObj = {
|
|
20053
20060
|
type: data.messageType,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builderbot/provider-evolution-api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.10-2.0",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "aurik3 <aurik3@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/aurik3/bot-whatsapp#readme",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"queue-promise": "^2.2.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@builderbot/bot": "^1.2.
|
|
43
|
+
"@builderbot/bot": "^1.2.10-2.0",
|
|
44
44
|
"@jest/globals": "^29.7.0",
|
|
45
45
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
46
46
|
"@rollup/plugin-json": "^6.1.0",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"tslib": "^2.6.2",
|
|
66
66
|
"tsm": "^2.3.0"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "4a8f757bc58c087c9689566edf9dea5b0b787f2a"
|
|
69
69
|
}
|