@blocks-network/sdk 1.0.17 → 1.0.18

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.
@@ -81,8 +81,13 @@ export declare class ChannelManager {
81
81
  */
82
82
  obsChannel(agentName?: string): string;
83
83
  /**
84
- * Wildcard pattern for org's task channels (for PAM grants).
85
- * Format: u.{orgId}.* (grants access to all tasks for this org)
84
+ * Legacy: wildcard over an org's task channels, `u.{orgId}.*`.
85
+ *
86
+ * The platform no longer grants read access on this pattern. Every consumer
87
+ * read token covers exactly one task channel (see `taskChannel`), and the
88
+ * SDK subscribes to that channel only. Kept for compatibility with callers
89
+ * that build the string for their own purposes; do not use it as grant
90
+ * guidance.
86
91
  */
87
92
  userTaskPattern(orgId: string): string;
88
93
  /**
@@ -114,8 +119,9 @@ export declare const createChannelManager: (agentName: string) => ChannelManager
114
119
  */
115
120
  export declare const taskChannel: (taskId: string, orgId: string) => string;
116
121
  /**
117
- * Wildcard pattern for org's task channels (standalone function).
118
- * Format: u.{orgId}.*
122
+ * Legacy: wildcard over an org's task channels, `u.{orgId}.*` (standalone).
123
+ * The platform no longer grants read access on this pattern; consumer read
124
+ * tokens cover a single task channel. Kept for compatibility only.
119
125
  */
120
126
  export declare const userTaskPattern: (orgId: string) => string;
121
127
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocks-network/sdk",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "type": "module",
5
5
  "description": "Blocks Network SDK",
6
6
  "exports": {