@lockerverse/sdk 0.2.162 → 0.2.165
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/MIGRATIONS.md +16 -0
- package/SDK_RULES.md +38 -0
- package/dist/types.js +1 -1
- package/package.json +1 -1
package/MIGRATIONS.md
CHANGED
|
@@ -15,6 +15,8 @@ script. Installing a package does not edit host code or guarantee these steps ra
|
|
|
15
15
|
and update the real lockfile. Follow peer requirements in the target manifests.
|
|
16
16
|
3. After installation, read this target file and SDK_RULES.md. React consumers
|
|
17
17
|
must also read guides/integration.md and each applicable resource guide.
|
|
18
|
+
Follow SDK_RULES.md to create or merge the short host-root AGENTS.md section
|
|
19
|
+
so future upgrades use this procedure even without a new integration prompt.
|
|
18
20
|
4. For each affected package, apply all entries where old version < entry version
|
|
19
21
|
<= target version, from oldest to newest. Include releases skipped by the
|
|
20
22
|
upgrade. Use semantic version comparison, not string comparison. An Unreleased
|
|
@@ -34,6 +36,20 @@ If it cannot be found, report that limit and use the baseline review below. Do n
|
|
|
34
36
|
claim that every historical migration was applied. Read this file even if the
|
|
35
37
|
version already matches: a previous upgrade may have missed host adoption steps.
|
|
36
38
|
|
|
39
|
+
## 0.2.165 — multi-select custom fields
|
|
40
|
+
|
|
41
|
+
- **Affected:** React signup and payment forms with `multi_select` custom fields.
|
|
42
|
+
The field now opens a dropdown with multiple choices instead of a native listbox.
|
|
43
|
+
Accessible dropdown support adds Base UI Select to the signup bundle. The packed
|
|
44
|
+
signup consumer measures 111.80 kB brotli, about 32 kB above its former 80 kB
|
|
45
|
+
budget; hosts should account for this increase in initial JavaScript.
|
|
46
|
+
- **Required:** upgrade the matching SDK/React packages and deploy the host with
|
|
47
|
+
its existing signup or payment stylesheet. No host code or saved field changes
|
|
48
|
+
are required. Selected option IDs remain arrays; single-select fields are unchanged.
|
|
49
|
+
- **Check:** open the dropdown, select and remove multiple options, and confirm
|
|
50
|
+
keyboard navigation, Escape, and required-field feedback. Do not submit a live
|
|
51
|
+
signup or payment for this check.
|
|
52
|
+
|
|
37
53
|
## Existing integration baseline through 0.2.161
|
|
38
54
|
|
|
39
55
|
This guide starts with the current integration baseline. It is not a complete
|
package/SDK_RULES.md
CHANGED
|
@@ -4,6 +4,44 @@ These rules apply to SDK maintenance and host integration. Read the installed
|
|
|
4
4
|
package README, public types, resource guide, and MIGRATIONS.md with this file.
|
|
5
5
|
Use the instructions from the target release. Do not copy APIs from newer docs.
|
|
6
6
|
|
|
7
|
+
## Keep the host instructions available
|
|
8
|
+
|
|
9
|
+
On the first integration or upgrade, create or merge a short `Lockerverse SDK
|
|
10
|
+
maintenance` section in the host project's root `AGENTS.md`. Preserve unrelated
|
|
11
|
+
instructions and update an existing equivalent section instead of duplicating it.
|
|
12
|
+
Use the block below. Do not copy this entire guide or pin a release in that file.
|
|
13
|
+
For a monorepo, keep this pointer in the root and name the affected app directories;
|
|
14
|
+
resolve node_modules and lockfiles from the relevant package-manager workspace.
|
|
15
|
+
|
|
16
|
+
```markdown
|
|
17
|
+
## Lockerverse SDK maintenance
|
|
18
|
+
|
|
19
|
+
For any install, update, or integration edit involving @lockerverse/sdk or
|
|
20
|
+
@lockerverse/react:
|
|
21
|
+
- Record the old resolved package versions before installation. Use the existing
|
|
22
|
+
package manager; keep React/Core matched when both are used, without downgrades.
|
|
23
|
+
- Read SDK_RULES.md and MIGRATIONS.md in the target installed package under
|
|
24
|
+
node_modules/@lockerverse/react/ (or @lockerverse/sdk/ for Core-only hosts).
|
|
25
|
+
React users must also read guides/integration.md and the relevant resource guides.
|
|
26
|
+
- Apply all applicable migrations, including skipped releases, and review the
|
|
27
|
+
existing-integration baseline even if the version already matches. New
|
|
28
|
+
integrations use the current guides and baseline.
|
|
29
|
+
- If files are missing, select a published matching stable release that includes
|
|
30
|
+
them without downgrading, or report the blocked step. Do not invent instructions.
|
|
31
|
+
- If a tool already updated dependencies, recover the old versions from the prior
|
|
32
|
+
lockfile or Git history. Report old/new versions, applied steps, skipped steps
|
|
33
|
+
with reasons, and checks. A version bump alone does not complete a migration.
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
For Lovable, this short pointer can also be kept in workspace knowledge, scoped
|
|
37
|
+
to tasks that use Lockerverse. Do not install the SDK in unrelated projects.
|
|
38
|
+
Workspace knowledge covers projects that have not yet received their root file;
|
|
39
|
+
the root file keeps the rule with the project when it moves to another workspace
|
|
40
|
+
or agent. Do not assume files inside node_modules are read automatically.
|
|
41
|
+
See [Lovable's knowledge documentation](https://docs.lovable.dev/features/knowledge).
|
|
42
|
+
If the host file cannot be edited, report that persistence is incomplete.
|
|
43
|
+
A package installation does not run these instructions or modify the host file.
|
|
44
|
+
|
|
7
45
|
## Public content and search
|
|
8
46
|
|
|
9
47
|
- In an existing server-rendered host, load public auction data in its server
|
package/dist/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=`0.2.
|
|
1
|
+
const e=`0.2.165`;var t=class extends Error{code;operation;reportable;recoveryRecommended;sdkVersion;serverCode;status;constructor({code:t,message:n,operation:r,reportable:i,recoveryRecommended:a=!1,serverCode:o,status:s}){super(n),this.name=`LockerverseSdkError`,this.code=t,this.operation=r,this.reportable=i,this.recoveryRecommended=a,this.sdkVersion=e,this.serverCode=o,this.status=s}};export{t as n,e as t};
|
|
2
2
|
//# sourceMappingURL=types.js.map
|