@formbricks/js
Advanced tools
Comparing version 2.1.1-beta.1 to 2.1.1
@@ -7,3 +7,3 @@ import { z } from 'zod'; | ||
constructor(apiHost: string, environmentId: string); | ||
create(actionInput: Omit<TActionInput, "environmentId">): Promise<Result<{}, NetworkError | Error>>; | ||
create(actionInput: Omit<TActionInput, "environmentId">): Promise<Result<object, NetworkError | Error>>; | ||
} | ||
@@ -43,3 +43,3 @@ | ||
}, NetworkError | Error>>; | ||
update(displayId: string, displayInput: Omit<TDisplayUpdateInput, "environmentId">): Promise<Result<{}, NetworkError | Error>>; | ||
update(displayId: string, displayInput: Omit<TDisplayUpdateInput, "environmentId">): Promise<Result<object, NetworkError | Error>>; | ||
} | ||
@@ -77,3 +77,5 @@ | ||
constructor(apiHost: string, environmentId: string); | ||
create(userId: string): Promise<Result<{}, NetworkError | Error>>; | ||
create(userId: string): Promise<Result<{ | ||
userId: string; | ||
}, NetworkError | Error>>; | ||
} | ||
@@ -88,3 +90,3 @@ | ||
}, NetworkError | Error>>; | ||
update({ responseId, finished, data, ttc, language, }: TResponseUpdateInputWithResponseId): Promise<Result<{}, NetworkError | Error>>; | ||
update({ responseId, finished, data, ttc, language, }: TResponseUpdateInputWithResponseId): Promise<Result<object, NetworkError | Error>>; | ||
} | ||
@@ -91,0 +93,0 @@ |
{ | ||
"name": "@formbricks/js", | ||
"license": "MIT", | ||
"version": "2.1.1-beta.1", | ||
"version": "2.1.1", | ||
"description": "Formbricks-js allows you to connect your app to Formbricks, display surveys and trigger events.", | ||
@@ -50,7 +50,7 @@ "homepage": "https://formbricks.com", | ||
"@formbricks/js-core": "1.0.0", | ||
"@formbricks/eslint-config": "0.0.0", | ||
"@formbricks/config-typescript": "1.0.0" | ||
"@formbricks/config-typescript": "1.0.0", | ||
"@formbricks/eslint-config": "0.0.0" | ||
}, | ||
"peerDependencies": { | ||
"zod": "^3.23.8" | ||
"zod": "3.x" | ||
}, | ||
@@ -57,0 +57,0 @@ "scripts": { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
47964
387
0