@grouparoo/customerio
Advanced tools
Comparing version 0.7.0-alpha.11 to 0.7.0-alpha.12
@@ -9,4 +9,4 @@ declare class CustomerioClient { | ||
getCustomer(customerId: string): Promise<any>; | ||
getCampaigns(): Promise<any>; | ||
getCampaigns(): Promise<Record<string, any>>; | ||
} | ||
export { CustomerioClient }; |
@@ -5,3 +5,3 @@ { | ||
"description": "The Grouparoo customer.io Plugin", | ||
"version": "0.7.0-alpha.11", | ||
"version": "0.7.0-alpha.12", | ||
"license": "MPL-2.0", | ||
@@ -32,12 +32,12 @@ "private": false, | ||
"dependencies": { | ||
"@grouparoo/app-templates": "0.7.0-alpha.11", | ||
"@grouparoo/app-templates": "0.7.0-alpha.12", | ||
"customerio-node": "3.0.3" | ||
}, | ||
"devDependencies": { | ||
"@grouparoo/core": "0.7.0-alpha.11", | ||
"@grouparoo/spec-helper": "0.7.0-alpha.11", | ||
"@grouparoo/core": "0.7.0-alpha.12", | ||
"@grouparoo/spec-helper": "0.7.0-alpha.12", | ||
"@types/jest": "*", | ||
"@types/node": "*", | ||
"actionhero": "27.1.5", | ||
"axios": "0.21.4", | ||
"axios": "0.22.0", | ||
"dotenv": "10.0.0", | ||
@@ -52,3 +52,3 @@ "fs-extra": "10.0.0", | ||
}, | ||
"gitHead": "cd4dd4eeedc69078df0d7166610fac088ddb179c" | ||
"gitHead": "8e130c1cb905ac5a561403cdd58995f8a0823206" | ||
} |
@@ -27,3 +27,3 @@ import { TrackClient } from "customerio-node"; | ||
try { | ||
const { data } = await axios.get( | ||
const { data } = await axios.get<Record<string, any>>( | ||
`https://beta-api.customer.io/v1/api/customers/${customerId}/attributes`, | ||
@@ -46,3 +46,3 @@ { | ||
async getCampaigns() { | ||
const { data } = await axios.get( | ||
const { data } = await axios.get<Record<string, any>>( | ||
`https://beta-api.customer.io/v1/api/campaigns`, | ||
@@ -49,0 +49,0 @@ { |
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
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
155850
0
+ Added@grouparoo/app-templates@0.7.0-alpha.12(transitive)
- Removed@grouparoo/app-templates@0.7.0-alpha.11(transitive)