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

cohere-js

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cohere-js - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

es/index.js

@@ -1,2 +0,2 @@

const bridgedMethods = ["init", "identify"];
const bridgedMethods = ["init", "identify", "stop"];
// Create cohere or pass in previous args to init/initialize

@@ -6,3 +6,3 @@ // if script is not created

Cohere.invoked = true;
Cohere.snippet = "0.1";
Cohere.snippet = "0.2";
Cohere.methods = bridgedMethods;

@@ -9,0 +9,0 @@ Cohere.methods.forEach((method) => {

'use strict';
const bridgedMethods = ["init", "identify"];
const bridgedMethods = ["init", "identify", "stop"];
// Create cohere or pass in previous args to init/initialize

@@ -8,3 +8,3 @@ // if script is not created

Cohere.invoked = true;
Cohere.snippet = "0.1";
Cohere.snippet = "0.2";
Cohere.methods = bridgedMethods;

@@ -11,0 +11,0 @@ Cohere.methods.forEach((method) => {

{
"name": "cohere-js",
"version": "1.0.1",
"version": "1.0.2",
"description": "Cohere.so JS SDK",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -9,4 +9,5 @@ declare type UserAttrs = {

identify: (userId: string, attrs?: UserAttrs) => void;
stop: () => void;
};
declare const exportedModule: CohereExports;
export default exportedModule;
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