fintalk-pkg 2.3.23 → 2.3.24

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.
Files changed (2) hide show
  1. package/model/Customer.js +11 -9
  2. package/package.json +1 -1
package/model/Customer.js CHANGED
@@ -84,14 +84,14 @@ var CustomerSchema = new Schema({
84
84
  userData5: String,
85
85
  isAudioOutputEnabled: { type: Boolean, default: false },
86
86
  optin: { type: Boolean, default: false },
87
- flexChatChannel: {
88
- type: String,
89
- index: {
90
- global: true,
91
- name: `fintalk-orchestrator-${process.env.BOT}-GSI-flexChatChannel`,
92
- rangeKey: "stage"
93
- }
94
- },
87
+ // flexChatChannel: {
88
+ // type: String,
89
+ // index: {
90
+ // global: true,
91
+ // name: `fintalk-orchestrator-${process.env.BOT}-GSI-flexChatChannel`,
92
+ // rangeKey: "stage"
93
+ // }
94
+ // },
95
95
  flexUserId: String,
96
96
  returnEvent: String,
97
97
  localCapture: Boolean,
@@ -103,4 +103,6 @@ var CustomerSchema = new Schema({
103
103
 
104
104
  /* creditCards: [{ type: mongoose.Schema.Types.ObjectId, ref: "CreditCard" }],*/
105
105
 
106
- module.exports = dynamoose.model(`fintalk-orchestrator-${process.env.BOT}-customer`, CustomerSchema);
106
+ module.exports = dynamoose.model(`fintalk-orchestrator-${process.env.BOT}-customer`, CustomerSchema, {
107
+ create: false, waitForActive: false
108
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fintalk-pkg",
3
- "version": "2.3.23",
3
+ "version": "2.3.24",
4
4
  "description": "Common code between projects",
5
5
  "main": "index.js",
6
6
  "scripts": {