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

react-aptor

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-aptor - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

6

esm/useAptor.d.ts

@@ -8,7 +8,7 @@ import { RefObject, Ref } from 'react';

export declare type Destroy<T> = (instance: Nullable<T>, params?: any) => void;
export interface AptorConfiguration<T> {
export interface AptorConfiguration<T, P = any> {
getAPI: GetAPI<T>;
instantiate: Instantiate<T>;
destroy?: Destroy<T>;
params?: any;
params?: P;
}

@@ -22,3 +22,3 @@ /**

*/
export default function useAptor<T>(ref: Ref<APIObject>, configuration: AptorConfiguration<T>, deps?: any[]): RefObject<HTMLElement>;
export default function useAptor<T, P = any>(ref: Ref<APIObject>, configuration: AptorConfiguration<T, P>, deps?: any[]): RefObject<HTMLElement>;
export {};

@@ -8,7 +8,7 @@ import { RefObject, Ref } from 'react';

export declare type Destroy<T> = (instance: Nullable<T>, params?: any) => void;
export interface AptorConfiguration<T> {
export interface AptorConfiguration<T, P = any> {
getAPI: GetAPI<T>;
instantiate: Instantiate<T>;
destroy?: Destroy<T>;
params?: any;
params?: P;
}

@@ -22,3 +22,3 @@ /**

*/
export default function useAptor<T>(ref: Ref<APIObject>, configuration: AptorConfiguration<T>, deps?: any[]): RefObject<HTMLElement>;
export default function useAptor<T, P = any>(ref: Ref<APIObject>, configuration: AptorConfiguration<T, P>, deps?: any[]): RefObject<HTMLElement>;
export {};
{
"name": "react-aptor",
"version": "1.3.0",
"version": "1.3.1",
"private": false,

@@ -5,0 +5,0 @@ "description": "React API connector",

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