@xapp/stentor-handler-media 1.58.31 → 1.59.0

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,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.hasAudioPlayerHandlerProps = exports.isAudioHandlerType = exports.isAudioStorage = void 0;
3
+ exports.isAudioStorage = isAudioStorage;
4
+ exports.isAudioHandlerType = isAudioHandlerType;
5
+ exports.hasAudioPlayerHandlerProps = hasAudioPlayerHandlerProps;
4
6
  /*! Copyright (c) 2019, XAPPmedia */
5
7
  const stentor_guards_1 = require("stentor-guards");
6
8
  /**
@@ -13,7 +15,6 @@ const stentor_guards_1 = require("stentor-guards");
13
15
  function isAudioStorage(storage) {
14
16
  return storage.audioManager !== undefined;
15
17
  }
16
- exports.isAudioStorage = isAudioStorage;
17
18
  /**
18
19
  * Determines if the handler type is for an AudioHandler
19
20
  *
@@ -34,7 +35,6 @@ function isAudioHandlerType(type) {
34
35
  return false;
35
36
  }
36
37
  }
37
- exports.isAudioHandlerType = isAudioHandlerType;
38
38
  /**
39
39
  * Determines if the array of handlers have an AudioHandler type.
40
40
  *
@@ -52,5 +52,4 @@ function hasAudioPlayerHandlerProps(data) {
52
52
  }
53
53
  return false;
54
54
  }
55
- exports.hasAudioPlayerHandlerProps = hasAudioPlayerHandlerProps;
56
55
  //# sourceMappingURL=Guards.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Guards.js","sourceRoot":"","sources":["../../src/AudioHandler/Guards.ts"],"names":[],"mappings":";;;AAAA,oCAAoC;AACpC,mDAA2C;AAK3C;;;;;;GAMG;AACH,SAAgB,cAAc,CAAC,OAAgB;IAC3C,OAAsB,OAAQ,CAAC,YAAY,KAAK,SAAS,CAAC;AAC9D,CAAC;AAFD,wCAEC;AAED;;;;;;GAMG;AACH,SAAgB,kBAAkB,CAAC,IAAY;IAC3C,QAAQ,IAAI,EAAE,CAAC;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IAAA,0BAAS,EAAC,OAAO,CAAC,EAAE,CAAC;YACrB,IAAI,kBAAkB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;gBACnC,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IAED,OAAO,KAAK,CAAC;AACjB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isPlayPodcastHandlerProps = void 0;
3
+ exports.isPlayPodcastHandlerProps = isPlayPodcastHandlerProps;
4
4
  const Constants_1 = require("../Constants");
5
5
  /**
6
6
  * Determine if the props are for a PlayPodcastHandler
@@ -9,5 +9,4 @@ const Constants_1 = require("../Constants");
9
9
  function isPlayPodcastHandlerProps(props) {
10
10
  return !!props && props.type === Constants_1.PLAY_PODCAST_HANDLER_TYPE;
11
11
  }
12
- exports.isPlayPodcastHandlerProps = isPlayPodcastHandlerProps;
13
12
  //# sourceMappingURL=Guards.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Guards.js","sourceRoot":"","sources":["../../src/PlayPodcastHandler/Guards.ts"],"names":[],"mappings":";;;AAEA,4CAAyD;AAGzD;;;GAGG;AACH,SAAgB,yBAAyB,CAAC,KAAuB;IAC7D,OAAO,CAAC,CAAC,KAAK,IAA8B,KAAM,CAAC,IAAI,KAAK,qCAAyB,CAAC;AAC1F,CAAC;AAFD,8DAEC"}
1
+ {"version":3,"file":"Guards.js","sourceRoot":"","sources":["../../src/PlayPodcastHandler/Guards.ts"],"names":[],"mappings":";;AASA,8DAEC;AATD,4CAAyD;AAGzD;;;GAGG;AACH,SAAgB,yBAAyB,CAAC,KAAuB;IAC7D,OAAO,CAAC,CAAC,KAAK,IAA8B,KAAM,CAAC,IAAI,KAAK,qCAAyB,CAAC;AAC1F,CAAC"}
@@ -1,11 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isContentable = void 0;
3
+ exports.isContentable = isContentable;
4
4
  /**
5
5
  * Guard to check if the provided object is Contentable, it has a content key.
6
6
  */
7
7
  function isContentable(item) {
8
8
  return !!item && item.content !== undefined;
9
9
  }
10
- exports.isContentable = isContentable;
11
10
  //# sourceMappingURL=isContentable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"isContentable.js","sourceRoot":"","sources":["../src/isContentable.ts"],"names":[],"mappings":";;;AAGA;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAY;IACtC,OAAO,CAAC,CAAC,IAAI,IAAK,IAAoB,CAAC,OAAO,KAAK,SAAS,CAAC;AACjE,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"isContentable.js","sourceRoot":"","sources":["../src/isContentable.ts"],"names":[],"mappings":";;AAMA,sCAEC;AALD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAY;IACtC,OAAO,CAAC,CAAC,IAAI,IAAK,IAAoB,CAAC,OAAO,KAAK,SAAS,CAAC;AACjE,CAAC"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.58.31",
7
+ "version": "1.59.0",
8
8
  "description": "A set of handlers for media playback",
9
9
  "types": "lib/index",
10
10
  "main": "lib/index",
@@ -36,10 +36,10 @@
36
36
  "stentor-time": "1.59.70",
37
37
  "stentor-utils": "1.59.70",
38
38
  "ts-node": "10.9.2",
39
- "typescript": "5.4.5"
39
+ "typescript": "5.5.2"
40
40
  },
41
41
  "dependencies": {
42
- "@xapp/stentor-media-manager": "1.58.31",
42
+ "@xapp/stentor-media-manager": "1.59.0",
43
43
  "moment-timezone": "0.5.45"
44
44
  },
45
45
  "peerDependencies": {
@@ -60,5 +60,5 @@
60
60
  "clean": "rm -rf ./lib/*",
61
61
  "test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
62
62
  },
63
- "gitHead": "ae40aa5e72ea070018882190abfef2f8b181a3d0"
63
+ "gitHead": "8675831565d23ea748dbba9423e5f0d8cc42771f"
64
64
  }