Skip to content

Commit 105d73a

Browse files
authored
Merge pull request #137 from ndaidong/v3.0.2
v3.0.2
2 parents e1516f5 + 07b7d54 commit 105d73a

File tree

7 files changed

+138
-8
lines changed

7 files changed

+138
-8
lines changed

dist/cjs/oembed-parser.js

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// oembed-parser@3.0.1, by @ndaidong - built with esbuild at 2022-04-19T11:38:22.410Z - published under MIT license
1+
// oembed-parser@3.0.2, by @ndaidong - built with esbuild at 2022-04-24T04:05:44.858Z - published under MIT license
22
var __create = Object.create;
33
var __defProp = Object.defineProperty;
44
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3104,6 +3104,22 @@ var providers = [
31043104
}
31053105
]
31063106
},
3107+
{
3108+
"provider_name": "Adilo",
3109+
"provider_url": "https://adilo.bigcommand.com",
3110+
"endpoints": [
3111+
{
3112+
"schemes": [
3113+
"https://adilo.bigcommand.com/watch/*"
3114+
],
3115+
"url": "https://adilo.bigcommand.com/web/oembed",
3116+
"discovery": true,
3117+
"formats": [
3118+
"json"
3119+
]
3120+
}
3121+
]
3122+
},
31073123
{
31083124
"provider_name": "Adways",
31093125
"provider_url": "http://www.adways.com",
@@ -4047,6 +4063,20 @@ var providers = [
40474063
}
40484064
]
40494065
},
4066+
{
4067+
"provider_name": "everviz",
4068+
"provider_url": "https://everviz.com",
4069+
"endpoints": [
4070+
{
4071+
"schemes": [
4072+
"https://app.everviz.com/embed/*",
4073+
"http://app.everviz.com/embed/*"
4074+
],
4075+
"url": "https://api.everviz.com/oembed",
4076+
"discovery": true
4077+
}
4078+
]
4079+
},
40504080
{
40514081
"provider_name": "Ex.Co",
40524082
"provider_url": "https://ex.co",
@@ -6765,6 +6795,19 @@ var providers = [
67656795
}
67666796
]
67676797
},
6798+
{
6799+
"provider_name": "Vouch",
6800+
"provider_url": "https://www.vouchfor.com/",
6801+
"endpoints": [
6802+
{
6803+
"schemes": [
6804+
"https://*.vouchfor.com/*"
6805+
],
6806+
"url": "https://embed.vouchfor.com/v1/oembed",
6807+
"discovery": true
6808+
}
6809+
]
6810+
},
67686811
{
67696812
"provider_name": "VoxSnap",
67706813
"provider_url": "https://voxsnap.com/",

dist/cjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "oembed-parser-cjs",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"main": "./oembed-parser.js"
55
}

dist/cjs/providers.latest.js

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// provider data, synchronized at 2022-04-19T11:37:36.305Z
1+
// provider data, synchronized at 2022-04-24T04:05:40.938Z
22

33
/* eslint-disable */
44

