@tinkerlandai/indiana-sdk 0.6.4 → 0.7.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/CHANGELOG.md +9 -4
- package/README.md +4 -4
- package/README.zh-CN.md +3 -3
- package/dist/{ai-usage-B4W5m4Ie.d.ts → ai-usage-BsrSG955.d.ts} +334 -518
- package/dist/chunk-3SONNXFG.js +1 -0
- package/dist/chunk-467Z5ISI.js +11 -0
- package/dist/{chunk-2EJSV6BA.js → chunk-4AWSZWZD.js} +1 -1
- package/dist/{chunk-5TEZEOHX.js → chunk-6MO6Y24B.js} +1 -1
- package/dist/chunk-HD74AAFS.js +1 -0
- package/dist/chunk-J4RHVU3W.js +1 -0
- package/dist/chunk-KQCTDXVD.js +17 -0
- package/dist/chunk-NOFNOHUI.js +1 -0
- package/dist/chunk-QO4YQLZ4.js +1 -0
- package/dist/chunk-RRII2DMC.js +1 -0
- package/dist/chunk-WCFVNF5D.js +1 -0
- package/dist/chunk-YAFMBXIE.js +4 -0
- package/dist/{client-OYRHOMUQ.js → client-F6UPJMHR.js} +1 -1
- package/dist/{configuration-sync-C2mytNwU.d.ts → configuration-sync-Bvd956GL.d.ts} +333 -25
- package/dist/controls-XG46TKUU.js +2 -0
- package/dist/funnel-runtime-host-26QI2W3S.js +1 -0
- package/dist/{funnel-runtime-start-sZ8ZCNlq.d.ts → funnel-runtime-start-ChVYbLzV.d.ts} +6655 -2785
- package/dist/iam.js +1 -1
- package/dist/index.d.ts +3634 -1485
- package/dist/index.js +1 -1
- package/dist/native-shell.js +1 -1
- package/dist/openrouter.d.ts +2 -3
- package/dist/openrouter.js +1 -1
- package/dist/page.d.ts +13 -13
- package/dist/page.js +1 -1
- package/dist/paywall-WKOHBYW7.js +1 -0
- package/dist/popup.d.ts +9 -16
- package/dist/popup.js +12 -12
- package/dist/react-native.d.ts +14 -14
- package/dist/react-native.js +1 -1
- package/dist/server.d.ts +4 -4
- package/dist/server.js +1 -1
- package/dist/src-UHLPVD6E.js +1 -0
- package/dist/visual.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-63BWE27V.js +0 -1
- package/dist/chunk-CB63JLGT.js +0 -1
- package/dist/chunk-D7YHFS6B.js +0 -4
- package/dist/chunk-HTRQPMJO.js +0 -11
- package/dist/chunk-ISUXYPYL.js +0 -1
- package/dist/chunk-QG3WUJG5.js +0 -1
- package/dist/chunk-RMJJOSVZ.js +0 -1
- package/dist/chunk-S2MSIA57.js +0 -17
- package/dist/chunk-VVSQKVE7.js +0 -1
- package/dist/funnel-runtime-host-NWS3URFA.js +0 -1
- package/dist/paywall-4XZ6NDMY.js +0 -1
- package/dist/src-WV6GZYWA.js +0 -1
- package/dist/{customer-page-B4FGCVpt.d.ts → customer-page-B4LkIr5q.d.ts} +4 -4
- package/dist/{screen-16d-xADb.d.ts → screen-iFngkxaL.d.ts} +185 -185
package/CHANGELOG.md
CHANGED
|
@@ -4,13 +4,18 @@ Release facts and artifact evidence: [SDK release ledger](../../docs/sdk-release
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
-
## 0.
|
|
7
|
+
## 0.7.0 — 2026-10-23
|
|
8
8
|
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
9
|
+
- Bundle the Funnel shell and shared renderer in iOS and Android; render independent Paywalls through the same SDK program.
|
|
10
|
+
- Read reviewed Local Funnel and Paywall JSON from immutable CDN artifacts with scope, format, byte-length and SHA-256 checks. Keep personal data and commercial facts in authenticated APIs.
|
|
11
|
+
- Separate presentation loading from Funnel command settlement and durable purchase recovery.
|
|
12
|
+
- Use HTTP protocol 0.7 for the new Paywall delivery contract. Older 0.x protocols are refused before business execution.
|
|
12
13
|
|
|
13
14
|
- Add the independent `@tinkerlandai/indiana-react-native` package and shared React Native core entry for Customer identity, holdings, entitlement checks and backend-mediated usage reporting.
|
|
15
|
+
- Include SwiftPM and Maven distributions in the unified release, with generated native package versions and independent public installation checks.
|
|
16
|
+
- Remove the live-page visual editor handshake: the `__indiana_visual_editor` query parameter no longer pauses page experiments. Visual changes are authored in the Console App page map.
|
|
17
|
+
- Calculate Local Funnel segments (`evaluate_segment`) after `createFunnelClient().start()` and in the native WebView host. The packaged native shell has no network access; the Swift and Kotlin hosts read the public configuration it needs.
|
|
18
|
+
- Give errors the SDK raises locally the `recovery` their message names instead of `contact_support`, for example `recover_operation` for `COMMAND_PENDING` and `DECISION_PENDING`, `reload_state` for `CONFIGURATION_EXPIRED` and `retry_same_request` for `EVENT_QUEUE_FULL`. Server error codes keep their recovery.
|
|
14
19
|
|
|
15
20
|
## 0.6.3 — 2026-10-23
|
|
16
21
|
|
package/README.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
[简体中文](./README.zh-CN.md)
|
|
4
4
|
|
|
5
|
-
Version **0.6.
|
|
5
|
+
Version **0.6.4 / protocol 0.6** requires a matching Indiana runtime and database. Remote Funnel responses contain the current page's `ScreenDocument` JSON; Local and Remote use the same renderer, canonical Run, business receipts and Queue recovery. Remote graphs and private rules stay on the server.
|
|
6
6
|
|
|
7
|
-
Version 0.6.
|
|
7
|
+
Version 0.6.4 bounds optional persistent-cache reads, downloads the pinned Funnel and GB artifacts in parallel, and waits for the original display acknowledgement to settle before processing the first action. It preserves the five-second initialization budget, artifact verification, current-screen input patches and recovery after Back. Publication uses GitHub Actions with npm Trusted Publishing. Complete production browser and Stripe acceptance remains separate; see the [repair report](../../docs/deployment-receipts/20261022-sdk-funnel-repair/README.md).
|
|
8
8
|
|
|
9
9
|
Pin this package to a matching protocol 0.6 service. The published npm 0.6.0 package passes 21 foundation operations through `https://api.dev.tinker.cash`, with readiness 200 and correlated Go request logs; remaining capabilities and production business dependencies have separate gates. npm publication does not extend that accepted scope. Actual publication, tags and environment state are recorded in the [release ledger](../../docs/sdk-releases.md).
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
npm install --save-exact @tinkerlandai/indiana-sdk@0.6.
|
|
12
|
+
npm install --save-exact @tinkerlandai/indiana-sdk@0.6.4
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Indiana's JavaScript and TypeScript SDK supports browsers, Node.js, screen rendering and optional AI usage integrations. Environment collection controls and existing Invoice/billing-window contracts remain available. Older 0.x protocols are rejected before business execution.
|
|
@@ -22,7 +22,7 @@ Use the independent `@tinkerlandai/indiana-react-native` package. The `@tinkerla
|
|
|
22
22
|
|
|
23
23
|
During `0.x`, only the current protocol is supported. Starting with `1.0`, compatibility is preserved within each stable major version. Once the next stable major is published, the preceding stable major remains supported for at least 12 calendar months, with at least 180 days' public notice before retirement. The later deadline applies. See the [support policy](https://tinker.cash/docs/release-notes#support-policy).
|
|
24
24
|
|
|
25
|
-
Version `0.6.
|
|
25
|
+
Version `0.6.4` sends protocol and SDK version headers and validates the protocol declared by successful responses. Headerless historical clients retain the fixed identity `0.2`; they do not follow the current protocol automatically. Updating source code does not change an existing npm artifact or deploy a server.
|
|
26
26
|
|
|
27
27
|
## One package, seven entry points
|
|
28
28
|
|
package/README.zh-CN.md
CHANGED
|
@@ -16,12 +16,12 @@ Local / Remote 只区分纯条件、Feature / 实验和 Feature 选择在哪里
|
|
|
16
16
|
|
|
17
17
|
步骤记录共用后端限制;历史 `report_progress` 仍是调用方观察,不能当成发券证明。原生渲染壳复用同一个 JS 纯求值器及原生 Run bridge;无界面 Swift/Kotlin 会明确返回待本地求值,不自动切换 Remote。详细使用和迁移边界见[英文说明](README.md#local-funnel-execution)及统一回执。安装本包不会自动迁移数据库或部署服务;浏览器、支付渠道、容量和原生商店验收分别记录。
|
|
18
18
|
|
|
19
|
-
本包版本为 **0.6.
|
|
19
|
+
本包版本为 **0.6.4/协议 0.6**,须配套同协议运行时和数据库。Remote Funnel 返回当前页面 JSON,与 Local 共用渲染器,完整 Remote 图和私有规则仍在服务端。公开 npm 0.6.0 已通过 `api.dev.tinker.cash` 的 21 项基础操作,foundation readiness 为 200;Funnel、公共配置、支付执行和生产业务仍有独立验收边界。实际发布、标签和环境状态见[SDK 发布总账](../../docs/sdk-releases.md)。
|
|
20
20
|
|
|
21
|
-
0.6.
|
|
21
|
+
0.6.4 限制可选持久缓存的读取等待,并行读取固定的 Funnel/GB 产物,在原展示命令结算后再处理首次点击。保留五秒初始化预算、产物校验、当前 Screen 输入 patch 和 Back 后恢复,通过 GitHub Actions 与 npm Trusted Publishing 发布。完整生产浏览器与 Stripe 验收分别记录,见[修复报告](../../docs/deployment-receipts/20261022-sdk-funnel-repair/README.md)。
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
|
-
npm install --save-exact @tinkerlandai/indiana-sdk@0.6.
|
|
24
|
+
npm install --save-exact @tinkerlandai/indiana-sdk@0.6.4
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
## 版本兼容与支持
|