@traffical/core 0.1.2 → 0.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@traffical/core",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Pure TypeScript core for Traffical SDK - parameter resolution without I/O",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -29,6 +29,7 @@
29
29
  "ulid": "^2.3.0"
30
30
  },
31
31
  "devDependencies": {
32
+ "@traffical/sdk-spec": "^0.1.0",
32
33
  "@types/bun": "latest",
33
34
  "typescript": "^5.3.0"
34
35
  },
@@ -8,9 +8,8 @@ import { describe, test, expect } from "bun:test";
8
8
  import { resolveParameters, decide } from "./engine.js";
9
9
  import type { ConfigBundle } from "../types/index.js";
10
10
 
11
- // Load test fixtures
12
- import bundleBasic from "../../../test-vectors/fixtures/bundle_basic.json";
13
- import bundleConditions from "../../../test-vectors/fixtures/bundle_conditions.json";
11
+ // Load test fixtures from @traffical/sdk-spec
12
+ import { bundleBasic, bundleConditions } from "@traffical/sdk-spec";
14
13
 
15
14
  // Default values for basic bundle parameters
16
15
  const basicDefaults = {