@builderbot/provider-meta 1.3.10 → 1.3.12-alpha.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/dist/index.cjs CHANGED
@@ -12972,7 +12972,7 @@ FormData.prototype.submit = function (params, cb) {
12972
12972
  request.removeListener('error', callback);
12973
12973
  request.removeListener('response', onResponse);
12974
12974
 
12975
- return cb.call(this, error, responce); // eslint-disable-line no-invalid-this
12975
+ return cb.call(this, error, responce);
12976
12976
  };
12977
12977
 
12978
12978
  onResponse = callback.bind(this, null);
@@ -12996,7 +12996,7 @@ FormData.prototype._error = function (err) {
12996
12996
  FormData.prototype.toString = function () {
12997
12997
  return '[object FormData]';
12998
12998
  };
12999
- setToStringTag(FormData, 'FormData');
12999
+ setToStringTag(FormData.prototype, 'FormData');
13000
13000
 
13001
13001
  // Public API
13002
13002
  var form_data = FormData;
@@ -1,5 +1,4 @@
1
1
  import type { SendOptions, BotContext, Button } from '@builderbot/bot/dist/types';
2
-
3
2
  import type { TextMessageBody, Reaction, Localization, Message, SaveFileOptions, MetaList } from '~/types';
4
3
  export interface MetaInterface {
5
4
  sendMessageMeta: (body: TextMessageBody) => void;
@@ -1,7 +1,6 @@
1
1
  import EventEmitter from 'node:events';
2
2
  import type polka from 'polka';
3
3
  import type Queue from 'queue-promise';
4
-
5
4
  import type { Message } from '~/types';
6
5
  /**
7
6
  * Class representing MetaCoreVendor, a vendor class for meta core functionality.
@@ -2,7 +2,6 @@ import { ProviderClass } from '@builderbot/bot';
2
2
  import type { Vendor } from '@builderbot/bot/dist/provider/interface/provider';
3
3
  import type { BotContext, Button, SendOptions } from '@builderbot/bot/dist/types';
4
4
  import Queue from 'queue-promise';
5
-
6
5
  import type { MetaInterface } from '~/interface/meta';
7
6
  import type { MetaGlobalVendorArgs, Localization, Message, MetaList, ParsedContact, Reaction, SaveFileOptions, TextMessageBody } from '~/types';
8
7
  declare class MetaProvider extends ProviderClass<MetaInterface> implements MetaInterface {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builderbot/provider-meta",
3
- "version": "1.3.10",
3
+ "version": "1.3.12-alpha.1",
4
4
  "description": "> TODO: description",
5
5
  "author": "vicente1992 <vic_ortiz20@hotmail.es>",
6
6
  "homepage": "https://github.com/vicente1992/bot-whatsapp#readme",
@@ -29,16 +29,16 @@
29
29
  "url": "https://github.com/vicente1992/bot-whatsapp/issues"
30
30
  },
31
31
  "dependencies": {
32
- "axios": "^1.6.8",
32
+ "axios": "^1.13.2",
33
33
  "body-parser": "^1.20.2",
34
34
  "file-type": "^19.0.0",
35
- "form-data": "^4.0.0",
35
+ "form-data": "^4.0.5",
36
36
  "mime-types": "^2.1.35",
37
37
  "polka": "^0.5.2",
38
38
  "queue-promise": "^2.2.1"
39
39
  },
40
40
  "devDependencies": {
41
- "@builderbot/bot": "1.3.10",
41
+ "@builderbot/bot": "1.3.12-alpha.1",
42
42
  "@jest/globals": "^29.7.0",
43
43
  "@rollup/plugin-commonjs": "^25.0.7",
44
44
  "@rollup/plugin-json": "^6.1.0",
@@ -57,9 +57,9 @@
57
57
  "rollup-plugin-typescript2": "^0.36.0",
58
58
  "sinon": "^17.0.1",
59
59
  "supertest": "^6.3.4",
60
- "ts-jest": "^29.1.2",
60
+ "ts-jest": "^29.4.5",
61
61
  "tslib": "^2.6.2",
62
62
  "tsm": "^2.3.0"
63
63
  },
64
- "gitHead": "8aa3aa926ef40029ec041a5565a70656dde82dcd"
64
+ "gitHead": "4266223735c881752e034275f97a42a8699a5df0"
65
65
  }