From ffec65787a869564ef2cea859ad2218b09750cf1 Mon Sep 17 00:00:00 2001 From: Laura Date: Tue, 19 Mar 2024 13:51:22 -0700 Subject: [PATCH] fix: Add audiences to ProjectConfig (#137) * Update wasm to 1.16.1 * Add audiences to ProjectConfig --- build.gradle | 2 +- .../com/devcycle/sdk/server/common/model/ProjectConfig.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 67cdd4ba..4b197745 100644 --- a/build.gradle +++ b/build.gradle @@ -112,7 +112,7 @@ sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 def wasmResourcePath = "$projectDir/src/main/resources" -def wasmVersion = "1.11.3" +def wasmVersion = "1.16.1" def wasmUrl = "https://unpkg.com/@devcycle/bucketing-assembly-script@$wasmVersion/build/bucketing-lib.release.wasm" task downloadDVCBucketingWASM(type: Download) { src wasmUrl diff --git a/src/main/java/com/devcycle/sdk/server/common/model/ProjectConfig.java b/src/main/java/com/devcycle/sdk/server/common/model/ProjectConfig.java index a8d3a705..f7857790 100644 --- a/src/main/java/com/devcycle/sdk/server/common/model/ProjectConfig.java +++ b/src/main/java/com/devcycle/sdk/server/common/model/ProjectConfig.java @@ -25,6 +25,9 @@ public class ProjectConfig { @Schema(description = "List of Variables in this Project") private Object[] variables; + @Schema(description = "Audiences in this Project indexed by ID") + private Object audiences; + @Schema(description = "Variable Hashes for all Variables in this Project") private Object variableHashes; } \ No newline at end of file