Comparing version 2.2.0-beta.1 to 2.2.0-beta.2
{ | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.esm.js", | ||
"types": "./dist/immutable/index.d.ts", | ||
"exports": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"module": "./dist/index.esm.js", | ||
"require": "./dist/index.js" | ||
}, | ||
"private": true, | ||
@@ -7,0 +12,0 @@ "scripts": { |
{ | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.esm.js", | ||
"types": "./dist/infinite/index.d.ts", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
@@ -6,0 +6,0 @@ "types": "./dist/index.d.ts", |
@@ -45,3 +45,3 @@ import { Key, SWRResponse } from 'swr'; | ||
*/ | ||
trigger: [ExtraArg] extends [never] ? TriggerWithoutArgs<Data, Error, ExtraArg, SWRMutationKey> : TriggerWithArgs<Data, Error, SWRMutationKey, ExtraArg>; | ||
trigger: [ExtraArg] extends [never] ? TriggerWithoutArgs<Data, Error, SWRMutationKey, ExtraArg> : TriggerWithArgs<Data, Error, SWRMutationKey, ExtraArg>; | ||
/** | ||
@@ -48,0 +48,0 @@ * Function to reset the mutation state (`data`, `error`, and `isMutating`). |
{ | ||
"name": "swr", | ||
"version": "2.2.0-beta.1", | ||
"version": "2.2.0-beta.2", | ||
"description": "React Hooks library for remote data fetching", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"./infinite": { | ||
"types": "./infinite/dist/infinite/index.d.ts", | ||
"types": "./infinite/dist/index.d.ts", | ||
"react-server": "./infinite/dist/react-server.mjs", | ||
@@ -35,3 +35,3 @@ "import": "./infinite/dist/index.mjs", | ||
"./immutable": { | ||
"types": "./immutable/dist/immutable/index.d.ts", | ||
"types": "./immutable/dist/index.d.ts", | ||
"import": "./immutable/dist/index.mjs", | ||
@@ -38,0 +38,0 @@ "module": "./immutable/dist/index.esm.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
318575
36
7236