@planet-a/affinity-node
Advanced tools
Comparing version 0.0.1-test.6 to 0.0.1-test.7
{ | ||
"name": "@planet-a/affinity-node", | ||
"version": "0.0.1-test.6", | ||
"version": "0.0.1-test.7", | ||
"description": "API wrapper for the affinity.co API", | ||
@@ -21,5 +21,15 @@ "keywords": [ | ||
"module": "./esm/index.js", | ||
"types": "./types/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./esm/index.js" | ||
"import": { | ||
"types": "./types/index.d.ts", | ||
"default": "./esm/index.js" | ||
} | ||
}, | ||
"./v1": { | ||
"import": { | ||
"types": "./types/v1/index.d.ts", | ||
"default": "./esm/v1/index.js" | ||
} | ||
} | ||
@@ -26,0 +36,0 @@ }, |
@@ -16,3 +16,3 @@ # [![Test, Lint & Deploy](https://github.com/planet-a-ventures/affinity-node/actions/workflows/main.yml/badge.svg)](https://github.com/planet-a-ventures/affinity-node/actions/workflows/main.yml) affinity-node | ||
```js | ||
import { v1: Affinity } from '@planet-a/affinity-node' | ||
import { Affinity } from '@planet-a/affinity-node/v1' | ||
@@ -19,0 +19,0 @@ const { user } = await new Affinity(YOUR_API_KEY).auth.whoAmI() |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
105955
1