@ormoshe/js-video-url-parser 0.5.11 → 0.5.12

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.
@@ -1740,7 +1740,7 @@
1740
1740
  var combineParams$j = util.combineParams;
1741
1741
 
1742
1742
  function Canva() {
1743
- this.provider = 'drive.google';
1743
+ this.provider = 'google';
1744
1744
  this.defaultFormat = 'long';
1745
1745
  this.formats = {
1746
1746
  long: this.createLongUrl,
@@ -1,7 +1,7 @@
1
1
  const { combineParams } = require('../util');
2
2
 
3
3
  function GoogleDrive() {
4
- this.provider = 'drive.google';
4
+ this.provider = 'google';
5
5
  this.defaultFormat = 'long';
6
6
  this.formats = {
7
7
  long: this.createLongUrl,
@@ -7,7 +7,7 @@ export interface GoogleDriveUrlParameters {
7
7
  export type GoogleDriveMediaTypes = 'video';
8
8
 
9
9
  export interface GoogleDriveVideoInfo extends VideoInfo<GoogleDriveUrlParameters, GoogleDriveMediaTypes> {
10
- provider: 'drive.google';
10
+ provider: 'google';
11
11
  channel: string;
12
12
  }
13
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ormoshe/js-video-url-parser",
3
- "version": "0.5.11",
3
+ "version": "0.5.12",
4
4
  "description": "A parser to extract provider, video id, starttime and others from YouTube, Vimeo, ... urls",
5
5
  "main": "lib/index.js",
6
6
  "browser": "dist/jsVideoUrlParser.js",