New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nuxt-api-party

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-api-party - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

dist/module.json

@@ -7,3 +7,3 @@ {

},
"version": "0.5.0"
"version": "0.5.1"
}

@@ -7,3 +7,3 @@ import type { FetchOptions } from 'ofetch';

};
export type $Api = <T = any>(request: string, opts?: ApiFetchOptions) => Promise<T>;
export declare function _$api<T = any>(endpointId: string, request: string, opts?: ApiFetchOptions): Promise<T>;
export type $Api = <T = any>(path: string, opts?: ApiFetchOptions) => Promise<T>;
export declare function _$api<T = any>(endpointId: string, path: string, opts?: ApiFetchOptions): Promise<T>;

@@ -11,4 +11,4 @@ import type { FetchError, FetchOptions } from 'ofetch';

};
export type UseApiData = <T = any>(request: MaybeComputedRef<string>, opts?: UseApiDataOptions<T>) => AsyncData<T, FetchError | null | true>;
export declare function _useApiData<T = any>(endpointId: string, request: MaybeComputedRef<string>, opts?: UseApiDataOptions<T>): AsyncData<T, true | FetchError<any> | null>;
export type UseApiData = <T = any>(path: MaybeComputedRef<string>, opts?: UseApiDataOptions<T>) => AsyncData<T, FetchError | null | true>;
export declare function _useApiData<T = any>(endpointId: string, path: MaybeComputedRef<string>, opts?: UseApiDataOptions<T>): AsyncData<T, true | FetchError<any> | null>;
export {};
import type { QueryObject } from 'ufo';
import type { ComputedRef, Ref } from 'vue';
export interface EndpointFetchOptions {
request: string;
query?: QueryObject;

@@ -6,0 +5,0 @@ method?: string;

{
"name": "nuxt-api-party",
"type": "module",
"version": "0.5.0",
"version": "0.5.1",
"packageManager": "pnpm@7.17.1",

@@ -6,0 +6,0 @@ "description": "Nuxt 3 module to securely connect with any API",

@@ -396,3 +396,3 @@ ![Nuxt API Party module](./.github/og.png)

> & Pick<
FetchOptions,
ComputedOptions<FetchOptions>,
| 'onRequest'

@@ -403,6 +403,6 @@ | 'onRequestError'

// Pick from `globalThis.RequestInit`
| 'query'
| 'headers'
| 'method'
> & {
query?: QueryObject
body?: Record<string, any>

@@ -409,0 +409,0 @@ }

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

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