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

@ygkit/request

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ygkit/request - npm Package Compare versions

Comparing version 0.0.6 to 0.1.0

2

dist/utils/wait-response.d.ts
interface WaitResponseOptions {
callback: Function;
targetResponse: any;
targetResponse?: any;
targetProp?: string;

@@ -5,0 +5,0 @@ timeout: number;

{
"name": "@ygkit/request",
"version": "0.0.6",
"version": "0.1.0",
"description": "Node request utils",

@@ -36,3 +36,3 @@ "main": "dist/index.js",

},
"gitHead": "f2385a683aa4cbf5f7e101bcc0b846cf7fc05c3c"
"gitHead": "1bfa45d8e3945beb6ce97ecf8f301bcd006b9ff9"
}

@@ -10,6 +10,6 @@ # @ygkit/request

| Name | Description |
| ---------- | ------------------------------------------------- |
| sleep | Sleep for target miniseconds. |
| waitStatus | Hadle async request, until getting target status. |
| Name | Description |
| ------------ | --------------------------------------------------- |
| sleep | Sleep for target miniseconds. |
| waitResponse | Hadle async request, until getting target response. |

@@ -16,0 +16,0 @@ ## License

@@ -5,4 +5,7 @@ import { getProp } from '@ygkit/object';

interface WaitResponseOptions {
// async request
callback: Function;
targetResponse: any;
// target response
targetResponse?: any;
// target response property
targetProp?: string;

@@ -9,0 +12,0 @@ // timeout mini seconds

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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