Comparing version 1.0.1 to 1.0.2
@@ -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; |
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
2980
59