@bloque/sdk-identity 0.4.0 → 0.5.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.
@@ -71,6 +71,14 @@ export interface Origin {
71
71
  namespace: string;
72
72
  provider: ' evm' | 'auth0' | 'whatsapp' | 'email' | 'api-key';
73
73
  status: 'active' | 'inactive' | 'disabled';
74
+ /**
75
+ * Always `{}` on this (public, unauthenticated) endpoint — the backend
76
+ * blanks it out regardless of what's actually stored, since it's a
77
+ * free-form blob that has held secrets (API tokens) and commercially
78
+ * sensitive terms (fee overrides) for other internal purposes. Never
79
+ * relied on for origin presentation data (company name, branding,
80
+ * feature flags, ...); nothing in this SDK reads it.
81
+ */
74
82
  metadata: Record<string, unknown>;
75
83
  created_at: string;
76
84
  updated_at: string;
@@ -15,6 +15,11 @@ export declare class OriginsClient extends BaseClient {
15
15
  * Origins are the entry points for user identities and represent organizations,
16
16
  * startups, chains, or any entity that can hold a set of identities.
17
17
  *
18
+ * This endpoint is public/unauthenticated, so `metadata` is always
19
+ * returned as `{}` regardless of what's actually stored on the origin —
20
+ * don't rely on it for origin presentation data (company name,
21
+ * branding, feature flags, ...).
22
+ *
18
23
  * @returns Promise resolving to an array of origins
19
24
  *
20
25
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloque/sdk-identity",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "keywords": [
6
6
  "bloque",
@@ -34,6 +34,6 @@
34
34
  "node": ">=22"
35
35
  },
36
36
  "dependencies": {
37
- "@bloque/sdk-core": "0.4.0"
37
+ "@bloque/sdk-core": "0.5.0"
38
38
  }
39
39
  }