@statezero/core 0.2.17 → 0.2.18

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.
@@ -1,4 +1,5 @@
1
- import sift, { createEqualsOperation } from 'sift';
1
+ import sift from 'sift';
2
+ const { createEqualsOperation } = sift;
2
3
  import { configInstance } from '../config.js';
3
4
  import { DateTime } from 'luxon';
4
5
  import { ModelSerializer } from '../flavours/django/serializers.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statezero/core",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "type": "module",
5
5
  "module": "ESNext",
6
6
  "description": "The type-safe frontend client for StateZero - connect directly to your backend models with zero boilerplate",
@@ -25,10 +25,12 @@
25
25
  "./vue": {
26
26
  "import": "./dist/vue-entry.js",
27
27
  "require": "./dist/vue-entry.js"
28
- }
28
+ },
29
+ "./dist/*": "./dist/*"
29
30
  },
30
31
  "scripts": {
31
32
  "test": "vitest run --config=vitest.base.config.ts",
33
+ "test:esm": "node test/esm-import.mjs",
32
34
  "test:e2e": "vitest run --config=vitest.sequential.config.ts tests/e2e",
33
35
  "generate:test-apps": "ts-node scripts/generate-test-apps.js",
34
36
  "test:adaptors": "playwright test tests/adaptors",