Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

getstream

Package Overview
Dependencies
Maintainers
7
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getstream - npm Package Compare versions

Comparing version 4.5.2 to 4.5.3

4

CHANGELOG.md
# Changelog
## 4.5.3 - 2020-05-28
- Add open graph scrape (og) types
## 4.5.2 - 2020-05-27

@@ -4,0 +8,0 @@

2

package.json

@@ -14,3 +14,3 @@ {

"license": "BSD-3-Clause",
"version": "4.5.2",
"version": "4.5.3",
"scripts": {

@@ -17,0 +17,0 @@ "build": "babel src --out-dir lib",

@@ -129,3 +129,3 @@ /// <reference types="node" />

// Delete metadata or activites
// Delete metadata or activities
delete(resource: string, callback: RestCallback): void;

@@ -462,4 +462,53 @@ delete(resource: string, options: object, callback: RestCallback): void;

): void;
/**
* og.
* Retrieve open graph information of urls
*/
og(url: string): Promise<OGResponse>;
}
// Export the OGResource
export interface OGResource {
url?: string;
secure_url?: string;
type?: string;
}
// Export the OGAudio
export interface OGAudio extends OGResource {
audio?: string;
}
// Export the OGImage
export interface OGImage extends OGResource {
image?: string;
width?: number;
height?: number;
alt?: string;
}
// Export the OGVideo
export interface OGVideo extends OGResource {
video?: string;
width?: number;
height?: number;
}
// Export the OGResponse
export interface OGResponse extends APIResponse {
title?: string;
type?: string;
url?: string;
site?: string;
site_name?: string;
description?: string;
favicon?: string;
determiner?: string;
locale?: string;
audios?: OGAudio[];
images?: OGImage[];
videos?: OGVideo[];
}
// Export the Stream Client

@@ -466,0 +515,0 @@ export { StreamClient as Client };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc