@demind-inc/core 1.6.9 → 1.6.11

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.
@@ -53,5 +53,6 @@ export declare const AVAILABLE_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[];
53
53
  export declare const ALL_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[];
54
54
  export declare const basicLifetimeOfferingId = "basic (lifetime)";
55
55
  export declare const basicOfferingId = "basic (with free trial)";
56
+ export declare const basicMonthTrialOfferingId = "basic (with free trial 1 month)";
56
57
  export declare const basicNoTrialOfferingId = "basic (without free trial)";
57
58
  export declare const SKIP_CARD_PRODUCT_ID = "com.lifestack.skip_card";
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SKIP_CARD_PRODUCT_ID = exports.basicNoTrialOfferingId = exports.basicOfferingId = exports.basicLifetimeOfferingId = exports.ALL_TODO_INTEGRATIONS_TYPE = exports.AVAILABLE_TODO_INTEGRATIONS_TYPE = exports.MEAL_SUPPORTED_TERRA_PROVIDERS = exports.HEART_RATE_SUPPORTED_TERRA_PROVIDERS = exports.ACTIVITY_SUPPORTED_TERRA_PROVIDERS = exports.STRESS_SUPPORTED_TERRA_PROVIDERS = exports.SLEEP_SUPPORTED_TERRA_PROVIDERS = exports.DB_COLLECTION = void 0;
3
+ exports.SKIP_CARD_PRODUCT_ID = exports.basicNoTrialOfferingId = exports.basicMonthTrialOfferingId = exports.basicOfferingId = exports.basicLifetimeOfferingId = exports.ALL_TODO_INTEGRATIONS_TYPE = exports.AVAILABLE_TODO_INTEGRATIONS_TYPE = exports.MEAL_SUPPORTED_TERRA_PROVIDERS = exports.HEART_RATE_SUPPORTED_TERRA_PROVIDERS = exports.ACTIVITY_SUPPORTED_TERRA_PROVIDERS = exports.STRESS_SUPPORTED_TERRA_PROVIDERS = exports.SLEEP_SUPPORTED_TERRA_PROVIDERS = exports.DB_COLLECTION = void 0;
4
4
  exports.DB_COLLECTION = {
5
5
  USERS: "users",
6
6
  CALENDARS: "calendars",
@@ -75,5 +75,6 @@ exports.ALL_TODO_INTEGRATIONS_TYPE = [
75
75
  ];
76
76
  exports.basicLifetimeOfferingId = "basic (lifetime)";
77
77
  exports.basicOfferingId = "basic (with free trial)";
78
+ exports.basicMonthTrialOfferingId = "basic (with free trial 1 month)";
78
79
  exports.basicNoTrialOfferingId = "basic (without free trial)";
79
80
  exports.SKIP_CARD_PRODUCT_ID = "com.lifestack.skip_card";
@@ -142,6 +142,7 @@ export interface SleepDetail {
142
142
  efficiency?: number;
143
143
  source?: string;
144
144
  stages?: SleepStage;
145
+ heartRateSummary?: MetricHRSummary;
145
146
  }
146
147
  export type SleepStageType = "deep" | "light" | "rem" | "awake";
147
148
  export type SleepStage = Record<SleepStageType, number>;
package/lib/constants.ts CHANGED
@@ -84,5 +84,6 @@ export const ALL_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[] = [
84
84
 
85
85
  export const basicLifetimeOfferingId = "basic (lifetime)";
86
86
  export const basicOfferingId = "basic (with free trial)";
87
+ export const basicMonthTrialOfferingId = "basic (with free trial 1 month)";
87
88
  export const basicNoTrialOfferingId = "basic (without free trial)";
88
89
  export const SKIP_CARD_PRODUCT_ID = "com.lifestack.skip_card";
@@ -162,6 +162,7 @@ export interface SleepDetail {
162
162
  efficiency?: number;
163
163
  source?: string;
164
164
  stages?: SleepStage;
165
+ heartRateSummary?: MetricHRSummary;
165
166
  }
166
167
 
167
168
  export type SleepStageType = "deep" | "light" | "rem" | "awake";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.6.9",
3
+ "version": "1.6.11",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {