@lockerverse/sdk 0.2.258 → 0.2.259
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 +14 -1
- package/dist/types.js +1 -1
- package/package.json +3 -2
package/MIGRATIONS.md
CHANGED
|
@@ -4,7 +4,20 @@ This file ships in both @lockerverse/sdk and @lockerverse/react. Use the copy in
|
|
|
4
4
|
the target installed release. This is an agent-run procedure, not an install
|
|
5
5
|
script. Installing a package does not edit host code or guarantee these steps ran.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## 0.2.259 — page visits
|
|
8
|
+
|
|
9
|
+
- **Affected:** every widget hook that sends analytics (payment, donate
|
|
10
|
+
launcher, signup, bookings, auctions; React and the browser embed). A page
|
|
11
|
+
that shows Lockerverse content now sends one Page Viewed when the hook
|
|
12
|
+
mounts, before any widget view, so reports can compare visits with widget
|
|
13
|
+
views and checkouts. Before, Page Viewed went only with the first widget event.
|
|
14
|
+
- **Automatic:** on after the update. No host code change.
|
|
15
|
+
- **Host adoption:** `analytics: false` in the hook options still turns all
|
|
16
|
+
analytics off.
|
|
17
|
+
- **Check:** load a page that uses a widget hook; the network panel shows a
|
|
18
|
+
POST to `/api/v1/s/batch` within a few seconds, with no click.
|
|
19
|
+
|
|
20
|
+
## 0.2.258 — booking and auction analytics
|
|
8
21
|
|
|
9
22
|
- **Affected:** `useLockerverseBookings`, `useLockerverseAuction`,
|
|
10
23
|
`useLockerverseAuctions`, and `LockerverseAuctionItem` checkout (React and the
|
package/dist/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=`0.2.
|
|
1
|
+
const e=`0.2.259`;var t=class extends Error{failureKind;code;operation;reportable;recoveryRecommended;sdkVersion;serverCode;status;constructor({failureKind:t,code:n,message:r,operation:i,reportable:a,recoveryRecommended:o=!1,serverCode:s,status:c}){super(r),this.name=`LockerverseSdkError`,this.failureKind=t,this.code=n,this.operation=i,this.reportable=a,this.recoveryRecommended=o,this.sdkVersion=e,this.serverCode=s,this.status=c}};export{t as n,e as t};
|
|
2
2
|
//# sourceMappingURL=types.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lockerverse/sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.259",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/Lockerverse/lockerverse-sdk.git",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"size-limit": "13.0.3",
|
|
64
64
|
"tsdown": "0.22.14",
|
|
65
65
|
"typescript": "5.9.3",
|
|
66
|
+
"typescript-native": "npm:typescript@7.0.2",
|
|
66
67
|
"vitest": "4.1.10"
|
|
67
68
|
},
|
|
68
69
|
"publishConfig": {
|
|
@@ -118,6 +119,6 @@
|
|
|
118
119
|
"test:browser": "vitest run --config vitest.browser.config.ts",
|
|
119
120
|
"test:unit": "vitest run --config vitest.config.ts",
|
|
120
121
|
"test:watch": "vitest",
|
|
121
|
-
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
122
|
+
"typecheck": "node node_modules/typescript-native/bin/tsc -p tsconfig.json --noEmit"
|
|
122
123
|
}
|
|
123
124
|
}
|