Skip to content

Commit

Permalink
Merge pull request #137 from ndaidong/v3.0.2
Browse files Browse the repository at this point in the history
v3.0.2
  • Loading branch information
ndaidong authored Apr 24, 2022
2 parents e1516f5 + 07b7d54 commit 105d73a
Show file tree
Hide file tree
Showing 7 changed files with 138 additions and 8 deletions.
45 changes: 44 additions & 1 deletion dist/cjs/oembed-parser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// [email protected].1, by @ndaidong - built with esbuild at 2022-04-19T11:38:22.410Z - published under MIT license
// [email protected].2, by @ndaidong - built with esbuild at 2022-04-24T04:05:44.858Z - published under MIT license
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
Expand Down Expand Up @@ -3104,6 +3104,22 @@ var providers = [
}
]
},
{
"provider_name": "Adilo",
"provider_url": "https://adilo.bigcommand.com",
"endpoints": [
{
"schemes": [
"https://adilo.bigcommand.com/watch/*"
],
"url": "https://adilo.bigcommand.com/web/oembed",
"discovery": true,
"formats": [
"json"
]
}
]
},
{
"provider_name": "Adways",
"provider_url": "http://www.adways.com",
Expand Down Expand Up @@ -4047,6 +4063,20 @@ var providers = [
}
]
},
{
"provider_name": "everviz",
"provider_url": "https://everviz.com",
"endpoints": [
{
"schemes": [
"https://app.everviz.com/embed/*",
"http://app.everviz.com/embed/*"
],
"url": "https://api.everviz.com/oembed",
"discovery": true
}
]
},
{
"provider_name": "Ex.Co",
"provider_url": "https://ex.co",
Expand Down Expand Up @@ -6765,6 +6795,19 @@ var providers = [
}
]
},
{
"provider_name": "Vouch",
"provider_url": "https://www.vouchfor.com/",
"endpoints": [
{
"schemes": [
"https://*.vouchfor.com/*"
],
"url": "https://embed.vouchfor.com/v1/oembed",
"discovery": true
}
]
},
{
"provider_name": "VoxSnap",
"provider_url": "https://voxsnap.com/",
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "oembed-parser-cjs",
"version": "3.0.1",
"version": "3.0.2",
"main": "./oembed-parser.js"
}
45 changes: 44 additions & 1 deletion dist/cjs/providers.latest.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// provider data, synchronized at 2022-04-19T11:37:36.305Z
// provider data, synchronized at 2022-04-24T04:05:40.938Z

/* eslint-disable */

Expand Down Expand Up @@ -40,6 +40,22 @@ export const providers = [
}
]
},
{
"provider_name": "Adilo",
"provider_url": "https://adilo.bigcommand.com",
"endpoints": [
{
"schemes": [
"https://adilo.bigcommand.com/watch/*"
],
"url": "https://adilo.bigcommand.com/web/oembed",
"discovery": true,
"formats": [
"json"
]
}
]
},
{
"provider_name": "Adways",
"provider_url": "http://www.adways.com",
Expand Down Expand Up @@ -983,6 +999,20 @@ export const providers = [
}
]
},
{
"provider_name": "everviz",
"provider_url": "https://everviz.com",
"endpoints": [
{
"schemes": [
"https://app.everviz.com/embed/*",
"http://app.everviz.com/embed/*"
],
"url": "https://api.everviz.com/oembed",
"discovery": true
}
]
},
{
"provider_name": "Ex.Co",
"provider_url": "https://ex.co",
Expand Down Expand Up @@ -3701,6 +3731,19 @@ export const providers = [
}
]
},
{
"provider_name": "Vouch",
"provider_url": "https://www.vouchfor.com/",
"endpoints": [
{
"schemes": [
"https://*.vouchfor.com/*"
],
"url": "https://embed.vouchfor.com/v1/oembed",
"discovery": true
}
]
},
{
"provider_name": "VoxSnap",
"provider_url": "https://voxsnap.com/",
Expand Down
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function extract(url: string, params?: any): Promise<OembedData>;

export function hasProvider(url: string): boolean

export function findProvider(url: string): FoundProvider
export function findProvider(url: string): FindProviderResult

export function setProviderList(providers: Provider[]): void

Expand All @@ -35,6 +35,7 @@ export interface FindProviderResult {
"provider_name": string;
"provider_url": string;
}

/**
* Basic data structure of every oembed response see https://oembed.com/
*/
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.0.1",
"version": "3.0.2",
"name": "oembed-parser",
"description": "Get oEmbed data from given URL.",
"homepage": "https://www.npmjs.com/package/oembed-parser",
Expand Down Expand Up @@ -47,7 +47,7 @@
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.17.9",
"esbuild": "^0.14.36",
"esbuild": "^0.14.38",
"jest": "^27.5.1",
"nock": "^13.2.4"
},
Expand Down
45 changes: 44 additions & 1 deletion src/utils/providers.latest.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// provider data, synchronized at 2022-04-19T11:37:36.305Z
// provider data, synchronized at 2022-04-24T04:05:40.938Z

/* eslint-disable */

Expand Down Expand Up @@ -40,6 +40,22 @@ export const providers = [
}
]
},
{
"provider_name": "Adilo",
"provider_url": "https://adilo.bigcommand.com",
"endpoints": [
{
"schemes": [
"https://adilo.bigcommand.com/watch/*"
],
"url": "https://adilo.bigcommand.com/web/oembed",
"discovery": true,
"formats": [
"json"
]
}
]
},
{
"provider_name": "Adways",
"provider_url": "http://www.adways.com",
Expand Down Expand Up @@ -983,6 +999,20 @@ export const providers = [
}
]
},
{
"provider_name": "everviz",
"provider_url": "https://everviz.com",
"endpoints": [
{
"schemes": [
"https://app.everviz.com/embed/*",
"http://app.everviz.com/embed/*"
],
"url": "https://api.everviz.com/oembed",
"discovery": true
}
]
},
{
"provider_name": "Ex.Co",
"provider_url": "https://ex.co",
Expand Down Expand Up @@ -3701,6 +3731,19 @@ export const providers = [
}
]
},
{
"provider_name": "Vouch",
"provider_url": "https://www.vouchfor.com/",
"endpoints": [
{
"schemes": [
"https://*.vouchfor.com/*"
],
"url": "https://embed.vouchfor.com/v1/oembed",
"discovery": true
}
]
},
{
"provider_name": "VoxSnap",
"provider_url": "https://voxsnap.com/",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/providers.prev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// provider data, synchronized at 2022-04-08T03:55:41.101Z
// provider data, synchronized at 2022-04-19T11:37:36.305Z

/* eslint-disable */

Expand Down

0 comments on commit 105d73a

Please sign in to comment.