@@ -40,6 +40,22 @@ export const providers = [
4040
}
4141
]
4242
},
43+
{
44+
"provider_name": "Adilo",
45+
"provider_url": "https://adilo.bigcommand.com",
46+
"endpoints": [
47+
{
48+
"schemes": [
49+
"https://adilo.bigcommand.com/watch/*"
50+
],
51+
"url": "https://adilo.bigcommand.com/web/oembed",
52+
"discovery": true,
53+
"formats": [
54+
"json"
55+
]
56+
}
57+
]
58+
},
4359
{
4460
"provider_name": "Adways",
4561
"provider_url": "http://www.adways.com",
@@ -983,6 +999,20 @@ export const providers = [
983999
}
9841000
]
9851001
},
1002+
{
1003+
"provider_name": "everviz",
1004+
"provider_url": "https://everviz.com",
1005+
"endpoints": [
1006+
{
1007+
"schemes": [
1008+
"https://app.everviz.com/embed/*",
1009+
"http://app.everviz.com/embed/*"
1010+
],
1011+
"url": "https://api.everviz.com/oembed",
1012+
"discovery": true
1013+
}
1014+
]
1015+
},
9861016
{
9871017
"provider_name": "Ex.Co",
9881018
"provider_url": "https://ex.co",
@@ -3701,6 +3731,19 @@ export const providers = [
37013731
}
37023732
]
37033733
},
3734+
{
3735+
"provider_name": "Vouch",
3736+
"provider_url": "https://www.vouchfor.com/",
3737+
"endpoints": [
3738+
{
3739+
"schemes": [
3740+
"https://*.vouchfor.com/*"
3741+
],
3742+
"url": "https://embed.vouchfor.com/v1/oembed",
3743+
"discovery": true
3744+
}
3745+
]
3746+
},
37043747
{
37053748
"provider_name": "VoxSnap",
37063749
"provider_url": "https://voxsnap.com/",

index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function extract(url: string, params?: any): Promise<OembedData>;
99

1010
export function hasProvider(url: string): boolean
1111

12-
export function findProvider(url: string): FoundProvider
12+
export function findProvider(url: string): FindProviderResult
1313

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

@@ -35,6 +35,7 @@ export interface FindProviderResult {
3535
"provider_name": string;
3636
"provider_url": string;
3737
}
38+
3839
/**
3940
* Basic data structure of every oembed response see https://oembed.com/
4041
*/

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.0.1",
2+
"version": "3.0.2",
33
"name": "oembed-parser",
44
"description": "Get oEmbed data from given URL.",
55
"homepage": "https://www.npmjs.com/package/oembed-parser",
@@ -47,7 +47,7 @@
4747
},
4848
"devDependencies": {
4949
"@babel/plugin-transform-modules-commonjs": "^7.17.9",
50-
"esbuild": "^0.14.36",
50+
"esbuild": "^0.14.38",
5151
"jest": "^27.5.1",
5252
"nock": "^13.2.4"
5353
},

src/utils/providers.latest.js

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// provider data, synchronized at 2022-04-19T11:37:36.305Z
1+
// provider data, synchronized at 2022-04-24T04:05:40.938Z
22

33
/* eslint-disable */
44

@@ -40,6 +40,22 @@ export const providers = [
4040
}
4141
]
4242
},
43+
{
44+
"provider_name": "Adilo",
45+
"provider_url": "https://adilo.bigcommand.com",
46+
"endpoints": [
47+
{
48+
"schemes": [
49+
"https://adilo.bigcommand.com/watch/*"
50+
],
51+
"url": "https://adilo.bigcommand.com/web/oembed",
52+
"discovery": true,
53+
"formats": [
54+
"json"
55+
]
56+
}
57+
]
58+
},
4359
{
4460
"provider_name": "Adways",
4561
"provider_url": "http://www.adways.com",
@@ -983,6 +999,20 @@ export const providers = [
983999
}
9841000
]
9851001
},
1002+
{
1003+
"provider_name": "everviz",
1004+
"provider_url": "https://everviz.com",
1005+
"endpoints": [
1006+
{
1007+
"schemes": [
1008+
"https://app.everviz.com/embed/*",
1009+
"http://app.everviz.com/embed/*"
1010+
],
1011+
"url": "https://api.everviz.com/oembed",
1012+
"discovery": true
1013+
}
1014+
]
1015+
},
9861016
{
9871017
"provider_name": "Ex.Co",
9881018
"provider_url": "https://ex.co",
@@ -3701,6 +3731,19 @@ export const providers = [
37013731
}
37023732
]
37033733
},
3734+
{
3735+
"provider_name": "Vouch",
3736+
"provider_url": "https://www.vouchfor.com/",
3737+
"endpoints": [
3738+
{
3739+
"schemes": [
3740+
"https://*.vouchfor.com/*"
3741+
],
3742+
"url": "https://embed.vouchfor.com/v1/oembed",
3743+
"discovery": true
3744+
}
3745+
]
3746+
},
37043747
{
37053748
"provider_name": "VoxSnap",
37063749
"provider_url": "https://voxsnap.com/",

src/utils/providers.prev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// provider data, synchronized at 2022-04-08T03:55:41.101Z
1+
// provider data, synchronized at 2022-04-19T11:37:36.305Z
22

33
/* eslint-disable */
44

0 commit comments

Comments
 (0)