pangea-server 3.3.164 → 3.3.165

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,4 +1,4 @@
1
- export declare class Instagram {
1
+ export declare class InstagramApi {
2
2
  private __accountId;
3
3
  private __accessToken;
4
4
  constructor(config: {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Instagram = void 0;
3
+ exports.InstagramApi = void 0;
4
4
  const GRAPH_VERSION = 'v21.0';
5
- class Instagram {
5
+ class InstagramApi {
6
6
  constructor(config) {
7
7
  this.__accountId = config.accountId;
8
8
  this.__accessToken = config.accessToken;
@@ -19,4 +19,4 @@ class Instagram {
19
19
  return data;
20
20
  }
21
21
  }
22
- exports.Instagram = Instagram;
22
+ exports.InstagramApi = InstagramApi;
@@ -1,4 +1,4 @@
1
- export declare class Whatsapp {
1
+ export declare class WhatsappApi {
2
2
  private __phoneNumberId;
3
3
  private __accessToken;
4
4
  constructor(config: {
@@ -3,9 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Whatsapp = void 0;
6
+ exports.WhatsappApi = void 0;
7
7
  const client_1 = __importDefault(require("@whatsapp-cloudapi/client"));
8
- class Whatsapp {
8
+ class WhatsappApi {
9
9
  constructor(config) {
10
10
  this.__phoneNumberId = config.phoneNumberId;
11
11
  this.__accessToken = config.accessToken;
@@ -14,4 +14,4 @@ class Whatsapp {
14
14
  return client_1.default.sendTextMessage({ from: this.__phoneNumberId, to, text, accessToken: this.__accessToken });
15
15
  }
16
16
  }
17
- exports.Whatsapp = Whatsapp;
17
+ exports.WhatsappApi = WhatsappApi;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-server",
3
3
  "description": "",
4
- "version": "3.3.164",
4
+ "version": "3.3.165",
5
5
  "engines": {
6
6
  "node": "22.14.0"
7
7
  },