@glissandoo/lib 1.46.0 → 1.46.2

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.
@@ -56,6 +56,7 @@ export declare enum FbFunctionName {
56
56
  GroupCronSatistactionIndexWeekly = "group-cronSatistactionIndexWeekly",
57
57
  GroupEdit = "group-edit",
58
58
  GroupGetById = "group-getById",
59
+ GroupOnboardingMessages = "group-onboardingMessages",
59
60
  GroupOnCreate = "group-onCreate",
60
61
  GroupOnUpdate = "group-onUpdate",
61
62
  GroupPlayerAdd = "groupPlayer-add",
@@ -60,6 +60,7 @@ var FbFunctionName;
60
60
  FbFunctionName["GroupCronSatistactionIndexWeekly"] = "group-cronSatistactionIndexWeekly";
61
61
  FbFunctionName["GroupEdit"] = "group-edit";
62
62
  FbFunctionName["GroupGetById"] = "group-getById";
63
+ FbFunctionName["GroupOnboardingMessages"] = "group-onboardingMessages";
63
64
  FbFunctionName["GroupOnCreate"] = "group-onCreate";
64
65
  FbFunctionName["GroupOnUpdate"] = "group-onUpdate";
65
66
  FbFunctionName["GroupPlayerAdd"] = "groupPlayer-add";
@@ -35,6 +35,7 @@ const regionByFunctions = {
35
35
  [index_1.FbFunctionName.GroupEdit]: GCloudRegions.EuropeWest6,
36
36
  [index_1.FbFunctionName.GroupRemove]: GCloudRegions.UsCentral1,
37
37
  [index_1.FbFunctionName.GroupChangeStatus]: GCloudRegions.EuropeWest6,
38
+ [index_1.FbFunctionName.GroupOnboardingMessages]: GCloudRegions.EuropeWest6,
38
39
  [index_1.FbFunctionName.GroupOnCreate]: GCloudRegions.UsCentral1,
39
40
  [index_1.FbFunctionName.GroupOnUpdate]: GCloudRegions.UsCentral1,
40
41
  [index_1.FbFunctionName.GroupGetById]: GCloudRegions.EuropeWest6,
@@ -186,7 +186,7 @@ class Group extends basic_1.default {
186
186
  return this.data.createdOn;
187
187
  }
188
188
  get instruments() {
189
- return this.data.instruments;
189
+ return this.data.instruments || {};
190
190
  }
191
191
  get instrumentsList() {
192
192
  return (0, objects_1.orderedMapToArray)(this.instruments).map(({ id }) => id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.46.0",
3
+ "version": "1.46.2",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",