@sixtyninecommerce/admin 0.3.0 → 0.3.1

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/dist/types.d.ts +3 -5
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -72,11 +72,9 @@ export interface WhoAmI {
72
72
  * The stock locations this credential may address, or null when it is
73
73
  * unrestricted — a human session is always null.
74
74
  *
75
- * **Answers null today even for a restricted token** (verified live on slot 3,
76
- * 2026-09-16): Vendure's `apiPrincipal.locations` carries the token's
77
- * `locationIds`, but the plugins `GET /me` projection this method reads still
78
- * hardcodes `locations: null`. Read `apiTokens.list()` for the restriction a
79
- * token actually carries until that is wired.
75
+ * The plugins `GET /me` projection hardcoded null for every principal until
76
+ * 2026-09-16; a server older than that describes a restricted token as
77
+ * unrestricted, and `apiTokens.list()` is the reliable read against one.
80
78
  */
81
79
  locations: string[] | null;
82
80
  /** Effective permissions on the ACTIVE channel, not the union of all of them. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sixtyninecommerce/admin",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Back-office SDK for sixtynine-commerce: every capability of the platform as a method",
5
5
  "homepage": "https://github.com/SIXTYNINE-digital/sixtynine-commerce-engine/tree/main/packages/admin-client#readme",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@sixtyninecommerce/core": "0.2.2"
36
+ "@sixtyninecommerce/core": "^0.2.3"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "22.19.7",