sim-node-lib 0.0.14 → 0.0.15

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.
@@ -19,7 +19,7 @@ export declare class GooglePubSubPublish {
19
19
  export declare abstract class PubSubHandelerAction {
20
20
  constructor(pubsubModel: PubSubModel);
21
21
  protected _pubsubValueModel: PubSubModel;
22
- protected handlerAction(): boolean;
22
+ handlerAction(): boolean;
23
23
  protected insert(): boolean;
24
24
  protected update(): boolean;
25
25
  protected remove(): boolean;
@@ -33,7 +33,6 @@ class GooglePubSubSubscription {
33
33
  catch (error) {
34
34
  console.error(error);
35
35
  eventEmitter.emit('error', error);
36
- message.ack();
37
36
  }
38
37
  });
39
38
  // Receive callbacks for errors on the subscription
@@ -55,7 +54,6 @@ class GooglePubSubPublish {
55
54
  const send = new PubSubModel(message, action, table);
56
55
  // Creates a new topic
57
56
  const topic = pubSubClient.topic(this._topicName);
58
- console.log(`Topic ${topic.name} created.`);
59
57
  const dataSend = JSON.stringify(send);
60
58
  //Create message
61
59
  const data = Buffer.from(dataSend);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sim-node-lib",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Library from SIMLabs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",