@automattic/explat-client-react-helpers
Advanced tools
Comparing version 0.0.3 to 0.0.4
# Changelog | ||
## 0.0.4 | ||
- Added ExperimentOptions and ExPlatClientReactHelpers Typescript interfaces to export | ||
## 0.0.3 | ||
@@ -4,0 +7,0 @@ |
import * as React from 'react'; | ||
import type { ExPlatClient, ExperimentAssignment } from '@automattic/explat-client'; | ||
interface ExperimentOptions { | ||
export interface ExperimentOptions { | ||
/** | ||
@@ -11,3 +11,3 @@ * Determines whether a participant is currenlty eligible for an assignment. | ||
} | ||
interface ExPlatClientReactHelpers { | ||
export interface ExPlatClientReactHelpers { | ||
/** | ||
@@ -42,3 +42,2 @@ * An ExPlat useExperiment hook. | ||
export default function createExPlatClientReactHelpers(exPlatClient: ExPlatClient): ExPlatClientReactHelpers; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@automattic/explat-client-react-helpers", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Standalone ExPlat Client: React Helpers.", | ||
@@ -35,3 +35,3 @@ "bugs": "https://github.com/Automattic/wp-calypso/issues", | ||
"@automattic/calypso-typescript-config": "^1.0.0", | ||
"@testing-library/react": "^12.1.2", | ||
"@testing-library/react": "^12.1.3", | ||
"@testing-library/react-hooks": "7.0.2", | ||
@@ -38,0 +38,0 @@ "react-dom": "^17.0.2", |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
43965
493
1