@clickraft/cli 0.1.4 → 0.1.5

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/dist/index.js CHANGED
@@ -2189,9 +2189,7 @@ var TokenRowSchema = z6.object({
2189
2189
  expiresAt: z6.string(),
2190
2190
  createdAt: z6.string()
2191
2191
  }).strict();
2192
- var TokensListResponseSchema = z6.object({
2193
- tokens: z6.array(TokenRowSchema)
2194
- }).strict();
2192
+ var TokensListResponseSchema = z6.array(TokenRowSchema);
2195
2193
  async function listTokens(options) {
2196
2194
  const config = await loadConfig({
2197
2195
  flagProfile: options.profile,
@@ -2208,7 +2206,7 @@ async function listTokens(options) {
2208
2206
  responseSchema: TokensListResponseSchema,
2209
2207
  signal: options.signal
2210
2208
  });
2211
- return data.tokens;
2209
+ return data;
2212
2210
  }
2213
2211
 
2214
2212
  // src/errors/format.ts