@sorisdk/web-audio 0.6.9 → 0.6.10

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.
Files changed (2) hide show
  1. package/README.md +23 -3
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -13,6 +13,26 @@ Public integration guide: https://docs.soriapi.com/ko/integration/web
13
13
  - An ephemeral key issued by your server
14
14
  - Microphone permission granted by the user
15
15
 
16
+ ## Level-robust marker policy (0.6.10)
17
+
18
+ Marker recognition remains opt-in with `audiomarker: true`; fingerprint-only
19
+ applications keep their existing capture and matching behavior. When enabled,
20
+ `MicrophoneMatcher` uses the level-robust v1 default through its real
21
+ `MatcherSession` at the actual `AudioContext.sampleRate`. The PCM window,
22
+ material cadence, asynchronous refinement, and continuous-run lifecycle are
23
+ unchanged. Only accepted marker codes enter private activity requests; public
24
+ marker identity still comes from Console's resolved id/name pair.
25
+
26
+ This release follows **user-reported improvement** in Android human testing.
27
+ No quantitative physical-test measurements were attached, and it does not
28
+ complete the original hardware-validation scope of NADA #154.
29
+
30
+ Consume all three 0.6.10 packages together (web-audio publishes exact 0.6.10
31
+ matcher/afpgen dependencies). Flutter's web bridge can keep its Dart API: resolve
32
+ the updated npm dependency/lockfile, regenerate the JS/WASM/model assets, and
33
+ redeploy the consuming application. Publishing npm does not update existing
34
+ bundles. The immutable standalone module URL is shown below.
35
+
16
36
  ## Unreleased: Console-resolved audio marker events
17
37
 
18
38
  The public `audiomarker` event now contains only the marker identity managed in
@@ -52,7 +72,7 @@ configuration, or Node-based asset server is required:
52
72
  ```html
53
73
  <script type="module">
54
74
  import { AudioRecognizer } from
55
- "https://cdn.iplateia.com/web/sorisdk/v0.6.9/sori-web-audio.mjs";
75
+ "https://cdn.iplateia.com/web/sorisdk/v0.6.10/sori-web-audio.mjs";
56
76
 
57
77
  const recognizer = new AudioRecognizer({
58
78
  appId: "YOUR_APP_ID",
@@ -79,7 +99,7 @@ configuration, or Node-based asset server is required:
79
99
  ```
80
100
 
81
101
  Static URL imports are valid inside `<script type="module">`. Dynamic
82
- `await import("https://cdn.iplateia.com/web/sorisdk/v0.6.9/sori-web-audio.mjs")`
102
+ `await import("https://cdn.iplateia.com/web/sorisdk/v0.6.10/sori-web-audio.mjs")`
83
103
  is an optional alternative when the SDK should be loaded conditionally.
84
104
 
85
105
  Pin an exact version in production. Do not construct a mutable `latest` URL.
@@ -149,7 +169,7 @@ An import map can give the standalone URL the npm package name:
149
169
  <script type="importmap">
150
170
  {
151
171
  "imports": {
152
- "@sorisdk/web-audio": "https://cdn.iplateia.com/web/sorisdk/v0.6.9/sori-web-audio.mjs"
172
+ "@sorisdk/web-audio": "https://cdn.iplateia.com/web/sorisdk/v0.6.10/sori-web-audio.mjs"
153
173
  }
154
174
  }
155
175
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sorisdk/web-audio",
3
- "version": "0.6.9",
3
+ "version": "0.6.10",
4
4
  "description": "Web SDK for browser-based audio recognition with SORI API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -34,8 +34,8 @@
34
34
  "license": "SEE LICENSE IN LICENSE.md",
35
35
  "homepage": "https://docs.soriapi.com/ko/integration/web",
36
36
  "dependencies": {
37
- "@sorisdk/afpgen": "0.6.9",
38
- "@sorisdk/matcher": "0.6.9"
37
+ "@sorisdk/afpgen": "0.6.10",
38
+ "@sorisdk/matcher": "0.6.10"
39
39
  },
40
40
  "devDependencies": {
41
41
  "tsup": "^8.5.1",