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

@planet-a/affinity-node

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planet-a/affinity-node - npm Package Compare versions

Comparing version 0.0.1-test.6 to 0.0.1-test.7

types/index.d.ts

14

package.json
{
"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 @@ },

2

README.md

@@ -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()

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