@flipt-io/flipt-client-js 0.0.6 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -156,7 +156,7 @@ The `slim` build of the FliptClient is designed for environments where you want
156
156
 
157
157
  ```ts
158
158
  import { FliptClient } from '@flipt-io/flipt-client-js/slim';
159
- import wasmUrl from '@flipt-io/flipt-client-js/engine.wasm?url';
159
+ import wasmUrl from '@flipt-io/flipt-client-js/engine.wasm';
160
160
 
161
161
  async function main() {
162
162
  const client = await FliptClient.init(
@@ -180,14 +180,6 @@ The `slim` build of the FliptClient is designed for environments where you want
180
180
  main();
181
181
  ```
182
182
 
183
- - **Note:** If your bundler supports importing JS proxies for assets, you can also use:
184
-
185
- ```js
186
- import wasmUrl from '@flipt-io/flipt-client-js/engine.wasm';
187
- ```
188
-
189
- Otherwise, use the `?url` syntax for maximum compatibility.
190
-
191
183
  2. **Ensure your bundler is configured to handle `.wasm` files.**
192
184
  - For Vite, this works out of the box.
193
185
  - For Webpack, you may need to add a rule for `.wasm` files.